1 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8 conditional variable definition.
9 (__futimes): Update comment.
10 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
20 * math/auto-libm-test-in: Add more tests of exp10.
21 * math/auto-libm-test-out: Regenerated.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24 * sysdeps/unix/sysv/linux/kernel-features.h
25 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26 * sysdeps/unix/sysv/linux/readv.c: Do not include
28 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34 * sysdeps/unix/sysv/linux/writev.c: Do not include
36 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43 2014-06-25 Will Newton <will.newton@linaro.org>
45 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46 comment changes throughout the file. Remove checks
47 for HAVE_*_H definitions that are not required.
48 (__gen_tempname): Call abort if an unknown kind value is
51 2014-06-25 Andreas Schwab <schwab@suse.de>
54 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
55 scalbln, scalblnf, scalblnl in libc.
57 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
61 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
62 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
64 2014-06-24 Roland McGrath <roland@hack.frob.com>
66 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
67 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
68 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
69 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
71 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
72 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
74 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
75 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
76 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
77 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
78 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
79 * sysdeps/x86/bits/pthreadtypes.h: ... here.
80 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
81 * sysdeps/x86/bits/semaphore.h: ... here.
82 * sysdeps/x86/nptl/elide.h: Moved ...
83 * sysdeps/x86/elide.h: ... here.
84 * sysdeps/x86_64/nptl/Implies: File removed.
85 * sysdeps/i386/nptl/Implies: File removed.
87 2014-06-24 Joseph Myers <joseph@codesourcery.com>
90 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
91 return the argument for normal arguments with exponent below -64.
92 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
94 * math/auto-libm-test-in: Add another test of expm1.
95 * math/auto-libm-test-out: Regenerated.
98 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
99 calling __erfcl for arguments at least 16.
100 * math/auto-libm-test-in: Add more tests of erf.
101 * math/auto-libm-test-out: Regenerated.
103 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
104 individual architectures.
105 * sysdeps/unix/sysv/linux/configure: Regenerated.
106 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
107 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
108 * sysdeps/unix/sysv/linux/powerpc/configure.ac
109 (ldd_rewrite_script): Define variable.
110 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
115 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
116 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
117 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
118 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
119 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
120 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
121 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
122 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
124 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
127 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
128 Rename member __data.d to __data.__elision_data.
130 2014-06-24 Wilco <wdijkstr@arm.com>
132 * NEWS: Add 16918 to fixed bug list.
134 2014-06-24 Wilco <wdijkstr@arm.com>
136 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
138 2014-06-24 Wilco <wdijkstr@arm.com>
140 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
141 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
142 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
143 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
144 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
145 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
146 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
149 2014-06-24 Wilco <wdijkstr@arm.com>
151 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
153 2014-06-24 Wilco <wdijkstr@arm.com>
155 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
156 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
157 * sysdeps/arm/fesetround.c (fesetround): Remove space.
158 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
160 2014-06-24 Wilco <wdijkstr@arm.com>
163 * sysdeps/arm/feupdateenv.c (feupdateenv):
164 Rewrite to reduce FPSCR accesses and fix return value.
166 2014-06-24 Wilco <wdijkstr@arm.com>
168 * sysdeps/arm/fclrexcpt.c (feclearexcept):
169 Optimize to avoid unnecessary FPSCR writes.
170 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
171 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
172 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
173 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
175 2014-06-24 Wilco <wdijkstr@arm.com>
177 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
178 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
179 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
180 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
181 Call libc_fetestexcept_vfp.
182 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
183 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
184 __SOFTFP__ ifdef so that they can be built for softfp.
186 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
188 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
189 argument type signed char.
191 * Makerules (check-abi): Dump diff of symlist if the test
194 2014-06-23 Roland McGrath <roland@hack.frob.com>
196 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
199 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
200 Remove unused variable ST.
202 2014-06-23 Joseph Myers <joseph@codesourcery.com>
206 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
207 small arguments before calling __expm1.
208 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
209 small arguments before calling __expm1f.
210 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
211 small arguments before calling __expm1l.
212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
214 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
215 * math/auto-libm-test-in: Add more cosh tests. Do not allow
216 spurious underflow for some cosh tests.
217 * math/auto-libm-test-out: Regenerated.
218 * sysdeps/i386/fpu/libm-test-ulps: Update.
221 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
222 (__ieee754_y1): Set errno if return value overflows.
223 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
224 (__ieee754_y1f): Set errno if return value overflows.
225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
226 (__ieee754_y1l): Set errno if return value overflows.
227 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
228 (__ieee754_y1l): Set errno if return value overflows.
229 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
230 * math/auto-libm-test-out: Regenerated.
232 * math/gen-auto-libm-tests.c: Document use of
233 ignore-zero-inf-sign.
234 (input_flag_type): Add value flag_ignore_zero_inf_sign.
235 (input_flags): Add ignore-zero-inf-sign.
236 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
237 * math/gen-libm-test.pl (generate_testfile): Handle
238 ignore-zero-inf-sign.
239 * math/auto-libm-test-in: Mark some cpow tests with
240 ignore-zero-inf-sign and some with xfail-rounding.
241 * math/auto-libm-test-out: Regenerated.
242 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
243 * sysdeps/i386/fpu/libm-test-ulps: Update.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
247 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
248 overflowing or underflowing operations take place with sign of
250 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
251 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
252 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
253 (__ieee754_pow): Recompute overflowing and underflowing results in
254 original rounding mode.
255 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
256 (__powl_helper): Allow negative argument X and scale negated value
257 as needed. Avoid passing value outside [-1, 1] to f2xm1.
258 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
259 overflowing or underflowing operations take place with sign of
261 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
263 * math/auto-libm-test-in: Add more tests of pow.
264 * math/auto-libm-test-out: Regenerated.
265 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
266 (pow_tonearest_test_data): Remove.
267 (pow_test_tonearest): Likewise.
268 (pow_towardzero_test_data): Likewise.
269 (pow_test_towardzero): Likewise.
270 (pow_downward_test_data): Likewise.
271 (pow_test_downward): Likewise.
272 (pow_upward_test_data): Likewise.
273 (pow_test_upward): Likewise.
274 (main): Don't call removed functions.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
278 2014-06-23 Roland McGrath <roland@hack.frob.com>
280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
454 2014-06-23 Will Newton <will.newton@linaro.org>
455 Wilco <wdijkstr@arm.com>
457 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
458 implementation. Include get-rounding-mode.h.
459 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
460 [!libc_feholdsetround_noex_ctx]: Define
461 libc_feholdsetround_noex_ctx.
462 [!libc_feholdsetround_noexf_ctx]: Define
463 libc_feholdsetround_noexf_ctx.
464 [!libc_feholdsetround_noexl_ctx]: Define
465 libc_feholdsetround_noexl_ctx.
466 (libc_feholdsetround_ctx): New function.
467 (libc_feresetround_ctx): New function.
468 (libc_feholdsetround_noex_ctx): New function.
469 (libc_feresetround_noex_ctx): New function.
471 2014-06-23 Roland McGrath <roland@hack.frob.com>
473 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
474 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
475 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
476 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
477 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
478 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
480 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
481 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
482 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
483 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
484 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
485 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
486 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
487 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
490 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
492 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
495 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
496 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
497 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
498 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
500 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
501 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
503 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
505 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
507 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
509 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
510 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
512 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
517 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
519 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
520 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
521 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
522 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
523 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
526 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
528 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
540 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
542 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
544 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
545 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
546 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
547 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
548 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
549 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
551 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
553 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
554 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
555 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
557 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
558 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
559 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
561 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
563 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
567 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
569 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
571 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
573 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
575 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
577 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
582 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
583 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
586 2014-06-23 Joseph Myers <joseph@codesourcery.com>
588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
589 (FALLOC_FL_COLLAPSE_RANGE): New macro.
590 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
591 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
592 (IPV6_PMTUDISC_INTERFACE): Likewise.
593 (IPV6_PMTUDISC_OMIT): Likewise.
595 2014-06-23 Andreas Schwab <schwab@suse.de>
597 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
598 Remove unused errout label.
600 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
603 macro: hardware supports Vector Crypto instructions.
605 2014-06-23 Will Newton <will.newton@linaro.org>
607 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
608 rather than __builtin_expect.
610 * elf/dl-lookup.c (undefined_msg): Remove variable.
611 (_dl_lookup_symbol_x): Replace undefined_msg with string
614 * elf/dl-lookup.c (do_lookup_unique): New function.
615 (do_lookup_x): Move STB_GNU_UNIQUE handling code
616 to a separate function.
618 2014-06-23 Andreas Schwab <schwab@suse.de>
621 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
622 before reading the next line.
624 2014-06-23 Will Newton <will.newton@linaro.org>
626 * test-skeleton.c (signal_handler): Use printf and %m
627 rather than perror. Use printf rather than fprintf to
628 stderr. Use puts rather than fputs to stderr.
631 2014-06-22 Ludovic Courtès <ludo@gnu.org>
633 * nscd/nscd.c (thread_info_t): Remove typedef.
634 (thread_info): Remove variable.
636 2014-06-21 Allan McRae <allan@archlinux.org>
638 * NEWS: Mention CVE-2014-4043.
640 2014-06-20 Roland McGrath <roland@hack.frob.com>
642 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
643 * nptl/smp.h: ... here.
645 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
647 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
648 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
649 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
650 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
652 * nptl/allocatestack.c: Include <stack-aliasing.h>.
653 * nptl/stack-aliasing.h: New file.
654 * sysdeps/i386/i686/stack-aliasing.h: New file.
655 * sysdeps/i386/i686/nptl/Makefile: File removed.
656 * sysdeps/x86_64/stack-aliasing.h: New file.
657 * sysdeps/x86_64/nptl/Makefile
658 (CFLAGS-pthread_create.c): Variable removed.
660 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
661 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
663 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
664 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
667 2014-06-21 Joseph Myers <joseph@codesourcery.com>
669 * sysdeps/unix/sysv/linux/arm/kernel-features.h
670 (__ASSUME_SIGFRAME_V2): Remove macro.
671 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
672 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
673 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
674 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
675 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
676 Declare as function. Remove conditional macro definitions.
677 (__default_rt_sa_restorer): Likewise.
678 (__default_sa_restorer_v1): Remove declaration.
679 (__default_sa_restorer_v2): Likewise.
680 (__default_rt_sa_restorer_v1): Likewise.
681 (__default_rt_sa_restorer_v2): Likewise.
682 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
683 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
684 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
686 2014-06-20 Roland McGrath <roland@hack.frob.com>
688 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
689 (libpthread-routines): Add sysdep.
690 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
691 * sysdeps/unix/sysv/linux/sparc/Versions
692 (libpthread: GLIBC_2.3.3): New version set.
693 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
694 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
695 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
696 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
697 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
698 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
700 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
701 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
702 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
703 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
704 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
705 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
706 * sysdeps/sparc/nptl/sem_init.c: ... here.
707 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
708 * sysdeps/sparc/nptl/sem_post.c: ... here.
709 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
710 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
711 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
712 * sysdeps/sparc/nptl/sem_wait.c: ... here.
713 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
714 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
715 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
716 (libpthread-routines): Add cpu_relax.
717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
719 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
720 (librt: GLIBC_2.3.3): New version set.
721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
722 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
723 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
724 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
727 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
730 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
732 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
734 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
736 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
738 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
741 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
745 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
749 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
753 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
757 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
761 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
764 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
770 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
772 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
775 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
777 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
779 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
781 2014-06-20 Joseph Myers <joseph@codesourcery.com>
783 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
784 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
785 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
786 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
787 * nscd/nscd.c: Likewise.
788 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
789 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
790 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
791 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
793 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
795 (init_mq_netlink): Remove conditional have_sock_cloexec
796 definitions. Remove code conditional on have_sock_cloexec < 0.
797 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
798 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
799 * sysdeps/unix/sysv/linux/opensock.c: Do not include
801 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
802 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
804 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
807 Add tests for memset_chk and memset.
809 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
812 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
815 * elf/tst-dl-iter-static.c: New file.
816 * elf/Makefile (tests-static): Add tst-dl-iter-static.
818 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
821 2014-06-20 Joseph Myers <joseph@codesourcery.com>
823 * sysdeps/unix/sysv/linux/kernel-features.h
824 (__ASSUME_F_GETOWN_EX): Remove macro.
825 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
827 (miss_F_GETOWN_EX): Remove variable or macro.
828 (do_fcntl): Do not check miss_F_GETOWN_EX.
829 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
834 [!__ASSUME_AT_RANDOM]: Remove conditional code.
835 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
837 * sysdeps/unix/sysv/linux/kernel-features.h
838 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
839 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
840 [ADJ_OFFSET_SS_READ]: Make code unconditional.
841 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
843 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
846 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
847 Fix calculation of the symbol's value.
848 * sysdeps/arm/tst-armtlsdescloc.c: New file.
849 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
850 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
851 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
852 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
853 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
854 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
855 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
856 (modules-names): Add `tst-armtlsdescmod',
857 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
858 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
859 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
860 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
861 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
862 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
863 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
864 ($(objpfx)tst-armtlsdescloc): New dependency.
865 ($(objpfx)tst-armtlsdescextnow): Likewise.
866 ($(objpfx)tst-armtlsdescextlazy): Likewise.
867 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
869 * sysdeps/arm/configure: Regenerate.
871 2014-06-20 Joseph Myers <joseph@codesourcery.com>
873 * include/fcntl.h (__atfct_seterrno): Remove prototype.
874 (__atfct_seterrno_2): Likewise.
875 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
877 (__ASSUME_ATFCTS): Do not undefine and redefine.
878 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
879 (__have_atfcts): Remove conditional definition.
880 (__fxstatat([__NR_fstatat64]: Make code unconditional.
881 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
882 unreachable if [__ASSUME_ATFCTS].
883 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
884 not undefine and redefine.
885 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
887 (faccessat) [__NR_faccessat]: Make code unconditional.
888 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
889 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
891 (fchmodat) [__NR_fchmodat]: Make code unconditional.
892 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
893 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
895 (fchownat) [__NR_fchownat]: Make code unconditional.
896 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
897 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
899 (futimesat) [__NR_futimesat]: Make code unconditional.
900 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
901 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
903 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
904 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
905 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
907 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
908 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
909 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
910 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
912 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
913 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
914 * sysdeps/unix/sysv/linux/linkat.c: Do not include
916 (linkat) [__NR_linkat]: Make code unconditional.
917 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
918 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
919 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
921 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
922 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
923 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
925 (mkdirat) [__NR_mkdirat]: Make code unconditional.
926 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
927 * sysdeps/unix/sysv/linux/openat.c: Do not include
929 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
930 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
931 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
932 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
933 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
934 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
936 (readlinkat) [__NR_readlinkat]: Make code unconditional.
937 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
938 result of INLINE_SYSCALL directly, not via int variable.
939 * sysdeps/unix/sysv/linux/renameat.c: Do not include
941 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
942 (renameat) [__NR_renameat]: Make code unconditional.
943 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
944 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
945 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
946 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
947 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
948 (__ASSUME_ATFCTS): Do not undefine and redefine.
949 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
951 (symlinkat) [__NR_symlinkat]: Make code unconditional.
952 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
953 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
955 (unlinkat) [__NR_unlinkat]: Make code unconditional.
956 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
957 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
958 (__ASSUME_ATFCTS): Do not undefine and redefine.
959 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
961 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
962 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
963 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
965 (__xmknodat) [__NR_mknodat]: Make code unconditional.
966 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
968 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
970 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
972 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
975 * posix/regcomp.c (parse_reg_exp): Deallocate partially
976 constructed tree before returning error.
977 * posix/bug-regexp36.c: Expand test case.
979 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
982 * math/libm-test.inc (scalbln_test_date):
983 Add errno expectations.
984 * math/w_scalblnf.c: New File.
985 Add wrapper which checks for setting errno to ERANGE.
986 Add weak_alias for corresponding scalbln function.
987 * math/w_scalbln.c: Likewise.
988 * math/w_scalblnl.c: Likewise.
989 * math/Makefile (libm-calls): Add w_scalbln.
990 * sysdeps/ieee754/flt-32/s_scalblnf.c:
991 Remove weak_alias for corresponding scalbln function.
992 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
994 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
996 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
997 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
998 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
999 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1000 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1001 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1002 Remove long_double_symbol for scalblnl function in libm, libc.
1003 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1004 Add wrapper which checks for setting errno to ERANGE.
1005 Add long_double_symbol for scalblnl function in libm, libc.
1006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1007 Remove long_double_symbol for scalblnl in libm.
1008 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1009 Add wrapper which checks for setting errno to ERANGE.
1010 Add long_double_symbol for scalblnl function in libm.
1011 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1012 Do not use wrapper because of own implementation.
1014 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1016 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1017 3 bytes for __pad1 for x32.
1018 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1020 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1021 H.J. Lu <hongjiu.lu@intel.com>
1023 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1024 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1025 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1026 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1027 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1029 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1032 * posix/regcomp.c (parse_expression): Deallocate partially
1033 constructed tree before returning error.
1034 * posix/Makefile.c (tests): Add bug-regex36.
1035 (generated): Add bug-regex36.mtrace.
1036 (tests-special): Add $(objpfx)bug-regex36-mem.out
1037 (bug-regex36-ENV): New variable.
1038 ($(objpfx)bug-regex36-mem.out): New rule.
1039 * posix/bug-regex36.c: New file.
1041 2014-06-19 Will Newton <will.newton@linaro.org>
1043 * malloc/malloc.c (systrim): If extra is zero then return
1046 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1048 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1050 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1052 * sysdeps/aarch64/strchr.S: New file.
1054 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1057 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1058 from arguments -2 or below.
1059 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1060 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1062 2014-06-18 Andreas Schwab <schwab@suse.de>
1065 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1066 of a bracket expr not to run off the end of the string.
1067 * posix/Makefile (tests): Add tst-fnmatch3.
1068 * posix/tst-fnmatch3.c: New file.
1070 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1072 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1073 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1074 [$(cross-compiling) = no]: Likewise.
1075 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1076 [$(cross-compiling) = no]: Likewise.
1078 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1081 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1082 double, adjusted for any remainder from the high double.
1083 * math/libm-test.inc (nearbyint): Add tests.
1086 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088 * nptl/sysdeps/powerpc/Makefile: Moved ...
1089 * sysdeps/powerpc/nptl/Makefile: ... here.
1090 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1091 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1092 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1093 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1094 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1095 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1096 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1097 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1098 * nptl/sysdeps/powerpc/tls.h: Moved ...
1099 * sysdeps/powerpc/nptl/tls.h: ... here.
1101 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1104 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1105 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1106 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1107 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1108 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1109 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1110 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1111 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1112 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1114 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1116 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1118 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1120 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1123 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1126 2014-06-16 Florian Weimer <fweimer@redhat.com>
1129 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1130 non-executed part of the test.
1132 2014-06-16 Andreas Schwab <schwab@suse.de>
1134 * string/bits/string2.h (strdup, strndup): Update feature guard.
1136 2014-06-14 David S. Miller <davem@davemloft.net>
1138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1140 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1142 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1143 that was previously under [RESET_PID].
1144 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1146 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1147 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1148 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1149 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1150 (__libc_vfork): New strong alias.
1151 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1153 2014-06-14 Andi Kleen <ak@linux.intel.com>
1155 * sysdeps/generic/elide.h: New file.
1157 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1159 * Makefile (installed-headers): Adjust path of pthread.h header.
1161 2014-06-13 Roland McGrath <roland@hack.frob.com>
1163 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1164 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1165 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1166 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1168 * nptl/sysdeps/s390/Makefile: Moved ...
1169 * sysdeps/s390/nptl/Makefile: ... here.
1170 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1171 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1172 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1173 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1174 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1175 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1176 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1177 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1178 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1179 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1180 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1181 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1182 * nptl/sysdeps/s390/tls.h: Moved ...
1183 * sysdeps/s390/nptl/tls.h: ... here.
1185 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1186 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1188 2014-06-13 David S. Miller <davem@davemloft.net>
1190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1193 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1198 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1199 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1200 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1201 Remove RESET_PID cpp guards.
1202 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1203 Remove RESET_PID cpp guards.
1204 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1206 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1208 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1211 2014-06-13 Andi Kleen <ak@linux.intel.com>
1213 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1214 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1215 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1216 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1218 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1219 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1222 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1223 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1224 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1225 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1226 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1227 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1229 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1230 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1232 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1234 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1235 (pthread_rwlock_rdlock): Add elision.
1236 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1237 (pthread_rwlock_wrlock): Add elision.
1238 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1239 (pthread_rwlock_trywrlock): Add elision.
1240 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1241 (pthread_rwlock_tryrdlock): Add elision.
1242 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1243 (pthread_rwlock_tryrdlock): Add elision unlock.
1244 * nptl/sysdeps/pthread/pthread.h:
1245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1246 (PTHREAD_RWLOCK_INITIALIZER,
1247 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1248 Handle new elision field.
1249 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1250 * sysdeps/arm/nptl/bits/pthreadtypes.h
1251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1252 * sysdeps/sh/nptl/bits/pthreadtypes.h
1253 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1254 * sysdeps/tile/nptl/bits/pthreadtypes.h
1255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1256 * sysdeps/a/nptl/bits/pthreadtypes.h
1257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1258 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1260 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1262 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1264 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1266 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1268 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1270 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1272 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1274 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1275 (elision_init): Set try_xbegin to zero when no RTM.
1276 * sysdeps/x86/nptl/bits/pthreadtypes.h
1277 (pthread_rwlock_t): Change __pad1 to __rwelision.
1278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1280 2014-06-13 Andi Kleen <ak@linux.intel.com>
1282 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1283 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1284 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1285 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1287 2014-06-13 Meador Inge <meadori@codesourcery.com>
1290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1291 that the cached result has been set before returning it.
1293 2014-06-12 Roland McGrath <roland@hack.frob.com>
1295 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1296 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1297 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1298 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1300 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1302 * nptl/sysdeps/sparc/Makefile: Moved ...
1303 * sysdeps/sparc/nptl/Makefile: ... here.
1304 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1305 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1306 * nptl/sysdeps/sparc/tls.h: Moved ...
1307 * sysdeps/sparc/nptl/tls.h: ... here.
1308 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1309 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1310 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1311 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1312 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1313 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1314 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1315 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1316 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1317 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1318 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1319 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1320 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1321 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1322 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1323 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1324 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1325 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1327 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1328 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1330 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1333 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1334 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1337 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1339 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1340 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1342 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1343 (struct list_links): Type removed.
1344 (struct thread_node, struct timer_node): Replace struct list_links
1345 with struct list_head.
1346 (list_unlink_ip): Likewise.
1347 * sysdeps/pthread/timer_routines.c
1348 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1349 (list_append, list_insbefore): Likewise.
1350 (list_init): Function removed.
1351 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1352 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1353 * sysdeps/pthread/Makefile: ... here, new file.
1355 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1356 * sysdeps/nptl/Implies: ... here.
1357 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1358 * nptl/sysdeps/pthread/list.h: Moved ...
1359 * include/list.h: ... here.
1360 * nptl/sysdeps/pthread/createthread.c: Moved ...
1361 * nptl/createthread.c: ... here.
1362 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1363 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1364 * nptl/pt-longjmp.c: ... here.
1365 * nptl/sysdeps/pthread/Makefile: Moved ...
1366 * sysdeps/nptl/Makefile: ... here.
1367 * nptl/sysdeps/pthread/Subdirs: Moved ...
1368 * sysdeps/nptl/Subdirs: ... here.
1369 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1370 * sysdeps/nptl/aio_misc.h: ... here.
1371 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1372 * sysdeps/nptl/bits/libc-lock.h: ... here.
1373 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1374 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1375 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1376 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1377 * nptl/sysdeps/pthread/configure: Moved ...
1378 * sysdeps/nptl/configure: ... here.
1379 * nptl/sysdeps/pthread/configure.ac: Moved ...
1380 * sysdeps/nptl/configure.ac: ... here.
1381 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1382 * sysdeps/nptl/gai_misc.h: ... here.
1383 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1384 * sysdeps/nptl/librt-cancellation.c: ... here.
1385 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1386 * sysdeps/nptl/malloc-machine.h: ... here.
1387 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1388 * sysdeps/nptl/pthread-functions.h: ... here.
1389 * nptl/sysdeps/pthread/pthread.h: Moved ...
1390 * sysdeps/nptl/pthread.h: ... here.
1391 * nptl/sysdeps/pthread/setxid.h: Moved ...
1392 * sysdeps/nptl/setxid.h: ... here.
1393 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1394 * sysdeps/nptl/sigfillset.c: ... here.
1395 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1396 * sysdeps/nptl/tcb-offsets.h: ... here.
1397 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1398 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1399 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1400 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1401 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1402 * sysdeps/pthread/allocalim.h: ... here.
1403 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1404 * sysdeps/pthread/bits/sigthread.h: ... here.
1405 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1406 * sysdeps/pthread/flockfile.c: ... here.
1407 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1408 * sysdeps/pthread/ftrylockfile.c: ... here.
1409 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1410 * sysdeps/pthread/funlockfile.c: ... here.
1411 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1412 * sysdeps/pthread/posix-timer.h: ... here.
1413 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1414 * sysdeps/pthread/timer_create.c: ... here.
1415 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1416 * sysdeps/pthread/timer_delete.c: ... here.
1417 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1418 * sysdeps/pthread/timer_getoverr.c: ... here.
1419 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1420 * sysdeps/pthread/timer_gettime.c: ... here.
1421 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1422 * sysdeps/pthread/timer_routines.c: ... here.
1423 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1424 * sysdeps/pthread/timer_settime.c: ... here.
1425 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1426 * sysdeps/pthread/tst-timer.c: ... here.
1427 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1428 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1430 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1431 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1433 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1434 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1435 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1436 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1437 Update #include target.
1438 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1439 * sysdeps/i386/i686/nptl/Makefile: ... here.
1440 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1441 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1442 Update #include target.
1443 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1444 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1445 * nptl/sysdeps/i386/Makefile: Moved ...
1446 * sysdeps/i386/nptl/Makefile: ... here.
1447 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1448 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1449 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1450 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1451 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1452 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1453 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1454 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1455 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1456 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1457 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1458 * nptl/sysdeps/i386/tls.h: Moved ...
1459 * sysdeps/i386/nptl/tls.h: ... here.
1461 * sysdeps/sh/Makefile [$(subdir) = csu]
1462 (gen-as-const-headers): Add tcb-offsets.sym.
1463 * nptl/sysdeps/sh/Makefile: File removed.
1464 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1465 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1466 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1467 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1468 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1469 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1470 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1471 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1472 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1473 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1474 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1475 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1476 * nptl/sysdeps/sh/tls.h: Moved ...
1477 * sysdeps/sh/nptl/tls.h: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1479 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1480 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1481 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1483 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1485 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1486 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1487 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1488 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1489 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1490 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1491 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1492 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1493 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1494 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1495 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1497 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1499 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1500 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1501 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1504 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1505 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1509 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1510 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1511 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1513 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1515 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1516 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1517 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1519 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1520 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1521 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1522 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1523 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1524 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1525 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1527 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1529 * posix/spawn_faction_addopen.c: Include string.h.
1531 2014-06-11 Roland McGrath <roland@hack.frob.com>
1533 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1534 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1535 * nptl/sysdeps/x86_64/Makefile: Moved ...
1536 * sysdeps/x86_64/nptl/Makefile: ... here.
1537 * nptl/sysdeps/x86_64/configure: Moved ...
1538 * sysdeps/x86_64/nptl/configure: ... here.
1539 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1540 * sysdeps/x86_64/nptl/configure.ac: ... here.
1541 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1542 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1543 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1544 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1545 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1546 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1547 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1548 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1549 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1550 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1551 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1552 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1553 * nptl/sysdeps/x86_64/tls.h: Moved ...
1554 * sysdeps/x86_64/nptl/tls.h: ... here.
1555 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1556 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1557 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1558 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1560 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1562 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1566 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1568 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1570 [POSIX] (off_t): Likewise.
1571 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1572 [POSIX] (S_ISBLK): Require macro.
1573 [POSIX] (S_ISCHR): Likewise.
1574 [POSIX] (S_ISDIR): Likewise.
1575 [POSIX] (S_ISFIFO): Likewise.
1576 [POSIX] (S_ISREG): Likewise.
1577 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1579 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1581 [POSIX] (time_t): Likewise.
1582 [POSIX] (timer_t): Likewise.
1584 2014-06-11 Florian Weimer <fweimer@redhat.com>
1587 * posix/spawn_int.h (struct __spawn_action): Make the path string
1588 non-const to support deallocation.
1589 * posix/spawn_faction_addopen.c
1590 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1591 * posix/spawn_faction_destroy.c
1592 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1593 path in all spawn_do_open actions.
1594 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1595 posix_spawn_file_actions_addopen.
1597 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1599 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1600 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1601 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1602 conditional code always true.
1603 (__libc_vfork): New alias.
1605 2014-06-11 Roland McGrath <roland@hack.frob.com>
1607 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1608 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1610 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1612 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1613 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1615 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1616 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1618 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1619 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1621 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1623 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1624 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1625 multiarch strcmp for PPC64.
1626 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1627 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1629 multiarch optimizations.
1630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1631 (__libc_ifunc_impl_list): Likewise.
1633 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1635 * benchtests/scripts/validate_benchout.py: New script.
1636 * benchtests/Makefile (bench-func): Call it.
1637 * benchtests/scripts/benchout.schema.json: New file.
1639 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1641 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1642 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1643 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1644 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1645 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1646 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1647 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1648 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1649 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1650 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1651 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1652 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1653 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1654 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1655 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1656 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1761 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1766 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1773 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1775 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1782 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1785 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1790 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1794 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1795 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1796 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1798 2014-06-10 Wilco <wdijkstr@arm.com>
1800 * math/test-fenv-return.c: New file.
1801 * math/Makefile: Add new test test-fenv-return.
1803 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1806 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1808 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1809 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1810 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1811 0.0L for an argument of 1.0L.
1812 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1814 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1815 value when x - 1 is zero.
1816 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1817 * sysdeps/i386/fpu/libm-test-ulps: Update.
1818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1820 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1823 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1825 2014-06-09 Roland McGrath <roland@hack.frob.com>
1827 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1828 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1830 2014-06-09 Roland McGrath <roland@hack.frob.com>
1832 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1833 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1835 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1836 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1838 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1839 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1841 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1842 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1844 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1845 if not already defined.
1846 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1847 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1848 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1849 (TLS_INIT_TP): Use it.
1850 (TLS_DEFINE_INIT_TP): New macro.
1851 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1853 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1855 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1857 [POSIX] (IXANY): Likewise.
1858 [POSIX] (OLCUC): Likewise.
1859 [POSIX || POSIX2008] (CBAUD): Do not allow.
1860 [POSIX || POSIX2008] (DEFECHO): Likewise.
1861 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1862 [POSIX || POSIX2008] (ECHOKE): Likewise.
1863 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1864 [POSIX || POSIX2008] (EXTA): Likewise.
1865 [POSIX || POSIX2008] (EXTB): Likewise.
1866 [POSIX || POSIX2008] (FLUSHO): Likewise.
1867 [POSIX || POSIX2008] (LOBLK): Likewise.
1868 [POSIX || POSIX2008] (PENDIN): Likewise.
1869 [POSIX || POSIX2008] (SWTCH): Likewise.
1870 [POSIX || POSIX2008] (VDISCARD): Likewise.
1871 [POSIX || POSIX2008] (VDSUSP): Likewise.
1872 [POSIX || POSIX2008] (VLNEXT): Likewise.
1873 [POSIX || POSIX2008] (VREPRINT): Likewise.
1874 [POSIX || POSIX2008] (VSTATUS): Likewise.
1875 [POSIX || POSIX2008] (VWERASE): Likewise.
1876 (B*): Change to B[0123456789]*.
1877 * conform/data/time.h-data [POSIX || UNIX98]
1878 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1879 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1880 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1881 [POSIX] (tm_*): Do not allow.
1883 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1885 * Makefile (install): Don't set LANGUAGE.
1886 * Makefile.in (install): Likewise.
1887 * assert/Makefile (test-assert-ENV): Remove variable.
1888 (test-assert-perr-ENV): Likewise.
1889 * elf/Makefile (neededtest4-ENV): Likewise.
1890 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1891 [$(cross-compiling) = no]: Don't set LANGUAGE.
1892 * io/ftwtest-sh (LANG): Remove variable.
1893 * libio/Makefile (tst-widetext-ENV): Likewise.
1894 * manual/install.texi (Running make install): Don't refer to
1895 environment settings for make install.
1896 * INSTALL: Regenerated.
1897 * nptl/tst-tls6.sh: Don't set LANG.
1898 * posix/globtest.sh (LANG): Remove variable.
1899 * string/Makefile (tester-ENV): Likewise.
1900 (inl-tester-ENV): Likewise.
1901 (noinl-tester-ENV): Likewise.
1902 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1903 [$(cross-compiling) = no]: Don't set LANGUAGE.
1904 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1905 without explicit environment settings.
1907 2014-06-06 Roland McGrath <roland@hack.frob.com>
1909 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1910 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1912 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1914 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1916 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1917 other files in the crypt directory.
1918 * crypt/crypt.c: Remove duplicate includes.
1919 * crypt/crypt-entry.c: Likewise.
1920 * crypt/crypt_util.c: Likewise.
1922 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1924 * Makeconfig (run-program-env): New variable.
1925 (run-program-prefix-before-env): Likewise.
1926 (run-program-prefix-after-env): Likewise.
1927 (run-program-prefix): Define in terms of new variables.
1928 (built-program-cmd-before-env): New variable.
1929 (built-program-cmd-after-env): Likewise.
1930 (built-program-cmd): Define in terms of new variables.
1931 (test-program-prefix-before-env): New variable.
1932 (test-program-prefix-after-env): Likewise.
1933 (test-program-prefix): Define in terms of new variables.
1934 (test-program-cmd-before-env): New variable.
1935 (test-program-cmd-after-env): Likewise.
1936 (test-program-cmd): Define in terms of new variables.
1937 * Rules (make-test-out): Use $(run-program-env).
1938 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1939 (help): Do not mention environment variables. Mention
1940 --timeoutfactor option.
1941 (timeoutfactor): New variable.
1942 (blacklist_exports): Remove function.
1943 (exports): Remove variable.
1944 (command): Do not include ${exports}.
1945 * manual/install.texi (Configuring and compiling): Do not mention
1946 test wrappers preserving environment variables. Mention that last
1947 assignment to a variable must take precedence.
1948 * INSTALL: Regenerated.
1949 * benchtests/Makefile (run-bench): Use $(run-program-env).
1950 * catgets/Makefile ($(objpfx)test1.cat): Use
1951 $(built-program-cmd-before-env), $(run-program-env) and
1952 $(built-program-cmd-after-env).
1953 ($(objpfx)test2.cat): Do not specify environment variables
1955 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1956 $(run-program-env) and $(built-program-cmd-after-env).
1957 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1958 $(run-program-env) and $(test-program-cmd-after-env).
1959 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1961 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1962 run_program_env and test_program_cmd_after_env arguments.
1963 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1964 * elf/tst-pathopt.sh: Use run_program_env argument.
1965 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1966 $(test-wrapper-env) and $(run-program-env).
1967 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1968 run_program_env arguments.
1969 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1970 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1971 $(test-program-prefix-before-env), $(run-program-env) and
1972 $(test-program-prefix-after-env).
1973 ($(objpfx)tst-gettext2.out): Likewise.
1974 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1975 run_program_env and test_program_prefix_after_env arguments.
1976 * intl/tst-gettext2.sh: Likewise.
1977 * intl/tst-gettext4.sh: Do not set environment variables
1979 * intl/tst-gettext6.sh: Likewise.
1980 * intl/tst-translit.sh: Likewise.
1981 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1982 $(test-program-prefix-before-env), $(run-program-env) and
1983 $(test-program-prefix-after-env).
1984 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1985 run_program_env and test_program_prefix_after_env arguments.
1986 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1987 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1988 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1989 explicitly with each use of ${test_wrapper_env}.
1990 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1991 $(test-program-prefix-before-env), $(run-program-env) and
1992 $(test-program-prefix-after-env).
1993 * posix/tst-getconf.sh: Do not set environment variables
1995 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1996 run_program_env and test_program_prefix_after_env arguments.
1997 * stdio-common/tst-printf.sh: Do not set environment variables
1999 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2000 $(test-program-prefix-before-env), $(run-program-env) and
2001 $(test-program-prefix-after-env).
2002 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2003 run_program_env and test_program_prefix_after_env arguments.
2004 Split $test calls into $test_pre and $test.
2005 * timezone/Makefile (build-testdata): Use
2006 $(built-program-cmd-before-env), $(run-program-env) and
2007 $(built-program-cmd-after-env).
2009 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2011 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2012 strlen for non SHARED builds.
2014 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2016 * nptl/allocatestack.c (check_list): Inlined function...
2017 (__reclaim_stacks): ... here.
2019 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2022 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2025 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2027 * Rules (make-test-out): Include
2028 LOCPATH=$(common-objpfx)localedata in default environment.
2029 * debug/Makefile (tst-chk1-ENV): Remove variable.
2030 (tst-chk2-ENV): Likewise.
2031 (tst-chk3-ENV): Likewise.
2032 (tst-chk4-ENV): Likewise.
2033 (tst-chk5-ENV): Likewise.
2034 (tst-chk6-ENV): Likewise.
2035 (tst-lfschk1-ENV): Likewise.
2036 (tst-lfschk2-ENV): Likewise.
2037 (tst-lfschk3-ENV): Likewise.
2038 (tst-lfschk4-ENV): Likewise.
2039 (tst-lfschk5-ENV): Likewise.
2040 (tst-lfschk6-ENV): Likewise.
2041 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2042 (tst-iconv7-ENV): Likewise.
2043 * intl/Makefile (LOCPATH-ENV): Likewise.
2044 (tst-codeset-ENV): Likewise.
2045 (tst-gettext3-ENV): Likewise.
2046 (tst-gettext5-ENV): Likewise.
2047 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2048 (tst-fopenloc-ENV): Likewise.
2049 (tst-fgetws-ENV): Remove variable.
2050 (tst-ungetwc1-ENV): Likewise.
2051 (tst-ungetwc2-ENV): Likewise.
2052 (bug-ungetwc2-ENV): Likewise.
2053 (tst-swscanf-ENV): Likewise.
2054 (bug-ftell-ENV): Likewise.
2055 (tst-fgetwc-ENV): Likewise.
2056 (tst-fseek-ENV): Likewise.
2057 (tst-ftell-partial-wide-ENV): Likewise.
2058 (tst-ftell-active-handler-ENV): Likewise.
2059 (tst-ftell-append-ENV): Likewise.
2060 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2061 (tst-regexloc-ENV): Likewise.
2062 (bug-regex1-ENV): Likewise.
2063 (tst-regex-ENV): Likewise.
2064 (tst-regex2-ENV): Likewise.
2065 (bug-regex5-ENV): Likewise.
2066 (bug-regex6-ENV): Likewise.
2067 (bug-regex17-ENV): Likewise.
2068 (bug-regex18-ENV): Likewise.
2069 (bug-regex19-ENV): Likewise.
2070 (bug-regex20-ENV): Likewise.
2071 (bug-regex22-ENV): Likewise.
2072 (bug-regex23-ENV): Likewise.
2073 (bug-regex25-ENV): Likewise.
2074 (bug-regex26-ENV): Likewise.
2075 (bug-regex30-ENV): Likewise.
2076 (bug-regex32-ENV): Likewise.
2077 (bug-regex33-ENV): Likewise.
2078 (bug-regex34-ENV): Likewise.
2079 (bug-regex35-ENV): Likewise.
2080 (tst-rxspencer-ENV): Likewise.
2081 (tst-rxspencer-no-utf8-ENV): Likewise.
2082 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2083 (tst-sscanf-ENV): Likewise.
2084 (tst-swprintf-ENV): Likewise.
2085 (tst-swscanf-ENV): Likewise.
2086 (test-vfprintf-ENV): Likewise.
2087 (scanf13-ENV): Likewise.
2088 (bug14-ENV): Likewise.
2089 (tst-grouping-ENV): Likewise.
2090 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2091 (tst-strtod3-ENV): Likewise.
2092 (tst-strtod4-ENV): Likewise.
2093 (tst-strtod5-ENV): Likewise.
2094 (testmb2-ENV): Likewise./
2095 * string/Makefile (tst-strxfrm-ENV): Likewise.
2096 (tst-strxfrm2-ENV): Likewise.
2097 (bug-strcoll1-ENV): Likewise.
2098 (test-strcasecmp-ENV): Likewise.
2099 (test-strncasecmp-ENV): Likewise.
2100 * time/Makefile (tst-strptime-ENV): Likewise.
2101 (tst-ftime_l-ENV): Likewise.
2102 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2103 (tst-mbrtowc-ENV): Likewise.
2104 (tst-wcrtomb-ENV): Likewise.
2105 (tst-mbrtowc2-ENV): Likewise.
2106 (tst-c16c32-1-ENV): Likewise.
2107 (tst-mbsnrtowcs-ENV): Likewise.
2109 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2111 * manual/resource.texi (How to get information about the memory
2112 subsystem?): Fix typo.
2113 Reported by Peon de la Parra Ivan <peon@keba.com>
2115 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2118 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2119 (pthread_spin_lock): Branch out of spin loop to proper location.
2120 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2121 (pthread_spin_lock): Likewise.
2123 * nptl/tst-spin4.c: New test.
2124 * nptl/Makefile (tests): Add tst-spin4.
2126 2014-06-03 Andreas Schwab <schwab@suse.de>
2129 * resolv/res_send.c (send_dg): Reload file descriptor after
2132 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2136 2014-06-03 Richard Henderson <rth@redhat.com>
2138 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2139 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2140 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2141 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2142 in the SAVE_PID block.
2143 (__libc_vfork): New alias.
2144 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2146 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2147 child in registers, not on the stack. Remove RESET_PID conditionals.
2148 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2150 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2152 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2154 2014-06-03 Wilco <wdijkstr@arm.com>
2156 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2157 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2158 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2159 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2160 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2163 2014-06-03 Wilco <wdijkstr@arm.com>
2165 * sysdeps/aarch64/fpu/math_private.h
2166 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2167 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2168 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2169 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2172 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2174 * crypt/crypt-private.h: Include ufc-crypt.h.
2175 (__b64_from_24bit): Declare extern.
2176 * crypt/crypt_util.c(__b64_from_24bit): New function.
2177 (b64t): New static const variable.
2178 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2179 (b64t): Remove variable.
2180 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2181 * crypt/sha256-crypt.c: Include crypt-private.h.
2182 (b64t): Remove variable.
2183 (__sha256_crypt_r): Remove b64_from_24bit and replace
2184 with __b64_from_24bit.
2185 * crypt/sha512-crypt.c: Likewise.
2187 2014-06-02 Roland McGrath <roland@hack.frob.com>
2189 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2190 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2191 Label the code __libc_vfork rather than __vfork.
2192 [!NOT_IN_libc] (vfork): Define as weak alias.
2193 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2194 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2195 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2197 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2199 * malloc/malloc.c (malloc_info): Fix format specifier for
2202 2014-06-02 Wilco <wdijkstr@arm.com>
2204 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2207 2014-06-02 Wilco <wdijkstr@arm.com>
2210 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2211 Rewrite to reduce FPCR/FPSR accesses.
2213 2014-06-01 David S. Miller <davem@davemloft.net>
2215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2217 2014-05-31 David S. Miller <davem@davemloft.net>
2219 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2220 to occur in round to nearest mode when |x| >= 2.0
2222 2014-05-30 Richard Henderson <rth@twiddle.net>
2224 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2225 (PSEUDO_RET_NOERRNO): Remove.
2226 (ret): Don't redefine.
2227 (ret_NOERRNO): Define in terms of ret.
2228 (ret_ERRVAL): Likewise.
2230 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2231 use of PSEUDO_RET; perform the error check directly.
2233 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2235 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2238 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2240 * malloc/malloc (malloc_info): Fix formatting.
2242 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2243 Roland McGrath <roland@hack.frob.com>
2245 * malloc/malloc (malloc_info): Also print mmapped statistics.
2247 2014-05-30 Roland McGrath <roland@hack.frob.com>
2249 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2250 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2252 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2254 * malloc/malloc.c (malloc_info): Inline mi_arena.
2256 2014-05-29 Richard Henderson <rth@twiddle.net>
2258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2259 Remove comma before expanding ASM_ARGS_##nr.
2260 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2261 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2263 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2264 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2265 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2266 (ASM_ARGS_1): Add leading comma.
2268 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2269 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2270 to __errno_location.
2271 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2272 Remove the expected plt for __errno_location.
2274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2275 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2278 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2279 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2280 it and break it down.
2281 (DOCARGS_0, DOCARGS_1): Do nothing.
2282 (DOCARGS_2): Update to store into the new stack frame.
2283 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2284 (UNDOCARGS_1): Update to restore from the new stack frame.
2285 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2286 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2288 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2289 (SINGLE_THREAD_P): New parameter for result regno.
2290 (PSEUDO): Update to match; use cbz instead of beq.
2292 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2293 Use ENTRY to define the _nocancel entry point. Share the syscall
2294 and syscall error check paths with the cancel path.
2297 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2298 whitespace; tabs before and after asm mnemonics.
2300 2014-05-29 Eric Wong <normalperson@yhbt.net>
2303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2304 Call fstat64 or stat64 internally, depending on arguments passed.
2305 Replace stat buffer argument with file descriptor argument.
2306 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2307 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2308 Pass fd to __internal_statvfs instead of calling fstat64.
2309 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2310 Pass fd to __internal_statvfs64 instead of calling fstat64.
2311 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2312 Pass -1 to __internal_statvfs instead of calling stat64.
2313 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2314 Pass -1 to __internal_statvfs64 instead of calling stat64.
2316 2014-05-28 Roland McGrath <roland@hack.frob.com>
2318 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2319 that was previously under [RESET_PID].
2320 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2322 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2323 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2325 2014-05-27 Roland McGrath <roland@hack.frob.com>
2327 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2329 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2330 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2332 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2334 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2336 2014-05-27 Andreas Schwab <schwab@suse.de>
2338 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2340 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2341 * elf/rtld.c (init_tls, dl_main): Likewise.
2342 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2343 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2344 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2345 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2346 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2347 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2348 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2349 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2350 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2351 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2352 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2353 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2354 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2355 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2356 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2357 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2358 * sysdeps/generic/tls.h: Update description.
2360 2014-05-27 Will Newton <will.newton@linaro.org>
2363 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2364 and restore r2 rather than just restoring.
2366 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2369 * libio/tst-ftell-append.c: New test case.
2370 * libio/Makefile (tests): Add test case.
2371 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2373 * libio/wfileops.c (do_ftell_wide): Likewise.
2375 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2379 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2383 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2384 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2386 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2388 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2396 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2398 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2401 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2404 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2406 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2408 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2410 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2413 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2415 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2438 conditional [RESET_PID].
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2448 (__libc_vfork): New strong alias.
2449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2456 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2457 (__libc_vfork): New strong alias.
2458 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2463 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2465 * malloc/malloc.c (mi_arena): New function.
2466 (malloc_info): Remove nested function mi_arena. Call non-nosted
2469 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2473 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2474 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2475 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2476 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2477 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2478 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2481 2014-05-26 Andreas Schwab <schwab@suse.de>
2484 * locale/programs/repertoire.c (repertoire_read): Add slash
2485 between I18NPATH element and file name.
2486 * locale/programs/locfile.c (locfile_read): Likewise.
2488 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2490 * nptl/pthread_mutexattr_settype.c
2491 (__pthread_mutexattr_settype):
2492 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2494 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2496 * nptl/tst-mutex5 (do_test):
2497 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2499 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2501 * benchtests/README: Document 'init' directive.
2502 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2504 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2505 (parse_file): Recognize 'init' directive.
2507 2014-05-26 Kyle McMartin <kyle@redhat.com>
2510 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2511 alignment of struct pthread.
2513 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2516 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2517 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2518 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2519 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2521 2014-05-25 Richard Henderson <rth@twiddle.net>
2523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2524 (SINGLE_THREAD_P_PIC): Remove.
2525 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2526 (SINGLE_THREAD_P_PIC): Remove.
2528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2529 branch to syscall error ...
2531 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2532 from __local_syscall_error to .Lsyscall_error.
2533 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2534 (SYSCALL_ERROR): Update label name.
2536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2537 Do not use DOARGS/UNDOARGS.
2538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2539 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2540 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2541 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2542 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2547 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2548 define if !NOT_IN_libc.
2549 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2550 define with non-default symbol versions.
2552 2014-05-23 Richard Henderson <rth@twiddle.net>
2554 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2555 (vfork, __vfork): Define via compat_symbol.
2557 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2558 [!HAVE_IFUNC] (vfork_compat): Remove.
2559 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2561 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2564 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2565 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2568 2014-05-23 Richard Henderson <rth@twiddle.net>
2570 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2571 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2572 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2573 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2575 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2576 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2577 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2578 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2579 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2580 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2581 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2582 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2583 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2584 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2585 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2586 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2587 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2588 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2589 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2590 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2591 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2592 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2593 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2594 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2595 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2596 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2597 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2598 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2600 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2601 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2602 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2603 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2604 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2605 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2606 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2607 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2608 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2609 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2610 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2611 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2612 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2613 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2614 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2615 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2616 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2617 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2618 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2619 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2620 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2621 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2622 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2623 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2624 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2626 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2628 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2630 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2632 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2633 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2634 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2635 before exiting on error.
2636 (__libc_vfork): New strong alias.
2637 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2638 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2640 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2641 that was previously under [RESET_PID].
2642 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2644 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2646 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2649 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2650 value when x - 1 is zero.
2651 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2652 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2653 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2654 0.0L for an argument of 1.0L.
2655 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2657 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2658 value when x - 1 is zero.
2659 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2660 * sysdeps/i386/fpu/libm-test-ulps: Update.
2661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2663 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2665 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2666 alphasort and versionsort.
2668 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2672 [copysignf]: Likewise.
2674 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2676 * crypt/md5-crypt.c: Fix formatting.
2678 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2680 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2681 (b64_from_24bit): New function.
2683 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2685 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2686 libc_hidden_builtin_def to ifunc.
2687 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2688 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2690 2014-05-21 Roland McGrath <roland@hack.frob.com>
2692 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2693 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2695 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2697 * nscd/Depend (linuxthreads): Remove.
2699 * resolv/Depend (linuxthreads): Remove.
2700 * rt/Depend (linuxthreads): Remove.
2702 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2703 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2704 $(common-objpfx)elf/.
2705 (link-libc-before-gnulib): Likewise.
2706 (elfobjdir): Remove variable.
2707 * Makefile (install): Use $(elf-objpfx) instead of
2708 $(common-objpfx)elf/.
2709 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2711 (link-libc-deps): Likewise.
2712 ($(common-objpfx)libc.so): Likewise.
2713 ($(common-objpfx)linkobj/libc.so): Likewise.
2714 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2715 instead of $(common-objpfx)elf/.
2716 (symbolic-link-list): Likewise.
2717 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2718 [$(cross-compiling) = no]: Likewise.
2719 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2721 (static-gnulib-arch): Likewise.
2722 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2723 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2724 $(common-objpfx)elf/.
2726 2014-05-21 Richard Henderson <rth@redhat.com>
2728 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2729 (SINGLE_THREAD_P): Use the correct width load. Fold
2730 into the ldr offset.
2732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2733 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2735 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2737 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2738 (libgcc_s_resume): Use __attribute_used__.
2739 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2742 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2745 optimization when used with float constants.
2747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2749 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2752 * locale/nl_langinfo_l.c: Make direct reference to every
2753 _nl_current_CATEGORY symbol.
2754 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2755 (tests-static): Add tst-langinfo-static.
2756 (tests-special): Add tst-langinfo-static.out.
2757 ($(objpfx)tst-langinfo.out): Redirect output.
2758 ($(objpfx)tst-langinfo-static.out): New.
2759 * localedata/tst-langinfo.sh: Send output to stdout.
2760 * localedata/tst-langinfo-static.c: New file.
2763 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2764 when the shift amount is modulo the limb size.
2766 2014-05-20 Richard Henderson <rth@redhat.com>
2769 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2770 Change type of sa_flags from unsigned int to int.
2773 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2775 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2777 2014-05-20 Will Newton <will.newton@linaro.org>
2779 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2780 Test the return value of the system call in the nocancel case.
2782 2014-05-20 Will Newton <will.newton@linaro.org>
2783 Yvan Roux <yvan.roux@linaro.org>
2785 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2786 #include of asm/ptrace.h.
2787 (PTRACE_GET_THREAD_AREA): Remove #undef.
2788 (PTRACE_GETHBPREGS): Likewise.
2789 (PTRACE_SETHBPREGS): Likewise.
2790 (struct user_regs_struct): New structure.
2791 (struct user_fpsimd_struct): New structure.
2792 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2793 #include of asm/ptrace.h and second #include of sys/user.h.
2794 (PTRACE_GET_THREAD_AREA): Remove #undef.
2795 (PTRACE_GETHBPREGS): Likewise.
2796 (PTRACE_SETHBPREGS): Likewise.
2797 (ELF_NGREG): Use new struct user_regs_struct.
2798 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2800 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2805 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2809 membar to avoid block loads/stores to overlap previous stores.
2811 2014-05-17 Richard Henderson <rth@redhat.com>
2813 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2814 Create the __##syscall_name##_nocancel entry point.
2815 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2816 Remove; let the sysdep-cancel.h code create it.
2818 2014-05-17 David S. Miller <davem@davemloft.net>
2820 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2821 Protect with __USE_GNU.
2822 (TIOCSET_TEMPT): Likewise.
2823 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2824 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2825 these are already provided in bits/ioctl-types.h
2827 2014-05-16 Roland McGrath <roland@hack.frob.com>
2829 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2830 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2832 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2833 Use wait4 regardless of [__NR_waitpid].
2835 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2838 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2839 (_FP_NANSIGN_Q): Set the quiet bit.
2841 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2843 * benchtests/Makefile
2844 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2845 not $(common-objpfx)math/libm.so.
2846 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2847 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2848 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2849 $(common-objpfx)dlfcn/libdl.so.
2850 ($(objpfx)tst-audit8): Depend on $(libm), not
2851 $(common-objpfx)math/libm.so.
2852 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2853 not $(common-objpfx)dlfcn/libdl.so.
2855 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2856 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2857 [$(build-shared) = yes].
2858 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2859 $(common-objpfx)nptl/libpthread.so.
2860 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2861 $(common-objpfx)math/libm.so$(libm.so-version) or
2862 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2863 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2864 $(common-objpfx)dlfcn/libdl.so.
2865 * setjmp/Makefile (link-libm): Remove variable.
2866 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2867 * stdio-common/Makefile (link-libm): Remove variable.
2868 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2869 * stdlib/Makefile (link-libm): Remove variable.
2870 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2871 ($(objpfx)tst-strtod-round): Likewise.
2872 ($(objpfx)tst-tininess): Likewise.
2873 ($(objpfx)tst-strtod-underflow): Likewise.
2874 ($(objpfx)tst-strtod6): Likewise.
2875 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2876 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2877 $(common-objpfx)dlfcn/libdl.so.
2879 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2882 BSD terminal modes definitions.
2884 2014-05-16 Roland McGrath <roland@hack.frob.com>
2886 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2887 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2889 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2890 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2891 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2892 Don't do #include_next.
2893 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2894 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2895 Don't do #include_next.
2896 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2897 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2898 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2899 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2901 2014-05-16 Allan McRae <allan@archlinux.org>
2903 * po/sv.po: Update Swedish translation from translation project.
2905 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2908 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2911 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2912 errno if the TIOCGPTN ioctl fails with an error different than
2914 * login/tst-ptsname.c: New file.
2915 * login/Makefile (tests): Add tst-ptsname.
2918 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2921 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2925 herrno to return EAI_AGAIN.
2927 2014-05-14 Roland McGrath <roland@hack.frob.com>
2929 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2930 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2931 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2932 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2958 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2960 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2965 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2989 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2994 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3006 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3008 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3012 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3015 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3017 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3020 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3021 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3022 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3023 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3025 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3027 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3029 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3031 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3033 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3035 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3037 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3039 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3041 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3043 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3045 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3047 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3049 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3051 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3052 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3054 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3055 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3056 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3058 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3064 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3067 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3070 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3072 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3075 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3077 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3079 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3080 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3081 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3084 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3087 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3089 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3090 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3092 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3095 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3097 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3099 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3101 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3103 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3109 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3112 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3115 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3120 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3121 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3122 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3123 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3124 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3126 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3129 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3132 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3134 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3135 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3137 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3140 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3142 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3144 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3145 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3146 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3148 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3149 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3150 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3152 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3158 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3161 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3166 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3168 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3171 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3173 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3175 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3177 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3180 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3183 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3185 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3186 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3188 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3193 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3195 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3196 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3197 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3199 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3201 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3203 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3205 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3207 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3208 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3210 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3211 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3213 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3214 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3215 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3217 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3219 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3221 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3223 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3227 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3229 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3232 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3234 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3237 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3239 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3241 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3243 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3246 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3249 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3251 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3253 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3254 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3255 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3256 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3257 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3258 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3259 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3260 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3261 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3262 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3263 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3264 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3265 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3268 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3269 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3270 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3271 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3273 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3274 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3275 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3276 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3277 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3278 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3279 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3280 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3281 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3282 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3287 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3288 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3289 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3290 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3291 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3292 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3293 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3294 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3295 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3296 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3297 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3298 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3299 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3300 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3315 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3327 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3329 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3332 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3333 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3334 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3335 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3338 that was previously under [RESET_PID].
3339 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3340 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3341 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3343 * sysdeps/i386/nptl/Implies: New file.
3344 * sysdeps/x86_64/nptl/Implies: New file.
3345 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3346 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3347 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3348 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3350 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3351 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3352 (__libc_vfork): New strong alias.
3353 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3354 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3356 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3357 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3358 (__libc_vfork): New strong alias.
3359 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3360 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3362 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3364 (__libc_vfork): New strong alias.
3365 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3366 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3367 * nptl/pt-vfork.c: New file.
3368 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3369 (libpthread: GLIBC_2.20): New version set (empty).
3371 2014-05-14 Will Newton <will.newton@linaro.org>
3373 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3376 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3379 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3380 arguments with exponent 65 or above.
3381 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3382 arguments 0x1p113L or above.
3383 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3384 to arguments 0x1p107L or above.
3385 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3386 positive arguments with exponent 65 or above.
3387 * math/auto-libm-test-in: Add more tests of log1p.
3388 * math/auto-libm-test-out: Regenerated.
3391 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3392 non-finite arguments is +0.
3393 * math/s_cacosf.c (__cacosf): Likewise.
3394 * math/s_cacosl.c (__cacosl): Likewise.
3395 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3396 * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3400 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3402 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3403 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3404 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3405 for explicit high bit of mantissa when testing for argument equal
3407 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3408 * sysdeps/i386/fpu/libm-test-ulps: Update.
3409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3412 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3413 (__erf): Scale by 16 instead of 8 in potentially underflowing
3414 case. Ensure exception if result actually underflows.
3415 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3416 (__erff): Scale by 16 instead of 8 in potentially underflowing
3417 case. Ensure exception if result actually underflows.
3418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3419 (efx8): Remove variable.
3420 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3421 case. Ensure exception if result actually underflows.
3422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3423 (efx8): Remove variable.
3424 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3425 case. Ensure exception if result actually underflows.
3426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3427 (efx8): Remove variable.
3428 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3429 case. Ensure exception if result actually underflows.
3430 * math/auto-libm-test-in: Add more tests of erf.
3431 * math/auto-libm-test-out: Regenerated.
3433 2014-05-14 Andreas Schwab <schwab@suse.de>
3435 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3436 Remove code conditionalized on USE___THREAD.
3438 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3439 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3442 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3445 Define unconditionally.
3446 (__ASSUME_O_CLOEXEC): Likewise.
3447 (__ASSUME_SOCK_CLOEXEC): Likewise.
3448 (__ASSUME_IN_NONBLOCK): Likewise.
3449 (__ASSUME_PIPE2): Likewise.
3450 (__ASSUME_EVENTFD2): Likewise.
3451 (__ASSUME_SIGNALFD4): Likewise.
3452 (__ASSUME_DUP3): Likewise.
3453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3454 (__ASSUME_DUP3): Do not define.
3455 (__ASSUME_EVENTFD2): Likewise.
3456 (__ASSUME_IN_NONBLOCK): Likewise.
3457 (__ASSUME_O_CLOEXEC): Likewise.
3458 (__ASSUME_PIPE2): Likewise.
3459 (__ASSUME_SIGNALFD4): Likewise.
3460 (__ASSUME_SOCK_CLOEXEC): Likewise.
3461 (__ASSUME_UTIMES): Undefine.
3462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3463 (__ASSUME_UTIMES): Do not define.
3464 (__ASSUME_O_CLOEXEC): Likewise.
3465 (__ASSUME_SOCK_CLOEXEC): Likewise.
3466 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3467 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3469 (__ASSUME_PIPE2): Likewise.
3470 (__ASSUME_EVENTFD2): Likewise.
3471 (__ASSUME_SIGNALFD4): Likewise.
3472 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3473 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3475 (__ASSUME_EVENTFD2): Likewise.
3476 (__ASSUME_SIGNALFD4): Likewise.
3477 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3478 (__ASSUME_32BITUIDS): Likewise.
3479 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3480 (__ASSUME_IPC64): Likewise.
3481 (__ASSUME_ST_INO_64_BIT): Likewise.
3482 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3483 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3484 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3485 (__ASSUME_UTIMES): Do not define.
3486 (__ASSUME_PSELECT): Likewise.
3487 (__ASSUME_PPOLL): Likewise.
3488 (__ASSUME_O_CLOEXEC): Likewise.
3489 (__ASSUME_SOCK_CLOEXEC): Likewise.
3490 (__ASSUME_IN_NONBLOCK): Likewise.
3491 (__ASSUME_PIPE2): Likewise.
3492 (__ASSUME_EVENTFD2): Likewise.
3493 (__ASSUME_SIGNALFD4): Likewise.
3494 (__ASSUME_DUP3): Likewise.
3495 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3496 (__ASSUME_UTIMES): Likewise.
3497 (__ASSUME_O_CLOEXEC): Likewise.
3498 (__ASSUME_SOCK_CLOEXEC): Likewise.
3499 (__ASSUME_IN_NONBLOCK): Likewise.
3500 (__ASSUME_PIPE2): Likewise.
3501 (__ASSUME_EVENTFD2): Likewise.
3502 (__ASSUME_SIGNALFD4): Likewise.
3503 (__ASSUME_DUP3): Likewise.
3504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3505 (__ASSUME_UTIMES): Likewise.
3506 (__ASSUME_O_CLOEXEC): Likewise.
3507 (__ASSUME_SOCK_CLOEXEC): Likewise.
3508 (__ASSUME_IN_NONBLOCK): Likewise.
3509 (__ASSUME_PIPE2): Likewise.
3510 (__ASSUME_EVENTFD2): Likewise.
3511 (__ASSUME_SIGNALFD4): Likewise.
3512 (__ASSUME_DUP3): Likewise.
3513 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3515 (__ASSUME_UTIMES): Likewise.
3516 (__ASSUME_EVENTFD2): Likewise.
3517 (__ASSUME_SIGNALFD4): Likewise.
3518 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3519 (__ASSUME_O_CLOEXEC): Likewise.
3520 (__ASSUME_SOCK_CLOEXEC): Likewise.
3521 (__ASSUME_IN_NONBLOCK): Likewise.
3522 (__ASSUME_PIPE2): Likewise.
3523 (__ASSUME_EVENTFD2): Likewise.
3524 (__ASSUME_SIGNALFD4): Likewise.
3525 (__ASSUME_DUP3): Likewise.
3526 (__ASSUME_UTIMES): Undefine.
3528 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3529 feclearexcept. Remove symbol versioning code.
3530 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3531 symbol versioning code.
3532 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3533 symbol versioning code.
3534 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3535 feupdateenv. Remove symbol versioning code.
3536 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3537 fegetexceptflag. Remove symbol versioning code.
3538 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3539 fesetexceptflag. Remove symbol versioning code.
3540 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3541 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3542 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3543 (__posix_fadvise64_l32): Remove prototype.
3544 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3547 2014-05-13 Roland McGrath <roland@hack.frob.com>
3549 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3550 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3551 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3552 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3554 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3556 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3557 current working directory
3559 2014-05-13 Roland McGrath <roland@hack.frob.com>
3561 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3562 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3563 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3564 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3565 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3566 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3567 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3572 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3594 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3595 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3596 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3597 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3598 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3599 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3600 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3601 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3602 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3604 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3605 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3607 * sysdeps/unix/sysv/linux/arm/Makefile
3608 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3609 Add rt-aeabi_unwind_cpp_pr1.
3610 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3611 Add nptl-aeabi_unwind_cpp_pr1.
3612 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3613 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3614 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3615 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3616 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3617 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3619 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3620 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3621 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3622 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3624 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3625 Deconditionalize the code that was previously under [RESET_PID].
3626 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3628 * sysdeps/generic/exit-thread.h: New file.
3629 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3630 * include/unistd.h (__exit_thread): Remove declaration.
3631 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3632 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3633 * csu/libc-start.c: Include <exit-thread.h>.
3634 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3635 * nptl/pthread_create.c: Include <exit-thread.h>.
3636 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3637 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3638 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3639 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3640 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3641 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3642 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3643 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3644 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3645 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3646 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3647 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3648 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3649 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3650 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3651 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3652 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3654 2014-05-13 Andreas Schwab <schwab@suse.de>
3656 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3658 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3660 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3661 (__ASSUME_UTIMES): Do not condition on kernel version.
3662 (__ASSUME_PSELECT): Define unconditionally.
3663 (__ASSUME_PPOLL): Likewise.
3664 (__ASSUME_ATFCTS): Likewise.
3665 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3666 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3667 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3668 (__ASSUME_UTIMENSAT): Define unconditionally.
3669 (__ASSUME_PRIVATE_FUTEX): Likewise.
3670 (__ASSUME_FALLOCATE): Likewise.
3671 (__ASSUME_O_CLOEXEC): Likewise.
3672 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3673 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3674 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3675 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3676 (__ASSUME_IN_NONBLOCK): Likewise.
3677 (__ASSUME_PIPE2): Likewise.
3678 (__ASSUME_EVENTFD2): Likewise.
3679 (__ASSUME_SIGNALFD4): Likewise.
3680 (__ASSUME_DUP3): Likewise.
3681 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3682 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3683 (__ASSUME_AT_RANDOM): Likewise.
3684 (__ASSUME_PREADV): Likewise.
3685 (__ASSUME_PWRITEV): Likewise.
3686 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3687 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3688 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3690 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3691 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3692 (__ASSUME_O_CLOEXEC): Define unconditionally.
3693 (__ASSUME_PSELECT): Do not undefine conditionally.
3694 (__ASSUME_PPOLL): Likewise.
3695 (__ASSUME_ATFCTS): Likewise.
3696 (__ASSUME_SET_ROBUST_LIST): Likewise.
3697 (__ASSUME_UTIMENSAT): Likewise.
3698 (__ASSUME_FDATASYNC): Define unconditionally.
3699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3700 (__ASSUME_SIGFRAME_V2): Likewise.
3701 )__ASSUME_EVENTFD2): Likewise.
3702 (__ASSUME_SIGNALFD4): Likewise.
3703 (__ASSUME_PSELECT): Do not undefine conditionally.
3704 (__ASSUME_PPOLL): Likewise.
3705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3706 (__ASSUME_PSELECT): Define unconditionally.
3707 (__ASSUME_PPOLL): Likewise.
3708 (__ASSUME_O_CLOEXEC): Likewise.
3709 (__ASSUME_SOCK_CLOEXEC): Likewise.
3710 (__ASSUME_IN_NONBLOCK): Likewise.
3711 (__ASSUME_PIPE2): Likewise.
3712 (__ASSUME_EVENTFD2): Likewise.
3713 (__ASSUME_SIGNALFD4): Likewise.
3714 (__ASSUME_DUP3): Likewise.
3715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3716 (__ASSUME_O_CLOEXEC): Likewise.
3717 (__ASSUME_SOCK_CLOEXEC): Likewise.
3718 (__ASSUME_IN_NONBLOCK): Likewise.
3719 (__ASSUME_PIPE2): Likewise.
3720 (__ASSUME_EVENTFD2): Likewise.
3721 (__ASSUME_SIGNALFD4): Likewise.
3722 (__ASSUME_DUP3): Likewise.
3723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3724 (__ASSUME_EVENTFD2): Likewise.
3725 (__ASSUME_SIGNALFD4): Likewise.
3726 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3728 2014-05-12 Andreas Schwab <schwab@suse.de>
3731 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3732 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3733 than maximum RPC packet size.
3734 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3735 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3736 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3737 (_nss_nis_getservbyport_r): Likewise.
3739 2014-05-12 Will Newton <will.newton@linaro.org>
3741 * malloc/Makefile (tests): Add tst-mallopt.
3742 * malloc/tst-mallopt.c: New file.
3744 2014-05-09 Roland McGrath <roland@hack.frob.com>
3746 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3747 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3749 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3751 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3752 (tst-tlsmod6.so): Likewise.
3754 2014-05-09 Roland McGrath <roland@hack.frob.com>
3756 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3758 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3761 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3762 and <dl-procinfo.h>.
3763 (__fegetenv): Save SSE state in envp->__eip if supported.
3764 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3765 envp->__eip if supported.
3766 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3767 and <dl-procinfo.h>.
3768 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3769 __data_offset and __data_selector in environment to 0. Set SSE
3771 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3773 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3775 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3777 2014-05-09 Will Newton <will.newton@linaro.org>
3779 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3780 and libc_relro_required for ARM.
3781 * sysdeps/arm/preconfigure: Regenerate.
3783 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3784 Stefan Liebler <stli@linux.vnet.ibm.com>
3786 * config.make.in (enable-lock-elision): New Makefile variable.
3787 * configure.ac: Likewise.
3788 * configure: Regenerate.
3789 * sysdeps/s390/configure.ac:
3790 Add check for gcc transactions support.
3791 * sysdeps/s390/configure: Regenerate.
3792 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3793 Build elision files if enabled.
3794 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3795 Add lock elision support for s390.
3796 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3797 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3798 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3799 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3800 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3801 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3806 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3810 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3811 (__lll_timedlock_elision, __lll_lock_elision)
3812 (__lll_unlock_elision, __lll_trylock_elision)
3813 (lll_timedlock_elision, lll_lock_elision)
3814 (lll_unlock_elision, lll_trylock_elision): Add.
3815 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3816 (pthread_mutex_t): Add lock elision support for s390.
3818 2014-05-14 Wilco <wdijkstr@arm.com>
3820 * sysdeps/arm/fclrexcpt.c: Cleanup.
3821 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3822 * sysdeps/arm/feenablxcpt.c: Cleanup.
3823 * sysdeps/arm/fegetenv.c: Cleanup.
3824 * sysdeps/arm/fegetexcept.c: Cleanup.
3825 * sysdeps/arm/fegetround.c: Cleanup.
3826 * sysdeps/arm/feholdexcpt.c: Cleanup.
3827 * sysdeps/arm/fesetenv.c: Cleanup.
3828 * sysdeps/arm/fesetround.c: Cleanup.
3829 * sysdeps/arm/feupdateenv.c: Cleanup.
3830 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3831 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3832 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3833 * sysdeps/arm/ftestexcept.c: Cleanup.
3834 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3835 * sysdeps/arm/setfpucw.c: Cleanup.
3837 2014-05-09 Will Newton <will.newton@linaro.org>
3839 * sysdeps/arm/armv7/strcmp.S: New file.
3840 * NEWS: Mention addition of ARMv7 optimized strcmp.
3842 2014-05-08 Roland McGrath <roland@hack.frob.com>
3844 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3845 look for %.ac rather than %.in.
3847 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3848 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3849 * sysdeps/mach/hurd/configure: Regenerated.
3850 * sysdeps/unix/sysv/linux/configure: Regenerated.
3852 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3854 2014-05-07 Steve Ellcey <sellcey@mips.com>
3857 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3861 2014-05-07 Andreas Schwab <schwab@suse.de>
3863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3864 when skipping over non-matching result from nscd.
3866 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3869 * nptl/sockperf.c (client): Check socket return value.
3872 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3873 nscd security class.
3875 2014-05-06 Roland McGrath <roland@hack.frob.com>
3877 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3878 * sysdeps/arm/unwind.h: ... here.
3880 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3883 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3886 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3888 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3889 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3890 multiarch strncpy for PPC64.
3891 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3892 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3894 multiarch optimizations.
3895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3896 (__libc_ifunc_impl_list): Likewise.
3897 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3898 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3899 multiarch stpncpy for PPC64.
3900 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3901 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3903 2014-05-06 Andreas Schwab <schwab@suse.de>
3906 * gmon/mcount.c (_MCOUNT_DECL): Use
3907 atomic_compare_and_exchange_bool_acq instead of
3908 catomic_compare_and_exchange_bool_acq.
3910 2014-05-05 Roland McGrath <roland@hack.frob.com>
3912 * elf/Makefile (others, install-bin): Remove pldd.
3913 (pldd-modules): Variable removed.
3914 ($(objpfx)pldd): Target removed.
3915 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3916 (others, install-bin): Append pldd here.
3917 ($(objpfx)pldd): New target.
3919 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3920 to 0, so the first #if test emitted later doesn't see it undefined.
3921 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3922 * sysdeps/gnu/errlist.c: Regenerated.
3924 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3927 [libc_hidden_builtin_def]: Define to empty value.
3928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3929 [libc_hidden_builtin_def]: Likewise.
3930 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3931 [libc_hidden_builtin_def]: Likewise.
3932 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3933 [libc_hidden_builtin_def]: Likewise.
3934 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3935 __redirect_memcpy and define ifunc as default hidden symbol.
3936 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3937 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3939 2014-05-04 Adam Conrad <adconrad@0c3.net>
3941 * locale/iso-4217.def: Reintroduce XDR currency.
3943 2014-05-04 Allan McRae <allan@archlinux.org>
3945 * po/eo.po: Update Esperanto translation from translation project.
3947 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3949 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3950 and FEATURE_INDEX_MAX to 1.
3951 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3953 2014-05-01 Steve Ellcey <sellcey@mips.com>
3955 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3956 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3957 * iconvdata/big5.c (ONE_DIRECTION): Define.
3958 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3959 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3960 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3961 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3962 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3963 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3964 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3965 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3966 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3967 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3968 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3969 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3970 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3971 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3972 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3973 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3974 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3975 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3976 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3977 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3978 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3979 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3980 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3981 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3982 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3983 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3984 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3985 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3986 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3987 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3988 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3989 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3990 * iconvdata/johab.c (ONE_DIRECTION): Define.
3991 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3992 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3993 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3994 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3995 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3996 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3997 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3998 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3999 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4000 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4002 2014-05-01 Roland McGrath <roland@hack.frob.com>
4004 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4005 (_IO_JUMPS_OFFSET): Define to 0.
4007 * nptl/sysdeps/pthread/bits/libc-lock.h
4008 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4009 (__libc_lock_define_initialized_recursive): Always define using
4010 initializer. Modern compilers treat uninitialized (implicit zero) and
4011 explicit zero initializers the same (i.e. put the datum in bss).
4013 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4015 * nscd/nscd-client.h: Include <string.h>.
4017 2014-05-01 David S. Miller <davem@davemloft.net>
4020 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4021 multiple zero bytes exist at the end of a string.
4022 Reported by Aurelien Jarno <aurelien@aurel32.net>
4024 * string/test-strcmp.c (check): Add explicit test for situations where
4025 there are multiple zero bytes after the first.
4027 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4030 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4031 when compiling wprintf.
4032 * stdio-common/tstdiomisc.c (t3): New function.
4035 2014-05-01 Steve Ellcey <sellcey@mips.com>
4037 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4038 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4039 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4040 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4042 2014-05-01 Steve Ellcey <sellcey@mips.com>
4044 * stdlib/longlong.h: Updated from GCC.
4046 2014-05-01 Will Newton <will.newton@linaro.org>
4047 Bernard Ogden <bernie.ogden@linaro.org>
4049 * NEWS: Update fixed bug list.
4052 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4054 2014-04-30 David S. Miller <davem@davemloft.net>
4056 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4057 (libc_feholdexcept_setround_sparc_ctx): New function.
4058 (libc_fesetenv_sparc_ctx): Likewise.
4059 (libc_feupdateenv_sparc_ctx): Likewise.
4060 (libc_feholdsetround_sparc_ctx): Likewise.
4061 (libc_feholdexcept_setround_ctx): Define.
4062 (libc_feholdexcept_setroundf_ctx): Likewise.
4063 (libc_feholdexcept_setroundl_ctx): Likewise.
4064 (libc_fesetenv_ctx): Likewise.
4065 (libc_fesetenvf_ctx): Likewise.
4066 (libc_fesetenvl_ctx): Likewise.
4067 (libc_feupdateenv_ctx): Likewise.
4068 (libc_feupdateenvf_ctx): Likewise.
4069 (libc_feupdateenvl_ctx): Likewise.
4070 (libc_feresetround_ctx): Likewise.
4071 (libc_feresetroundf_ctx): Likewise.
4072 (libc_feresetroundl_ctx): Likewise.
4073 (libc_feholdsetround_ctx): Likewise.
4074 (libc_feholdsetroundf_ctx): Likewise.
4075 (libc_feholdsetroundl_ctx): Likewise.
4077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4078 with __USE_GNU instead of XOPEN cpp guards.
4080 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4084 with XOPEN cpp guards.
4086 2014-04-30 Julian Brown <julian@codesourcery.com>
4089 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4092 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4095 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4097 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4098 * sysdeps/unix/sysv/linux/configure: Regenerated.
4099 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4100 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4101 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4102 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4103 * README: Update reference to required Linux kernel version.
4104 * manual/install.texi (Linux): Update reference to required Linux
4105 kernel headers version.
4106 * INSTALL: Regenerated.
4108 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4110 [POSIX] (limits.h): Likewise.
4111 [POSIX] (math.h): Likewise.
4112 [POSIX] (sys/wait.h): Likewise.
4113 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4115 [POSIX] (stddef.h): Do not allow header inclusion.
4117 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4119 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4121 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4123 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4124 Return immediately after lll_futex_wake.
4126 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4129 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4131 (datahead_init_pos): Call datahead_init_common early.
4132 (datahead_init_neg): Likewise.
4134 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4135 datahead_init_neg): New functions.
4136 * nscd/aicache.c (addhstaiX): Use them.
4137 * nscd/grpcache.c (cache_addgr): Likewise.
4138 * nscd/hstcache.c (cache_addhst): Likewise.
4139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4140 * nscd/netgroupcache.c (do_notfound): Likewise.
4141 (addgetnetgrentX): Likewise.
4142 (addinnetgrX): Likewise.
4143 * nscd/pwdcache.c (cache_addpw): Likewise.
4144 * nscd/servicescache.c (cache_addserv): Likewise.
4146 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4147 Atsushi Onoe <atsushi@onoe.org>
4152 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4153 one response is valid.
4154 * resolv/res_send.c (send_dg): Check for validity of other
4155 response if the current response is a referral.
4157 2014-04-29 Steve Ellcey <sellcey@mips.com>
4159 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4161 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4164 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4165 Always divide by positive zero when computing -Inf result.
4166 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4167 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4169 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4172 FPSCR if value do not change.
4173 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4174 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4175 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4176 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4177 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4178 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4181 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4183 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4184 * sysdeps/unix/sysv/linux/hppa: Move directory from
4185 ports/systeps/unix/sysv/linux/hppa.
4186 * README: Update listing for hppa-*-linux-gnu.
4188 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4191 * manual/stdio.texi (Hook functions): Fix types of stream hook
4194 * socket/sys/socket.h: Fix typo in comment.
4196 2014-04-28 Wilco <wdijkstr@arm.com>
4198 * sysdeps/arm/fenv_private.h: New file.
4199 * sysdeps/arm/math_private.h: New file.
4200 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4202 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4204 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4206 (La_x86_64_retval): Likewise.
4208 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4210 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4211 fpsr if value didn't change.
4212 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4213 to fpcr if value didn't change.
4214 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4215 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4216 fpsr or fpcr if value didn't change.
4217 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4218 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4219 fpcr if value didn't change.
4220 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4221 to fpsr if value didn't change.
4223 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 * nptl/tst-sem3.c: Use test-skeleton.c
4226 (main): Rename to do_test. Use return instead of
4228 * nptl/tst-sem4.c: Use test-skeleton.c
4229 (main): Rename to do_test.
4231 2014-04-22 David S. Miller <davem@davemloft.net>
4233 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4234 (struct sigaction): New struct member __glibc_reserved0, change
4235 type of sa_flags to int.
4237 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4239 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4240 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4242 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4244 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4245 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4247 2014-04-22 Will Newton <will.newton@linaro.org>
4248 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4250 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4251 (__longjmp): Add longjmp and longjmp_target SystemTap
4253 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4254 (__sigsetjmp): Add setjmp SystemTap probe.
4256 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4258 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4261 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4263 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4265 * sysdeps/powerpc/fpu/fenv_private.h
4266 (libc_feholdexcept_setroundl_ctx): Define to
4267 libc_feholdexcept_setround_ppc_ctx.
4268 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4269 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4270 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4271 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4273 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4275 * sysdeps/aarch64/math-tests.h: New file.
4277 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4279 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4282 Check and set bit_AVX2_Usable.
4283 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4285 (bit_AVX2): Likewise.
4286 (index_AVX2_Usable): Likewise.
4287 (CPUID_AVX2): Likewise.
4288 (HAS_AVX2): Likewise.
4290 2014-04-17 Will Newton <will.newton@linaro.org>
4292 * manual/setjmp.texi (System V contexts): Add note that
4293 calling setcontext on a context created by a call to a
4294 signal handler is undefined. Update text to note that
4295 setcontext from a signal handler is possible but not
4299 * stdlib/tst-setcontext.c: Include signal.h.
4300 (main): Check that the signal stack before and
4301 after swapcontext is the same.
4303 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4304 Re-implement to restore registers in user code and avoid
4305 rt_sigreturn system call.
4307 2014-04-17 Wilco <wdijkstr@arm.com>
4309 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4310 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4311 * math/test-fenv.c: Skip exception trap tests on targets which only
4312 support non-stop mode.
4314 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4315 Wilco Dijkstra <wilco.dijkstra@arm.com>
4317 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4318 (libc_feholdsetround_aarch64_ctx)
4319 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4320 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4321 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4322 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4323 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4324 (libc_feresetround_noexl_ctx): Define.
4326 2014-04-16 Richard Henderson <rth@redhat.com>
4328 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4330 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4333 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4334 const from the non-libc, non-ldso copy.
4336 * sysdeps/alpha/libm-test-ulps: Regenerate.
4338 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4339 Wilco Dijkstra <wilco.dijkstra@arm.com>
4341 * sysdeps/aarch64/fpu/math_private.h: New file.
4343 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4345 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4347 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4349 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4350 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4352 Intel MPX bound registers before _dl_profile_fixup.
4353 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4354 registers after _dl_profile_fixup. Save and restore bound
4355 registers bnd0/bnd1 when calling _dl_call_pltexit.
4356 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4357 (LR_BND_OFFSET): Likewise.
4358 (LRV_BND0_OFFSET): Likewise.
4359 (LRV_BND1_OFFSET): Likewise.
4361 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4363 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4365 * sysdeps/mach/hurd/i386/tls.h: ... here.
4366 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4367 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4370 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4372 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4374 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4376 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4378 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4381 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4382 * sysdeps/s390/configure: Regenerate.
4385 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4386 Set round-to-nearest internally to reduce error accumulation.
4388 2014-04-16 Alan Modra <amodra@gmail.com>
4392 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4393 * math/libm-test.inc (frexp_test_data): Add tests.
4394 * NEWS: Update fixed bug list.
4396 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4398 * benchtests/Makefile: Depend on libraries in build directory.
4399 (bench-math): Separate out math tests.
4400 (bench-pthread): Separate out pthread tests.
4401 (bench): Include math and pthread tests.
4403 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4406 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4407 _dl_debug_initialize.
4409 * configure.ac: Remove SELinux header check.
4410 * configure: Regenerate.
4411 * nscd/selinux.c (perms): Array of const char* to permission names.
4412 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4413 default policy. Call string_to_security_class and string_to_av_perm to
4414 translate strings. Enforce default policy and call avs_has_perm with
4415 results of translated strings.
4417 2014-04-13 David S. Miller <davem@davemloft.net>
4419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4421 2014-04-12 Allan McRae <allan@archlinux.org>
4424 * manual/string.texi (Collation Functions): Fix qsort argument
4426 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4428 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4430 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4431 Make the test a no-op if there are no exceptions defined.
4433 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4435 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4436 enable-hardcoded-path-in-tests
4438 2014-04-11 Will Newton <will.newton@linaro.org>
4440 * benchtests/Makefile (extra-objs): Add json-lib.o.
4441 (bench-func): Tidy up JSON output.
4442 * benchtests/bench-skeleton.c: Include json-lib.h.
4443 (main): Use JSON library functions to do output of
4445 * benchtests/bench-timing-type.c (main): Output the
4446 timing type simply, leaving formatting to the user.
4447 * benchtests/json-lib.c: New file.
4448 * benchtests/json-lib.h: Likewise.
4450 2014-04-11 Torvald Riegel <triegel@redhat.com>
4453 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4454 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4455 memory barriers. Add comments.
4456 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4457 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4458 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4459 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4460 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4461 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4463 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4465 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4466 * sysdeps/s390/s390-64/configure.ac: ... this ...
4467 * sysdeps/s390/configure.ac: ... to here.
4468 * sysdeps/s390/s390-32/configure: Delete file.
4469 * sysdeps/s390/s390-64/configure: Delete file.
4470 * sysdeps/s390/configure: Regenerate.
4472 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4474 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4476 2014-04-11 Will Newton <will.newton@linaro.org>
4478 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4479 to zero if it is not defined elsewhere. (mtrim): Test
4480 the value of MALLOC_DEBUG with #if rather than #ifdef.
4482 2014-04-10 Torvald Riegel <triegel@redhat.com>
4484 * benchtests/pthread_once-inputs: New file.
4485 * benchtests/pthread_once-source.c: New file.
4486 * benchtests/README: Update documentation.
4488 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4489 H.J. Lu <hongjiu.lu@intel.com>
4491 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4492 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4493 * sysdeps/x86_64/configure: Regenerated.
4494 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4496 (REGISTER_SAVE_RAX): Likewise.
4497 (REGISTER_SAVE_RCX): Likewise.
4498 (REGISTER_SAVE_RDX): Likewise.
4499 (REGISTER_SAVE_RSI): Likewise.
4500 (REGISTER_SAVE_RDI): Likewise.
4501 (REGISTER_SAVE_R8): Likewise.
4502 (REGISTER_SAVE_R9): Likewise.
4503 (REGISTER_SAVE_BND0): Likewise.
4504 (REGISTER_SAVE_BND1): Likewise.
4505 (REGISTER_SAVE_BND2): Likewise.
4506 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4507 bound registers when calling _dl_fixup.
4509 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4512 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4514 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4515 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4516 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4517 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4518 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4519 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4520 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4522 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4525 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4526 pathconf(_PC_NAME_MAX).
4528 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4532 (__PTHREAD_SPINS): Move definition to ...
4533 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4534 (__PTHREAD_SPINS): ... here.
4535 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4536 (__PTHREAD_SPIN): Likewise.
4537 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4538 (__PTHREAD_SPIN): Likewise.
4539 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4540 (__PTHREAD_SPIN): Likewise.
4541 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4542 (__PTHREAD_SPIN): Likewise.
4543 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4544 (__PTHREAD_SPIN): Likewise.
4545 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4546 (__PTHREAD_SPIN): Likewise.
4547 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4548 (__PTHREAD_SPIN): Likewise.
4549 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4550 (__PTHREAD_SPIN): Likewise.
4551 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4552 (__PTHREAD_SPIN): Likewise.
4553 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4554 (__PTHREAD_SPIN): Likewise.
4555 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4556 (__PTHREAD_SPIN): Likewise.
4557 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4558 (__PTHREAD_SPIN): Likewise.
4560 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4561 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4562 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4563 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4565 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4566 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4567 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4568 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4570 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4571 strlen symbol for non multi-arch builds.
4572 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4573 missing hidden_def and weak_alias.
4575 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4577 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4579 2014-04-07 Will Newton <will.newton@linaro.org>
4581 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4582 and contents. [!_LIBC] Remove #ifndef and contents.
4583 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4584 * string/memccpy.c (__memccpy): Use ANSI prototype.
4585 * string/memfrob.c (memfrob): Likewise.
4586 * string/strcoll.c (STRCOLL): Likewise.
4587 * string/strlen.c (strlen): Likewise.
4588 * string/strtok.c (STRTOK): Likewise.
4589 * string/strcat.c: Remove unused #include of memcopy.h.
4590 (strcat): Use ANSI prototype.
4591 * string/strchr.c: Remove unused #include of memcopy.h.
4592 (strchr): Use ANSI prototype.
4593 * string/strcmp.c: Remove unused #include of memcopy.h.
4594 (strcmp): Use ANSI prototype.
4595 * string/strcpy.c: Remove unused #include of memcopy.h.
4596 (strcpy): Use ANSI prototype.
4598 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4600 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4601 * config.make.in (config-extra-cppflags): Set it from
4602 libc_extra_cppflags.
4603 * configure.ac (libc_extra_cflags): Make it accumulate over
4604 configure fragments.
4605 (libc_extra_cppflags): New flag.
4606 * configure. Regenerate.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4608 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4609 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4614 result for FE_DOWNWARD rounding mode.
4615 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4619 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4621 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4622 in function argument name.
4624 2014-04-03 David Svoboda <svoboda@cert.org>
4627 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4630 2014-04-03 Roland McGrath <roland@hack.frob.com>
4632 * elf/dl-unmap-segments.h: New file.
4633 * sysdeps/generic/ldsodefs.h
4634 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4635 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4636 * elf/dl-fptr.c: Likewise.
4637 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4638 * sysdeps/aarch64/tlsdesc.c: Likewise.
4639 * sysdeps/arm/tlsdesc.c: Likewise.
4640 * sysdeps/i386/tlsdesc.c: Likewise.
4641 * sysdeps/tile/dl-runtime.c: Likewise.
4642 * sysdeps/x86_64/tlsdesc.c: Likewise.
4643 * elf/dl-load.h: New file.
4644 * elf/dl-load.c: Include it.
4645 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4646 Macros moved to dl-load.h.
4647 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4648 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4649 Use _dl_unmap_segments in place of __munmap.
4650 Break out segment-mapping loop into ...
4651 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4653 2014-04-03 Will Newton <will.newton@linaro.org>
4655 * elf/dl-lookup.c (do_lookup_x): Remove comment
4656 referring to nested function and move variable
4657 declarations down to before first use.
4659 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4663 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4665 * math/s_catanf.c (__catanf): Likewise.
4666 * math/s_catanh.c (__catanh): Likewise.
4667 * math/s_catanhf.c (__catanhf): Likewise.
4668 * math/s_catanhl.c (__catanhl): Likewise.
4669 * math/s_catanl.c (__catanl): Likewise.
4670 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4671 by positive zero when computing -Inf result.
4672 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4673 (catanh_test): Likewise.
4674 * sysdeps/i386/fpu/libm-test-ulps: Update.
4675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4679 instead of using underflowing value in computing result.
4680 * math/s_clog10.c (__clog10): Likewise.
4681 * math/s_clog10f.c (__clog10f): Likewise.
4682 * math/s_clog10l.c (__clog10l): Likewise.
4683 * math/s_clogf.c (__clogf): Likewise.
4684 * math/s_clogl.c (__clogl): Likewise.
4685 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4686 (clog10_test): Likewise.
4687 * sysdeps/i386/fpu/libm-test-ulps: Update.
4688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4690 2014-04-02 Alan Modra <amodra@gmail.com>
4693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4694 output when value is near a power of two. Use int64_t for lx and
4695 remove casts. Use decimal rather than hex exponent constants.
4696 Don't use long double multiplication when double will suffice.
4697 * math/libm-test.inc (nextafter_test_data): Add tests.
4698 * NEWS: Add 16739 and 16786 to bug list.
4700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4702 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4704 2014-04-01 Will Newton <will.newton@linaro.org>
4706 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4707 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4709 2014-04-01 Florian Weimer <fweimer@redhat.com>
4712 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4713 * nptl/tst-setuid2.c: New file.
4714 * nptl/Makefile (xtests): Add tst-setuid2.
4716 2014-04-01 Alan Modra <amodra@gmail.com>
4719 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4721 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4725 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4726 set errno as appropriate.
4727 * math/w_scalbf.c (__scalbf): Likewise.
4728 * math/w_scalbl.c (__scalbl): Likewise.
4729 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4730 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4731 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4735 * math/w_atan2.c: Include <errno.h>.
4736 (__atan2): Set errno for result underflowing to zero.
4737 * math/w_atan2f.c: Include <errno.h>.
4738 (__atan2f): Set errno for result underflowing to zero.
4739 * math/w_atan2l.c: Include <errno.h>.
4740 (__atan2l): Set errno for result underflowing to zero.
4741 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4743 * math/auto-libm-test-out: Regenerated.
4745 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4747 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4748 Encode instruction correctly in little endian.
4749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4753 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4755 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4758 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4761 * sysdeps/unix/sysv/linux/kernel-features.h
4762 [__sparc__ && !__arch64__ && !__sparc_v9__]
4763 (__ASSUME_SET_ROBUST_LIST): Do not define.
4764 [__sparc__ && !__arch64__ && !__sparc_v9__]
4765 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4766 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4768 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4769 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4770 (__ASSUME_REQUEUE_PI): Likewise.
4771 (__ASSUME_SET_ROBUST_LIST): Likewise.
4772 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4773 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4775 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4776 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4778 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4780 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4782 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4783 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4785 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4786 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4792 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4794 2014-03-31 Will Newton <will.newton@linaro.org>
4796 * benchtests/Makefile (bench): Add ffs and ffsll to list
4798 * benchtests/ffs-inputs: New file.
4799 * benchtests/ffsll-inputs: Likewise.
4801 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4804 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4805 too large before casting to int.
4806 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4807 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4808 * math/libm-test.inc (scalb_test_data): Add more tests.
4810 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4812 * benchtests/Makefile (DETAILED_OPT): New make option.
4813 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4815 * benchtests/bench-skeleton.c: Include stdbool.h.
4816 (main): Store and print timings per input.
4817 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4818 member to each argument value.
4819 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4820 (_print_arg_data): Initialize per-input timing to 0.
4822 * benchtests/Makefile (timing-type): New binary.
4823 (bench-clean): Also remove bench-timing-type.
4824 (bench): New target for timing-type.
4825 (bench-func): Print output in JSON format.
4826 * benchtests/bench-skeleton.c (main): Print output in JSON
4828 * benchtests/bench-timing-type.c: New file.
4829 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4830 (TIMING_PRINT_STATS): Remove.
4831 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4834 * benchtests/bench-modf.c: Remove.
4835 * benchtests/modf-inputs: New inputs file.
4837 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4840 * math/s_clog10.c (M_PI_LOG10E): New macro.
4841 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4842 imaginary parts are 0.
4843 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4844 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4845 imaginary parts are 0.
4846 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4847 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4848 imaginary parts are 0.
4849 * math/libm-test.inc (clog10_test_data): Update expected results
4850 for when real and imaginary parts are 0.
4852 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4854 * elf/dl-load.c: Finish conversion of __builtin_expect into
4857 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4861 1+x for argument with exponent below -67.
4862 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4864 * math/auto-libm-test-in: Add more tests of exp.
4865 * math/auto-libm-test-out: Regenerated.
4867 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4870 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4871 (nscd_getnetgrent): Use it.
4874 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4877 2014-03-27 Andi Kleen <ak@linux.intel.com>
4879 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4880 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4881 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4882 (lll_robust_unlock): Remove out of line section. Use cfi
4884 (LLL_STUB_UNWIND_INFO*): Remove.
4885 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4886 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4887 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4888 (lll_robust_unlock): Remove out of line section. Use cfi
4890 (LLL_STUB_UNWIND_INFO*): Remove.
4892 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4895 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4898 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4900 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4902 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4905 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4907 * math/test-fenv-preserve.c: New file.
4908 * math/Makefile (tests): Add test-fenv-preserve.
4910 2014-03-26 Will Newton <will.newton@linaro.org>
4912 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4914 2014-03-25 Roland McGrath <roland@hack.frob.com>
4916 * scripts/versionlist.awk: Partition the version sets and emit all
4917 GLIBC_* (sorted) before all others (sorted).
4919 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4921 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4922 GLIBC_2.2.5 version.
4924 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4929 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4934 2014-03-25 Andreas Schwab <schwab@suse.de>
4936 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4937 label to be used after in6ailist is initialized.
4939 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4942 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4944 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4948 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4950 (fp_formats): Update initializers.
4951 (init_fp_formats): Initialize new field.
4952 (output_for_one_input_case): Allow underflow for results up to
4954 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4955 * math/auto-libm-test-in: Don't mark some underflows from asin and
4957 * math/auto-libm-test-out: Regenerated.
4958 * sysdeps/i386/fpu/libm-test-ulps: Update.
4959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4961 2014-03-25 Andreas Schwab <schwab@suse.de>
4963 * libio/Makefile (tst-ftell-partial-wide-ENV)
4964 (tst-ftell-active-handler-ENV): Define.
4966 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4968 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4970 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4972 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4974 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4976 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4977 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4978 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4980 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4983 * elf/dl-load.c (open_verify): Add mode parameter.
4984 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4985 (open_path): Change from boolean 'secure' to complete flag 'mode'
4986 (_dl_map_object): Adjust.
4987 * elf/Makefile (tests): Add tst-dlopen-aout.
4988 * elf/tst-dlopen-aout.c: New test.
4990 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4993 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4994 (struct stat): Rename member pad0 to __glibc_reserved0.
4997 * sysdeps/s390/s390-32/bits/wordsize.h
4998 (__WORDSIZE32_SIZE_ULONG): New define.
4999 * sysdeps/s390/s390-64/bits/wordsize.h
5000 (__WORDSIZE32_SIZE_ULONG): Likewise.
5001 * sysdeps/generic/stdint.h (SIZE_MAX):
5002 Define as UL if __WORDSIZE32_SIZE_ULONG.
5005 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5006 (__glibc_reserved0): New variable.
5007 (sa_flags): Change type to int.
5009 * posix/Makefile (before-compile): Use += before-compile instead
5012 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5013 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5015 2014-03-20 Andreas Schwab <schwab@suse.de>
5018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5019 non-matching result from nscd.
5021 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 * scripts/bench.py: Moved to ...
5024 * benchtests/scripts/bench.py: ... here.
5025 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5027 2014-03-24 Andreas Schwab <schwab@suse.de>
5030 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5031 alloca_account and account alloca use for struct in6ailist.
5033 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5036 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5037 rounding mode to recompute results that overflow to infinity or
5039 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5041 * math/auto-libm-test-out: Regenerated.
5042 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5043 (ccosh_test): Likewise.
5044 (csin_test_data): Use plus_oflow.
5045 (csin_test): Use ALL_RM_TEST.
5046 (csinh_test_data): Use plus_oflow.
5047 (csinh_test): Use ALL_RM_TEST.
5048 * sysdeps/i386/fpu/libm-test-ulps: Update.
5049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5051 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5053 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5054 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5055 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5058 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5060 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5061 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5062 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5063 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5065 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5066 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5068 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5069 * sysdeps/i386/fpu/libm-test-ulps: Update.
5070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5072 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5074 * scripts/bench.pl: Remove file.
5075 * scripts/bench.py: New benchmark script.
5076 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5077 * benchtests/README: Mention python dependency.
5078 * scripts/pylintrc: New file.
5079 * scripts/pylint: New file.
5081 * bits/mathdef.h: Use #ifdef instead of #if.
5082 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5083 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5084 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5085 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5086 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5087 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5089 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5092 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5094 and strpbrk-ppc64 objects.
5095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5096 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5097 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5098 multiarch strpbrk for POWER7.
5099 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5100 multiarch strpbrk for PPC64.
5101 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5103 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5106 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5108 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5109 (atan_test): Likewise.
5110 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5111 (atanh_test): Use ALL_RM_TEST.
5112 (atan2_test_data): Likewise.
5113 (cabs_test): Likewise.
5114 (cacosh_test): Likewise.
5115 (carg_test): Likewise.
5116 (casin_test): Likewise.
5117 (casinh_test): Likewise.
5118 (cbrt_test): Likewise.
5119 (csqrt_test): Likewise.
5120 (erf_test): Likewise.
5121 (erfc_test): Likewise.
5122 (pow10_test): Likewise.
5123 (exp2_test): Likewise.
5124 (hypot_test): Likewise.
5125 (j0_test): Likewise.
5126 (j1_test): Likewise.
5127 (lgamma_test): Likewise.
5128 (gamma_test): Likewise.
5129 (sincos_test): Likewise.
5130 (tanh_test): Likewise.
5131 (y0_test): Likewise.
5132 (y1_test): Likewise.
5133 * sysdeps/i386/fpu/libm-test-ulps: Update.
5134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5136 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5138 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5140 and strcspn-ppc64 objects.
5141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5142 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5143 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5144 multiarch strcspn for POWER7.
5145 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5146 multiarch strcspn for PPC64.
5147 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5149 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5152 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5154 * math/gen-libm-test.pl (generate_testfile): Expect only function
5155 name as argument to AUTO_TESTS_* and pass results for all rounding
5156 modes to parse_args.
5157 (parse_auto_input): Separate inputs of automatic tests from
5158 outputs before storing in %auto_tests.
5159 * math/libm-test.inc (acos_test_data): Update call to
5161 (acos_test): Use ALL_RM_TEST.
5162 (acos_tonearest_test_data): Remove.
5163 (acos_test_tonearest): Likewise.
5164 (acos_towardzero_test_data): Likewise.
5165 (acos_test_towardzero): Likewise.
5166 (acos_downward_test_data): Likewise.
5167 (acos_test_downward): Likewise.
5168 (acos_upward_test_data): Likewise.
5169 (acos_test_upward): Likewise.
5170 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5171 (asin_test_data): Likewise.
5172 (asin_test): Use ALL_RM_TEST.
5173 (asin_tonearest_test_data): Remove.
5174 (asin_test_tonearest): Likewise.
5175 (asin_towardzero_test_data): Likewise.
5176 (asin_test_towardzero): Likewise.
5177 (asin_downward_test_data): Likewise.
5178 (asin_test_downward): Likewise.
5179 (asin_upward_test_data): Likewise.
5180 (asin_test_upward): Likewise.
5181 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5182 (atan_test_data): Likewise.
5183 (atanh_test_data): Likewise.
5184 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5185 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5186 (carg_test_data): Likewise.
5187 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5188 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5189 (ccosh_test_data): Likewise.
5190 (cexp_test_data): Likewise.
5191 (clog_test_data): Likewise.
5192 (clog10_test_data): Likewise.
5193 (cos_test_data): Update call to AUTO_TESTS_f_f.
5194 (cos_test): Use ALL_RM_TEST.
5195 (cos_tonearest_test_data): Remove.
5196 (cos_test_tonearest): Likewise.
5197 (cos_towardzero_test_data): Likewise.
5198 (cos_test_towardzero): Likewise.
5199 (cos_downward_test_data): Likewise.
5200 (cos_test_downward): Likewise.
5201 (cos_upward_test_data): Likewise.
5202 (cos_test_upward): Likewise.
5203 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5204 (cosh_test): Use ALL_RM_TEST.
5205 (cosh_tonearest_test_data): Remove.
5206 (cosh_test_tonearest): Likewise.
5207 (cosh_towardzero_test_data): Likewise.
5208 (cosh_test_towardzero): Likewise.
5209 (cosh_downward_test_data): Likewise.
5210 (cosh_test_downward): Likewise.
5211 (cosh_upward_test_data): Likewise.
5212 (cosh_test_upward): Likewise.
5213 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5214 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5215 (ctan_test_data): Likewise.
5216 (ctan_test): Use ALL_RM_TEST.
5217 (ctan_tonearest_test_data): Remove.
5218 (ctan_test_tonearest): Likewise.
5219 (ctan_towardzero_test_data): Likewise.
5220 (ctan_test_towardzero): Likewise.
5221 (ctan_downward_test_data): Likewise.
5222 (ctan_test_downward): Likewise.
5223 (ctan_upward_test_data): Likewise.
5224 (ctan_test_upward): Likewise.
5225 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5226 (ctanh_test): Use ALL_RM_TEST.
5227 (ctanh_tonearest_test_data): Remove.
5228 (ctanh_test_tonearest): Likewise.
5229 (ctanh_towardzero_test_data): Likewise.
5230 (ctanh_test_towardzero): Likewise.
5231 (ctanh_downward_test_data): Likewise.
5232 (ctanh_test_downward): Likewise.
5233 (ctanh_upward_test_data): Likewise.
5234 (ctanh_test_upward): Likewise.
5235 (erf_test_data): Update call to AUTO_TESTS_f_f.
5236 (erfc_test_data): Likewise.
5237 (exp_test_data): Likewise.
5238 (exp_test): Use ALL_RM_TEST.
5239 (exp_tonearest_test_data): Remove.
5240 (exp_test_tonearest): Likewise.
5241 (exp_towardzero_test_data): Likewise.
5242 (exp_test_towardzero): Likewise.
5243 (exp_downward_test_data): Likewise.
5244 (exp_test_downward): Likewise.
5245 (exp_upward_test_data): Likewise.
5246 (exp_test_upward): Likewise.
5247 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5248 (exp10_test): Use ALL_RM_TEST.
5249 (exp10_tonearest_test_data): Remove.
5250 (exp10_test_tonearest): Likewise.
5251 (exp10_towardzero_test_data): Likewise.
5252 (exp10_test_towardzero): Likewise.
5253 (exp10_downward_test_data): Likewise.
5254 (exp10_test_downward): Likewise.
5255 (exp10_upward_test_data): Likewise.
5256 (exp10_test_upward): Likewise.
5257 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5258 (expm1_test_data): Likewise.
5259 (expm1_test): Use ALL_RM_TEST.
5260 (expm1_tonearest_test_data): Remove.
5261 (expm1_test_tonearest): Likewise.
5262 (expm1_towardzero_test_data): Likewise.
5263 (expm1_test_towardzero): Likewise.
5264 (expm1_downward_test_data): Likewise.
5265 (expm1_test_downward): Likewise.
5266 (expm1_upward_test_data): Likewise.
5267 (expm1_test_upward): Likewise.
5268 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5269 (fma_test): Use ALL_RM_TEST.
5270 (fma_towardzero_test_data): Remove.
5271 (fma_test_towardzero): Likewise.
5272 (fma_downward_test_data): Likewise.
5273 (fma_test_downward): Likewise.
5274 (fma_upward_test_data): Likewise.
5275 (fma_test_upward): Likewise.
5276 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5277 (j0_test_data): Update call to AUTO_TESTS_f_f.
5278 (j1_test_data): Likewise.
5279 (jn_test_data): Update call to AUTO_TESTS_if_f.
5280 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5281 (log_test_data): Update call to AUTO_TESTS_f_f.
5282 (log10_test_data): Likewise.
5283 (log1p_test_data): Likewise.
5284 (log2_test_data): Likewise.
5285 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5286 (pow_tonearest_test_data): Likewise.
5287 (sin_test_data): Update call to AUTO_TESTS_f_f.
5288 (sin_test): Use ALL_RM_TEST.
5289 (sin_tonearest_test_data): Remove.
5290 (sin_test_tonearest): Likewise.
5291 (sin_towardzero_test_data): Likewise.
5292 (sin_test_towardzero): Likewise.
5293 (sin_downward_test_data): Likewise.
5294 (sin_test_downward): Likewise.
5295 (sin_upward_test_data): Likewise.
5296 (sin_test_upward): Likewise.
5297 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5298 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5299 (sinh_test): Use ALL_RM_TEST.
5300 (sinh_tonearest_test_data): Remove.
5301 (sinh_test_tonearest): Likewise.
5302 (sinh_towardzero_test_data): Likewise.
5303 (sinh_test_towardzero): Likewise.
5304 (sinh_downward_test_data): Likewise.
5305 (sinh_test_downward): Likewise.
5306 (sinh_upward_test_data): Likewise.
5307 (sinh_test_upward): Likewise.
5308 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5309 (sqrt_test): Use ALL_RM_TEST.
5310 (sqrt_tonearest_test_data): Remove.
5311 (sqrt_test_tonearest): Likewise.
5312 (sqrt_towardzero_test_data): Likewise.
5313 (sqrt_test_towardzero): Likewise.
5314 (sqrt_downward_test_data): Likewise.
5315 (sqrt_test_downward): Likewise.
5316 (sqrt_upward_test_data): Likewise.
5317 (sqrt_test_upward): Likewise.
5318 (tan_test_data): Update call to AUTO_TESTS_f_f.
5319 (tan_test): Use ALL_RM_TEST.
5320 (tan_tonearest_test_data): Remove.
5321 (tan_test_tonearest): Likewise.
5322 (tan_towardzero_test_data): Likewise.
5323 (tan_test_towardzero): Likewise.
5324 (tan_downward_test_data): Likewise.
5325 (tan_test_downward): Likewise.
5326 (tan_upward_test_data): Likewise.
5327 (tan_test_upward): Likewise.
5328 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5329 (tgamma_test_data): Likewise.
5330 (y0_test_data): Likewise.
5331 (y1_test_data): Likewise.
5332 (yn_test_data): Update call to AUTO_TESTS_if_f.
5333 (main): Do not call removed functions.
5335 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5337 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5338 (ldexp_test_data): Remove.
5339 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5341 (scalb_test): Use ALL_RM_TEST.
5343 2014-03-19 Andreas Schwab <schwab@suse.de>
5345 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5347 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5350 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5352 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5353 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5354 (__ASSUME_PREADV): Undefine.
5355 (__ASSUME_PWRITEV): Likewise.
5357 2014-03-18 Roland McGrath <roland@hack.frob.com>
5359 * bits/mman-linux.h: Add comment about non-Linux use.
5360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5361 bits/mman-linux.h resting place.
5363 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5364 * bits/mman-linux.h: ... here.
5366 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5368 * conform/conformtest.pl: Add standard definition when calling C
5369 preprocessor on data files.
5370 (checknamespace): Remove unused variable.
5372 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5374 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5375 minus_oflow, plus_uflow and minus_uflow in expected results.
5376 * math/libm-test.inc (scalbn_test_data): Add more tests of
5377 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5379 (scalbn_test): Use ALL_RM_TEST.
5380 (scalbln_test_data): Add more tests of negative arguments. Use
5381 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5382 (scalbln_test): Use ALL_RM_TEST.
5384 2014-03-18 Roland McGrath <roland@hack.frob.com>
5386 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5388 2014-03-18 Will Newton <will.newton@linaro.org>
5390 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5393 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5395 * Makerules [!subdir] (check-abi): Exit with error status if a
5398 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5400 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5401 for rint. Include results for all rounding modes.
5402 (nearbyint_test): Use ALL_RM_TEST.
5403 (rint_test_data): Include all tests used for nearbyint.
5405 2014-03-17 Will Newton <will.newton@linaro.org>
5407 * nptl/sysdeps/pthread/pthread.h: Revert previous
5410 * sysdeps/generic/ldsodefs.h: Revert previous
5413 * libio/genops.c: Revert previous change.
5414 * libio/libioP.h: Likewise.
5415 * stdio-common/vfprintf.c: Likewise.
5417 * sysdeps/generic/math_private.h: Revert previous
5420 * sysdeps/generic/math_private.h: Check whether
5421 HAVE_RM_CTX is defined with #ifdef rather
5424 * argp/argp-fmtstream.h: Check whether
5425 __STRICT_ANSI__ is defined with #ifdef rather
5427 * argp/argp.h: Likewise.
5429 * libio/genops.c: Check whether
5430 _IO_JUMPS_OFFSET is defined with #ifdef rather
5432 * libio/libioP.h: Likewise.
5433 * stdio-common/vfprintf.c: Likewise.
5435 * sysdeps/generic/ldsodefs.h: Check whether
5436 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5439 * nptl/sysdeps/pthread/pthread.h: Check
5440 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5443 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5445 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5447 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5451 * libio/fileops.c (_IO_file_open): Seek to end of file but
5452 don't cache the offset.
5453 (get_file_offset): Remove function.
5454 (do_ftell): Use cached offset when available.
5455 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5456 don't cache the offset.
5457 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5459 (do_one_test): Call it.
5460 (do_ftell_test): Fix up expected old offset for a+ mode.
5461 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5464 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5465 up test status with function return status.
5466 (do_write_test): Likewise.
5467 (do_append_test): Likewise.
5469 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5470 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5473 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5475 * math/gen-libm-test.pl (parse_args): Handle results specified for
5476 each rounding mode separately.
5477 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5478 tests and results from lrint_tonearest_test_data,
5479 lrint_towardzero_test_data, lrint_downward_test_data and
5480 lrint_upward_test_data.
5481 (lrint_test): Use ALL_RM_TEST.
5482 (lrint_tonearest_test_data): Remove.
5483 (lrint_test_tonearest): Likewise.
5484 (lrint_towardzero_test_data): Likewise.
5485 (lrint_test_towardzero): Likewise.
5486 (lrint_downward_test_data): Likewise.
5487 (lrint_test_downward): Likewise.
5488 (lrint_upward_test_data): Likewise.
5489 (lrint_test_upward): Likewise.
5490 (llrint_test_data): Merge in per-rounding-mode tests and results
5491 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5492 llrint_downward_test_data and llrint_upward_test_data.
5493 (llrint_test): Use ALL_RM_TEST.
5494 (llrint_tonearest_test_data): Remove.
5495 (llrint_test_tonearest): Likewise.
5496 (llrint_towardzero_test_data): Likewise.
5497 (llrint_test_towardzero): Likewise.
5498 (llrint_downward_test_data): Likewise.
5499 (llrint_test_downward): Likewise.
5500 (llrint_upward_test_data): Likewise.
5501 (llrint_test_upward): Likewise.
5502 (rint_test_data): Merge in per-rounding-mode tests and results
5503 from rint_tonearest_test_data, rint_towardzero_test_data,
5504 rint_downward_test_data and rint_upward_test_data. Add
5505 per-rounding-mode results for tests not in those arrays.
5506 (rint_test): Use ALL_RM_TEST.
5507 (rint_tonearest_test_data): Remove.
5508 (rint_test_tonearest): Likewise.
5509 (rint_towardzero_test_data): Likewise.
5510 (rint_test_towardzero): Likewise.
5511 (rint_downward_test_data): Likewise.
5512 (rint_test_downward): Likewise.
5513 (rint_upward_test_data): Likewise.
5514 (rint_test_upward): Likewise.
5515 (main): Don't call removed functions.
5517 2014-03-14 Roland McGrath <roland@hack.frob.com>
5519 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5520 "Compiled on ..." crapola. It is anti-useful.
5522 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5524 * scripts/evaluate-test.sh: Handle fourth argument to determine
5525 whether test run should stop on failure.
5526 * Makeconfig (stop-on-test-failure): New variable.
5527 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5528 $(stop-on-test-failure).
5529 * Makefile (tests): Give a summary of results from testing and
5530 exit with failure status if they include an ERROR or FAIL.
5532 * manual/install.texi (Configuring and compiling): Mention
5533 stop-on-test-failure=y.
5534 * INSTALL: Regenerated.
5536 2014-03-14 Roland McGrath <roland@hack.frob.com>
5538 * scripts/versionlist.awk: New file.
5539 * Makerules [$(build-shared) = yes]
5540 (postclean-generated): Add Versions.def, not Versions.def.v and
5542 ($(common-objpfx)Versions.def.v.i): Target removed.
5543 ($(common-objpfx)Versions.def): New target.
5544 ($(common-objpfx)Versions.all): Depend on that rather that
5545 $(common-objpfx)Versions.def.v.
5546 * Versions.def: File removed.
5548 * Makeconfig (+gccwarn): Add -Wundef.
5549 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5550 a dl-sysdep.h breaking its contract.
5551 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5552 * include/stackinfo.h: New file.
5553 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5554 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5555 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5556 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5557 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5558 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5559 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5560 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5561 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5562 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5563 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5564 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5565 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5566 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5567 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5569 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5574 * math/libm-test.inc (round_test_data): Add more tests.
5577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5579 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5582 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5584 * math/libm-test.inc (ceil_test_data): Add more tests.
5586 * math/libm-test.inc (trunc_test_data): Add more tests related to
5589 2014-03-14 Roland McGrath <roland@hack.frob.com>
5591 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5592 with #if rather than #ifdef.
5593 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5595 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5597 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5598 first. Disable AVX-512 GCC support if assembler doesn't support
5600 * sysdeps/x86_64/configure: Regenerated.
5602 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5604 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5605 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5606 (__old_pthread_attr_setstack): Likewise.
5607 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5608 [!_STACK_GROWS_DOWN]: Likewise.
5610 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5612 * config.make.in (have-bash2): Delete.
5613 * configure.ac (libc_cv_have_bash2): Delete.
5614 * configure: Regenerate.
5615 * elf/Makefile (common-ldd-rewrite): Rename to ...
5616 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5617 (sh-ldd-rewrite): Delete.
5618 (bash-ldd-rewrite): Delete.
5619 (have-bash2): Delete checks.
5620 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5623 * config.make.in (have-ksh): Delete.
5625 * configure.ac (libc_cv_have_ksh): Delete.
5626 * configure: Regenerate.
5628 * elf/Makefile: Delete $(have-ksh) check.
5629 ($(objpfx)sotruss): Change KSH to BASH.
5630 * elf/sotruss.ksh: Rename to ...
5631 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5632 function style to match POSIX. Drop ksh vim mode setting.
5634 * manual/time.texi (Specifying the Time Zone with TZ): Change
5635 Tuesday to Thursday.
5637 * debug/tst-longjmp_chk2.c: Update header comment.
5638 (stackoverflow_handler): Add comment. Call assert on pass value.
5640 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5642 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5643 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5644 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5645 (La_x86_64_vector): Add zmm.
5646 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5647 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5648 ($(objpfx)tst-audit10): New target.
5649 ($(objpfx)tst-audit10.out): Likewise.
5650 (tst-audit10-ENV): New.
5651 (AVX512-CFLAGS): Likewise.
5652 (CFLAGS-tst-audit10.c): Likewise.
5653 (CFLAGS-tst-auditmod10a.c): Likewise.
5654 (CFLAGS-tst-auditmod10b.c): Likewise.
5655 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5656 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5657 * sysdeps/x86_64/configure: Regenerated.
5658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5659 AVX-512 zmm register support.
5660 (_dl_x86_64_save_sse): Likewise.
5661 (_dl_x86_64_restore_sse): Likewise.
5662 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5663 size vector registers.
5664 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5665 (ZMM_SIZE): Likewise.
5666 * sysdeps/x86_64/tst-audit10.c: New file.
5667 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5668 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5670 2014-03-13 Roland McGrath <roland@hack.frob.com>
5672 * configure.ac (HAVE_EHDR_START): New check.
5673 * configure: Regenerated.
5674 * config.h.in (HAVE_EHDR_START): New #undef.
5675 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5676 assuming the lowest-addressed segment maps the start of the file.
5678 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5680 * INSTALL: Regenerated.
5682 2014-03-13 Will Newton <will.newton@linaro.org>
5684 * manual/setjmp.texi (System V contexts): Improve
5685 clarity and grammar of documentation.
5687 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5690 * elf/Makefile (tests): Add tst-pie2.
5691 (tests-pie): Add tst-pie2.
5692 * elf/tst-pie2.c: New file.
5693 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5695 * elf/rtld.c (map_doit): Load executable as lt_executable.
5696 (dl_main): Likewise.
5698 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5702 (__ASSUME_PSELECT): Undefine.
5704 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5708 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5710 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5711 selector for static builds.
5713 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5716 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5719 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5721 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5722 IFUNC selector for static builds.
5724 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5726 * sysdeps/mips/math_private.h [__mips_hard_float]
5727 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5728 libc_feresetround_mips_ctx.
5729 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5730 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5731 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5734 * math/s_nextafter.c (__nextafter): Do not return value from
5735 overflowing computation.
5736 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5737 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5738 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5740 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5742 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5743 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5745 2014-03-11 Roland McGrath <roland@hack.frob.com>
5747 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5748 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5749 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5750 the new mov targetting sp.
5752 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5756 Define it for static builds as well.
5757 (NO_BZERO_IMPL): Likewise.
5759 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5761 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5762 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5763 multiarch strspn for PPC64.
5764 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5765 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5767 (__libc_ifunc_impl_list): Likewise.
5768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5769 multiarch optimizations
5770 * string/strspn.c (strspn): Using macro to redefine symbol name.
5772 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5773 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5776 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5777 multiarch strncat for PPC64.
5778 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5779 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5781 (__libc_ifunc_impl_list): Likewise.
5782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5783 multiarch optimizations
5785 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5788 * nscd/nscd.service: Make service type forking.
5790 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5793 sign in non default rounding modes.
5794 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5796 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5798 * math/libm-test.inc (ALL_RM_TEST): New macro.
5799 (ceil_test): Use ALL_RM_TEST.
5800 (cimag_test): Likewise.
5801 (conj_test): Likewise.
5802 (copysign_test): Likewise.
5803 (cproj_test): Likewise.
5804 (creal_test): Likewise.
5805 (fabs_test): Likewise.
5806 (floor_test): Likewise.
5807 (fmax_test): Likewise.
5808 (fmin_test): Likewise.
5809 (fmod_test): Likewise.
5810 (fpclassify_test): Likewise.
5811 (frexp_test): Likewise.
5812 (ilogb_test): Likewise.
5813 (isfinite_test): Likewise.
5814 (finite_test): Likewise.
5815 (isgreater_test): Likewise.
5816 (isgreaterequal_test): Likewise.
5817 (isinf_test): Likewise.
5818 (isless_test): Likewise.
5819 (islessequal_test): Likewise.
5820 (islessgreater_test): Likewise.
5821 (isnan_test): Likewise.
5822 (isnormal_test): Likewise.
5823 (issignaling_test): Likewise.
5824 (isunordered_test): Likewise.
5825 (logb_test): Likewise.
5826 (logb_downward_test_data): Remove.
5827 (logb_test_downward): Likewise.
5828 (lround_test): Use ALL_RM_TEST.
5829 (llround_test): Likewise.
5830 (modf_test): Likewise.
5831 (nexttoward_test): Likewise.
5832 (remainder_test): Likewise.
5833 (drem_test): Likewise.
5834 (remainder_tonearest_test_data): Likewise.
5835 (remainder_test_tonearest): Likewise.
5836 (drem_test_tonearest): Likewise.
5837 (remainder_towardzero_test_data): Likewise.
5838 (remainder_test_towardzero): Likewise.
5839 (drem_test_towardzero): Likewise.
5840 (remainder_downward_test_data): Likewise.
5841 (remainder_test_downward): Likewise.
5842 (drem_test_downward): Likewise.
5843 (remainder_upward_test_data): Likewise.
5844 (remainder_test_upward): Likewise.
5845 (drem_test_upward): Likewise.
5846 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5847 (round_test): Use ALL_RM_TEST.
5848 (signbit_test): Likewise.
5849 (trunc_test): Likewise.
5850 (significand_test): Likewise.
5851 (main): Don't call removed functions.
5853 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5856 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5858 (ILL_ILLOPN): Likewise.
5859 (ILL_ILLADR): Likewise.
5860 (ILL_ILLTRP): Likewise.
5861 (ILL_PRVOPC): Likewise.
5862 (ILL_PRVREG): Likewise.
5863 (ILL_COPROC): Likewise.
5864 (ILL_BADSTK): Likewise.
5865 (FPE_INTDIV): Likewise.
5866 (FPE_INTOVF): Likewise.
5867 (FPE_FLTDIV): Likewise.
5868 (FPE_FLTOVF): Likewise.
5869 (FPE_FLTUND): Likewise.
5870 (FPE_FLTRES): Likewise.
5871 (FPE_FLTINV): Likewise.
5872 (FPE_FLTSUB): Likewise.
5873 (SEGV_MAPERR): Likewise.
5874 (SEGV_ACCERR): Likewise.
5875 (BUS_ADRALN): Likewise.
5876 (BUS_ADRERR): Likewise.
5877 (BUS_OBJERR): Likewise.
5878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5879 (TRAP_TRACE): Likewise.
5880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5882 (CLD_KILLED): Likewise.
5883 (CLD_DUMPED): Likewise.
5884 (CLD_TRAPPED): Likewise.
5885 (CLD_STOPPED): Likewise.
5886 (CLD_CONTINUED): Likewise.
5887 (POLL_IN): Likewise.
5888 (POLL_OUT): Likewise.
5889 (POLL_MSG): Likewise.
5890 (POLL_ERR): Likewise.
5891 (POLL_PRI): Likewise.
5892 (POLL_HUP): Likewise.
5893 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5895 (ILL_ILLOPN): Likewise.
5896 (ILL_ILLADR): Likewise.
5897 (ILL_ILLTRP): Likewise.
5898 (ILL_PRVOPC): Likewise.
5899 (ILL_PRVREG): Likewise.
5900 (ILL_COPROC): Likewise.
5901 (ILL_BADSTK): Likewise.
5902 (FPE_INTDIV): Likewise.
5903 (FPE_INTOVF): Likewise.
5904 (FPE_FLTDIV): Likewise.
5905 (FPE_FLTOVF): Likewise.
5906 (FPE_FLTUND): Likewise.
5907 (FPE_FLTRES): Likewise.
5908 (FPE_FLTINV): Likewise.
5909 (FPE_FLTSUB): Likewise.
5910 (SEGV_MAPERR): Likewise.
5911 (SEGV_ACCERR): Likewise.
5912 (BUS_ADRALN): Likewise.
5913 (BUS_ADRERR): Likewise.
5914 (BUS_OBJERR): Likewise.
5915 (BUS_MCEERR_AR): Likewise.
5916 (BUS_MCEERR_AO): Likewise.
5917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5918 (TRAP_TRACE): Likewise.
5919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5921 (CLD_KILLED): Likewise.
5922 (CLD_DUMPED): Likewise.
5923 (CLD_TRAPPED): Likewise.
5924 (CLD_STOPPED): Likewise.
5925 (CLD_CONTINUED): Likewise.
5926 (POLL_IN): Likewise.
5927 (POLL_OUT): Likewise.
5928 (POLL_MSG): Likewise.
5929 (POLL_ERR): Likewise.
5930 (POLL_PRI): Likewise.
5931 (POLL_HUP): Likewise.
5932 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5933 (ILL_ILLOPN): Likewise.
5934 (ILL_ILLADR): Likewise.
5935 (ILL_ILLTRP): Likewise.
5936 (ILL_PRVOPC): Likewise.
5937 (ILL_PRVREG): Likewise.
5938 (ILL_COPROC): Likewise.
5939 (ILL_BADSTK): Likewise.
5940 (FPE_INTDIV): Likewise.
5941 (FPE_INTOVF): Likewise.
5942 (FPE_FLTDIV): Likewise.
5943 (FPE_FLTOVF): Likewise.
5944 (FPE_FLTUND): Likewise.
5945 (FPE_FLTRES): Likewise.
5946 (FPE_FLTINV): Likewise.
5947 (FPE_FLTSUB): Likewise.
5948 (SEGV_MAPERR): Likewise.
5949 (SEGV_ACCERR): Likewise.
5950 (BUS_ADRALN): Likewise.
5951 (BUS_ADRERR): Likewise.
5952 (BUS_OBJERR): Likewise.
5953 (BUS_MCEERR_AR): Likewise.
5954 (BUS_MCEERR_AO): Likewise.
5955 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5956 (TRAP_TRACE): Likewise.
5957 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5959 (CLD_KILLED): Likewise.
5960 (CLD_DUMPED): Likewise.
5961 (CLD_TRAPPED): Likewise.
5962 (CLD_STOPPED): Likewise.
5963 (CLD_CONTINUED): Likewise.
5964 (POLL_IN): Likewise.
5965 (POLL_OUT): Likewise.
5966 (POLL_MSG): Likewise.
5967 (POLL_ERR): Likewise.
5968 (POLL_PRI): Likewise.
5969 (POLL_HUP): Likewise.
5970 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5972 (ILL_ILLOPN): Likewise.
5973 (ILL_ILLADR): Likewise.
5974 (ILL_ILLTRP): Likewise.
5975 (ILL_PRVOPC): Likewise.
5976 (ILL_PRVREG): Likewise.
5977 (ILL_COPROC): Likewise.
5978 (ILL_BADSTK): Likewise.
5979 (ILL_BADIADDR): Likewise.
5980 (ILL_BREAK): Likewise.
5981 (FPE_INTDIV): Likewise.
5982 (FPE_INTOVF): Likewise.
5983 (FPE_FLTDIV): Likewise.
5984 (FPE_FLTOVF): Likewise.
5985 (FPE_FLTUND): Likewise.
5986 (FPE_FLTRES): Likewise.
5987 (FPE_FLTINV): Likewise.
5988 (FPE_FLTSUB): Likewise.
5989 (FPE_DECOVF): Likewise.
5990 (FPE_DECDIV): Likewise.
5991 (FPE_DECERR): Likewise.
5992 (FPE_INVASC): Likewise.
5993 (FPE_INVDEC): Likewise.
5994 (SEGV_MAPERR): Likewise.
5995 (SEGV_ACCERR): Likewise.
5996 (SEGV_PSTKOVF): Likewise.
5997 (BUS_ADRALN): Likewise.
5998 (BUS_ADRERR): Likewise.
5999 (BUS_OBJERR): Likewise.
6000 (BUS_MCEERR_AR): Likewise.
6001 (BUS_MCEERR_AO): Likewise.
6002 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6003 (TRAP_TRACE): Likewise.
6004 (TRAP_BRANCH): Likewise.
6005 (TRAP_HWBKPT): Likewise.
6006 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6008 (CLD_KILLED): Likewise.
6009 (CLD_DUMPED): Likewise.
6010 (CLD_TRAPPED): Likewise.
6011 (CLD_STOPPED): Likewise.
6012 (CLD_CONTINUED): Likewise.
6013 (POLL_IN): Likewise.
6014 (POLL_OUT): Likewise.
6015 (POLL_MSG): Likewise.
6016 (POLL_ERR): Likewise.
6017 (POLL_PRI): Likewise.
6018 (POLL_HUP): Likewise.
6019 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6020 (ILL_ILLOPN): Likewise.
6021 (ILL_ILLADR): Likewise.
6022 (ILL_ILLTRP): Likewise.
6023 (ILL_PRVOPC): Likewise.
6024 (ILL_PRVREG): Likewise.
6025 (ILL_COPROC): Likewise.
6026 (ILL_BADSTK): Likewise.
6027 (FPE_INTDIV): Likewise.
6028 (FPE_INTOVF): Likewise.
6029 (FPE_FLTDIV): Likewise.
6030 (FPE_FLTOVF): Likewise.
6031 (FPE_FLTUND): Likewise.
6032 (FPE_FLTRES): Likewise.
6033 (FPE_FLTINV): Likewise.
6034 (FPE_FLTSUB): Likewise.
6035 (SEGV_MAPERR): Likewise.
6036 (SEGV_ACCERR): Likewise.
6037 (BUS_ADRALN): Likewise.
6038 (BUS_ADRERR): Likewise.
6039 (BUS_OBJERR): Likewise.
6040 (BUS_MCEERR_AR): Likewise.
6041 (BUS_MCEERR_AO): Likewise.
6042 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6043 (TRAP_TRACE): Likewise.
6044 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6046 (CLD_KILLED): Likewise.
6047 (CLD_DUMPED): Likewise.
6048 (CLD_TRAPPED): Likewise.
6049 (CLD_STOPPED): Likewise.
6050 (CLD_CONTINUED): Likewise.
6051 (POLL_IN): Likewise.
6052 (POLL_OUT): Likewise.
6053 (POLL_MSG): Likewise.
6054 (POLL_ERR): Likewise.
6055 (POLL_PRI): Likewise.
6056 (POLL_HUP): Likewise.
6057 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6058 (ILL_ILLOPN): Likewise.
6059 (ILL_ILLADR): Likewise.
6060 (ILL_ILLTRP): Likewise.
6061 (ILL_PRVOPC): Likewise.
6062 (ILL_PRVREG): Likewise.
6063 (ILL_COPROC): Likewise.
6064 (ILL_BADSTK): Likewise.
6065 (FPE_INTDIV): Likewise.
6066 (FPE_INTOVF): Likewise.
6067 (FPE_FLTDIV): Likewise.
6068 (FPE_FLTOVF): Likewise.
6069 (FPE_FLTUND): Likewise.
6070 (FPE_FLTRES): Likewise.
6071 (FPE_FLTINV): Likewise.
6072 (FPE_FLTSUB): Likewise.
6073 (SEGV_MAPERR): Likewise.
6074 (SEGV_ACCERR): Likewise.
6075 (BUS_ADRALN): Likewise.
6076 (BUS_ADRERR): Likewise.
6077 (BUS_OBJERR): Likewise.
6078 (BUS_MCEERR_AR): Likewise.
6079 (BUS_MCEERR_AO): Likewise.
6080 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6081 (TRAP_TRACE): Likewise.
6082 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6084 (CLD_KILLED): Likewise.
6085 (CLD_DUMPED): Likewise.
6086 (CLD_TRAPPED): Likewise.
6087 (CLD_STOPPED): Likewise.
6088 (CLD_CONTINUED): Likewise.
6089 (POLL_IN): Likewise.
6090 (POLL_OUT): Likewise.
6091 (POLL_MSG): Likewise.
6092 (POLL_ERR): Likewise.
6093 (POLL_PRI): Likewise.
6094 (POLL_HUP): Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6096 (ILL_ILLOPN): Likewise.
6097 (ILL_ILLADR): Likewise.
6098 (ILL_ILLTRP): Likewise.
6099 (ILL_PRVOPC): Likewise.
6100 (ILL_PRVREG): Likewise.
6101 (ILL_COPROC): Likewise.
6102 (ILL_BADSTK): Likewise.
6103 (FPE_INTDIV): Likewise.
6104 (FPE_INTOVF): Likewise.
6105 (FPE_FLTDIV): Likewise.
6106 (FPE_FLTOVF): Likewise.
6107 (FPE_FLTUND): Likewise.
6108 (FPE_FLTRES): Likewise.
6109 (FPE_FLTINV): Likewise.
6110 (FPE_FLTSUB): Likewise.
6111 (SEGV_MAPERR): Likewise.
6112 (SEGV_ACCERR): Likewise.
6113 (BUS_ADRALN): Likewise.
6114 (BUS_ADRERR): Likewise.
6115 (BUS_OBJERR): Likewise.
6116 (BUS_MCEERR_AR): Likewise.
6117 (BUS_MCEERR_AO): Likewise.
6118 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6119 (TRAP_TRACE): Likewise.
6120 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6122 (CLD_KILLED): Likewise.
6123 (CLD_DUMPED): Likewise.
6124 (CLD_TRAPPED): Likewise.
6125 (CLD_STOPPED): Likewise.
6126 (CLD_CONTINUED): Likewise.
6127 (POLL_IN): Likewise.
6128 (POLL_OUT): Likewise.
6129 (POLL_MSG): Likewise.
6130 (POLL_ERR): Likewise.
6131 (POLL_PRI): Likewise.
6132 (POLL_HUP): Likewise.
6133 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6134 (ILL_ILLOPN): Likewise.
6135 (ILL_ILLADR): Likewise.
6136 (ILL_ILLTRP): Likewise.
6137 (ILL_PRVOPC): Likewise.
6138 (ILL_PRVREG): Likewise.
6139 (ILL_COPROC): Likewise.
6140 (ILL_BADSTK): Likewise.
6141 (ILL_DBLFLT): Likewise.
6142 (ILL_HARDWALL): Likewise.
6143 (FPE_INTDIV): Likewise.
6144 (FPE_INTOVF): Likewise.
6145 (FPE_FLTDIV): Likewise.
6146 (FPE_FLTOVF): Likewise.
6147 (FPE_FLTUND): Likewise.
6148 (FPE_FLTRES): Likewise.
6149 (FPE_FLTINV): Likewise.
6150 (FPE_FLTSUB): Likewise.
6151 (SEGV_MAPERR): Likewise.
6152 (SEGV_ACCERR): Likewise.
6153 (BUS_ADRALN): Likewise.
6154 (BUS_ADRERR): Likewise.
6155 (BUS_OBJERR): Likewise.
6156 (BUS_MCEERR_AR): Likewise.
6157 (BUS_MCEERR_AO): Likewise.
6158 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6159 (TRAP_TRACE): Likewise.
6160 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6162 (CLD_KILLED): Likewise.
6163 (CLD_DUMPED): Likewise.
6164 (CLD_TRAPPED): Likewise.
6165 (CLD_STOPPED): Likewise.
6166 (CLD_CONTINUED): Likewise.
6167 (POLL_IN): Likewise.
6168 (POLL_OUT): Likewise.
6169 (POLL_MSG): Likewise.
6170 (POLL_ERR): Likewise.
6171 (POLL_PRI): Likewise.
6172 (POLL_HUP): Likewise.
6173 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6174 (ILL_ILLOPN): Likewise.
6175 (ILL_ILLADR): Likewise.
6176 (ILL_ILLTRP): Likewise.
6177 (ILL_PRVOPC): Likewise.
6178 (ILL_PRVREG): Likewise.
6179 (ILL_COPROC): Likewise.
6180 (ILL_BADSTK): Likewise.
6181 (FPE_INTDIV): Likewise.
6182 (FPE_INTOVF): Likewise.
6183 (FPE_FLTDIV): Likewise.
6184 (FPE_FLTOVF): Likewise.
6185 (FPE_FLTUND): Likewise.
6186 (FPE_FLTRES): Likewise.
6187 (FPE_FLTINV): Likewise.
6188 (FPE_FLTSUB): Likewise.
6189 (SEGV_MAPERR): Likewise.
6190 (SEGV_ACCERR): Likewise.
6191 (BUS_ADRALN): Likewise.
6192 (BUS_ADRERR): Likewise.
6193 (BUS_OBJERR): Likewise.
6194 (BUS_MCEERR_AR): Likewise.
6195 (BUS_MCEERR_AO): Likewise.
6196 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6197 (TRAP_TRACE): Likewise.
6198 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6200 (CLD_KILLED): Likewise.
6201 (CLD_DUMPED): Likewise.
6202 (CLD_TRAPPED): Likewise.
6203 (CLD_STOPPED): Likewise.
6204 (CLD_CONTINUED): Likewise.
6205 (POLL_IN): Likewise.
6206 (POLL_OUT): Likewise.
6207 (POLL_MSG): Likewise.
6208 (POLL_ERR): Likewise.
6209 (POLL_PRI): Likewise.
6210 (POLL_HUP): Likewise.
6211 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6212 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6215 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6216 before #include of <time.h>.
6217 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6218 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6219 (test-xfail-UNIX98/sched.h/conform): Likewise.
6221 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6223 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6224 error absence of trapping exception support.
6225 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6227 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6229 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6230 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6231 * timezone/Makefile (testdata): Move definition above include of
6233 (test-zones): New variable.
6234 (tests-special): Add zone files.
6235 (build-testdata): Use $(evaluate-test).
6237 * elf/Makefile (tests-special): Rename tests to end with .out.
6238 ($(objpfx)noload-mem): Likewise.
6239 ($(objpfx)tst-leaks1-mem): Likewise.
6240 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6241 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6242 $(objpfx)test-iconvconfig.out.
6243 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6244 set -e inside subshell and redirect output to file.
6245 * iconvdata/Makefile (generated): Rename tests to end with .out.
6247 (tests-special): Rename tests to end with .out.
6248 ($(objpfx)mtrace-tst-loading): Likewise.
6249 * intl/Makefile (generated): Likewise.
6250 (tests-special): Likewise.
6251 ($(objpfx)mtrace-tst-gettext): Likewise.
6252 * misc/Makefile (generated): Likewise.
6253 (tests-special): Likewise.
6254 ($(objpfx)tst-error1-mem): Likewise.
6255 * nptl/Makefile (tests-special): Likewise.
6256 ($(objpfx)tst-stack3-mem): Likewise.
6257 (generated): Likewise.
6258 * posix/Makefile (generated): Likewise.
6259 (tests-special): Likewise.
6260 (xtests-special): Likewise.
6261 ($(objpfx)tst-fnmatch-mem): Likewise.
6262 ($(objpfx)bug-regex2-mem): Likewise.
6263 ($(objpfx)bug-regex14-mem): Likewise.
6264 ($(objpfx)bug-regex21-mem): Likewise.
6265 ($(objpfx)bug-regex31-mem): Likewise.
6266 ($(objpfx)tst-vfork3-mem): Likewise.
6267 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6268 ($(objpfx)tst-pcre-mem): Likewise.
6269 ($(objpfx)tst-boost-mem): Likewise.
6270 ($(objpfx)bug-ga2-mem): Likewise.
6271 ($(objpfx)bug-glob2-mem): Likewise.
6272 * resolv/Makefile (generate): Likewise.
6273 (tests-special): Likewise.
6274 (xtests-special): Likewise.
6275 (generated): Likewise.
6276 ($(objpfx)mtrace-tst-leaks): Likewise.
6277 ($(objpfx)mtrace-tst-leaks2): Likewise.
6279 * scripts/merge-test-results.sh: New file.
6280 * Makefile (tests-special-notdir): New variable.
6281 (tests): Run merge-test-results.sh.
6283 * Rules (tests-special-notdir): New variable.
6284 (xtests-special-notdir): Likewise.
6285 (tests): Run merge-test-results.sh
6288 * Makeconfig (test-xfail-name): New variable.
6289 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6290 compute variable name for expected failures.
6291 * conform/Makefile (conformtest-headers-data): New variable.
6292 (conformtest-standards): Likewise.
6293 (conformtest-headers-ISO): Likewise.
6294 (conformtest-headers-ISO99): Likewise.
6295 (conformtest-headers-ISO11): Likewise.
6296 (conformtest-headers-POSIX): Likewise.
6297 (conformtest-headers-XPG3): Likewise.
6298 (conformtest-headers-XPG4): Likewise.
6299 (conformtest-headers-UNIX98): Likewise.
6300 (conformtest-headers-XOPEN2K): Likewise.
6301 (conformtest-headers-POSIX2008): Likewise.
6302 (conformtest-headers-XOPEN2K8): Likewise.
6303 (conformtest-header-list-base): Likewise.
6304 (conformtest-header-list-tests): Likewise.
6305 (conformtest-header-base): Likewise.
6306 (conformtest-header-tests): Likewise.
6307 (tests-special): Add $(conformtest-header-list-tests). If
6308 [$(fast-check) && !$(cross-compiling)], add
6309 $(conformtest-header-tests) instead of
6310 $(objpfx)run-conformtest.out.
6311 (generated): Add $(conformtest-header-list-base). If
6312 [$(fast-check) && !$(cross-compiling)], add
6313 $(conformtest-header-base). Remove previous setting.
6314 ($(conformtest-header-list-tests)): New target.
6315 (test-xfail-run-conformtest): Remove variable.
6316 ($(objpfx)run-conformtest.out): Remove target.
6317 (test-xfail-ISO11/complex.h/conform): New variable.
6318 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6319 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6320 (test-xfail-XPG3/varargs.h/conform): Likewise.
6321 (test-xfail-XPG4/varargs.h/conform): Likewise.
6322 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6323 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6324 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6325 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6326 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6327 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6328 (test-xfail-XPG3/ftw.h/conform): Likewise.
6329 (test-xfail-XPG3/grp.h/conform): Likewise.
6330 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6331 (test-xfail-XPG3/limits.h/conform): Likewise.
6332 (test-xfail-XPG3/pwd.h/conform): Likewise.
6333 (test-xfail-XPG3/search.h/conform): Likewise.
6334 (test-xfail-XPG3/signal.h/conform): Likewise.
6335 (test-xfail-XPG3/stdio.h/conform): Likewise.
6336 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6337 (test-xfail-XPG3/string.h/conform): Likewise.
6338 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6339 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6340 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6341 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6342 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6343 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6344 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6345 (test-xfail-XPG3/termios.h/conform): Likewise.
6346 (test-xfail-XPG3/time.h/conform): Likewise.
6347 (test-xfail-XPG3/unistd.h/conform): Likewise.
6348 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6349 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6350 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6351 (test-xfail-XPG4/netdb.h/conform): Likewise.
6352 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6353 (test-xfail-XPG4/signal.h/conform): Likewise.
6354 (test-xfail-XPG4/stdio.h/conform): Likewise.
6355 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6356 (test-xfail-XPG4/stropts.h/conform): Likewise.
6357 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6358 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6359 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6360 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6361 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6362 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6363 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6364 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6365 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6366 (test-xfail-XPG4/termios.h/conform): Likewise.
6367 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6368 (test-xfail-XPG4/unistd.h/conform): Likewise.
6369 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6370 (test-xfail-POSIX/sched.h/conform): Likewise.
6371 (test-xfail-POSIX/signal.h/conform): Likewise.
6372 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6373 (test-xfail-POSIX/tar.h/conform): Likewise.
6374 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6375 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6376 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6377 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6378 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6379 (test-xfail-UNIX98/sched.h/conform): Likewise.
6380 (test-xfail-UNIX98/signal.h/conform): Likewise.
6381 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6382 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6383 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6384 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6385 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6386 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6387 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6388 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6389 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6390 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6391 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6392 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6393 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6394 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6395 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6396 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6397 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6398 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6399 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6400 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6401 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6402 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6403 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6404 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6405 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6406 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6407 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6408 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6409 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6410 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6411 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6412 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6413 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6414 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6415 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6416 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6417 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6418 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6419 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6420 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6421 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6422 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6423 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6424 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6425 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6426 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6427 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6428 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6429 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6430 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6431 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6432 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6433 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6434 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6435 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6436 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6437 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6438 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6439 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6440 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6441 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6442 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6443 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6444 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6445 (conformtest-cc-flags): Likewise.
6446 ($(conformtest-header-tests): New target.
6447 * conform/check-header-lists.sh: New file.
6448 * conform/run-conformtest.sh: Remove.
6450 * conform/conformtest.pl: Allow ' and \ in values given for
6452 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6454 [POSIX] (sys/types.h): Likewise.
6455 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6457 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6459 * conform/data/signal.h-data (SIGIO): Remove expectation.
6460 [XPG3] (SIGBUS): Do not expect.
6461 [POSIX || XPG3] (SIGPOLL): Likewise.
6462 [POSIX || XPG3] (SIGPROF): Likewise.
6463 [POSIX || XPG3] (SIGSYS): Likewise.
6464 [XPG3] (SIGTRAP): Likewise.
6465 [POSIX || XPG3] (SIGURG): Likewise.
6466 [POSIX || XPG3] (SIGVTALRM): Likewise.
6467 [POSIX || XPG3] (SIGXCPU): Likewise.
6468 [POSIX || XPG3] (SIGXFSZ): Likewise.
6469 [POSIX] (SA_SIGINFO): Expect.
6470 [XPG3] (siginfo_t): Do not expect type or contents.
6471 [POSIX] (si_pid): Do not expect element.
6472 [POSIX] (si_uid): Likewise.
6473 [POSIX] (si_addr): Likewise.
6474 [POSIX] (si_status): Likewise.
6475 [POSIX] (si_band): Likewise.
6476 [XPG4] (si_value): Likewise.
6477 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6478 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6479 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6480 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6481 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6482 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6483 [POSIX || XPG3] (ILL_COPROC): Likewise.
6484 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6485 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6486 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6487 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6488 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6489 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6490 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6491 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6492 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6493 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6494 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6495 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6496 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6497 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6498 [POSIX || XPG3] (CLD_EXITED): Likewise.
6499 [POSIX || XPG3] (CLD_KILLED): Likewise.
6500 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6501 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6502 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6503 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6504 [POSIX || XPG3] (POLL_IN): Likewise.
6505 [POSIX || XPG3] (POLL_OUT): Likewise.
6506 [POSIX || XPG3] (POLL_MSG): Likewise.
6507 [POSIX || XPG3] (POLL_ERR): Likewise.
6508 [POSIX || XPG3] (POLL_PRI): Likewise.
6509 [POSIX || XPG3] (POLL_HUP): Likewise.
6510 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6511 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6512 (SIG*): Do not allow.
6513 [XPG3] (si_*): Likewise.
6514 [XPG3] (SI_*): Likewise.
6515 [XPG3 || XPG4] (sigev_*): Likewise.
6516 [XPG3 || XPG4] (SIGEV_*): Likewise.
6517 [XPG3 || XPG4] (sival_*): Likewise.
6518 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6519 [POSIX || XPG3] (BUS_*): Likewise.
6520 [POSIX || XPG3] (CLD_*): Likewise.
6521 [POSIX || XPG3] (FPE_*): Likewise.
6522 [POSIX || XPG3] (ILL_*): Likewise.
6523 [POSIX || XPG3] (POLL_*): Likewise.
6524 [POSIX || XPG3] (SEGV_*): Likewise.
6525 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6526 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6527 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6528 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6529 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6530 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6531 Specify type and value.
6532 (TVERSLEN): Likewise.
6533 (REGTYPE): Likewise.
6534 (AREGTYPE): Likewise.
6535 (LNKTYPE): Likewise.
6536 (SYMTYPE): Likewise.
6537 (CHRTYPE): Likewise.
6538 (BLKTYPE): Likewise.
6539 (DIRTYPE): Likewise.
6540 (FIFOTYPE): Likewise.
6541 (CONTTYPE): Likewise.
6546 (TUWRITE): Likewise.
6549 (TGWRITE): Likewise.
6552 (TOWRITE): Likewise.
6554 [POSIX] (TSVTX): Expect constant.
6556 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6558 * Makefile (tests): Change dependencies to ....
6559 (tests-special): ... additions to this variable.
6560 (tests): Depend on $(tests-special).
6561 * Makerules (check-abi-list): New variable.
6562 (check-abi): Depend on $(check-abi-list).
6563 [$(subdir) = elf] (tests-special): Add
6564 $(objpfx)check-abi-libc.out.
6565 [$(build-shared) = yes && subdir] (tests-special): Add
6567 [$(build-shared) = yes && subdir] (tests): Do not depend on
6569 * Rules (tests): Depend on $(tests-special).
6570 (xtests): Depend on $(xtests-special).
6571 * catgets/Makefile (tests): Change dependencies to ....
6572 (tests-special): ... additions to this variable.
6573 * conform/Makefile (tests): Change dependencies to ....
6574 (tests-special): ... additions to this variable.
6575 * elf/Makefile (tests): Change dependencies to ....
6576 (tests-special): ... additions to this variable.
6577 * grp/Makefile (tests): Change dependencies to ....
6578 (tests-special): ... additions to this variable.
6579 * iconv/Makefile (xtests): Change dependencies to ....
6580 (xtests-special): ... additions to this variable.
6581 * iconvdata/Makefile (tests): Change dependencies to ....
6582 (tests-special): ... additions to this variable.
6583 * intl/Makefile (tests): Change dependencies to ....
6584 (tests-special): ... additions to this variable. Also add
6585 $(objpfx)tst-gettext.out.
6586 * io/Makefile (tests): Change dependencies to ....
6587 (tests-special): ... additions to this variable.
6588 * libio/Makefile (tests): Change dependencies to ....
6589 (tests-special): ... additions to this variable.
6590 * malloc/Makefile (tests): Change dependencies to ....
6591 (tests-special): ... additions to this variable.
6592 * misc/Makefile (tests): Change dependencies to ....
6593 (tests-special): ... additions to this variable.
6594 * nptl/Makefile (tests): Change dependencies to ....
6595 (tests-special): ... additions to this variable.
6596 * nptl_db/Makefile (tests): Change dependencies to ....
6597 (tests-special): ... additions to this variable.
6598 * posix/Makefile (tests): Change dependencies to ....
6599 (tests-special): ... additions to this variable.
6600 (xtests): Change dependencies to ....
6601 (xtests-special): ... additions to this variable.
6602 * resolv/Makefile (tests): Change dependencies to ....
6603 (tests-special): ... additions to this variable.
6604 (xtests): Change dependencies to ....
6605 (xtests-special): ... additions to this variable.
6606 * stdio-common/Makefile (tests): Change dependencies to ....
6607 (tests-special): ... additions to this variable.
6608 (do-tst-unbputc): Remove target.
6609 (do-tst-printf): Likewise.
6610 * stdlib/Makefile (tests): Change dependencies to ....
6611 (tests-special): ... additions to this variable.
6612 * string/Makefile (tests): Change dependencies to ....
6613 (tests-special): ... additions to this variable.
6614 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6615 (tests-special): ... additions to this variable.
6617 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6619 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6621 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6622 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6624 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6625 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6626 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6627 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6628 * conform/data/libgen.h-data [XPG3]: Likewise.
6629 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6630 * conform/data/ndbm.h-data [XPG3]: Likewise.
6631 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6632 * conform/data/netdb.h-data [XPG3]: Likewise.
6633 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6634 * conform/data/poll.h-data [XPG3]: Likewise.
6635 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6636 * conform/data/strings.h-data [XPG3]: Likewise.
6637 * conform/data/stropts.h-data [XPG3]: Likewise.
6638 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6639 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6640 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6642 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6643 * conform/data/sys/time.h-data [XPG3]: Likewise.
6644 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6645 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6646 * conform/data/sys/un.h-data [XPG3]: Likewise.
6647 * conform/data/syslog.h-data [XPG3]: Likewise.
6648 * conform/data/ucontext.h-data [XPG3]: Likewise.
6649 * conform/data/utmpx.h-data [XPG3]: Likewise.
6650 * conform/data/varargs.h-data [UNIX98]: Enable file.
6652 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6654 * math/libm-test.inc (struct test_f_f_data): Move expected results
6655 into structure for each rounding mode.
6656 (struct test_ff_f_data): Likewise.
6657 (struct test_ff_f_data_nexttoward): Likewise.
6658 (struct test_fi_f_data): Likewise.
6659 (struct test_fl_f_data): Likewise.
6660 (struct test_if_f_data): Likewise.
6661 (struct test_fff_f_data): Likewise.
6662 (struct test_c_f_data): Likewise.
6663 (struct test_f_f1_data): Likewise.
6664 (struct test_fF_f1_data): Likewise.
6665 (struct test_ffI_f1_data): Likewise.
6666 (struct test_c_c_data): Likewise.
6667 (struct test_cc_c_data): Likewise.
6668 (struct test_f_i_data): Likewise.
6669 (struct test_ff_i_data): Likewise.
6670 (struct test_f_l_data): Likewise.
6671 (struct test_f_L_data): Likewise.
6672 (struct test_fFF_11_data): Likewise.
6674 (RM_FE_DOWNWARD): Likewise.
6675 (RM_FE_TONEAREST): Likewise.
6676 (RM_FE_TOWARDZERO): Likewise.
6677 (RM_FE_UPWARD): Likewise.
6678 (RUN_TEST_LOOP_f_f): Update references to expected results.
6679 (RUN_TEST_LOOP_2_f): Likewise.
6680 (RUN_TEST_LOOP_fff_f): Likewise.
6681 (RUN_TEST_LOOP_c_f): Likewise.
6682 (RUN_TEST_LOOP_f_f1): Likewise.
6683 (RUN_TEST_LOOP_fF_f1): Likewise.
6684 (RUN_TEST_LOOP_fI_f1): Likewise.
6685 (RUN_TEST_LOOP_ffI_f1): Likewise.
6686 (RUN_TEST_LOOP_c_c): Likewise.
6687 (RUN_TEST_LOOP_cc_c): Likewise.
6688 (RUN_TEST_LOOP_f_i): Likewise.
6689 (RUN_TEST_LOOP_f_i_tg): Likewise.
6690 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6691 (RUN_TEST_LOOP_f_b): Likewise.
6692 (RUN_TEST_LOOP_f_b_tg): Likewise.
6693 (RUN_TEST_LOOP_f_l): Likewise.
6694 (RUN_TEST_LOOP_f_L): Likewise.
6695 (RUN_TEST_LOOP_fFF_11): Likewise.
6696 * math/gen-libm-test.pl (parse_args): Output four copies of
6697 expected results for each test.
6699 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6700 (__ASSUME_UTIMES): Remove.
6701 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6702 (__ASSUME_UTIMES): Likewise.
6704 * math/gen-auto-libm-tests.c: Update comment on output format.
6705 (output_for_one_input_case): Generate before-rounding and
6706 after-rounding information as conditions on output flags not
6707 floating-point format.
6708 * math/auto-libm-test-out: Regenerated.
6709 * math/gen-libm-test.pl (cond_value): New function.
6710 (or_cond_value): Use cond_value.
6711 (generate_testfile): Handle conditional exceptions.
6713 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6715 * math/libm-test.inc (max_valid_error): New variable.
6716 (init_max_error): Take new argument specifying whether function
6717 results are exactly determined. Set max_valid_error and bound
6718 other variables for errors based on this argument.
6719 (set_max_error): Do not record results above max_valid_error.
6720 (check_float_internal): Only accept errors of up to 0.5ulps if
6721 also at most max_valid_error.
6722 (START): Take new argument EXACT and pass it to init_max_error.
6723 (acos_test): Update call to START.
6724 (acos_test_tonearest): Likewise.
6725 (acos_test_towardzero): Likewise.
6726 (acos_test_downward): Likewise.
6727 (acos_test_upward): Likewise.
6728 (acosh_test): Likewise.
6729 (asin_test): Likewise.
6730 (asin_test_tonearest): Likewise.
6731 (asin_test_towardzero): Likewise.
6732 (asin_test_downward): Likewise.
6733 (asin_test_upward): Likewise.
6734 (asinh_test): Likewise.
6735 (atan_test): Likewise.
6736 (atanh_test): Likewise.
6737 (atan2_test): Likewise.
6738 (cabs_test): Likewise.
6739 (cacos_test): Likewise.
6740 (cacosh_test): Likewise.
6741 (carg_test): Likewise.
6742 (casin_test): Likewise.
6743 (casinh_test): Likewise.
6744 (catan_test): Likewise.
6745 (catanh_test): Likewise.
6746 (cbrt_test): Likewise.
6747 (ccos_test): Likewise.
6748 (ccosh_test): Likewise.
6749 (ceil_test): Likewise.
6750 (cexp_test): Likewise.
6751 (cimag_test): Likewise.
6752 (clog_test): Likewise.
6753 (clog10_test): Likewise.
6754 (conj_test): Likewise.
6755 (copysign_test): Likewise.
6756 (cos_test): Likewise.
6757 (cos_test_tonearest): Likewise.
6758 (cos_test_towardzero): Likewise.
6759 (cos_test_downward): Likewise.
6760 (cos_test_upward): Likewise.
6761 (cosh_test): Likewise.
6762 (cosh_test_tonearest): Likewise.
6763 (cosh_test_towardzero): Likewise.
6764 (cosh_test_downward): Likewise.
6765 (cosh_test_upward): Likewise.
6766 (cpow_test): Likewise.
6767 (cproj_test): Likewise.
6768 (creal_test): Likewise.
6769 (csin_test): Likewise.
6770 (csinh_test): Likewise.
6771 (csqrt_test): Likewise.
6772 (ctan_test): Likewise.
6773 (ctan_test_tonearest): Likewise.
6774 (ctan_test_towardzero): Likewise.
6775 (ctan_test_downward): Likewise.
6776 (ctan_test_upward): Likewise.
6777 (ctanh_test): Likewise.
6778 (ctanh_test_tonearest): Likewise.
6779 (ctanh_test_towardzero): Likewise.
6780 (ctanh_test_downward): Likewise.
6781 (ctanh_test_upward): Likewise.
6782 (erf_test): Likewise.
6783 (erfc_test): Likewise.
6784 (exp_test): Likewise.
6785 (exp_test_tonearest): Likewise.
6786 (exp_test_towardzero): Likewise.
6787 (exp_test_downward): Likewise.
6788 (exp_test_upward): Likewise.
6789 (exp10_test): Likewise.
6790 (exp10_test_tonearest): Likewise.
6791 (exp10_test_towardzero): Likewise.
6792 (exp10_test_downward): Likewise.
6793 (exp10_test_upward): Likewise.
6794 (pow10_test): Likewise.
6795 (exp2_test): Likewise.
6796 (expm1_test): Likewise.
6797 (expm1_test_tonearest): Likewise.
6798 (expm1_test_towardzero): Likewise.
6799 (expm1_test_downward): Likewise.
6800 (expm1_test_upward): Likewise.
6801 (fabs_test): Likewise.
6802 (fdim_test): Likewise.
6803 (floor_test): Likewise.
6804 (fma_test): Likewise.
6805 (fma_test_towardzero): Likewise.
6806 (fma_test_downward): Likewise.
6807 (fma_test_upward): Likewise.
6808 (fmax_test): Likewise.
6809 (fmin_test): Likewise.
6810 (fmod_test): Likewise.
6811 (fpclassify_test): Likewise.
6812 (frexp_test): Likewise.
6813 (hypot_test): Likewise.
6814 (ilogb_test): Likewise.
6815 (isfinite_test): Likewise.
6816 (finite_test): Likewise.
6817 (isgreater_test): Likewise.
6818 (isgreaterequal_test): Likewise.
6819 (isinf_test): Likewise.
6820 (isless_test): Likewise.
6821 (islessequal_test): Likewise.
6822 (islessgreater_test): Likewise.
6823 (isnan_test): Likewise.
6824 (isnormal_test): Likewise.
6825 (issignaling_test): Likewise.
6826 (isunordered_test): Likewise.
6827 (j0_test): Likewise.
6828 (j1_test): Likewise.
6829 (jn_test): Likewise.
6830 (ldexp_test): Likewise.
6831 (lgamma_test): Likewise.
6832 (gamma_test): Likewise.
6833 (lrint_test): Likewise.
6834 (lrint_test_tonearest): Likewise.
6835 (lrint_test_towardzero): Likewise.
6836 (lrint_test_downward): Likewise.
6837 (lrint_test_upward): Likewise.
6838 (llrint_test): Likewise.
6839 (llrint_test_tonearest): Likewise.
6840 (llrint_test_towardzero): Likewise.
6841 (llrint_test_downward): Likewise.
6842 (llrint_test_upward): Likewise.
6843 (log_test): Likewise.
6844 (log10_test): Likewise.
6845 (log1p_test): Likewise.
6846 (log2_test): Likewise.
6847 (logb_test): Likewise.
6848 (logb_test_downward): Likewise.
6849 (lround_test): Likewise.
6850 (llround_test): Likewise.
6851 (modf_test): Likewise.
6852 (nearbyint_test): Likewise.
6853 (nextafter_test): Likewise.
6854 (nexttoward_test): Likewise.
6855 (pow_test): Likewise.
6856 (pow_test_tonearest): Likewise.
6857 (pow_test_towardzero): Likewise.
6858 (pow_test_downward): Likewise.
6859 (pow_test_upward): Likewise.
6860 (remainder_test): Likewise.
6861 (drem_test): Likewise.
6862 (remainder_test_tonearest): Likewise.
6863 (drem_test_tonearest): Likewise.
6864 (remainder_test_towardzero): Likewise.
6865 (drem_test_towardzero): Likewise.
6866 (remainder_test_downward): Likewise.
6867 (drem_test_downward): Likewise.
6868 (remainder_test_upward): Likewise.
6869 (drem_test_upward): Likewise.
6870 (remquo_test): Likewise.
6871 (rint_test): Likewise.
6872 (rint_test_tonearest): Likewise.
6873 (rint_test_towardzero): Likewise.
6874 (rint_test_downward): Likewise.
6875 (rint_test_upward): Likewise.
6876 (round_test): Likewise.
6877 (scalb_test): Likewise.
6878 (scalbn_test): Likewise.
6879 (scalbln_test): Likewise.
6880 (signbit_test): Likewise.
6881 (sin_test): Likewise.
6882 (sin_test_tonearest): Likewise.
6883 (sin_test_towardzero): Likewise.
6884 (sin_test_downward): Likewise.
6885 (sin_test_upward): Likewise.
6886 (sincos_test): Likewise.
6887 (sinh_test): Likewise.
6888 (sinh_test_tonearest): Likewise.
6889 (sinh_test_towardzero): Likewise.
6890 (sinh_test_downward): Likewise.
6891 (sinh_test_upward): Likewise.
6892 (sqrt_test): Likewise.
6893 (sqrt_test_tonearest): Likewise.
6894 (sqrt_test_towardzero): Likewise.
6895 (sqrt_test_downward): Likewise.
6896 (sqrt_test_upward): Likewise.
6897 (tan_test): Likewise.
6898 (tan_test_tonearest): Likewise.
6899 (tan_test_towardzero): Likewise.
6900 (tan_test_downward): Likewise.
6901 (tan_test_upward): Likewise.
6902 (tanh_test): Likewise.
6903 (tgamma_test): Likewise.
6904 (trunc_test): Likewise.
6905 (y0_test): Likewise.
6906 (y1_test): Likewise.
6907 (yn_test): Likewise.
6908 (significand_test): Likewise.
6910 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6911 individual tests in comment.
6912 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6913 (prev_max_error): New variable.
6914 (prev_real_max_error): Likewise.
6915 (prev_imag_max_error): Likewise.
6916 (compare_ulp_data): Don't refer to test names in comment.
6917 (find_test_ulps): Remove function.
6918 (find_function_ulps): Likewise.
6919 (find_complex_function_ulps): Likewise.
6920 (init_max_error): Take function name as argument. Look up ulps
6922 (print_ulps): Remove function.
6923 (print_max_error): Use prev_max_error instead of calling
6925 (print_complex_max_error): Use prev_real_max_error and
6926 prev_imag_max_error instead of calling find_complex_function_ulps.
6927 (check_float_internal): Take max_ulp parameter instead of calling
6928 find_test_ulps. Don't call print_ulps.
6929 (check_float): Update call to check_float_internal.
6930 (check_complex): Update calls to check_float_internal.
6931 (START): Pass argument to init_max_error.
6932 * math/gen-libm-test.pl (%results): Don't include "kind"
6934 (parse_ulps): Don't handle ulps of individual tests.
6935 (print_ulps_file): Likewise.
6936 (output_ulps): Likewise.
6937 * math/README.libm-test: Update.
6938 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6940 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6941 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6942 * sysdeps/arm/libm-test-ulps: Likewise.
6943 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6944 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6945 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6946 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6947 * sysdeps/microblaze/libm-test-ulps: Likewise.
6948 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6949 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6951 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6952 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6953 * sysdeps/sh/libm-test-ulps: Likewise.
6954 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6955 * sysdeps/tile/libm-test-ulps: Likewise.
6956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6958 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6960 * math/libm-test.inc (print_complex_max_error): Check separately
6961 whether real and imaginary errors are within allowed range and
6962 pass 0 to print_complex_function_ulps instead of value within
6965 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6967 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6969 (get_handles_fopen): Likewise.
6970 (do_write_test): Likewise.
6972 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6974 * libio/fileops.c (do_ftell): Use cached offset when
6976 * libio/iofwide.c (do_ftell_wide): Likewise.
6977 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6979 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6982 * libio/libioP.h (get_file_offset): New function.
6983 * libio/fileops.c (get_file_offset): Likewise.
6984 (do_ftell): Likewise.
6985 (_IO_new_file_seekoff): Split out ftell logic.
6986 * libio/wfileops.c (do_ftell_wide): Likewise.
6987 (_IO_wfile_seekoff): Split out ftell logic.
6988 * libio/tst-ftell-active-handler.c: New test case.
6989 * libio/Makefile (tests): Add it.
6991 2014-03-03 Roland McGrath <roland@hack.frob.com>
6993 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6994 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6996 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6999 * nscd/connections.c (nscd_init): Call do_exit.
7000 (start_threads): Call do_exit and notify_parent.
7001 (begin_drop_privileges): Call do_exit.
7002 (finish_drop_privileges): Likewise.
7003 * nscd/selinux.c (preserve_capabilities): Likewise.
7004 (install_real_capabilities): Likewise.
7005 (nscd_selinux_enabled): Likewise.
7006 (avc_create_thread): Likewise.
7007 (avc_alloc_lock): Likewise.
7008 (nscd_avc_init): Likewise.
7009 * nscd/nscd.c (parent_fd): New static variable.
7010 (main): Create a pipe between parent and child processes.
7011 Skip closing parent_fd.
7012 (monitor_child): New function.
7013 (do_exit): Likewise.
7014 (notify_parent): Likewise.
7015 * nscd/nscd.h (notify_parent): Likewise.
7016 (do_exit): Likewise.
7018 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7020 * malloc/malloc.c (__libc_calloc): Revert last change.
7022 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7026 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7028 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7032 (__libc_ifunc_impl_list): Likewise.
7033 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7034 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7035 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7036 * string/strrchr.c: Define STRRCHR.
7038 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7040 * benchtest/bench-strtok.c (simple_strtok): Delete.
7041 (strtok_string): Use as benchmark.
7042 * string/strtok (STRTOK): New macro.
7044 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7046 * manual/threads.texi: Add header and standard comments to all
7049 * elf/dl-lookup.c (check_match): New function.
7050 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7051 (do_lookup_x): Remove nested function check_match. Use non-nested
7052 function check_match.
7054 2014-02-28 Roland McGrath <roland@hack.frob.com>
7056 * csu/Makefile (generated, before-compile): Use += rather than =.
7057 * catgets/Makefile (generated, generated-dirs): Likewise.
7058 * debug/Makefile (generated): Likewise.
7059 * dlfcn/Makefile (generated): Likewise.
7060 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7061 * iconvdata/Makefile (before-compile, generated): Likewise.
7062 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7063 * libio/Makefile (generated): Likewise.
7064 * malloc/Makefile (generated): Likewise.
7065 * manual/Makefile (generated, generated-dirs): Likewise.
7066 * misc/Makefile (generated): Likewise.
7067 * posix/Makefile (generated): Likewise.
7068 * resolv/Makefile (generated): Likewise.
7069 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7070 * timezone/Makefile (generated, generated-dirs): Likewise.
7072 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7074 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7077 power8 implementation.
7078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7079 file: POWER8 llround ifunc implementation.
7080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7081 (__lllround): Add POWER8 implementation.
7082 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7083 POWER8 llround implementation.
7085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7086 power8 implementation.
7087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7088 file: POWER8 llrint ifunc implementation.
7089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7090 Add POWER8 implementation.
7091 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7092 POWER8 llrint implementation.
7094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7095 power8 implementation.
7096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7097 file: POWER8 finite ifunc implementation.
7098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7099 Add POWER8 implementation.
7100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7102 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7103 POWER8 finite implementation.
7104 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7107 power8 implementation.
7108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7109 file: POWER8 isinf ifunc implementation.
7110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7111 POWER8 implementation.
7112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7114 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7115 isinf implementation.
7116 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7119 (INIT_ARCH): Add hwcap2 initialization.
7120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7121 power8 implementation.
7122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7123 file: POWER8 isnan ifunc implementation.
7124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7125 POWER8 implementation.
7126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7128 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7129 isnan implementation.
7130 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7132 2014-02-27 Joey Ye <joey.ye@arm.com>
7134 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7135 (_FP_NANFRAC_Q): Set to zero.
7137 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 * math/auto-libm-test-in: New test inputs.
7141 * math/auto-libm-test-out: Regenerate.
7142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7147 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7149 * scripts/evaluate-test.sh: Take new argument indicating whether
7150 failure is expected.
7151 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7152 indicating whether failure is expected.
7153 * conform/Makefile (test-xfail-run-conformtest): New variable.
7154 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7156 * posix/Makefile (test-xfail-annexc): New variable.
7157 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7159 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7161 * argp/Makefile: Include Makeconfig immediately after defining
7163 * assert/Makefile: Likewise.
7164 * benchtests/Makefile: Likewise.
7165 * catgets/Makefile: Likewise.
7166 * conform/Makefile: Likewise.
7167 * crypt/Makefile: Likewise.
7168 * csu/Makefile: Likewise.
7169 (all): Remove target.
7170 * ctype/Makefile: Include Makeconfig immediately after defining
7172 * debug/Makefile: Likewise.
7173 * dirent/Makefile: Likewise.
7174 * dlfcn/Makefile: Likewise.
7175 * gmon/Makefile: Likewise.
7176 * gnulib/Makefile: Likewise.
7177 * grp/Makefile: Likewise.
7178 * gshadow/Makefile: Likewise.
7179 * hesiod/Makefile: Likewise.
7180 * hurd/Makefile: Likewise.
7181 (all): Remove target.
7182 * iconvdata/Makefile: Include Makeconfig immediately after
7184 * inet/Makefile: Likewise.
7185 * intl/Makefile: Likewise.
7186 * io/Makefile: Likewise.
7187 * libio/Makefile: Likewise.
7188 (all): Remove target.
7189 * locale/Makefile: Include Makeconfig immediately after defining
7191 * login/Makefile: Likewise.
7192 * mach/Makefile: Likewise.
7193 (all): Remove target.
7194 * malloc/Makefile: Include Makeconfig immediately after defining
7196 (all): Remove target.
7197 * manual/Makefile: Include Makeconfig immediately after defining
7199 * math/Makefile: Likewise.
7200 * misc/Makefile: Likewise.
7201 * nis/Makefile: Likewise.
7202 * nss/Makefile: Likewise.
7203 * po/Makefile: Likewise.
7204 (all): Remove target.
7205 * posix/Makefile: Include Makeconfig immediately after defining
7207 * pwd/Makefile: Likewise.
7208 * resolv/Makefile: Likewise.
7209 * resource/Makefile: Likewise.
7210 * rt/Makefile: Likewise.
7211 * setjmp/Makefile: Likewise.
7212 * shadow/Makefile: Likewise.
7213 * signal/Makefile: Likewise.
7214 * socket/Makefile: Likewise.
7215 * soft-fp/Makefile: Likewise.
7216 * stdio-common/Makefile: Likewise.
7217 * stdlib/Makefile: Likewise.
7218 * streams/Makefile: Likewise.
7219 * string/Makefile: Likewise.
7220 * sunrpc/Makefile: Likewise.
7221 (all): Remove target.
7222 * sysvipc/Makefile: Include Makeconfig immediately after defining
7224 * termios/Makefile: Likewise.
7225 * time/Makefile: Likewise.
7226 * timezone/Makefile: Likewise.
7227 (all): Remove target.
7228 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7230 * wctype/Makefile: Likewise.
7232 2014-02-26 Steve Ellcey <sellcey@mips.com>
7234 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7235 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7236 (libc_feholdexcept_setround_mips): Ditto.
7237 (libc_feholdsetround): New.
7238 (libc_feholdsetroundf): New.
7239 (libc_feholdsetroundl): New.
7240 (libc_feupdateenv_test_mips): New.
7241 (libc_feupdateenv_test): New.
7242 (libc_feupdateenv_testf): New.
7243 (libc_feupdateenv_testl): New.
7244 (libc_feresetround): New.
7245 (libc_feresetroundf): New.
7246 (libc_feresetroundl): New.
7247 (libc_fetestexcept_mips): New.
7248 (libc_fetestexcept): New.
7249 (libc_fetestexceptf): New.
7250 (libc_fetestexceptl): New.
7252 (libc_feholdexcept_setround_mips_ctx): New.
7253 (libc_feholdexcept_setround_ctx): New.
7254 (libc_feholdexcept_setroundf_ctx): New.
7255 (libc_feholdexcept_setroundl_ctx): New.
7256 (libc_fesetenv_mips_ctx): New.
7257 (libc_fesetenv_ctx): New.
7258 (libc_fesetenv_ctxf): New.
7259 (libc_fesetenv_ctxl): New.
7260 (libc_feupdateenv_mips_ctx): New.
7261 (libc_feupdateenv_ctx): New.
7262 (libc_feupdateenvf_ctx): New.
7263 (libc_feupdateenvl_ctx): New.
7264 (libc_feholdsetround_mips_ctx): New.
7265 (libc_feholdsetround_ctx): New.
7266 (libc_feholdsetroundf_ctx): New.
7267 (libc_feholdsetroundl_ctx): New.
7268 (libc_feresetround_mips_ctx): New.
7269 (libc_feresetround_ctx): New.
7270 (libc_feresetroundf_ctx): New.
7271 (libc_feresetroundl_ctx): New.
7273 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7275 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7277 * manual/ipc.texi: New file.
7278 * manual/Makefile (chapters): Add ipc.
7279 * manual/job.texi: Add "Inter-Process Communication" to next.
7280 * manual/process.texi: Add "Inter-Process Communication" to prev.
7282 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7286 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7288 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7290 * manual/arith.texi: Fix spaces after sentences.
7291 * manual/charset.texi: Likewise.
7292 * manual/errno.texi: Likewise.
7293 * manual/install.texi: Likewise.
7294 * manual/llio.texi: Likewise.
7295 * manual/locale.texi: Likewise.
7296 * manual/maint.texi: Likewise.
7297 * manual/math.texi: Likewise.
7298 * manual/memory.texi: Likewise.
7299 * manual/message.texi: Likewise.
7300 * manual/probes.texi: Likewise.
7301 * manual/resource.texi: Likewise.
7302 * manual/signal.texi: Likewise.
7303 * manual/socket.texi: Likewise.
7304 * manual/stdio.texi: Likewise.
7305 * manual/string.texi: Likewise.
7306 * manual/time.texi: Likewise.
7307 * manual/users.texi: Likewise.
7309 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7312 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7313 _DEFAULT_SOURCE is defined.
7315 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7316 Carlos O'Donell <carlos@redhat.com>
7319 * elf/dl-tls.c (_dl_count_modids): New function.
7320 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7321 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7322 audit library and increment generation counter.
7323 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7324 * elf/tst-audit9.c: New file.
7325 * elf/tst-auditmod9a.c: New file.
7326 * elf/tst-auditmod9b.c: New file.
7327 * elf/Makefile: Add rules to build and run tst-audit9.
7329 2014-02-25 Florian Weimer <fweimer@redhat.com>
7332 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7334 2014-02-25 Will Newton <will.newton@linaro.org>
7336 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7337 (__longjmp): Restore sp and lr before restoring callee
7338 saved registers. Add longjmp and longjmp_target
7339 SystemTap probe point.
7340 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7341 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7342 Define to zero to match jmpbuf layout.
7343 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7344 (__sigsetjmp): Save sp and lr before saving callee
7345 saved registers. Add setjmp SystemTap probe point.
7347 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7349 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7351 2014-02-24 Andreas Schwab <schwab@suse.de>
7354 * elf/pldd.c (wait_for_ptrace_stop): New function.
7355 (main): Call it after attaching.
7357 2014-02-22 Roland McGrath <roland@hack.frob.com>
7359 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7360 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7361 Versions files is now verboten.
7362 * hurd/Versions (libc: GLIBC_2.0):
7363 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7364 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7365 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7366 * mach/Versions: Likewise.
7368 * csu/Versions: Remove unused %include.
7369 * resolv/Versions: Likewise.
7371 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7373 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7374 ($(objpfx)check-local-headers.out): Likewise.
7375 ($(objpfx)begin-end-check.out): Likewise.
7376 * Makerules (check-abi-%.out): Likewise.
7377 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7378 ($(objpfx)test2.cat): Likewise.
7379 ($(objpfx)de/libc.cat): Likewise.
7380 ($(objpfx)test-gencat.out): Likewise.
7381 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7382 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7383 ($(objpfx)noload-mem): Likewise.
7384 ($(objpfx)tst-pathopt.out): Likewise.
7385 ($(objpfx)tst-rtld-load-self.out): Likewise.
7386 ($(objpfx)tst-array1-cmp.out): Likewise.
7387 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7388 ($(objpfx)tst-array2-cmp.out): Likewise.
7389 ($(objpfx)tst-array3-cmp.out): Likewise.
7390 ($(objpfx)tst-array4-cmp.out): Likewise.
7391 ($(objpfx)tst-array5-cmp.out): Likewise.
7392 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7393 ($(objpfx)check-textrel.out): Likewise.
7394 ($(objpfx)check-execstack.out): Likewise.
7395 ($(objpfx)check-localplt.out): Likewise.
7396 ($(objpfx)order2-cmp.out): Likewise.
7397 ($(objpfx)tst-leaks1-mem): Likewise.
7398 ($(objpfx)tst-leaks1-static-mem): Likewise.
7399 ($(objpfx)tst-initorder-cmp.out): Likewise.
7400 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7401 ($(objpfx)tst-unused-dep.out): Likewise.
7402 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7403 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7404 * iconv/Makefile (test-iconvconfig): Likewise.
7405 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7406 ($(objpfx)iconv-test.out): Likewise.
7407 ($(objpfx)tst-tables.out): Likewise.
7408 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7409 ($(objpfx)tst-gettext.out): Likewise.
7410 ($(objpfx)tst-translit.out): Likewise.
7411 ($(objpfx)tst-gettext2.out): Likewise.
7412 ($(objpfx)tst-gettext4.out): Likewise.
7413 ($(objpfx)tst-gettext6.out): Likewise.
7414 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7415 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7416 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7417 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7418 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7419 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7420 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7421 ($(objpfx)wordexp-tst.out): Likewise.
7422 ($(objpfx)annexc.out): Likewise.
7423 ($(objpfx)tst-fnmatch-mem): Likewise.
7424 ($(objpfx)bug-regex2-mem): Likewise.
7425 ($(objpfx)bug-regex14-mem): Likewise.
7426 ($(objpfx)bug-regex21-mem): Likewise.
7427 ($(objpfx)bug-regex31-mem): Likewise.
7428 ($(objpfx)tst-vfork3-mem): Likewise.
7429 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7430 ($(objpfx)tst-pcre-mem): Likewise.
7431 ($(objpfx)tst-boost-mem): Likewise.
7432 ($(objpfx)tst-getconf.out): Likewise.
7433 ($(objpfx)bug-ga2-mem): Likewise.
7434 ($(objpfx)bug-glob2-mem): Likewise.
7435 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7436 ($(objpfx)mtrace-tst-leaks2): Likewise.
7437 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7438 ($(objpfx)tst-printf.out): Likewise.
7439 ($(objpfx)tst-setvbuf1.out): Likewise.
7440 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7441 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7442 ($(objpfx)tst-fmtmsg.out): Likewise.
7443 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7444 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7446 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7447 * bits/sigaction.h [__USE_MISC]: Likewise.
7448 * bits/waitstatus.h: Update #endif comments.
7449 * ctype/ctype.h: Likewise.
7450 * dirent/dirent.h: Likewise.
7451 [__USE_MISC]: Remove redundant conditionals.
7452 * grp/grp.h: Update #endif comments.
7453 [__USE_GNU]: Remove redundant conditionals.
7454 [__USE_MISC]: Likewise.
7455 * inet/netinet/in.h [__USE_GNU]: Likewise.
7456 * io/sys/stat.h [__USE_MISC]: Likewise.
7457 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7458 * libio/bits/stdio.h: Update #endif comments.
7459 [__USE_MISC]: Remove redundant conditionals.
7460 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7461 * libio/stdio.h: Update #endif comments.
7462 [__USE_MISC]: Remove redundant conditionals.
7463 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7464 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7465 * math/math.h: Update #else and #endif comments.
7466 [__USE_MISC]: Remove redundant conditionals.
7467 * misc/sys/uio.h: Update #endif comments.
7468 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7469 * posix/glob.h [__USE_MISC]: Likewise.
7470 * posix/sys/types.h: Update #endif comments.
7471 [__USE_MISC]: Remove redundant conditionals.
7472 * posix/sys/wait.h: Update #endif comments.
7473 [__USE_MISC]: Remove redundant conditionals.
7474 * posix/unistd.h: Update #endif comments.
7475 [__USE_MISC]: Remove redundant conditionals.
7476 * pwd/pwd.h [__USE_GNU]: Likewise.
7477 [__USE_MISC]: Likewise.
7478 * resolv/netdb.h [__USE_GNU]: Likewise.
7479 * signal/signal.h: Update #endif comments.
7480 [__USE_MISC]: Remove redundant conditionals.
7481 * stdlib/stdlib.h: Update #else and #endif comments.
7482 [__USE_MISC]: Remove redundant conditionals.
7483 [__USE_GNU]: Likewise.
7484 * string/bits/string2.h [__USE_MISC]: Likewise.
7485 * string/string.h: Update #endif comments.
7486 [__USE_MISC]: Remove redundant conditionals.
7487 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7489 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7490 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7491 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7493 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7497 [__USE_MISC]: Remove redundant conditionals.
7498 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7499 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7500 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7501 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7502 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7504 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7505 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7507 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7508 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7510 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7512 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7513 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7515 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7517 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7518 * sysdeps/x86/bits/string.h: Update #endif comments.
7519 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7521 * time/sys/time.h: Update #endif comments.
7522 * time/time.h: Likewise.
7523 [__USE_MISC]: Remove redundant conditionals.
7525 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7528 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7530 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7532 * Versions.def (librt): Add GLIBC_2.17.
7534 2014-02-21 Adam Conrad <adconrad@0c3.net>
7536 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7537 synonym for _SYS_AUXV_H to allow direct inclusion.
7538 * sysdeps/sparc/bits/hwcap.h: Likewise.
7539 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7540 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7541 * sysdeps/sparc/sysdep.h: Likewise.
7543 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7545 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7547 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7549 * benchtests/bench-strrchr.c: Print length instead of position.
7551 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7554 * sysdeps/unix/sysv/linux/kernel-features.h
7555 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7556 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7557 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7558 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7560 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7561 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7562 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7563 (__ASSUME_SENDMMSG): Define instead of using previous
7564 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7565 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7566 (__ASSUME_SENDMMSG_SYSCALL): Define.
7567 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7568 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7570 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7571 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7573 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7574 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7576 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7577 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7578 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7579 [__ASSUME_SENDMMSG]: Change conditionals to
7580 [__ASSUME_SENDMMSG_SOCKETCALL].
7581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7582 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7584 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7585 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7587 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7588 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7589 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7590 [!__ASSUME_SENDMMSG]: Change conditional to
7591 [!__ASSUME_SENDMMSG_SOCKETCALL].
7592 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7593 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7597 * sysdeps/unix/sysv/linux/kernel-features.h
7598 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7599 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7600 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7601 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7602 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7603 [__i386__ || __sparc__]
7604 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7605 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7606 (__ASSUME_RECVMMSG): Define instead of using previous
7607 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7608 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7609 (__ASSUME_RECVMMSG_SYSCALL): Define.
7610 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7611 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7613 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7614 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7616 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7619 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7620 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7621 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7622 [__ASSUME_RECVMMSG]: Change condition to
7623 [__ASSUME_RECVMMSG_SOCKETCALL].
7624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7625 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7627 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7628 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7629 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7631 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7632 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7633 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7634 [!__ASSUME_RECVMMSG]: Change condition to
7635 [!__ASSUME_RECVMMSG_SOCKETCALL].
7636 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7637 (__ASSUME_RECVMMSG_SYSCALL): Define.
7640 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7641 __powerpc__ || __s390__ || __sh__ || __sparc__]
7642 (__ASSUME_SOCKETCALL): Define.
7643 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7644 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7645 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7646 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7647 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7648 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7649 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7650 (__ASSUME_ACCEPT4): Define instead of using previous
7651 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7652 __powerpc__ || __sparc__ || __s390__)] condition.
7653 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7654 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7655 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7656 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7657 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7658 [!__ASSUME_ACCEPT4]: Change condition to
7659 [!__ASSUME_ACCEPT4_SOCKETCALL].
7660 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7661 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7662 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7663 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7664 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7665 __ASSUME_ACCEPT4_SYSCALL.
7666 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7667 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7668 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7669 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7670 __ASSUME_ACCEPT4_SYSCALL.
7671 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7672 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7673 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7674 [__ASSUME_ACCEPT4]: Change condition to
7675 [__ASSUME_ACCEPT4_SOCKETCALL].
7676 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7677 (__ASSUME_SOCKETCALL): Define.
7678 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7680 (__ASSUME_SOCKETCALL): Define.
7681 (__ASSUME_ACCEPT4): Remove.
7682 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7684 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7685 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7687 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7688 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7690 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7692 (HWCAP_ARM_LPAE): Likewise.
7693 (HWCAP_ARM_EVTSTRM): Likewise.
7694 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7695 Add vpfd32, lpae and evtstrm.
7696 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7699 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7701 * math/auto-libm-test-in: Add tests of clog10.
7702 * math/auto-libm-test-out: Regenerated.
7703 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7704 * sysdeps/i386/fpu/libm-test-ulps: Update.
7705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707 2014-02-18 Andreas Schwab <schwab@suse.de>
7710 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7711 Store non-zero if the second buffer was newly allocated.
7712 (send_dg): Likewise.
7713 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7714 to send_vc and send_dg.
7715 (res_nsend): Pass NULL for ansp2_malloced.
7716 * resolv/res_query.c (__libc_res_nquery): Add parameter
7717 answerp2_malloced and pass it down to __libc_res_nsend.
7718 (res_nquery): Pass additional NULL to __libc_res_nquery.
7719 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7720 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7721 second answer buffer if answerp2_malloced was set.
7722 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7723 (__libc_res_nquerydomain): Add parameter
7724 answerp2_malloced and pass it down to __libc_res_nquery.
7725 (res_nquerydomain): Pass additional NULL to
7726 __libc_res_nquerydomain.
7727 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7728 additional NULL to __libc_res_nsend and __libc_res_nquery.
7729 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7730 additional NULL to __libc_res_nsearch.
7731 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7732 parameter of __libc_res_nsearch to check for separately allocated
7734 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7736 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7737 additional NULL to __libc_res_nquery.
7738 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7740 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7741 * include/resolv.h: Update prototypes of __libc_res_nquery,
7742 __libc_res_nsearch, __libc_res_nsend.
7744 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7746 * math/auto-libm-test-in: Add tests of fma.
7747 * math/auto-libm-test-out: Regenerated.
7748 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7749 (fma_towardzero_test_data): Likewise.
7750 (fma_downward_test_data): Likewise.
7751 (fma_upward_test_data): Likewise.
7752 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7754 (rounding_modes): Add values for new field.
7755 (func_calc_method): Add value mpfr_fff_f.
7756 (func_calc_desc): Add mpfr_fff_f union field.
7757 (test_function): Add field exact_args.
7758 (FUNC): Add macro argument EXACT_ARGS.
7759 (FUNC_mpfr_f_f): Update call to FUNC.
7760 (FUNC_mpfr_f_f): Likewise.
7761 (FUNC_mpfr_ff_f): Likewise.
7762 (FUNC_mpfr_if_f): Likewise.
7763 (FUNC_mpc_c_f): Likewise.
7764 (FUNC_mpc_c_c): Likewise.
7765 (test_functions): Add fma. Update calls to FUNC.
7766 (handle_input_arg): Add argument exact_args.
7767 (add_test): Update call to handle_input_arg.
7768 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7769 (output_for_one_input_case): Update call to calc_generic_results.
7770 Recalculate exact zero results in each rounding mode.
7772 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7773 non-negative before setting low bit.
7774 * math/auto-libm-test-in: Mark one asin test possibly having
7776 * math/auto-libm-test-out: Regenerated.
7777 * sysdeps/i386/fpu/libm-test-ulps: Update.
7778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7780 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7782 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7783 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7784 ports/sysdeps/unix/sysv/linux/microblaze.
7785 * README: Add missing listing for microblaze*-*-linux-gnu.
7787 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7789 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7790 * sysdeps/unix/sysv/linux/ia64: Move directory from
7791 ports/sysdeps/unix/sysv/linux/ia64.
7792 * README: Update listing for ia64-*-linux-gnu.
7794 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7795 Joseph Myers <joseph@codesourcery.com>
7797 * Makeconfig (test-name): New variable.
7798 (evaluate-test): Likewise.
7799 * Makerules (do-test-clean): Remove .test-result files.
7800 (common-mostlyclean): Likewise.
7801 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7802 * scripts/evaluate-test.sh: New file.
7804 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7806 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7807 separate $(objpfx)tst-fopenloc-cmp.out and
7808 $(objpfx)tst-fopenloc-mem.out targets.
7809 (tests): Update dependencies.
7810 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7811 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7812 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7813 (tst-rxspencer-no-utf8-ARGS): New variable.
7814 (tst-rxspencer-no-utf8-ENV): Likewise.
7815 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7816 instead of $(objpfx)tst-rxspencer-mem.
7817 ($(objpfx)tst-rxspencer-mem): Change target to
7818 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7819 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7820 * posix/tst-rxspencer-no-utf8.c: New file.
7822 * elf/Makefile ($(objpfx)order.out): Remove rule.
7823 [$(run-built-tests) = yes] (tests): Depend on
7824 $(objpfx)order-cmp.out.
7825 ($(objpfx)order-cmp.out): New rule.
7826 [$(run-built-tests) = yes] (tests): Depend on
7827 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7828 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7829 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7830 $(objpfx)tst-array5-static-cmp.out.
7831 ($(objpfx)tst-array1.out): Remove rule.
7832 ($(objpfx)tst-array1-cmp.out): New rule.
7833 ($(objpfx)tst-array1-static.out): Remove rule.
7834 ($(objpfx)tst-array1-static-cmp.out): New rule.
7835 ($(objpfx)tst-array2.out): Remove rule.
7836 ($(objpfx)tst-array2-cmp.out): New rule.
7837 ($(objpfx)tst-array3.out): Remove rule.
7838 ($(objpfx)tst-array3-cmp.out): New rule.
7839 ($(objpfx)tst-array4.out): Remove rule.
7840 ($(objpfx)tst-array4-cmp.out): New rule.
7841 ($(objpfx)tst-array5.out): Remove rule.
7842 ($(objpfx)tst-array5-cmp.out): New rule.
7843 ($(objpfx)tst-array5-static.out): Remove rule.
7844 ($(objpfx)tst-array5-static-cmp.out): New rule.
7845 [$(run-built-tests) = yes] (tests): Depend on
7846 $(objpfx)order2-cmp.out.
7847 ($(objpfx)order2.out): Remove rule.
7848 ($(objpfx)order2-cmp.out): New rule.
7849 ($(objpfx)tst-initorder.out): Remove rule.
7850 [$(run-built-tests) = yes] (tests): Depend on
7851 $(objpfx)tst-initorder-cmp.out.
7852 ($(objpfx)tst-initorder-cmp.out): New rule.
7853 ($(objpfx)tst-initorder2.out): Remove rule.
7854 [$(run-built-tests) = yes] (tests): Depend on
7855 $(objpfx)tst-initorder2-cmp.out.
7856 ($(objpfx)tst-initorder2-cmp.out): New rule.
7857 [$(run-built-tests) = yes] (tests): Depend on
7858 $(objpfx)tst-unused-dep-cmp.out.
7859 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7860 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7861 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7862 on $(objpfx)tst-setvbuf1-cmp.out.
7863 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7864 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7865 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7866 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7867 ($(objpfx)tst-svc.out): Remove rule.
7868 ($(objpfx)tst-svc-cmp.out): New rule.
7870 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7872 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7873 * ctype/ctype.h [__USE_MISC]: Likewise.
7874 * dirent/dirent.h [__USE_MISC]: Likewise.
7875 * grp/grp.h [__USE_MISC]: Likewise.
7876 * io/fcntl.h [__USE_MISC]: Likewise.
7877 * io/sys/stat.h [__USE_MISC]: Likewise.
7878 * libio/stdio.h [__USE_MISC]: Likewise.
7879 * posix/unistd.h [__USE_MISC]: Likewise.
7880 * pwd/pwd.h [__USE_MISC]: Likewise.
7881 * stdlib.h [__USE_MISC]: Likewise.
7882 * string/bits/string2.h [__USE_MISC]: Likewise.
7883 * string/string.h [__USE_MISC]: Likewise.
7884 * time/time.h [__USE_MISC]: Likewise.
7886 2014-02-13 Andreas Schwab <schwab@suse.de>
7889 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7890 second answer buffer if it was separately allocated.
7892 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7894 * sysdeps/mips/math-tests.h: Include <features.h>.
7895 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7896 (ROUNDING_TESTS_long_double): Do not define.
7897 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7898 (EXCEPTION_TESTS_long_double): Likewise.
7899 * sysdeps/mips/mips64/libm-test-ulps: Update.
7901 * include/features.h (__USE_BSD): Remove macro definitions.
7902 (__USE_SVID): Likewise.
7903 (_BSD_SOURCE): Likewise.
7904 (_SVID_SOURCE): Likewise.
7905 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7906 from definition of _DEFAULT_SOURCE.
7907 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7909 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7910 * bits/mman.h [__USE_BSD]: Likewise.
7911 * bits/termios.h [__USE_BSD]: Likewise.
7912 * bits/waitstatus.h [__USE_BSD]: Likewise.
7913 * ctype/ctype.h [__USE_SVID]: Likewise.
7914 * dirent/dirent.h [__USE_BSD]: Likewise.
7915 * grp/grp.h [__USE_SVID]: Likewise.
7916 [__USE_BSD]: Likewise.
7917 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7918 * io/fcntl.h [__USE_BSD]: Likewise.
7919 * io/ftw.h [__USE_BSD]: Likewise.
7920 * io/sys/stat.h [__USE_BSD]: Likewise.
7921 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7922 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7923 * libio/stdio.h [__USE_SVID]: Likewise.
7924 [__USE_BSD]: Likewise.
7925 * math/math.h [__USE_SVID]: Likewise.
7926 [__USE_BSD]: Likewise.
7927 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7928 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7929 * misc/search.h [__USE_SVID]: Likewise.
7930 * misc/sys/mman.h [__USE_BSD]: Likewise.
7931 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7932 * misc/sys/uio.h [__USE_BSD]: Likewise.
7933 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7934 * posix/glob.h [__USE_BSD]: Likewise.
7935 * posix/regex.h [__USE_BSD]: Likewise.
7936 * posix/sys/types.h [__USE_BSD]: Likewise.
7937 [__USE_SVID]: Likewise.
7938 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7939 * posix/sys/wait.h [__USE_BSD]: Likewise.
7940 [__USE_SVID]: Likewise.
7941 * posix/unistd.h [__USE_BSD]: Likewise.
7942 [__USE_SVID]: Likewise.
7943 * pwd/pwd.h [__USE_SVID]: Likewise.
7944 * resolv/netdb.h [__USE_BSD]: Likewise.
7945 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7946 * signal/signal.h [__USE_BSD]: Likewise.
7947 [__USE_SVID]: Likewise.
7948 * socket/sys/socket.h [__USE_BSD]: Likewise.
7949 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7950 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7951 [__USE_SVID]: Likewise.
7952 * string/bits/string2.h [__USE_BSD]: Likewise.
7953 [__USE_SVID]: Likewise.
7954 * string/bits/string3.h [__USE_BSD]: Likewise.
7955 * string/endian.h [__USE_BSD]: Likewise.
7956 * string/string.h [__USE_SVID]: Likewise.
7957 [__USE_BSD]: Likewise.
7958 * string/strings.h [__USE_BSD]: Likewise.
7959 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7960 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7961 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7962 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7963 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7964 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7966 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7968 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7969 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7971 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7972 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7974 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7976 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7977 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7980 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7982 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7983 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7984 * termios/termios.h [__USE_BSD]: Likewise.
7985 * time/sys/time.h [__USE_BSD]: Likewise.
7986 * time/time.h [__USE_BSD]: Likewise.
7987 [__USE_SVID]: Likewise.
7989 * Makefile (subdir_targets): Remove subdir_lint.out.
7991 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7992 (do-tst-printf): Likewise.
7993 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7994 $(objpfx)tst-printf.out.
7996 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7998 * Makerules (check-abi-%): Change target to
7999 $(objpfx)check-abi-%.out.
8000 (check-abi target): Update dependencies.
8001 (check-abi-pattern variable): Redirect output of diff to $@.
8002 (check-abi variable): Likewise.
8003 * elf/Makefile (check-abi): Update dependencies.
8005 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8007 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8008 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8010 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8011 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8012 value has largest subnormal exponent.
8013 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8014 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8015 * sysdeps/aarch64/soft-fp/sfp-machine.h
8016 (_FP_TININESS_AFTER_ROUNDING): New macro.
8017 * sysdeps/alpha/soft-fp/sfp-machine.h
8018 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8019 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8021 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8022 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8023 * sysdeps/mips/soft-fp/sfp-machine.h
8024 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8025 * sysdeps/powerpc/soft-fp/sfp-machine.h
8026 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8027 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8030 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8032 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8033 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8036 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8042 2014-02-12 Richard Henderson <rth@redhat.com>
8044 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8045 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8046 * sysdeps/unix/sysv/linux/alpha: Move directory from
8047 ports/sysdeps/unix/sysv/linux/alpha.
8048 * README: Update listing for alpha-*-linux-gnu.
8050 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8052 * include/features.h: Update comment documenting feature test
8054 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8056 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8057 (_SVID_SOURCE): Likewise.
8058 (_DEFAULT_SOURCE): Update description of default features.
8059 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8061 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8062 (S_ISVTX): Likewise.
8063 * manual/math.texi (Mathematical Constants): Likewise.
8064 * manual/signal.texi (Interrupted Primitives): Likewise.
8065 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8066 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8067 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8068 Don't refer to _SVID_SOURCE in warning text.
8070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8072 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8074 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8075 * sysdeps/mips/dl-lookup.c: Remove.
8076 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8078 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8081 * math/auto-libm-test-in: Add testcase for expl.
8082 * math/auto-libm-test-out: Regenerate.
8083 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8084 calculation of unsafe.
8085 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8087 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8089 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8090 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8091 ports/sysdeps/unix/sysv/linux/aarch64.
8092 * README: Update listing for aarch64*-*-linux-gnu.
8094 2014-02-11 Will Newton <will.newton@linaro.org>
8096 * manual/probes.texi (Mathematical Function Probes): Use
8097 "triggered" instead of "hit".
8099 * manual/probes.texi (Internal Probes): Add documentation
8100 of setjmp, longjmp and longjmp_target probes.
8102 * include/stap-probe.h: Add comment about probe argument
8105 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8106 definition. (tr_where, tr_freehook, tr_mallochook,
8107 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8109 2014-02-11 David S. Miller <davem@davemloft.net>
8111 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8112 processing int_tests.
8114 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8116 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8117 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8118 * sysdeps/unix/sysv/linux/mips: Move directory from
8119 ports/sysdeps/unix/sysv/linux/mips.
8120 * README: Update listing for mips-*-linux-gnu and
8123 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8125 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8126 * sysdeps/unix/sysv/linux/m68k: Move directory from
8127 ports/sysdeps/unix/sysv/linux/m68k.
8128 * README: Update listing for m68k-*-linux-gnu.
8130 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8132 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8133 * sysdeps/unix/sysv/linux/generic: Move directory from
8134 ports/sysdeps/unix/sysv/linux/generic.
8135 * sysdeps/unix/sysv/linux/tile: Move directory from
8136 ports/sysdeps/unix/sysv/linux/tile.
8137 * README: Update listing for tile*-*-linux-gnu.
8139 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8141 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8143 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8144 * catgets/open_catalog.c (__open_catalog): Likewise.
8145 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8146 * debug/confstr_chk.c: Likewise.
8147 * debug/fread_chk.c (__fread_chk): Likewise.
8148 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8149 * debug/getgroups_chk.c: Likewise.
8150 * debug/mbsnrtowcs_chk.c: Likewise.
8151 * debug/mbsrtowcs_chk.c: Likewise.
8152 * debug/mbstowcs_chk.c: Likewise.
8153 * debug/memcpy_chk.c: Likewise.
8154 * debug/memmove_chk.c: Likewise.
8155 * debug/mempcpy_chk.c: Likewise.
8156 * debug/memset_chk.c: Likewise.
8157 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8158 * debug/strcat_chk.c (__strcat_chk): Likewise.
8159 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8160 * debug/strncat_chk.c (__strncat_chk): Likewise.
8161 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8162 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8163 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8164 * debug/wcpncpy_chk.c: Likewise.
8165 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8166 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8167 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8168 * debug/wcsncpy_chk.c: Likewise.
8169 * debug/wcsnrtombs_chk.c: Likewise.
8170 * debug/wcsrtombs_chk.c: Likewise.
8171 * debug/wcstombs_chk.c: Likewise.
8172 * debug/wmemcpy_chk.c: Likewise.
8173 * debug/wmemmove_chk.c: Likewise.
8174 * debug/wmempcpy_chk.c: Likewise.
8175 * debug/wmemset_chk.c: Likewise.
8176 * dirent/scandirat.c (SCANDIRAT): Likewise.
8177 * dlfcn/dladdr1.c (dladdr1): Likewise.
8178 * dlfcn/dladdr.c (dladdr): Likewise.
8179 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8180 * dlfcn/dlerror.c (__dlerror): Likewise.
8181 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8182 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8183 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8184 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8185 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8186 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8187 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8188 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8190 * elf/dl-conflict.c: Likewise.
8191 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8192 * elf/dl-dst.h: Likewise.
8193 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8194 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8195 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8196 * elf/dl-init.c (call_init, _dl_init): Likewise.
8197 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8198 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8199 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8201 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8203 * elf/dl-minimal.c (__libc_memalign): Likewise.
8204 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8205 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8206 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8207 * elf/dl-sym.c (do_sym): Likewise.
8208 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8209 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8210 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8211 * elf/dl-writev.h (_dl_writev): Likewise.
8212 * elf/ldconfig.c (search_dir): Likewise.
8213 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8214 (dl_main): Likewise.
8215 * elf/setup-vdso.h (setup_vdso): Likewise.
8216 * grp/compat-initgroups.c (compat_call): Likewise.
8217 * grp/fgetgrent.c (fgetgrent): Likewise.
8218 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8219 * grp/putgrent.c (putgrent): Likewise.
8220 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8222 * hurd/hurdinit.c: Likewise.
8223 * iconvdata/8bit-gap.c (struct): Likewise.
8224 * iconvdata/ansi_x3.110.c : Likewise.
8225 * iconvdata/big5.c : Likewise.
8226 * iconvdata/big5hkscs.c : Likewise.
8227 * iconvdata/cp1255.c: Likewise.
8228 * iconvdata/cp1258.c : Likewise.
8229 * iconvdata/cp932.c : Likewise.
8230 * iconvdata/euc-cn.c: Likewise.
8231 * iconvdata/euc-jisx0213.c : Likewise.
8232 * iconvdata/euc-jp.c: Likewise.
8233 * iconvdata/euc-jp-ms.c : Likewise.
8234 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8235 * iconvdata/gb18030.c : Likewise.
8236 * iconvdata/gbbig5.c (const): Likewise.
8237 * iconvdata/gbgbk.c: Likewise.
8238 * iconvdata/gbk.c : Likewise.
8239 * iconvdata/ibm1364.c : Likewise.
8240 * iconvdata/ibm930.c : Likewise.
8241 * iconvdata/ibm932.c: Likewise.
8242 * iconvdata/ibm933.c : Likewise.
8243 * iconvdata/ibm935.c : Likewise.
8244 * iconvdata/ibm937.c : Likewise.
8245 * iconvdata/ibm939.c : Likewise.
8246 * iconvdata/ibm943.c: Likewise.
8247 * iconvdata/iso_11548-1.c: Likewise.
8248 * iconvdata/iso-2022-cn.c : Likewise.
8249 * iconvdata/iso-2022-cn-ext.c : Likewise.
8250 * iconvdata/iso-2022-jp-3.c: Likewise.
8251 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8252 * iconvdata/iso-2022-kr.c : Likewise.
8253 * iconvdata/iso646.c (gconv_end): Likewise.
8254 * iconvdata/iso_6937-2.c : Likewise.
8255 * iconvdata/iso_6937.c : Likewise.
8256 * iconvdata/iso8859-1.c: Likewise.
8257 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8258 * iconvdata/shift_jisx0213.c : Likewise.
8259 * iconvdata/sjis.c : Likewise.
8260 * iconvdata/t.61.c : Likewise.
8261 * iconvdata/tcvn5712-1.c : Likewise.
8262 * iconvdata/tscii.c: Likewise.
8263 * iconvdata/uhc.c : Likewise.
8264 * iconvdata/unicode.c (gconv_end): Likewise.
8265 * iconvdata/utf-16.c (gconv_end): Likewise.
8266 * iconvdata/utf-32.c (gconv_end): Likewise.
8267 * iconvdata/utf-7.c (base64): Likewise.
8268 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8269 * iconv/gconv_close.c (__gconv_close): Likewise.
8270 * iconv/gconv_open.c (__gconv_open): Likewise.
8271 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8272 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8273 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8274 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8275 (ucs4le_internal_loop_single): Likewise.
8276 * iconv/iconv.c (iconv): Likewise.
8277 * iconv/iconv_close.c: Likewise.
8278 * iconv/loop.c (SINGLE): Likewise.
8279 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8280 * include/atomic.h: Likewise.
8281 * inet/inet6_option.c (option_alloc): Likewise.
8282 * intl/bindtextdom.c (set_binding_values): Likewise.
8283 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8284 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8285 * intl/localealias.c (read_alias_file): Likewise.
8286 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8287 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8288 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8289 * libio/fmemopen.c (fmemopen): Likewise.
8290 * libio/iofgets.c (_IO_fgets): Likewise.
8291 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8292 * libio/iofgetws.c (fgetws): Likewise.
8293 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8294 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8295 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8296 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8297 * locale/findlocale.c (_nl_find_locale): Likewise.
8298 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8299 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8301 * locale/setlocale.c (setlocale): Likewise.
8302 * login/programs/pt_chown.c (main): Likewise.
8303 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8304 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8305 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8306 (mmap, mmap64, mremap, munmap): Likewise.
8307 * math/e_exp2l.c: Likewise.
8308 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8309 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8310 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8311 * math/s_catan.c (__catan): Likewise.
8312 * math/s_catanf.c (__catanf): Likewise.
8313 * math/s_catanh.c (__catanh): Likewise.
8314 * math/s_catanhf.c (__catanhf): Likewise.
8315 * math/s_catanhl.c (__catanhl): Likewise.
8316 * math/s_catanl.c (__catanl): Likewise.
8317 * math/s_ccosh.c (__ccosh): Likewise.
8318 * math/s_ccoshf.c (__ccoshf): Likewise.
8319 * math/s_ccoshl.c (__ccoshl): Likewise.
8320 * math/s_cexp.c (__cexp): Likewise.
8321 * math/s_cexpf.c (__cexpf): Likewise.
8322 * math/s_cexpl.c (__cexpl): Likewise.
8323 * math/s_clog10.c (__clog10): Likewise.
8324 * math/s_clog10f.c (__clog10f): Likewise.
8325 * math/s_clog10l.c (__clog10l): Likewise.
8326 * math/s_clog.c (__clog): Likewise.
8327 * math/s_clogf.c (__clogf): Likewise.
8328 * math/s_clogl.c (__clogl): Likewise.
8329 * math/s_csin.c (__csin): Likewise.
8330 * math/s_csinf.c (__csinf): Likewise.
8331 * math/s_csinh.c (__csinh): Likewise.
8332 * math/s_csinhf.c (__csinhf): Likewise.
8333 * math/s_csinhl.c (__csinhl): Likewise.
8334 * math/s_csinl.c (__csinl): Likewise.
8335 * math/s_csqrt.c (__csqrt): Likewise.
8336 * math/s_csqrtf.c (__csqrtf): Likewise.
8337 * math/s_csqrtl.c (__csqrtl): Likewise.
8338 * math/s_ctan.c (__ctan): Likewise.
8339 * math/s_ctanf.c (__ctanf): Likewise.
8340 * math/s_ctanh.c (__ctanh): Likewise.
8341 * math/s_ctanhf.c (__ctanhf): Likewise.
8342 * math/s_ctanhl.c (__ctanhl): Likewise.
8343 * math/s_ctanl.c (__ctanl): Likewise.
8344 * math/w_pow.c: Likewise.
8345 * math/w_powf.c: Likewise.
8346 * math/w_powl.c: Likewise.
8347 * math/w_scalb.c (sysv_scalb): Likewise.
8348 * math/w_scalbf.c (sysv_scalbf): Likewise.
8349 * math/w_scalbl.c (sysv_scalbl): Likewise.
8350 * misc/error.c (error_tail): Likewise.
8351 * misc/pselect.c (__pselect): Likewise.
8352 * nis/nis_callback.c (__nis_create_callback): Likewise.
8353 * nis/nis_call.c (__nisfind_server): Likewise.
8354 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8355 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8356 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8357 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8358 * nis/nis_lookup.c (nis_lookup): Likewise.
8359 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8360 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8361 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8362 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8363 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8364 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8365 * nis/nss_compat/compat-initgroups.c (add_group)
8366 (internal_getgrent_r): Likewise.
8367 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8368 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8369 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8370 (internal_getspnam_r): Likewise.
8371 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8372 (_nss_nis_getaliasbyname_r): Likewise.
8373 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8374 (_nss_nis_getntohost_r): Likewise.
8375 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8376 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8377 (_nss_nis_getgrgid_r): Likewise.
8378 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8379 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8380 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8381 (_nss_nis_gethostbyname4_r): Likewise.
8382 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8383 (initgroups_netid): Likewise.
8384 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8385 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8386 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8387 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8388 (_nss_nis_getprotobynumber_r): Likewise.
8389 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8390 (_nss_nis_getsecretkey): Likewise.
8391 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8392 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8393 (_nss_nis_getpwuid_r): Likewise.
8394 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8395 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8396 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8397 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8398 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8399 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8400 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8402 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8403 (_nss_nisplus_getntohost_r): Likewise.
8404 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8405 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8406 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8407 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8409 * nis/nss_nisplus/nisplus-initgroups.c
8410 (_nss_nisplus_initgroups_dyn): Likewise.
8411 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8412 (_nss_nisplus_getnetbyaddr_r): Likewise.
8413 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8414 (_nss_nisplus_getprotobynumber_r): Likewise.
8415 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8416 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8417 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8419 * nis/nss_nisplus/nisplus-service.c
8420 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8421 (_nss_nisplus_getservbyport_r): Likewise.
8422 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8423 (_nss_nisplus_getspnam_r): Likewise.
8424 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8426 * nscd/aicache.c (addhstaiX): Likewise.
8427 * nscd/cache.c (cache_search, prune_cache): Likewise.
8428 * nscd/connections.c (register_traced_file, send_ro_fd)
8429 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8430 (main_loop_epoll): Likewise.
8431 * nscd/grpcache.c (addgrbyX): Likewise.
8432 * nscd/hstcache.c (addhstbyX): Likewise.
8433 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8434 * nscd/mem.c (gc, mempool_alloc): Likewise.
8435 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8436 (addinnetgrX): Likewise.
8437 * nscd/nscd-client.h (__nscd_acquire_maplock)
8438 (__nscd_drop_map_ref): Likewise.
8439 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8440 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8441 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8443 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8444 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8445 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8446 (__nscd_get_map_ref): Likewise.
8447 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8448 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8450 * nscd/pwdcache.c (addpwbyX): Likewise.
8451 * nscd/selinux.c (preserve_capabilities): Likewise.
8452 * nscd/servicescache.c (addservbyX): Likewise.
8453 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8454 * posix/fnmatch.c (fnmatch): Likewise.
8455 * posix/getopt.c (_getopt_internal_r): Likewise.
8456 * posix/glob.c (glob, glob_in_dir): Likewise.
8457 * posix/wordexp.c (exec_comm_child): Likewise.
8458 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8459 (getanswer_r, gaih_getanswer_slice): Likewise.
8460 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8461 * resolv/res_init.c: Likewise.
8462 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8463 * resolv/res_query.c (__libc_res_nquery): Likewise.
8464 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8466 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8467 * stdio-common/perror.c (perror): Likewise.
8468 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8469 * stdio-common/tmpnam.c (tmpnam): Likewise.
8470 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8471 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8472 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8474 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8475 * stdlib/putenv.c (putenv): Likewise.
8476 * stdlib/setenv.c (__add_to_environ): Likewise.
8477 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8478 * stdlib/strtol_l.c (INTERNAL): Likewise.
8479 * string/memmem.c (memmem): Likewise.
8480 * string/strerror.c (strerror): Likewise.
8481 * string/strnlen.c (__strnlen): Likewise.
8482 * string/test-memmem.c (simple_memmem): Likewise.
8483 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8484 * sunrpc/pm_getport.c (__get_socket): Likewise.
8485 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8486 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8487 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8488 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8490 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8491 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8492 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8493 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8494 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8495 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8497 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8499 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8500 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8502 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8503 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8505 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8506 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8507 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8508 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8509 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8510 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8512 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8516 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8518 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8519 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8520 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8521 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8522 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8533 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8535 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8537 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8539 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8541 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8543 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8544 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8545 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8546 * sysdeps/posix/sleep.c: Likewise.
8547 * sysdeps/posix/tempname.c: Likewise.
8548 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8549 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8551 * sysdeps/powerpc/powerpc32/dl-machine.h
8552 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8553 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8554 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8555 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8556 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8558 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8559 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8560 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8562 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8563 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8564 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8565 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8566 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8567 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8569 (elf_machine_lazy_rel): Likewise.
8570 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8572 (elf_machine_lazy_rel): Likewise.
8573 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8574 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8575 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8576 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8577 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8578 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8579 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8582 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8583 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8584 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8585 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8586 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8587 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8588 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8589 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8590 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8591 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8592 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8594 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8595 (__posix_fallocate64_l64): Likewise.
8596 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8597 (posix_fallocate): Likewise.
8598 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8601 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8602 (getifaddrs_internal): Likewise.
8603 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8604 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8605 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8606 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8607 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8608 (__posix_fallocate64_l64): Likewise.
8609 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8611 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8613 (__get_clockfreq): Likewise.
8614 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8615 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8616 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8619 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8620 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8621 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8623 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8624 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8625 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8627 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8628 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8629 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8631 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8632 (posix_fallocate): Likewise.
8633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8634 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8635 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8636 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8637 (elf_machine_rela, elf_machine_rela_relative)
8638 (elf_machine_lazy_rel): Likewise.
8639 * time/asctime.c (asctime_internal): Likewise.
8640 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8641 * time/tzset.c (__tzset_parse_tz): Likewise.
8642 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8643 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8644 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8645 * wcsmbs/wcsmbsload.h: Likewise.
8648 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8650 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8651 (arena_get2): Remove THREAD_STATS conditionals.
8652 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8653 (__malloc_stats, int): Likewise.
8655 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8657 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8658 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8660 * manual/setjmp.texi: Fix typos/grammar errors.
8662 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8663 Only return early when n is <= 0. Delete unused return statement.
8665 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8666 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8667 * debug/tst-longjmp_chk3.c: New file.
8669 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8670 (test_main): Replace code with set_fortify_handler call.
8671 * debug/test-strcpy_chk.c: Likewise.
8672 * debug/tst-chk1.c: Likewise.
8673 * debug/tst-longjmp_chk.c: Likewise.
8674 * test-skeleton.c: Include fcntl.h & paths.h
8675 (set_fortify_handler): Define.
8677 * debug/tst-longjmp_chk.c: Add header comment and include
8679 (do_test): Mark static.
8680 (TEST_FUNCTION): Define.
8682 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8683 (IP_PMTUDISC_INTERFACE): Likewise.
8684 (IP_MULTICAST_IF): Likewise.
8685 (IP_MULTICAST_TTL): Likewise.
8686 (IP_MULTICAST_LOOP): Likewise.
8687 (IP_ADD_MEMBERSHIP): Likewise.
8688 (IP_DROP_MEMBERSHIP): Likewise.
8689 (IP_UNBLOCK_SOURCE): Likewise.
8690 (IP_BLOCK_SOURCE): Likewise.
8691 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8692 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8693 (IP_MSFILTER): Likewise.
8694 (MCAST_JOIN_GROUP): Likewise.
8695 (MCAST_BLOCK_SOURCE): Likewise.
8696 (MCAST_UNBLOCK_SOURCE): Likewise.
8697 (MCAST_LEAVE_GROUP): Likewise.
8698 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8699 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8700 (MCAST_MSFILTER): Likewise.
8701 (IP_MULTICAST_ALL): Likewise.
8702 (IP_UNICAST_IF): Likewise.
8704 * timezone/Makefile: Delete $(have-ksh) check.
8705 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8706 * timezone/tzselect.ksh: Add +x mode bits.
8708 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8709 (ANON_INODE_FS_MAGIC): Likewise.
8710 (BDEVFS_MAGIC): Likewise.
8711 (BINFMTFS_MAGIC): Likewise.
8712 (BTRFS_TEST_MAGIC): Likewise.
8713 (CRAMFS_MAGIC_WEND): Likewise.
8714 (DEBUGFS_MAGIC): Likewise.
8715 (ECRYPTFS_SUPER_MAGIC): Likewise.
8716 (EXT3_SUPER_MAGIC): Likewise.
8717 (EXT4_SUPER_MAGIC): Likewise.
8718 (FUTEXFS_SUPER_MAGIC): Likewise.
8719 (HOSTFS_SUPER_MAGIC): Likewise.
8720 (HUGETLBFS_MAGIC): Likewise.
8721 (MINIX3_SUPER_MAGIC): Likewise.
8722 (MTD_INODE_FS_MAGIC): Likewise.
8723 (NILFS_SUPER_MAGIC): Likewise.
8724 (OPENPROM_SUPER_MAGIC): Likewise.
8725 (PIPEFS_MAGIC): Likewise.
8726 (PSTOREFS_MAGIC): Likewise.
8727 (QNX6_SUPER_MAGIC): Likewise.
8728 (RAMFS_MAGIC): Likewise.
8729 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8730 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8731 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8732 (SECURITYFS_MAGIC): Likewise.
8733 (SELINUX_MAGIC): Likewise.
8734 (SMACK_MAGIC): Likewise.
8735 (SOCKFS_MAGIC): Likewise.
8736 (SQUASHFS_MAGIC): Likewise.
8737 (STACK_END_MAGIC): Likewise.
8738 (TMPFS_MAGIC): Likewise.
8739 (USBDEVICE_SUPER_MAGIC): Likewise.
8740 (V9FS_MAGIC): Likewise.
8741 (XENFS_SUPER_MAGIC): Likewise.
8742 (CRAMFS_MAGIC): Fix typo in comment.
8743 (EXT2_SUPER_MAGIC): Update comment.
8744 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8746 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8748 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8749 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8750 * sysdeps/unix/sysv/linux/arm: Move directory from
8751 ports/sysdeps/unix/sysv/linux/arm.
8752 * README: Update listing for arm-*-linux-gnueabi.
8754 * README: Remove mention of am33.
8756 2014-02-07 Roland McGrath <roland@hack.frob.com>
8758 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8759 than the comma operator, to avoid "rhs of comma has no effect"
8761 (__sigfillset, __sigandset, __sigorset): Likewise.
8762 * include/signal.h (__sigemptyset): Likewise.
8763 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8765 2014-02-07 Allan McRae <allan@archlinux.org>
8767 * version.h (RELEASE): Set to "development".
8768 (VERSION): Set to "2.19.90"
8769 * NEWS: Add 2.20 section.
8771 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8774 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8776 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8778 * manual/contrib.texi: Update entry for Carlos O'Donell,
8779 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8781 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8783 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8785 * sysdeps/unix/sysv/linux/kernel-features.h
8786 [__LINUX_KERNEL_VERSION >= 0x020621]
8787 (__ASSUME_PROC_PID_TASK_COMM): Define.
8789 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8792 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8793 conversion when destination buffer does not have enough space.
8794 * libio/tst-ftell-partial-wide.c: New test case.
8795 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8797 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8798 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8799 Leonard and Allan McRae.
8801 2014-02-04 David S. Miller <davem@davemloft.net>
8803 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8806 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8835 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8837 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8838 * shlib-versions: Likewise.
8840 2014-02-04 Roland McGrath <roland@hack.frob.com>
8841 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8844 (abilist-pattern): New variable, set to %-le.abilist.
8846 * Makerules (abilist-pattern): New variable.
8847 (vpath): Use $(abilist-pattern) in place of %.abilist.
8848 (check-abi-% pattern rule): Likewise.
8849 (check-abi, update-abi): Likewise.
8851 2014-02-04 Eric Wong <normalperson@yhbt.net>
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8855 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8857 * manual/startup.texi: Add next, previous, and top entries for
8858 the `Program Arguments' and `Environment Variables' nodes.
8860 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8862 * manual/macros.texi: Add comments before MTASC-safety macros.
8864 * manual/users.texi: Document MTASC-safety properties.
8866 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8867 (pthread_getspecific, pthread_setspecific): Format with
8868 @deftypefun, and add @safety note.
8869 * manual/signal.texi: Move comments that analyze the above
8870 functions to their home place.
8872 2014-02-03 Allan McRae <allan@archlinux.org>
8874 * po/sl.po: Update Slovenian translation from translation project.
8876 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8878 * manual/time.texi (timegm): Add missing blank after @c.
8879 Reported by Joseph Myers <joseph@codesourcery.com>.
8881 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8883 * manual/check-safety.sh: New.
8884 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8886 * manual/terminal.texi: Document MTASC-safety properties.
8888 * manual/filesys.texi: Document MTASC-safety properties.
8890 * manual/errno.texi: Document MTASC-safety properties.
8892 * manual/intro.texi: Document safety identifiers and
8895 * manual/string.texi (wcstok): Fix prototype.
8896 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8898 * manual/time.texi: Document MTASC-safety properties.
8900 * manual/string.texi: Document MTASC-safety properties.
8902 * manual/threads.texi: Document MTASC-safety properties.
8904 * manual/stdio.texi: Document MTASC-safety properties.
8906 * manual/syslog.texi: Document MTASC-safety properties.
8908 * manual/sysinfo.texi: Document MTASC-safety properties.
8910 * manual/startup.texi: Document MTASC-safety properties.
8912 * manual/socket.texi: Document MTASC-safety properties.
8914 * manual/signal.texi: Document MTASC-safety properties.
8916 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8918 * manual/setjmp.texi: Document MTASC-safety properties.
8920 * manual/search.texi: Document MTASC-safety properties.
8922 * manual/resource.texi: Document MTASC-safety properties.
8924 * manual/process.texi: Document MTASC-safety properties.
8926 * manual/platform.texi: Document MTASC-safety properties.
8928 * manual/pipe.texi: Document MTASC-safety properties.
8930 * manual/pattern.texi: Document MTASC-safety properties.
8932 * manual/message.texi: Document MTASC-safety properties.
8935 * manual/memory.texi: Document MTASC-safety properties.
8937 * manual/math.texi: Document MTASC-safety properties.
8939 * manual/locale.texi: Document MTASC-safety properties.
8941 * manual/llio.texi: Document MTASC-safety properties.
8943 * manual/libdl.texi: New.
8945 * manual/lang.texi: Document MTASC-safety properties.
8947 * manual/job.texi: Document MTASC-safety properties.
8949 * manual/getopt.texi: Document MTASC-safety properties.
8951 * manual/ctype.texi: Document MTASC-safety properties.
8953 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8956 * csu/libc-tls.c (static_map): Remove variable.
8957 (__libc_setup_tls): Use main executable's link map for TLS data.
8958 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8959 casing for LM_ID_BASE and GL(dl_nns).
8960 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8961 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8962 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8963 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8964 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8966 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8969 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8971 * manual/debug.texi: Document MTASC-safety properties.
8973 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8976 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8977 of __x86_64__ when disabling x87 inline functions.
8979 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8981 * manual/charset.texi: Document MTASC-safety properties.
8983 * manual/crypt.texi: Document MTASC-safety properties.
8985 * manual/conf.texi: Document MTASC-safety properties.
8987 * manual/arith.texi: Document MTASC-safety properties.
8989 * manual/argp.texi: Document MTASC-safety properties.
8991 * manual/macros.texi: Introduce macros to document multi
8992 thread, asynchronous signal and asynchronous cancellation
8994 * manual/intro.texi: Introduce the properties themselves.
8996 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8998 * sysdeps/sh/sh4/Makefile: New file.
9000 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9002 * math/gen-libm-test.pl ($srcdir): New variable.
9003 ($auto_input): Use it.
9005 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9008 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9009 access beyond array bounds when parsing netgroups file.
9011 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9012 the old buffer before realloc.
9014 2014-01-27 Allan McRae <allan@archlinux.org>
9016 * po/fr.po: Update French translation from translation project.
9018 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9020 * sysdeps/sh/libm-test-ulps: Regenerate.
9022 2014-01-24 David S. Miller <davem@davemloft.net>
9024 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9026 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9029 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9031 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9034 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9035 string pointers after reallocation.
9037 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9039 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9040 __SH4A__ instead of __SH_FPU_ANY__.
9042 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9044 * sysdeps/sh/fpu_control.h: New file.
9045 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9046 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9047 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9048 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9049 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9050 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9051 * sysdeps/sh/sys/ucontext.h: Remove.
9052 * sysdeps/sh/sys: Remove directory.
9054 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9056 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9057 s390/sys/ucontext.h.
9058 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9059 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9061 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9064 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9066 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9069 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9070 Adjust the vDSO correctly for internal calls.
9071 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9073 2014-01-20 Allan McRae <allan@archlinux.org>
9075 * po/ca.po: Update Catalan translation from translation project.
9077 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9079 * sysdeps/s390/sotruss-lib.c: New file.
9081 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9084 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9085 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9086 local calls issues by not having a PLT stub required for IFUNC calls.
9087 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9089 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9091 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9092 * math/test-fpucw-static.c: Likewise.
9094 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9099 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9101 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9102 implementation for powerpc.
9104 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9107 * sysdeps/posix/system.c (__libc_system): Do not enable
9108 asynchronous cancellation.
9110 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9113 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9114 handling only for numbers special also in the IEEE case.
9116 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9118 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9120 2014-01-11 Allan McRae <allan@archlinux.org>
9122 * po/bg.po: Update Bulgarian translation from translation project.
9124 * po/de.po: Update German translation from translation project.
9126 2014-01-10 Roland McGrath <roland@hack.frob.com>
9128 * sysdeps/generic/gcc-compat.h: New file.
9130 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9132 * benchtests/asin-inputs: Correct slow inputs.
9133 * benchtests/acos-inputs: Likewise.
9135 2014-01-10 Allan McRae <allan@archlinux.org>
9137 * po:sv.po: Update Swedish translation from translation project.
9139 * po/vi.po: Update Vietnamese translation from translation project.
9141 * po/eo.po: Update Esperanto translation from translation project.
9143 * po/cs.po: Update Czech translation from translation project.
9145 * po/nl.po: Update Dutch translation from translation project.
9147 * po/pl.po: Update Polish translation from translation project.
9149 * po/ru.po: Update Russian translation from translation project.
9151 * po/uk.po: Update Ukrainian translation from translation project.
9153 2014-01-08 Brooks Moses <bmoses@google.com>
9155 * elf/dl-load.c: Fix comment typo.
9157 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9159 * po/header.pot: Rename to...
9160 * po/pot.header: ... this.
9161 * po/Makefile: Use pot.header.
9163 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9164 Maxim Kuvyrkov <maxim@kugelworks.com>
9167 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9168 SRC and DEST against LEN.
9170 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9175 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9177 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9181 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9185 for large positive arguments.
9187 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9189 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9191 * math/auto-libm-test-in: Mark various tests with
9192 xfail-rounding:ldbl-128ibm.
9193 * math/auto-libm-test-out: Regenerated.
9196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9197 Increase overflow threshold.
9199 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9202 * stdio-common/vfprintf.c: Check for integer overflow.
9204 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9206 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9207 the first argument and return value of __tls_get_addr_internal.
9209 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9211 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9212 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9214 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9216 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9217 * sysdeps/s390/rtld-global-offsets.sym: New file.
9218 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9220 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9221 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9222 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9224 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9225 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9231 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9232 halfs of GPRs for high_gprs contexts.
9233 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9234 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9236 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9238 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9240 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9241 for high GPRs (uc_high_gprs) and for future extensions
9243 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9244 for future extensions (__reserved).
9245 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9247 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9248 SC_HIGHGPRS offset definition.
9249 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9250 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9252 * Versions.def: Add GLIBC_2.19 for libpthread.
9253 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9254 siglongjmp for libpthread with GLIBC_2.19 symver.
9255 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9256 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9257 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9258 * sysdeps/s390/__longjmp.c: New file.
9259 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9260 * sysdeps/s390/longjmp.c: New file.
9261 * sysdeps/s390/setjmp.S: New file.
9262 * sysdeps/s390/sigjmp.S: New file.
9263 * sysdeps/s390/v1-longjmp.c: New file.
9264 * sysdeps/s390/v1-setjmp.h: New file.
9265 * sysdeps/s390/v1-sigjmp.c: New file.
9266 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9267 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9269 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9270 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9271 versioned symbols for ____longjmp_chk.
9272 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9282 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9283 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9284 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9285 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9286 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9287 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9288 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9289 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9290 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9291 * sysdeps/s390/rtld-__longjmp.c: New file.
9292 * sysdeps/s390/rtld-setjmp.S: New file.
9294 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9298 Return -__logl (x) for small positive arguments without evaluating
9301 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9303 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9305 (__ptrace_peeksiginfo_args): ... this.
9306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9310 2014-01-06 Allan McRae <allan@archlinux.org>
9312 * inet/netinet/in.h: Fix typo in comment.
9314 2014-01-05 Andreas Jaeger <aj@suse.de>
9316 * sysdeps/i386/fpu/libm-test-ulps: Update.
9318 2014-01-05 Allan McRae <allan@archlinux.org>
9320 * po/libc.pot: Regenerated.
9322 * malloc/memusagestat.c: Fix gettext call formatting.
9324 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9326 * nscd/nscd.c: Improve usage() output.
9328 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9330 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9331 * sysdeps/unix/sysv/linux/configure: Regenerated.
9332 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9333 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9335 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9338 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9339 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9341 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9343 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9344 extra tokens at end of #undef directive.
9345 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9346 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9347 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9349 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9353 * math/auto-libm-test-in: Mark various tests with
9354 xfail-rounding:ldbl-128ibm.
9355 * math/auto-libm-test-out: Regenerated.
9357 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9361 numbers with subnormal high part when calculating exponent.
9364 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9368 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9370 (__ieee754_acoshl): Use __log1pl not __log1p.
9372 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9374 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9375 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9376 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9377 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9378 (reused_arena, arena_get2): Convert to GNU style.
9379 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9380 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9381 (memalign_check, __malloc_set_state): Likewise.
9382 * malloc/mallocbug.c (main): Likewise.
9383 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9384 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9385 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9386 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9387 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9388 (__posix_memalign, malloc_info): Likewise.
9389 * malloc/malloc.h: Likewise.
9390 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9391 (mallochook, memalignhook, reallochook, mabort): Likewise.
9392 * malloc/mcheck.h: Likewise.
9393 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9394 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9395 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9396 * malloc/morecore.c (__default_morecore): Likewise.
9397 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9398 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9399 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9400 (print_and_abort): Likewise.
9401 * malloc/obstack.h: Likewise.
9402 * malloc/set-freeres.c (__libc_freeres): Likewise.
9403 * malloc/tst-mallocstate.c (main): Likewise.
9404 * malloc/tst-mtrace.c (main): Likewise.
9405 * malloc/tst-realloc.c (do_test): Likewise.
9407 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9410 * nscd/netgroupcache.c (do_notfound): New function.
9411 (addgetnetgrentX): Use it.
9414 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9415 NSS_STATUS_NOTFOUND.
9417 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9419 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9422 2014-01-01 Allan McRae <allan@archlinux.org>
9424 * scripts/update-copyrights: Update configure input file suffix.
9426 * NEWS: Update copyright year.
9427 * catgets/gencat.c: Likewise.
9428 * csu/version.c: Likewise.
9429 * debug/catchsegv.sh: Likewise.
9430 * debug/pcprofiledump.c: Likewise.
9431 * debug/xtrace.sh: Likewise.
9432 * elf/ldconfig.c: Likewise.
9433 * elf/ldd.bash.in: Likewise.
9434 * elf/pldd.c: Likewise.
9435 * elf/sotruss.ksh: Likewise.
9436 * elf/sprof.c: Likewise.
9437 * iconv/iconv_prog.c: Likewise.
9438 * iconv/iconvconfig.c: Likewise.
9439 * locale/programs/locale.c: Likewise.
9440 * locale/programs/localedef.c: Likewise.
9441 * login/programs/pt_chown.c: Likewise.
9442 * malloc/memusage.sh: Likewise.
9443 * malloc/memusagestat.c: Likewise.
9444 * malloc/mtrace.pl: Likewise.
9445 * manual/libc.texinfo: Likewise.
9446 * nscd/nscd.c: Likewise.
9447 * nss/getent.c: Likewise.
9448 * nss/makedb.c: Likewise.
9449 * posix/getconf.c: Likewise.
9450 * scripts/test-installation.pl: Likewise.
9452 * All files with FSF copyright notices: Update copyright dates
9453 using scripts/update-copyrights.
9454 * intl/plural.c: Regenerated.
9455 * locale/programs/charmap-kw.h: Likewise.
9456 * locale/programs/locfile-kw.h: Likewise.
9458 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9460 * sysdeps/unix/sysv/linux/configure: Regenerated.
9461 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9462 the linux/fanotify.h header.
9463 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9464 HAVE_LINUX_FANOTIFY_H is defined.
9466 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9468 * benchtests/cos-inputs: New inputs.
9469 * benchtests/sin-inputs: Likewise.
9471 * benchtests/atan-inputs: New inputs. Fix name of multiple
9472 precision fallback inputs.
9474 * benchtests/atanh-inputs: New inputs.
9475 * benchtests/tanh-inputs: Likewise.
9477 * benchtests/acosh-inputs: New inputs.
9478 * benchtests/asinh-inputs: Likewise.
9480 * benchtests/cosh-inputs: New inputs.
9481 * benchtests/sinh-inputs: Likewise.
9483 * benchtests/acos-inputs: Add more inputs.
9484 * benchtests/asin-inputs: Likewise.
9486 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9489 * manual/arith.texi: Fix spelling.
9490 * manual/charset.texi: Likewise.
9491 * manual/errno.texi: Likewise.
9492 * manual/filesys.texi: Likewise.
9493 * manual/lang.texi: Likewise.
9494 * manual/llio.texi: Likewise.
9495 * manual/locale.texi: Likewise.
9496 * manual/message.texi: Likewise.
9497 * manual/resource.texi: Likewise.
9498 * manual/search.texi: Likewise.
9499 * manual/setjmp.texi: Likewise.
9500 * manual/stdio.texi: Likewise.
9501 * manual/string.texi: Likewise.
9502 * manual/sysinfo.texi: Likewise.
9503 * manual/time.texi: Likewise.
9505 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9507 * po/sl.po: New file.
9509 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9511 * .gitignore: Add core/.gdbinit/.gdb_history.
9513 2013-12-27 Allan McRae <allan@archlinux.org>
9516 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9517 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9519 2013-12-24 Brooks Moses <bmoses@google.com>
9521 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9522 all compilers that claim C++98 compliance, not just GCC.
9523 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9526 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9528 * NEWS: Restore accidentally deleted bug-fix entries.
9530 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9531 Ondřej Bílka <neleai@seznam.cz>
9534 * malloc/malloc.c (_int_free): Perform sanity check only if we
9537 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9540 * manual/stdio.texi (String Input Conversions): Clarify that character
9541 classes are not supported.
9543 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9547 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9550 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9551 Calculate results for small negative arguments directly rather
9552 than using reflection formula with special underflow handling.
9554 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9555 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9556 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9557 (fchflags): Likewise.
9559 (setlogin): Likewise.
9560 (sigaltstack): Likewise.
9563 (sigsetmask): Likewise.
9565 (waitpid): Likewise.
9566 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9567 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9569 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9570 * sysdeps/unix/bsd/Makefile: ... here.
9571 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9572 * sysdeps/unix/bsd/Versions: ... here.
9573 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9574 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9575 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9576 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9577 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9578 * sysdeps/unix/bsd/sigblock.c: ... here.
9579 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9580 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9581 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9582 * sysdeps/unix/bsd/sigvec.c: ... here.
9583 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9584 * sysdeps/unix/bsd/tcdrain.c: ... here.
9585 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9586 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9587 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9588 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9589 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9590 * sysdeps/unix/bsd/wait.c: ... here.
9591 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9592 * sysdeps/unix/bsd/wait3.c: ... here.
9593 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9594 * sysdeps/unix/bsd/waitpid.c: ... here.
9596 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9599 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9600 round-to-nearest for [!USE_AS_EXPM1L].
9601 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9602 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9603 more tests of exp and exp10. Expect some exp10 tests to miss
9604 exceptions or fail in directed rounding modes.
9605 * math/auto-libm-test-out: Regenerated.
9606 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9607 (exp10_test_tonearest): New function.
9608 (exp10_towardzero_test_data): New array.
9609 (exp10_test_towardzero): New function.
9610 (exp10_downward_test_data): New array.
9611 (exp10_test_downward): New function.
9612 (exp10_upward_test_data): New array.
9613 (exp10_test_upward): New function.
9614 (main): Call the new functions.
9615 * sysdeps/i386/fpu/libm-test-ulps: Update.
9616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9618 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9620 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9621 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9622 * math/auto-libm-test-out: Regenerated.
9623 * math/libm-test.inc (acosh_test_data): Add more tests.
9624 (atanh_test_data): Likewise.
9625 (ceil_test_data): Likewise.
9626 (copysign_test_data): Likewise.
9627 * sysdeps/i386/fpu/libm-test-ulps: Update.
9628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630 * timezone/checktab.awk: Update from tzcode 2013i.
9631 * timezone/private.h: Likewise.
9632 * timezone/scheck.c: Likewise.
9633 * timezone/tzfile.h: Likewise.
9634 * timezone/tzselect.ksh: Likewise.
9635 * timezone/zdump.c: Likewise.
9636 * timezone/zic.c: Likewise.
9638 * math/auto-libm-test-in: Add tests of cpow.
9639 * math/auto-libm-test-out: Regenerated.
9640 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9641 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9643 (func_calc_desc): Add mpc_cc_c union field.
9644 (test_functions): Add cpow.
9645 (special_fill_2pi): New function.
9646 (special_real_inputs): Add 2pi.
9647 (calc_generic_results): Handle mpc_cc_c.
9648 * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9651 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9652 csqrt, ctan and ctanh.
9653 * math/auto-libm-test-out: Regenerated.
9654 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9655 (TEST_COND_x86): Likewise.
9656 (ccos_test_data): Use AUTO_TESTS_c_c.
9657 (ccosh_test_data): Likewise.
9658 (cexp_test_data): Likewise.
9659 (clog_test_data): Likewise.
9660 (csqrt_test_data): Likewise.
9661 (ctan_test_data): Likewise.
9662 (ctan_tonearest_test_data): Likewise.
9663 (ctan_towardzero_test_data): Likewise.
9664 (ctan_downward_test_data): Likewise.
9665 (ctan_upward_test_data): Likewise.
9666 (ctanh_test_data): Likewise.
9667 (ctanh_tonearest_test_data): Likewise.
9668 (ctanh_towardzero_test_data): Likewise.
9669 (ctanh_downward_test_data): Likewise.
9670 (ctanh_upward_test_data): Likewise.
9671 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9673 (func_calc_desc): Add mpc_c_c union field.
9674 (FUNC_mpc_c_c): New macro.
9675 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9676 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9678 (special_fill_min_subnorm_p120): New function.
9679 (special_real_inputs): Add min_subnorm_p120.
9680 (calc_generic_results): Handle mpc_c_c.
9681 * sysdeps/i386/fpu/libm-test-ulps: Update.
9682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9684 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9686 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9687 (do_sin_slow): New functions.
9688 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9689 (cslow2, csloww1, csloww2): Use the new functions.
9691 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9692 Use M to change sign of result instead of X. Assume X is
9694 (csloww1): Likewise.
9698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9705 (sloww1): Don't adjust sign of DX.
9706 (csloww1): Likewise.
9707 (sloww2): Use X directly and don't adjust sign of DX.
9708 (csloww2): Likewise.
9710 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9712 * math/auto-libm-test-in: Add tests of cabs and carg.
9713 * math/auto-libm-test-out: Regenerated.
9714 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9715 (carg_test_data): Likewise.
9716 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9718 (func_calc_desc): Add mpc_c_f union field.
9719 (test_functions): Add cabs and carg.
9720 (calc_generic_results): Handle mpc_c_f.
9722 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9723 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9724 as a macro and a compat symbol.
9725 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9726 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9727 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9728 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9729 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9730 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9732 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9734 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9736 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9738 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9740 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9742 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9743 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9746 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9750 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9752 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9753 trailing whitespace removed.
9754 * scripts/config.guess: Update to version 2013-11-29.
9755 * scripts/config.sub: Update to version 2013-10-01.
9757 * math/auto-libm-test-in: Add tests of sincos.
9758 * math/auto-libm-test-out: Regenerated.
9759 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9762 (func_calc_desc): Add mpfr_f_11 union field.
9763 (test_functions): Add sincos.
9764 (calc_generic_results): Handle mpfr_f_11.
9765 * sysdeps/i386/fpu/libm-test-ulps: Update.
9766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768 2013-12-19 Andreas Schwab <schwab@suse.de>
9770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9772 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9774 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9776 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9778 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9779 * sysdeps/i386/fpu/libm-test-ulps: Update.
9780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9783 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9784 round-to-nearest mode when using frndint.
9785 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9786 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9787 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9789 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9791 * math/auto-libm-test-out: Regenerated.
9792 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9793 (TEST_COND_x86): Likewise.
9794 (expm1_tonearest_test_data): New array.
9795 (expm1_test_tonearest): New function.
9796 (expm1_towardzero_test_data): New array.
9797 (expm1_test_towardzero): New function.
9798 (expm1_downward_test_data): New array.
9799 (expm1_test_downward): New function.
9800 (expm1_upward_test_data): New array.
9801 (expm1_test_upward): New function.
9802 (main): Run the new test functions.
9803 * sysdeps/i386/fpu/libm-test-ulps: Update.
9804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806 * include/features.h: Update comment documenting feature test
9807 macros. Mention _DEFAULT_SOURCE in comment.
9808 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9809 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9810 _BSD_SOURCE and _SVID_SOURCE.
9811 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9812 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9813 !_SVID_SOURCE]: Likewise.
9814 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9815 (__USE_POSIX_IMPLICITLY): Define.
9816 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9817 (_POSIX_SOURCE): Undefine and redefine.
9818 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9819 (_POSIX_C_SOURCE): Likewise.
9820 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9821 (Feature Test Macros): Update documentation of default features.
9823 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9825 * benchtests/Makefile: Add bench-strtok.
9826 * benchtests/bench-strtok.c: New file: strtok benchtest.
9828 2013-12-19 Allan McRae <allan@archlinux.org>
9830 * manual/install.texi: Suppress menu for plain text output.
9831 * INSTALL: Regenerated.
9833 2013-12-18 Brooks Moses <bmoses@google.com>
9836 * misc/getauxval.c: Include errno.h.
9837 (__getauxval): Set errno to ENOENT if the requested type is not
9839 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9840 don't declare with __attribute_const__.
9841 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9842 * manual/startup.texi: Document that getauxval sets errno.
9844 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9846 * math/auto-libm-test-in: Add tests of jn and yn.
9847 * math/auto-libm-test-out: Regenerated.
9848 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9849 (yn_test_data): Likewise.
9850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9852 (func_calc_desc): Add mpfr_if_f union field.
9853 (FUNC_mpfr_if_f): New macro.
9854 (test_functions): Add jn and yn.
9855 (calc_generic_results): Assert type of second input for
9856 mpfr_ff_f. Handle mpfr_if_f.
9857 (output_for_one_input_case): Disable all checking for arguments
9858 fitting floating-point types in case of an integer argument.
9859 * sysdeps/i386/fpu/libm-test-ulps: Update.
9860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9863 Don't expect fegetround reference in libm.so.
9865 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9867 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9868 $(config-cflags-nofma).
9870 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9872 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9873 * math/auto-libm-test-out: Regenerated.
9876 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9877 to determine exponent and adjust argument to have exponent of -1.
9878 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9880 * math/auto-libm-test-out: Regenerated.
9881 * sysdeps/i386/fpu/libm-test-ulps: Update.
9882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9884 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9886 * manual/probes.texi: Remove cases when per-thread arenas are
9889 2013-12-18 Andreas Schwab <schwab@suse.de>
9891 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9892 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9893 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9894 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9895 * sysdeps/i386/i686/multiarch/Makefile: Update.
9896 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9898 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9900 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9901 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9903 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9906 Support TZ transition times < 00:00:00.
9907 This is needed for version-3 tz-format files; it supports time
9908 stamps past 2037 for America/Godthab (the only entry in the tz
9909 database for which this change is relevant).
9910 * manual/time.texi (TZ Variable): Document transition times
9911 from -167:59:59 through -00:00:01.
9912 * time/tzset.c (tz_rule): Time of day is now signed.
9913 (__tzset_parse_tz): Parse negative time of day.
9915 Document TZ transition times >= 25:00:00.
9916 * manual/time.texi (TZ Variable): Document transition times from
9917 25:00:00 through 167:59:59. These are already supported, and this
9918 support will help with version-3 tz-format files.
9920 * manual/time.texi (TZ Variable): Modernize North America example
9921 to reflect current (i.e., 2007-and-later) daylight saving rules.
9923 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9925 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9927 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9928 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9930 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9931 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9932 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9933 * sysdeps/unix/bsd/clock.c: Likewise.
9934 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9935 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9936 * sysdeps/unix/bsd/init-posix.c: Likewise.
9937 * sysdeps/unix/bsd/poll.c: Likewise.
9938 * sysdeps/unix/bsd/ptsname.c: Likewise.
9939 * sysdeps/unix/bsd/seekdir.c: Likewise.
9940 * sysdeps/unix/bsd/setegid.c: Likewise.
9941 * sysdeps/unix/bsd/seteuid.c: Likewise.
9942 * sysdeps/unix/bsd/setgid.c: Likewise.
9943 * sysdeps/unix/bsd/setrgid.c: Likewise.
9944 * sysdeps/unix/bsd/setruid.c: Likewise.
9945 * sysdeps/unix/bsd/setsid.c: Likewise.
9946 * sysdeps/unix/bsd/setuid.c: Likewise.
9947 * sysdeps/unix/bsd/sigaction.c: Likewise.
9948 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9949 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9950 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9951 * sysdeps/unix/bsd/telldir.c: Likewise.
9952 * sysdeps/unix/bsd/times.c: Likewise.
9953 * sysdeps/unix/bsd/usleep.c: Likewise.
9955 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9956 ($(objpfx)libbsd-compat.a): Remove rule.
9958 * include/features.h (__FAVOR_BSD): Do not define.
9959 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9960 features conflicting with POSIX.
9961 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9962 (_BSD_SOURCE): Remove description of not being a subset of other
9963 feature test macros.
9964 * manual/job.texi (getpgrp): Do not document BSD version.
9965 (getpgid): Do not document by reference to BSD getpgrp.
9966 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9967 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9968 * signal/signal.h [__FAVOR_BSD]: Likewise.
9969 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9970 instead of making contents conditional on [__FAVOR_BSD].
9971 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9973 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9977 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9980 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9981 values below 2**-450, not 2**-500.
9982 * math/auto-libm-test-in: Don't allow spurious underflow from
9984 * math/auto-libm-test-out: Regenerated.
9988 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9989 values of ha and hb and sort them after adjusting subnormal
9991 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9993 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9994 values of ea and eb and sort them after adjusting subnormal
9996 * math/auto-libm-test-in: Do not expect some hypot tests of
9997 subnormals to fail. Add more hypot tests.
9998 * math/auto-libm-test-out: Regenerated.
10000 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10003 * sysdeps/sh/s_fma.c: New file.
10004 * sysdeps/sh/s_fmaf.c: New file.
10005 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10007 * sysdeps/sh/Implies: Add sh/soft-fp.
10009 2013-12-16 Roland McGrath <roland@hack.frob.com>
10011 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10012 level of indirection to members `objname', `errstring', `malloced'.
10013 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10014 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10015 it as the __longjmp argument (just pass 1 instead).
10016 (_dl_catch_error): Initialize C with argument pointers and address of
10017 volatile local ERRCODE rather than copying values out of C at return.
10019 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10021 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10022 * math/auto-libm-test-out: Regenerated.
10023 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10024 (hypot_test_data): Likewise.
10025 (pow_test_data): Likewise.
10026 (pow_tonearest_test_data): Likewise.
10027 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10029 (func_calc_desc): Add mpfr_ff_f union field.
10030 (FUNC_mpfr_ff_f): New macro.
10031 (test_functions): Add atan2, hypot and pow.
10032 (special_fill_min): New function.
10033 (special_fill_minus_min): Likewise.
10034 (special_fill_min_subnorm): Likewise.
10035 (special_fill_minus_min_subnorm): Likewise.
10036 (special_real_inputs): Add min, -min, min_subnorm and
10038 (calc_generic_results): Handle mpfr_ff_f.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10042 2013-12-16 Will Newton <will.newton@linaro.org>
10044 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10045 (Aligned Memory Blocks): Add documentation for aligned_alloc
10046 and suggest it as an alternative to posix_memalign.
10047 (Hooks for Malloc): Document __memalign_hook is also called
10048 for aligned_alloc. (Summary of Malloc): Add summary for
10049 aligned alloc. Document __memalign_hook is also called
10052 2013-12-16 Will Newton <will.newton@linaro.org>
10054 * manual/memory.texi (Malloc Examples): Clarify default
10055 alignment documentation. Suggest posix_memalign rather
10056 than memalign or valloc.
10057 (Aligned Memory Blocks): Remove suggestion to use memalign
10058 or valloc. Remove obsolete comment about BSD.
10059 Document memalign errno values and mark the function obsolete.
10060 Document posix_memalign returned error codes. Mark valloc
10061 as obsolete. (Hooks for Malloc): __memalign_hook is also
10062 called for posix_memalign and valloc.
10063 (Summary of Malloc): Add posix_memalign to function summary.
10064 __memalign_hook is also called for posix_memalign and valloc.
10066 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10068 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10072 (sloww): Use mynumber union. Expand ternary operator into
10073 if-else statements.
10074 (cslow): use mynumber union.
10076 2013-12-16 Allan McRae <allan@archlinux.org>
10078 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10079 * configure: Regenerated.
10081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10084 * configure.ac: Added --enable-maintainer-mode. Check for
10085 autoconf when enabled.
10086 * configure: Regenerated.
10088 * nscd/nscd.service: New file.
10089 * nscd/nscd.tmpfiles: New file.
10091 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10094 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10095 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10096 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10097 (strstr): Add __strstr_sse2_unaligned ifunc.
10098 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10099 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10100 (strcasestr): Remove __strcasestr_sse42 ifunc.
10101 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10105 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10107 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10108 * sysdeps/sh/bits/fenv.h: ... here.
10109 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10111 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10116 hypotf multiarch implementations.
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10120 multiarch hypot for PPC64.
10121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10123 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10124 multiarch hypotf for PPC64.
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10127 modff multiarch implementations.
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10131 multiarch modf for PPC64.
10132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10135 multiarch modff for PPC64.
10137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10138 and logl multiarch implementations.
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10142 multiarch logb for PPC64.
10143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10146 multiarch logb for PPC64.
10147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10150 multiarch logb for PPC64.
10152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10153 isinff multiarch implementation.
10154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10158 multiarch isinf for PPC64.
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10162 multiarch isinff for PPC64.
10164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10165 finitef multiarch implementation.
10166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10170 multiarch finite for PPC64.
10171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10174 multiarch finitef for PPC64.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10177 lrint multiarch implementation.
10178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10182 multiarch llrint for PPC64.
10183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10184 multiarch lrint for PPC64.
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10187 copysignf multiarch implementation.
10188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10193 multiarch copysign for PPC64.
10194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10195 multiarch copysignf for PPC64.
10197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10198 multiarch implementation.
10199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10207 multiarch llround for PPC64.
10208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10209 multiarch trunc for PPC64.
10210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10211 multiarch truncf for PPC64.
10213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10214 multiarch implementation.
10215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10223 multiarch llround for PPC64.
10224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10225 multiarch round for PPC64.
10226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10227 multiarch roundf for PPC64.
10229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10230 multiarch implementation.
10231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10239 multiarch llround for PPC64.
10240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10241 multiarch floor for PPC64.
10242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10243 multiarch floorf for PPC64.
10245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10246 multiarch implementation.
10247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10255 multiarch llround for PPC64.
10256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10257 multiarch ceil for PPC64.
10258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10259 multiarch ceilf for PPC64.
10261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10262 multiarch implementation.
10263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10270 multiarch llround for PPC64.
10271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10272 multiarch lround for PPC64.
10274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10275 multiarch implementation.
10276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10283 multiarch isnan for PPC64.
10284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10285 multiarch isnanf for PPC64.
10287 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10288 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10289 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10290 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10291 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10294 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10295 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10300 multiarch implementations.
10301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10302 (__libc_ifunc_impl_list): Likewise.
10303 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10304 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10305 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10306 multiarch stpcpy for PPC64.
10308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10309 multiarch implementations.
10310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10311 (__libc_ifunc_impl_list): Likewise.
10312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10314 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10315 multiarch strcpy for PPC64.
10317 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10318 redefine function name.
10319 (_wordcopy_fwd_dest_aligned): Likewise.
10320 (_wordcopy_bwd_aligned): Likewise.
10321 (_wordcopy_bwd_dest_aligned): Likewise.
10322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10323 multiarch implementations.
10324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10325 (__libc_ifunc_impl_list): Likewise.
10326 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10327 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10328 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10329 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10330 multiarch wcscpy for PPC64.
10332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10333 multiarch implementations.
10334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10335 (__libc_ifunc_impl_list): Likewise.
10336 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10337 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10339 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10340 multiarch wcscpy for PPC64.
10342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10343 multiarch implementations.
10344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10345 (__libc_ifunc_impl_list): Likewise.
10346 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10347 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10348 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10349 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10350 multiarch wcsrchr for PPC64.
10352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10353 multiarch implementations.
10354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10355 (__libc_ifunc_impl_list): Likewise.
10356 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10357 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10358 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10359 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10360 multiarch wcschr for PPC64.
10362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10363 multiarch implementations.
10364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10365 (__libc_ifunc_impl_list): Likewise.
10366 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10367 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10368 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10369 multiarch strchrnul for PPC64.
10371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10374 (__libc_ifunc_impl_list): Likewise.
10375 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10376 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10377 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10378 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10384 (__libc_ifunc_impl_list): Likewise.
10385 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10387 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10388 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10392 multiarch implementations.
10393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10394 (__libc_ifunc_impl_list): Likewise.
10395 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10396 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10397 strncasecmp for PPC64.
10398 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10399 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10400 multiarch strncasecmp_l for PPC64.
10402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10403 multiarch implementations.
10404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10405 (__libc_ifunc_impl_list): Likewise.
10406 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10408 multiarch strcasecmp for PPC64.
10409 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10411 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10412 multiarch strcasecmp_l for PPC64.
10414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10417 (__libc_ifunc_impl_list): Likewise.
10418 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10419 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10420 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10426 (__libc_ifunc_impl_list): Likewise.
10427 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10428 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10429 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10435 (__libc_ifunc_impl_list): Likewise.
10436 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10437 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10438 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10439 rawmemrchr for PPC64.
10441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10444 (__libc_ifunc_impl_list): Likewise.
10445 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10446 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10447 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10453 (__libc_ifunc_impl_list): Likewise.
10454 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10455 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10456 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10462 (__libc_ifunc_impl_list): Likewise.
10463 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10464 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10465 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10468 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10469 avoid cretion of __bzero symbol.
10470 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10472 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10474 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10477 multiarch implementations.
10478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10479 (__libc_ifunc_impl_list): Likewise.
10480 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10481 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10482 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10483 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10485 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10486 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10487 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10488 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10489 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10491 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10493 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10497 (__libc_ifunc_impl_list): Likewise.
10498 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10499 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10500 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10501 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10505 multiarch for POWER/PPC64.
10506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10507 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10510 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10511 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10512 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10513 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10514 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10517 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10518 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10519 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10520 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10521 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10522 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10523 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10524 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10525 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10526 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10527 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10528 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10529 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10530 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10531 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10540 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10542 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10544 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10546 * benchtests/Makefile (bench): Add exp2 and log2.
10547 (LDLIBS-bench-exp2): Add -lm.
10548 (LDLIBS-bench-log2): Likewise.
10549 * benchtests/exp2-inputs: New inputs file.
10550 * benchtests/log2-inputs: New inputs file.
10551 * benchtests/log-inputs: Add new inputs.
10552 * benchtests/tan-inputs: Likewise.
10554 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10556 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10558 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10559 (csloww2): ... from here.
10561 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10562 instead of structures.
10563 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10564 (POLYNOMIAL): Likewise.
10565 (TAYLOR_SLOW): Likewise.
10571 (sloww1); Likewise.
10572 (sloww2): Likewise.
10573 (bsloww1): Likewise.
10574 (bsloww2): Likewise.
10575 (cslow2): Likewise.
10576 (csloww): Likewise.
10577 (csloww1): Likewise.
10578 (csloww2): Likewise.
10580 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10582 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10583 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10584 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10585 * malloc/hooks.c (realloc_check): Likewise.
10587 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10588 * malloc/arena.c: Remove PER_THREAD conditional.
10589 [!PER_THREAD]: Remove code.
10590 (ptmalloc_unlock_all2): Likewise.
10591 (ptmalloc_init): Likewise.
10592 (_int_new_arena): Likewise.
10593 (arena_get2): Likewise.
10594 * malloc/hooks.c (__malloc_get_state): Likewise.
10595 (__malloc_set_state): Likewise.
10596 * malloc/malloc.c: Likewise.
10597 (struct malloc_state): Likewise.
10598 (struct malloc_par): Likewise.
10599 (__libc_realloc): Likewise.
10600 (__libc_mallopt): Likewise.
10602 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10604 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10606 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10608 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10609 macro to a function. Check for zero perturb_byte.
10610 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10612 * malloc/malloc.c: (force_reg): Remove.
10613 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10614 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10615 force_reg by atomic_forced_read.
10616 * malloc/arena.c (ptmalloc_init): Likewise.
10617 * malloc/hooks.c (top_check): Likewise.
10619 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10623 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10627 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10629 * math/auto-libm-test-in: Add tests of lgamma.
10630 * math/auto-libm-test-out: Regenerated.
10631 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10632 (M_LOG_2_SQRT_PIl): Likewise.
10633 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10634 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10636 (func_calc_desc): Add mpfr_f_f1 union field.
10637 (ARGS1): New macro.
10645 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10646 (test_functions): Add lgamma.
10647 (calc_generic_results): Handle mpfr_f_f1.
10648 * sysdeps/i386/fpu/libm-test-ulps: Update.
10649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10651 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10653 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10654 __mpn_add_n for PowerPC64/POWER7.
10655 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10656 __mpn_sub_n for PowerPC64/POWER7.
10658 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10659 __mpn_addmul_1 for PowerPC64.
10660 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10661 __mpn_submul_1 for PowerPC64.
10662 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10664 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10667 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10670 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10672 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10674 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10676 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10677 add multiarch folders.
10678 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10679 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10680 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10681 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10682 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10683 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10684 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10685 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10686 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10687 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10688 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10697 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10703 multiarch __ieee754_hypot for PowerPC32.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10709 multiarch __ieee754_hypotf for PowerPC32.
10711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10712 long_double_symbol only if __logbl is defined.
10713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10714 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10715 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10716 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10718 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10719 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10720 path for implementation.
10721 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10722 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10724 logb, and logbl multiarch implementations for PowerPC32.
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10730 multiarch logb for PowerPC32.
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10736 multiarch logbf for PowerPC32.
10737 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10741 multiarch logbl implementation for PowerPC32.
10743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10744 and modff multiarch implementations.
10745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10750 multiarch modf for PowerPC32.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10756 multiarch modff for PowerPC32.
10758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10759 and lrintf multiarch implementations.
10760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10765 multiarch lrint for PowerPC32.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10767 file: multiarch lrintf for PowerPC32.
10769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10770 and lroundf multiarch implementations.
10771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10778 multiarch lround for PowerPC32.
10779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10780 file: multiarch lroundf for PowerPC32.
10782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10783 copysign and copysignf multiarch implementations.
10784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10789 file: multiarch copysign for PowerPC32.
10790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10791 file: multiarch copysignf for PowerPC32.
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10794 and truncf multiarch implementations.
10795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10800 multiarch trunc for PowerPC32.
10801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10806 multiarch truncf for PowerPC32.
10808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10809 and roundf multiarch implementations.
10810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10815 multiarch round for PowerPC32.
10816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10821 multiarch roundf for PowerPC32.
10823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10824 and floorf multiarch implementations.
10825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10830 multiarch floor for PowerPC32.
10831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10836 multiarch floorf for PowerPC32.
10838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10839 and ceilf multiarch implementations.
10840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10845 multiarch ceil for PowerPC32.
10846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10851 multiarch ceilf for PowerPC32.
10853 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10855 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10856 FINITEF is defined.
10857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10858 and finitef multiarch implementations.
10859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10864 multiarch finite for PowerPC32.
10865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10868 file: multiarch finitef for PowerPC32.
10870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10871 and isinff multiarch implementations.
10872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10877 multiarch isinf for PowerPC32.
10878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10881 multiarch isinff for PowerPC32.
10883 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10884 alias when __isnan is defined.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10886 and isnanf multiarch implementations.
10887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10896 multiarch isnan for PowerPC32.
10897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10902 multiarch isnanf for PowerPC32.
10904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10905 and sqrtf multiarch implementations.
10906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10911 multiarch sqrt for PowerPC32.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10917 multiarch sqrtf for PowerPC32.
10919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10920 and llroundf multiarch implementations.
10921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10928 file: multiarch llround for PowerPC32.
10929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10930 file: multiarch llroundf for PowerPC32.
10932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10933 multiarch PowerPC32 fpu implementations.
10934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10939 multiarch llrint for PowerPC32.
10940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10949 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10956 multiarch wordcopy for PPC32.
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10960 (__libc_ifunc_impl_list): Likewise.
10961 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10962 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10964 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10965 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10966 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10968 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10976 multiarch wcscpy for PPC32.
10977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10980 (__libc_ifunc_impl_list): Likewise.
10981 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10982 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10983 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10984 sysdeps/powerpc/power6/wcscpy.c.
10986 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10994 multiarch wcsrchr for PPC32.
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10998 (__libc_ifunc_impl_list): Likewise.
10999 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11000 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11001 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11002 sysdeps/powerpc/power6/wcsrchr.c.
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11010 multiarch wcschr for PPc32.
11011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11014 (__libc_ifunc_impl_list): Likewise.
11015 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11016 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11017 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11018 sysdeps/powerpc/power6/wcschr.c.
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11021 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11024 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11025 file: multiarch strchr for PPC32.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11029 (__libc_ifunc_impl_list): Likewise.
11031 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11033 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11037 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11038 multiarch strchrnul for PPC32.
11039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11042 (__libc_ifunc_impl_list): Likewise.
11044 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11047 multiarch strncasecmp for PPC32.
11048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11051 multiarch strncasecmp_l for PPC32.
11052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11053 strncasecmp multiarch objects.
11054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11055 (__libc_ifunc_impl_list): Likewise.
11057 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11059 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11060 multiarch strncasecmp for PPC32.
11061 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11063 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11064 multiarch strcasecmp_l for PPC32.
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11068 (__libc_ifunc_impl_list): Likewise.
11070 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11072 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11074 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11075 multiarch strncmp for PPC32.
11076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11079 (__libc_ifunc_impl_list): Likewise.
11081 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11082 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11085 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11089 (__libc_ifunc_impl_list): Likewise.
11091 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11093 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11095 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11099 (__libc_ifunc_impl_list): Likewise.
11101 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11103 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11105 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11106 multiarch rawmemchr for PPC32.
11107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11110 (__libc_ifunc_impl_list): Likewise.
11112 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11114 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11116 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11117 file: memrchr multiarch for PPC32.
11118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11121 (__libc_ifunc_impl_list): Likewise.
11123 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11124 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11126 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11127 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11128 multiarch memchr for PPC32.
11129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11132 (__libc_ifunc_impl_list): Likewise.
11134 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11135 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11137 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11139 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11140 file: multiarch mempcpy for PPC32.
11141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11144 (__libc_ifunc_impl_list): Likewise.
11146 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11147 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11149 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11150 multiarch bzero for PPC32.
11151 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11153 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11155 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11156 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11157 file: multiarch memset for PPC32.
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11160 memset multiarch objects.
11161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11162 (__libc_ifunc_impl_list): Likewise.
11164 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11169 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11173 (__libc_ifunc_impl_list): Likewise.
11175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11177 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11179 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11184 multiarch memcpy for PPC32.
11185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11188 (__libc_ifunc_impl_list): Likewise.
11190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11191 support multiarch for POWER/PPC32.
11192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11194 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11196 Implies file to make multiarch folder appers before the fpu and
11197 default folder for power4 configuration.
11199 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11201 * scripts/bench.pl: Append volatile keyword to type.
11203 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11205 * sysdeps/sh/sotruss-lib.c: New file.
11206 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11208 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11212 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11215 * math/w_tgamma.c: Include <errno.h>.
11216 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11217 * math/w_tgammaf.c: Include <errno.h>.
11218 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11219 * math/w_tgammal.c: Include <errno.h>.
11220 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11221 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11222 underflow. Add more tgamma tests.
11223 * math/auto-libm-test-out: Regenerated.
11224 * sysdeps/i386/fpu/libm-test-ulps: Update.
11225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11227 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11228 sin, sinh, tan, tanh, tgamma, y0 and y1.
11229 * math/auto-libm-test-out: Regenerated.
11230 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11231 (TEST_COND_x86): Likewise.
11232 (M_E2l): Remove macro.
11234 (M_2_SQRT_PIl): Likewise.
11235 (M_SQRT_PIl): Likewise.
11236 (M_1_DIV_El): Likewise.
11237 (log_test_data): Use AUTO_TESTS_f_f.
11238 (log10_test_data): Likewise.
11239 (log1p_test_data): Likewise.
11240 (log2_test_data): Likewise.
11241 (sin_test_data): Likewise.
11242 (sin_tonearest_test_data): Likewise.
11243 (sin_towardzero_test_data): Likewise.
11244 (sin_downward_test_data): Likewise.
11245 (sin_upward_test_data): Likewise.
11246 (sinh_test_data): Likewise.
11247 (sinh_tonearest_test_data): Likewise.
11248 (sinh_towardzero_test_data): Likewise.
11249 (sinh_downward_test_data): Likewise.
11250 (sinh_upward_test_data): Likewise.
11251 (tan_test_data): Likewise.
11252 (tan_tonearest_test_data): Likewise.
11253 (tan_towardzero_test_data): Likewise.
11254 (tan_downward_test_data): Likewise.
11255 (tan_upward_test_data): Likewise.
11256 (tanh_test_data): Likewise.
11257 (tgamma_test_data): Likewise.
11258 (y0_test_data): Likewise.
11259 (y1_test_data): Likewise.
11260 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11261 (special_real_inputs): Add pi/4.
11262 * sysdeps/i386/fpu/libm-test-ulps: Update.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11265 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11267 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11268 "longjmp_target" static probes.
11269 (__longjmp): Rename to __longjmp_symbol.
11270 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11271 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11272 on which longjmp to generate.
11273 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11274 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11276 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11277 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11278 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11279 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11280 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11281 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11283 __longjmp_symbol based on which __longjmp to generate.
11284 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11286 (setjmp): Rename to setjmp_symbol.
11287 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11288 (_setjmp): Rename to _setjmp_symbol.
11289 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11290 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11291 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11292 which setjmp to generate.
11293 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11294 "longjmp_target" static probes.
11296 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11298 * benchtests/README: Add note about output arguments.
11299 * benchtests/bench-sincos.c: Remove file.
11300 * benchtests/sincos-inputs: New file.
11301 * scripts/bench.pl: Identify output arguments and define
11302 static variables for them.
11304 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11307 * Makefile (INSTALL): Add install-plain.texi as the primary
11309 * manual/install-plain.texi: New file.
11310 * manual/install.texi: Include node directive only for
11311 non-plaintext output.
11313 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11315 * stdlib/longlong.h: Update from GCC.
11319 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11320 * math/w_j0f.c (y0f): Likewise.
11321 * math/w_j0l.c (__y0l): Likewise.
11322 * math/w_j1.c (y1): Likewise.
11323 * math/w_j1f.c (y1f): Likewise.
11324 * math/w_j1l.c (__y1l): Likewise
11325 * math/w_jn.c (yn): Likewise.
11326 * math/w_jnf.c (ynf): Likewise.
11327 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11328 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11329 value for Bessel function domain errors outside _SVID_ mode.
11330 Adjust sign of return value for yn (negative integer, 0).
11331 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11332 by zero in return for negative x and set sign appropriately for
11334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11335 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11336 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11337 expectations in error cases.
11338 (y1_test_data): Likewise.
11339 (yn_test_data): Likewise.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11345 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11346 "64" to "64-v1". Add "64-v2".
11347 (abi-64-options): Rename to ...
11348 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11349 (abi-64-condition): Rename to ...
11350 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11351 (abi-64-ld-soname): Rename to ...
11352 (abi-64-v1-ld-soname): ... this.
11353 (abi-64-v2-options): Define.
11354 (abi-64-v2-condition): Likewise.
11355 (abi-64-v2-ld-soname): Likewise.
11356 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11357 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11362 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11363 Alan Modra <amodra@gmail.com>
11365 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11366 New versions for use with the ELFv2 ABI.
11367 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11368 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11370 (struct La_ppc64v2_retval): Likewise.
11371 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11372 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11373 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11374 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11375 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11376 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11377 Do not save or restore CR.
11378 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11379 (_dl_profile_resolve): Do no save or restore CR. Support extended
11380 return values for ELFv2 ABI. Fix location of FPR return registers.
11381 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11382 updated values for _CALL_ELF == 2.
11383 (La_regs, La_retval, int_retval): Likewise.
11385 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11387 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11388 (FRAME_MIN_SIZE_PARM): Likewise.
11389 (FRAME_BACKCHAIN): Likewise.
11390 (FRAME_CR_SAVE): Likewise.
11391 (FRAME_LR_SAVE): Likewise.
11392 (FRAME_TOC_SAVE): Likewise.
11393 (FRAME_PARM_SAVE): Likewise.
11394 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11395 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11396 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11397 (call_mcount_parm_offset): New macro.
11398 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11399 (PROF): Use symbolic stack frame offsets.
11400 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11401 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11402 Redefine in terms of FRAME_MIN_SIZE.
11403 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11404 (_dl_profile_resolve): Likewise. Update comment.
11405 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11406 symbols stack frame offsets.
11407 (__sigsetjmp): Likewise.
11408 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11409 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11410 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11411 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11414 (FRAME_BACKCHAIN): Remove.
11415 (FRAME_CR_SAVE): Likewise.
11416 (FRAME_LR_SAVE): Likewise.
11417 (FRAME_COMPILER_DW): Likewise.
11418 (FRAME_LINKER_DW): 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 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11425 (CHECK_SP): Use symbolic stack frame offsets.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11427 zone" instead of caller's parameter save area for temp storage.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11429 Likewise. Also, use symbolic stack frame offsets.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11431 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11432 our own stack frame instead of the caller's.
11433 (__socket): Use symbolic stack frame offsets.
11435 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11436 Alan Modra <amodra@gmail.com>
11438 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11440 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11441 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11442 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11444 (elf_machine_fixup_plt): Call it.
11445 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11447 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11449 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11450 r2 before calling target.
11452 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11453 Alan Modra <amodra@gmail.com>
11455 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11456 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11457 versions of macros to support ELFv2 ABI.
11458 (LOCALENTRY): New macro.
11459 (ENTRY, EALIGN): Use it.
11460 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11461 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11462 fall through into ENTRY entry point.
11463 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11464 Only define if _CALL_ELF != 2.
11466 (elf_machine_matches_host): Verify ABI version matches.
11467 (RTLD_START): Use LOCALENTRY.
11468 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11469 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11470 (PLT_ENTRY_WORDS): New macro.
11471 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11472 (elf_machine_runtime_setup): Support ELFv2 ABI.
11473 (elf_machine_fixup_plt): Likewise.
11474 (elf_machine_plt_conflict): Likewise.
11475 (resolve_ifunc): Likewise.
11476 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11480 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11482 (makecontext): Support ELFv2 ABI.
11483 * elf/elf.h (EF_PPC64_ABI): Define.
11485 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11487 * sysdeps/powerpc/powerpc64/sysdep.h
11488 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11489 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11490 (ENTRY) [ASSEMBLER]: ... but instead here ...
11491 (EALIGN) [ASSEMBLER]: ... and here.
11492 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11493 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11494 (ENTRY_2) [!ASSEMBLER]: Use it.
11495 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11496 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11497 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11498 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11499 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11501 Use PPC64_LOAD_FUNCPTR.
11503 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11505 2013-12-04 Alan Modra <amodra@gmail.com>
11507 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11508 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11509 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11510 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11513 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11514 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11515 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11516 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11517 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11519 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11522 (__makecontext): Fix incorrect CFI when backtracing out of
11523 context created via makecontext.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11525 (__setcontext): Fix incorrect CFI during switch to new context.
11526 (__novec_setcontext): Likewise.
11528 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11531 * time/strptime_l.c (__strptime_internal): Allow modifiers
11533 * time/tst-strptime.c (day_tests): Add testcase.
11535 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11537 * scripts/bench.pl: Skip over blank lines.
11539 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11542 * manual/time.texi (Calendar Time): Clarify what timezone functions
11545 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11549 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11551 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11553 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11554 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11555 * debug/memset_chk.c (__memset_chk): Likewise.
11556 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11557 * debug/strncpy_chk.c: Likewise.
11559 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11563 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11564 (__ieee754_exp): For possibly underflowing results, check size of
11565 result and force underflow exception if required.
11566 * math/auto-libm-test-in: Add more tests of exp.
11567 * math/auto-libm-test-out: Regenerated.
11568 * sysdeps/i386/fpu/libm-test-ulps: Update.
11569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11572 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11573 * math/w_exp2f.c (__exp2f): Likewise.
11574 * math/w_exp2l.c (__exp2l): Likewise.
11575 * math/auto-libm-test-in: Do not allow missing errno on exp2
11577 * math/auto-libm-test-out: Regenerated.
11579 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11582 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11583 handle filename validation.
11584 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11587 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11590 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11591 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11592 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11594 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11596 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11598 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11599 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11600 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11601 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11602 Add more erfc tests.
11603 * math/auto-libm-test-out: Regenerated.
11604 * sysdeps/i386/fpu/libm-test-ulps: Update.
11605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11607 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11608 exp2, expm1, j0 and j1.
11609 * math/auto-libm-test-out: Regenerated.
11610 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11611 (erfc_test_data): Likewise.
11612 (exp_test_data): Likewise.
11613 (exp_tonearest_test_data): Likewise.
11614 (exp_towardzero_test_data): Likewise.
11615 (exp_downward_test_data): Likewise.
11616 (exp_upward_test_data): Likewise.
11617 (exp10_test_data): Likewise.
11618 (exp2_test_data): Likewise.
11619 (expm1_test_data): Likewise.
11620 (j0_test_data): Likewise.
11621 (j1_test_data): Likewise.
11622 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11623 (input_flag_type): Add flag_xfail_rounding.
11624 (input_flags): Add xfail-rounding.
11625 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11626 (output_for_one_input_case): Handle flag_xfail_rounding.
11627 * sysdeps/i386/fpu/libm-test-ulps: Update.
11628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11633 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11636 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11639 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11640 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11641 (STAP_PROBE0): New macro.
11642 (STAP_PROBE1): Likewise.
11643 (STAP_PROBE2): Likewise.
11644 (STAP_PROBE3): Likewise.
11645 (STAP_PROBE4): Likewise.
11647 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11649 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11651 2013-12-02 Steve Ellcey <sellcey@mips.com>
11653 * benchtests/Makefile (bench): Add sqrt.
11654 (LDLIBS-bench-sqrt): New.
11655 * benchtests/sqrt-input: New.
11657 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11659 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11660 (GAIH_EAI): Likewise.
11661 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11662 (gaih_inet): Likewise.
11663 (getaddrinfo): Don't use GAIH_EAI.
11665 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11666 (struct gaih): Remove definition.
11668 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11670 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11671 Use HERRNOP directly.
11673 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11677 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11679 * math/gen-auto-libm-tests.c (test_functions): Add more
11680 single-argument functions.
11681 (special_fill_pi_2): New function.
11682 (special_fill_minus_pi_2): Likewise.
11683 (special_fill_pi_6): Likewise.
11684 (special_fill_minus_pi_6): Likewise.
11685 (special_fill_pi_3): Likewise.
11686 (special_fill_2pi_3): Likewise.
11687 (special_fill_e): Likewise.
11688 (special_fill_1_e): Likewise.
11689 (special_fill_e_minus_1): Likewise.
11690 (special_real_inputs): Add more special inputs.
11691 (output_for_one_input_case): Do not require ERANGE on underflow to
11692 zero if round-to-nearest result does not underflow to zero, unless
11693 exact results required.
11694 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11695 atan, atanh, cbrt, cos and cosh.
11696 * math/auto-libm-test-out: Regenerated.
11697 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11698 (acos_tonearest_test_data): Likewise.
11699 (acos_towardzero_test_data): Likewise.
11700 (acos_downward_test_data): Likewise.
11701 (acos_upward_test_data): Likewise.
11702 (acosh_test_data): Likewise.
11703 (asin_test_data): Likewise.
11704 (asin_tonearest_test_data): Likewise.
11705 (asin_towardzero_test_data): Likewise.
11706 (asin_upward_test_data): Likewise.
11707 (asinh_test_data): Likewise.
11708 (atan_test_data): Likewise.
11709 (atanh_test_data): Likewise.
11710 (cbrt_test_data): Likewise.
11711 (cos_test_data): Likewise.
11712 (cos_tonearest_test_data): Likewise.
11713 (cos_towardzero_test_data): Likewise.
11714 (cos_downward_test_data): Likewise.
11715 (cos_upward_test_data): Likewise.
11716 (cosh_test_data): Likewise.
11717 (cosh_tonearest_test_data): Likewise.
11718 (cosh_towardzero_test_data): Likewise.
11719 (cosh_downward_test_data): Likewise.
11720 (cosh_upward_test_data): Likewise.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11727 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11728 * math/w_exp10f.c (__exp10f): Likewise.
11729 * math/w_exp10l.c (__exp10l): Likewise.
11730 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11731 errno settings in existing tests.
11734 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11735 precision control set to double precision.
11736 * sysdeps/i386/fpu/w_sqrt.c: New file.
11737 * math/auto-libm-test-in: Add more tests.
11738 * math/auto-libm-test-out: Update.
11740 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11741 (sqrt_test_tonearest): New function.
11742 (sqrt_towardzero_test_data): New variable.
11743 (sqrt_test_towardzero): New function.
11744 (sqrt_downward_test_data): New variable.
11745 (sqrt_test_downward): New function.
11746 (sqrt_upward_test_data): New variable.
11747 (sqrt_test_upward): New function.
11748 (main): Call the new functions.
11750 * math/gen-auto-libm-tests.c: New file.
11751 * math/auto-libm-test-in: Likewise.
11752 * math/auto-libm-test-out: New generated file.
11753 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11755 (%beautify): Add generated representations of zero.
11756 (top level): Set $auto_input and call parse_auto_input.
11757 (beautify): Remove trailing "f" from hex float constants.
11758 (parse_args): Handle XFAIL_TEST.
11759 (convert_condition): New function.
11760 (or_value): Likewise.
11761 (or_cond_value): Likewise.
11762 (generate_testfile): Handle AUTO_TESTS_* lines.
11763 (parse_auto_input): New function.
11764 * math/libm-test.inc (XFAIL_TEST): New macro.
11765 (ERRNO_UNCHANGED): Update value.
11766 (ERRNO_EDOM): Likewise.
11767 (ERRNO_ERANGE): Likewise.
11768 (IGNORE_RESULT): Likewise.
11769 (TEST_COND_flt_32): New macro.
11770 (TEST_COND_dbl_64): Likewise.
11771 (TEST_COND_ldbl_96_intel): Likewise.
11772 (TEST_COND_ldbl_96_m68k): Likewise.
11773 (TEST_COND_ldbl_128): Likewise.
11774 (TEST_COND_ldbl_128ibm): Likewise.
11775 (TEST_COND_long32): Likewise.
11776 (TEST_COND_long64): Likewise.
11777 (TEST_COND_before_rounding): Likewise.
11778 (TEST_COND_after_rounding): Likewise.
11779 (enable_test): Handle XFAIL_TEST flag.
11780 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11781 with finite results.
11782 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11783 auto-libm-test-out.
11785 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11786 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11789 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11790 __tls_get_addr_internal instead of __tls_get_offset in order to
11791 avoid GOT pointer dependency. Make rtld export
11792 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11793 __tls_get_addr since we are a __tls_get_offset platform.
11794 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11795 GOT pointer being set up before.
11796 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11798 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11800 * manual/math.texi (Errors in Math Functions): Document accuracy
11804 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11805 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11821 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11822 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11823 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11824 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11825 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11827 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11829 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11831 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11832 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11833 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11834 atomic-feupdateenv and flt-rounds.
11835 * sysdeps/powerpc/nofpu/Versions (libc): Add
11836 __atomic_feholdexcept, __atomic_feclearexcept,
11837 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11838 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11839 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11840 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11841 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11846 * manual/arith.texi (FP Exceptions): Document that exceptions may
11847 not be raised when matherr is used.
11848 (Math Error Reporting): Document overflow in directed rounding
11849 modes. Document that errno may not be set when finite values are
11850 returned on overflow. Document intent to set errno on underflow
11851 only for underflow to zero.
11854 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11855 round-to-nearest then adjust result for other rounding modes.
11856 * include/fenv.h (fegetround): Use libm_hidden_proto.
11857 * math/fegetround.c (fegetround): Use libm_hidden_def.
11858 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11859 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11860 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11863 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11864 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11865 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11866 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11868 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11871 * nss/Versions (libnss_files): Add
11872 _nss_files_gethostbyname3_r.
11873 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11875 (HOST_DB_LOOKUP): Remove macro.
11876 (_nss_files_gethostbyname_r): Implement function without the
11877 HOST_DB_LOOKUP macro.
11878 (_nss_files_gethostbyname2_r): Likewise.
11880 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11882 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11884 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11886 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11887 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11890 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11892 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11893 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11894 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11895 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11896 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11897 __fe_nomask_env_priv and attribute_hidden.
11898 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11899 (libc_feupdateenv_test_ppc): Likewise.
11900 (libc_feresetround_ppc): Likewise.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11902 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11903 compat_symbol macro.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11905 (__fe_nomask_env): Likewise.
11906 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11908 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11910 * string/Makefile: Remove ifunc tests.
11911 * string/test-string.h: Define TEST_IFUNC.
11912 * string/test-bcopy-ifunc.c: Remove.
11913 * string/test-bzero-ifunc.c: Likewise.
11914 * string/test-memccpy-ifunc.c: Likewise.
11915 * string/test-memchr-ifunc.c: Likewise.
11916 * string/test-memcmp-ifunc.c: Likewise.
11917 * string/test-memcpy-ifunc.c: Likewise.
11918 * string/test-memmem-ifunc.c: Likewise.
11919 * string/test-memmove-ifunc.c: Likewise.
11920 * string/test-mempcpy-ifunc.c: Likewise.
11921 * string/test-memrchr-ifunc.c: Likewise.
11922 * string/test-memset-ifunc.c: Likewise.
11923 * string/test-rawmemchr-ifunc.c: Likewise.
11924 * string/test-stpcpy-ifunc.c: Likewise.
11925 * string/test-stpncpy-ifunc.c: Likewise.
11926 * string/test-strcasecmp-ifunc.c: Likewise.
11927 * string/test-strcasestr-ifunc.c: Likewise.
11928 * string/test-strcat-ifunc.c: Likewise.
11929 * string/test-strchr-ifunc.c: Likewise.
11930 * string/test-strchrnul-ifunc.c: Likewise.
11931 * string/test-strcmp-ifunc.c: Likewise.
11932 * string/test-strcpy-ifunc.c: Likewise.
11933 * string/test-strcspn-ifunc.c: Likewise.
11934 * string/test-strlen-ifunc.c: Likewise.
11935 * string/test-strncasecmp-ifunc.c: Likewise.
11936 * string/test-strncat-ifunc.c: Likewise.
11937 * string/test-strncmp-ifunc.c: Likewise.
11938 * string/test-strncpy-ifunc.c: Likewise.
11939 * string/test-strnlen-ifunc.c: Likewise.
11940 * string/test-strpbrk-ifunc.c: Likewise.
11941 * string/test-strrchr-ifunc.c: Likewise.
11942 * string/test-strspn-ifunc.c: Likewise.
11943 * string/test-strstr-ifunc.c: Likewise.
11945 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11947 * benchtests/Makefile: Remove ifunc tests.
11948 * benchtests/bench-string.h: Define TEST_IFUNC.
11949 * benchtests/bench-bcopy-ifunc.c: Remove.
11950 * benchtests/bench-bzero-ifunc.c: Likewise.
11951 * benchtests/bench-memccpy-ifunc.c: Likewise.
11952 * benchtests/bench-memchr-ifunc.c: Likewise.
11953 * benchtests/bench-memcmp-ifunc.c: Likewise.
11954 * benchtests/bench-memcpy-ifunc.c: Likewise.
11955 * benchtests/bench-memmem-ifunc.c: Likewise.
11956 * benchtests/bench-memmove-ifunc.c: Likewise.
11957 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11958 * benchtests/bench-memrchr-ifunc.c: Likewise.
11959 * benchtests/bench-memset-ifunc.c: Likewise.
11960 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11961 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11962 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11963 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11964 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11965 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11966 * benchtests/bench-strcat-ifunc.c: Likewise.
11967 * benchtests/bench-strchr-ifunc.c: Likewise.
11968 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11969 * benchtests/bench-strcmp-ifunc.c: Likewise.
11970 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11971 * benchtests/bench-strcpy-ifunc.c: Likewise.
11972 * benchtests/bench-strcspn-ifunc.c: Likewise.
11973 * benchtests/bench-strlen-ifunc.c: Likewise.
11974 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11975 * benchtests/bench-strncat-ifunc.c: Likewise.
11976 * benchtests/bench-strncmp-ifunc.c: Likewise.
11977 * benchtests/bench-strncpy-ifunc.c: Likewise.
11978 * benchtests/bench-strnlen-ifunc.c: Likewise.
11979 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11980 * benchtests/bench-strrchr-ifunc.c: Likewise.
11981 * benchtests/bench-strsep-ifunc.c: Likewise.
11982 * benchtests/bench-strspn-ifunc.c: Likewise.
11983 * benchtests/bench-strstr-ifunc.c: Likewise.
11985 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11987 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11989 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11991 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11992 * rt/aio.h: Likewise.
11993 * sysdeps/gnu/bits/utmp.h: Likewise.
11994 * sysdeps/gnu/bits/utmpx.h: Likewise.
11995 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11996 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11997 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11998 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11999 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12000 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12001 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12002 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12003 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12004 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12005 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12011 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12012 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12013 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12014 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12015 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12016 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12017 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12018 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12019 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12021 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12022 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12023 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12024 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12025 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12027 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12028 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12029 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12031 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12032 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12033 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12034 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12035 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12036 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12038 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12041 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12042 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12044 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12046 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12047 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12050 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12053 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12054 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12055 (__fesetround): Remove define.
12056 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12057 rounding and exceptions handling.
12058 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12059 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12060 (__fe_nomask_env): Likewise.
12061 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12062 __fegetround instead of fegetround.
12063 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12064 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12066 2013-11-21 Roland McGrath <roland@hack.frob.com>
12068 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12071 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12073 2013-11-21 Meador Inge <meadori@codesourcery.com>
12076 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12077 (encrypt_r): Likewise.
12078 * malloc/obstack.h (obstack_free): Likewise.
12079 * posix/unistd.h (encrypt): Likewise.
12081 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12083 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12084 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12085 DL_CALL_DT_FINI() that call the functions directly.
12086 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12087 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12088 * elf/dl-fini.c: Likewise.
12090 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12092 * malloc/hooks.c (memalign_check): Add alignment rounding.
12093 * malloc/malloc.c (_mid_memalign): New function.
12094 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12095 Implement by calling _mid_memalign.
12096 * manual/probes.texi (Memory Allocation Probes): Remove
12097 memory_valloc_retry and memory_pvalloc_retry.
12099 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12101 * locale/programs/locarchive.c (open_archive): Add const
12102 qualifier to ARCHIVEFNAME and copy default fname to
12106 * libio/tst-widetext.input: Rename Oriya to Odia.
12107 * locale/iso-639.def: Likewise.
12109 * manual/probes.texi (Mathematical Function Probes): Add
12110 documentation for sin, cos, asin and acos probes.
12111 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12112 (__sin32): Add slowasin probe.
12113 (__cos32): Add slowacos probe.
12114 (__mpsin): Add slowsin probe.
12115 (__mpcos): Add slowcos probe.
12117 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12120 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12121 thread-local __sim_exceptions_thread and global
12122 __sim_exceptions_global.
12123 (__sim_disabled_exceptions): Change to thread-local
12124 __sim_disabled_exceptions_thread and global
12125 __sim_disabled_exceptions_global.
12126 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12127 and global __sim_round_mode_global.
12128 (__simulate_exceptions): Use thread-local floating-point state and
12129 set global state from it as needed.
12130 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12131 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12132 __sim_round_mode_thread.
12133 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12134 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12135 and global __sim_exceptions_global.
12136 (__sim_disabled_exceptions): Change to thread-local
12137 __sim_disabled_exceptions_thread and global
12138 __sim_disabled_exceptions_global.
12139 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12140 and global __sim_round_mode_global.
12141 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12142 (SIM_SET_GLOBAL): Likewise.
12143 * sysdeps/powerpc/soft-fp/sfp-machine.h
12144 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12145 __sim_round_mode_thread.
12146 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12147 __sim_disabled_exceptions_thread.
12148 (__sim_exceptions): Change to __sim_exceptions_thread.
12149 (__sim_disabled_exceptions): Change to
12150 __sim_disabled_exceptions_thread.
12151 (__sim_round_mode): Change to __sim_round_mode_thread.
12152 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12153 thread-local floating-point state and set global state from it as
12155 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12156 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12157 (__sim_disabled_exceptions): Remove extern declaration.
12158 (feenableexcept): Use thread-local floating-point state and set
12159 global state from it as needed.
12160 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12161 extern declaration.
12162 (__sim_disabled_exceptions): Likewise.
12163 (__sim_round_mode): Likewise.
12164 (__fegetenv): Use thread-local floating-point state.
12165 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12166 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12167 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12168 floating-point state and set global state from it as needed.
12169 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12170 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12171 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12173 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12174 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12176 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12177 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12178 Use __sim_round_mode_thread.
12179 * math/test-fenv-tls.c: New file.
12180 * math/Makefile (tests): Add test-fenv-tls.
12181 ($(objpfx)test-fenv-tls): Depend on
12182 $(common-objpfx)nptl/libpthread.so.
12184 2013-11-19 Andreas Schwab <schwab@suse.de>
12186 * locale/programs/locale.c (show_info): Decode wordarray elements.
12187 * locale/categories.def (LC_MONETARY): Add element for
12188 _NL_MONETARY_CRNCYSTR.
12189 * locale/C-monetary.c (conversion_rate): New variable.
12190 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12193 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12195 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12196 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12198 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12200 * elf/Makefile (tst-auxv): New test.
12201 * elf/tst-auxv.c: New
12202 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12204 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12206 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12207 (hidden_proto): Caller changed.
12208 (hidden_tls_proto): New macro.
12209 (libc_hidden_tls_proto): Likewise.
12210 (rtld_hidden_tls_proto): Likewise.
12211 (libm_hidden_tls_proto): Likewise.
12212 (libresolv_hidden_tls_proto): Likewise.
12213 (librt_hidden_tls_proto): Likewise.
12214 (libdl_hidden_tls_proto): Likewise.
12215 (libnss_files_hidden_tls_proto): Likewise.
12216 (libnsl_hidden_tls_proto): Likewise.
12217 (libnss_nisplus_hidden_tls_proto): Likewise.
12218 (libutil_hidden_tls_proto): Likewise.
12220 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12223 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12224 (decompose_rpath): Defer expansion to fillin_rpath.
12225 (_dl_init_paths): Pass linkmap to fillin_rpath.
12227 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12229 * benchtests/Makefile: Add strsep.
12230 * benchtests/bench-strsep.c: New file: strsep benchtest.
12231 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12233 2013-11-18 Andreas Schwab <schwab@suse.de>
12235 * locale/programs/locale.c (show_info) [case byte]: Check for
12236 '\377' instead of '\177'.
12237 * locale/C-monetary.c (not_available): Always use "\377".
12238 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12239 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12240 detect unavailable sign_posn locale elements.
12241 * locale/localeconv.c (__localeconv): For grouping and
12242 mon_grouping handle "\177" and "\377" like no grouping.
12243 (INT_ELEM): New macro. Use it to set all numeric members.
12244 * locale/programs/ld-monetary.c (monetary_read)
12245 <tok_mon_grouping>: Normalize single -1 to the empty string.
12246 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12249 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12252 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12253 when we match (nil).
12254 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12256 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12258 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12259 (NO_TEST_INLINE): Update value.
12260 (ERRNO_UNCHANGED): Likewise.
12261 (ERRNO_EDOM): Likewise.
12262 (ERRNO_ERANGE): Likewise.
12263 (IGNORE_RESULT): Likewise.
12264 (check_float_internal): Check signs of NaN results if
12265 TEST_NAN_SIGN used.
12266 (check_complex): Pass TEST_NAN_SIGN flag through to second
12267 check_float_internal call.
12268 (copysign_test_data): Add tests with quiet NaNs as second
12269 argument. Use TEST_NAN_SIGN.
12270 (fabs_test_data): Add test of negative quiet NaN argument. Use
12272 (signbit_test_data): Add tests of quiet NaN argument.
12273 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12275 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12277 (parse_args): Handle function results specified as IGNORE.
12278 * math/libm-test.inc (IGNORE_RESULT): New macro.
12279 (check_float_internal): Do not check numerical result if flag
12281 (check_complex): Pass through IGNORE_RESULT to second
12282 check_float_internal call.
12283 (check_int): Do not check numerical result if flag IGNORE_RESULT
12285 (check_long): Likewise.
12286 (check_bool): Likewise.
12287 (check_longlong): Likewise.
12288 (lrint_test_data): Add tests of infinite and NaN arguments.
12289 (lrint_tonearest_test_data): Likewise.
12290 (lrint_towardzero_test_data): Likewise.
12291 (lrint_downward_test_data): Likewise.
12292 (lrint_upward_test_data): Likewise.
12293 (llrint_test_data): Likewise.
12294 (llrint_tonearest_test_data): Likewise.
12295 (llrint_towardzero_test_data): Likewise.
12296 (llrint_downward_test_data): Likewise.
12297 (llrint_upward_test_data): Likewise.
12298 (lround_test_data): Likewise.
12299 (llround_test_data): Likewise.
12301 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12302 (ERRNO_UNCHANGED): Update value.
12303 (ERRNO_EDOM): Likewise.
12304 (ERRNO_ERANGE): Likewise.
12305 (NO_TEST_INLINE_FLOAT): New macro.
12306 (NO_TEST_INLINE_DOUBLE): Likewise.
12307 (enable_test): New function.
12308 (RUN_TEST_f_f): Check enable_test before running test.
12309 (RUN_TEST_2_f): Likewise.
12310 (RUN_TEST_fff_f): Likewise.
12311 (RUN_TEST_c_f): Likewise.
12312 (RUN_TEST_f_f1): Likewise.
12313 (RUN_TEST_fF_f1): Likewise.
12314 (RUN_TEST_fI_f1): Likewise.
12315 (RUN_TEST_ffI_f1): Likewise.
12316 (RUN_TEST_c_c): Likewise.
12317 (RUN_TEST_cc_c): Likewise.
12318 (RUN_TEST_f_i): Likewise.
12319 (RUN_TEST_f_i_tg): Likewise.
12320 (RUN_TEST_ff_i_tg): Likewise.
12321 (RUN_TEST_f_b): Likewise.
12322 (RUN_TEST_f_b_tg): Likewise.
12323 (RUN_TEST_f_l): Likewise.
12324 (RUN_TEST_f_L): Likewise.
12325 (RUN_TEST_fFF_11): Likewise.
12326 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12328 (cosh_test_data): Likewise.
12329 (exp_test_data): Likewise.
12330 (expm1_test_data): Likewise.
12331 (hypot_test_data): Likewise.
12332 (pow_test_data): Likewise.
12333 (sinh_test_data): Likewise.
12334 (tanh_test_data): Likewise.
12335 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12338 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12339 tests with quiet NaN input and output.
12340 (acosh_test_data): Likewise.
12341 (asin_test_data): Likewise.
12342 (asinh_test_data): Likewise.
12343 (atan_test_data): Likewise.
12344 (atanh_test_data): Likewise.
12345 (atan2_test_data): Likewise.
12346 (cbrt_test_data): Likewise.
12347 (cos_test_data): Likewise.
12348 (cosh_test_data): Likewise.
12349 (erf_test_data): Likewise.
12350 (erfc_test_data): Likewise.
12351 (exp_test_data): Likewise.
12352 (exp10_test_data): Likewise.
12353 (exp2_test_data): Likewise.
12354 (expm1_test_data): Likewise.
12355 (hypot_test_data): Likewise.
12356 (j0_test_data): Likewise.
12357 (j1_test_data): Likewise.
12358 (jn_test_data): Likewise.
12359 (lgamma_test_data): Likewise.
12360 (log_test_data): Likewise.
12361 (log10_test_data): Likewise.
12362 (log1p_test_data): Likewise.
12363 (log2_test_data): Likewise.
12364 (pow_test_data): Likewise.
12365 (scalb_test_data): Likewise.
12366 (sin_test_data): Likewise.
12367 (sincos_test_data): Likewise.
12368 (sinh_test_data): Likewise.
12369 (tan_test_data): Likewise.
12370 (tanh_test_data): Likewise.
12371 (tgamma_test_data): Likewise.
12372 (y0_test_data): Likewise.
12373 (y1_test_data): Likewise.
12374 (yn_test_data): Likewise.
12377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12378 argument being NaN and avoid computations with second argument in
12380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12382 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12384 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12386 * locale/iso-639.def: Add Chitwani Tharu (the).
12388 2013-11-14 Andreas Schwab <schwab@suse.de>
12390 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12391 word instead of empty string.
12393 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12396 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12398 (__fe_nomask_env): Likewise.
12400 2013-11-13 Steve Ellcey <sellcey@mips.com>
12402 * benchtests/bench-timing.h: Include time.h.
12404 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12407 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12409 * sysdeps/unix/sysv/linux/configure: Regenerated.
12411 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12414 * stdlib/strtod_l.c (round_and_return): Do not consider
12415 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12416 exponent one less than half the least subnormal exponent.
12417 * stdlib/test-strtod-round-data: Add more tests.
12418 * stdlib/tst-strtod-round.c (tests): Regenerated.
12420 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12423 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12424 (__fe_mask_env): Likewise.
12425 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12426 libm_hidden_proto and add function prototype.
12427 (__fe_mask_env): Add function prototype.
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12429 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12431 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12433 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12435 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12437 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12438 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12440 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12442 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12443 of htab_find_slot().
12445 2013-11-11 David S. Miller <davem@davemloft.net>
12448 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12449 symbol in the non-vis3 case in static builds.
12450 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12451 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12452 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12453 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12455 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12458 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12461 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12463 * benchtests/Makefile: Add bench-strtod.
12464 * benchtests/bench-strtod.c: New file: strtod benchtest
12466 2013-11-11 Andreas Schwab <schwab@suse.de>
12469 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12470 terminating NUL in key length.
12472 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12475 Add artificial ODP entry for vDSO symbol for PPC64.
12476 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12477 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12479 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12482 * nss/getent.c (services_keys): Recognize services starting with digit.
12484 2013-11-06 David S. Miller <davem@davemloft.net>
12487 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12488 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12490 2013-11-06 Will Newton <will.newton@linaro.org>
12492 * manual/memory.texi (Malloc Examples): Remove register
12493 keyword from examples.
12495 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12497 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12499 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12502 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12503 depending on [__GCC_IEC_559 > 0].
12504 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12505 depending on [__GCC_IEC_559_COMPLEX > 0].
12507 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12509 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12512 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12514 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12516 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12519 * malloc/malloc (malloc_info): Do not handle first bin as
12522 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12524 * locale/iso-639.def: Add Central Nahuatl (nhn).
12526 2013-11-01 Bruno Haible <bruno@clisp.org>
12529 * manual/math.texi (BSD Random): Specify range upper bound as
12532 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12534 * locale/iso-639.def: Add Meadow Mari (mhr).
12536 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12538 [BZ #14752], [BZ #15763]
12539 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12541 * rt/tst_shm.c: Add test for escaping directory.
12543 2013-10-31 Andreas Schwab <schwab@suse.de>
12546 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12547 followed by 'x' as part of digit sequence.
12548 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12550 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12553 * configure.ac: allow GNU Make 4.0 and greater.
12554 * configure: Regenerated.
12556 2013-10-30 Will Newton <will.newton@linaro.org>
12559 * malloc/hooks.c (memalign_check): Limit alignment to the
12560 maximum representable power of two.
12561 * malloc/malloc.c (__libc_memalign): Likewise.
12562 * malloc/tst-memalign.c (do_test): Add test for very
12563 large alignment values.
12564 * malloc/tst-posix_memalign.c (do_test): Likewise.
12566 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12569 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12570 (munmap_chunk): Likewise.
12571 (mremap_chunk): Likewise.
12573 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12576 * stdlib/div.c (div): Remove obsolete code.
12577 * stdlib/ldiv.c (ldiv): Likewise.
12578 * stdlib/lldiv.c (lldiv): Likewise.
12580 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12583 * nss/nss_files/files-XXX.c (get_contents_ret): New
12585 (get_contents): New function.
12586 (internal_getent): Use it. Expand size of LINEBUFLEN.
12588 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12590 * configure.in: Moved to ...
12591 * configure.ac: ... here. Change reference to configure.in
12593 * sysdeps/arm/preconfigure.ac: ... here.
12594 configure.in to configure.ac.
12595 * sysdeps/gnu/configure.in: Moved to ...
12596 * sysdeps/gnu/configure.ac: ... here.
12597 * sysdeps/i386/configure.in: Moved to ...
12598 * sysdeps/i386/configure.ac: ... here.
12599 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12600 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12601 * sysdeps/mach/configure.in: Moved to ...
12602 * sysdeps/mach/configure.ac: ... here.
12603 * sysdeps/mach/hurd/configure.in: Moved to ...
12604 * sysdeps/mach/hurd/configure.ac: ... here.
12605 * sysdeps/powerpc/configure.in: Moved to ...
12606 * sysdeps/powerpc/configure.ac: ... here.
12607 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12608 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12609 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12610 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12611 * sysdeps/s390/s390-32/configure.in: Moved to ...
12612 * sysdeps/s390/s390-32/configure.ac: ... here.
12613 * sysdeps/s390/s390-64/configure.in: Moved to ...
12614 * sysdeps/s390/s390-64/configure.ac: ... here.
12615 * sysdeps/sh/configure.in: Moved to ...
12616 * sysdeps/sh/configure.ac: ... here.
12617 * sysdeps/sparc/configure.in: Moved to ...
12618 * sysdeps/sparc/configure.ac: ... here.
12619 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12620 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12621 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12622 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12623 * sysdeps/x86_64/configure.in: Moved to ...
12624 * sysdeps/x86_64/configure.ac: ... here.
12625 * sysdeps/x86_64/preconfigure.in: Moved to ...
12626 * sysdeps/x86_64/preconfigure.ac: ... here.
12627 * aclocal.m4: Change reference to configure.in to configure.ac.
12628 * config.h.in: Likewise.
12629 * manual/install.texi: Likewise.
12630 * manual/maint.texi: Likewise.
12631 * Makefile: Likewise.
12632 * malloc/Makefile: Likewise.
12633 * nscd/Makefile: Likewise.
12634 * Makeconfig: Change reference to configure.in and
12635 preconfigure.in to configure.ac and preconfigure.ac
12637 * INSTALL: Regenerated.
12638 * configure: Likewise.
12639 * sysdeps/gnu/configure: Likewise.
12640 * sysdeps/i386/configure: Likewise.
12641 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12642 * sysdeps/mach/configure: Likewise.
12643 * sysdeps/mach/hurd/configure: Likewise.
12644 * sysdeps/powerpc/configure: Likewise.
12645 * sysdeps/powerpc/powerpc32/configure: Likewise.
12646 * sysdeps/powerpc/powerpc64/configure: Likewise.
12647 * sysdeps/s390/s390-32/configure: Likewise.
12648 * sysdeps/s390/s390-64/configure: Likewise.
12649 * sysdeps/sh/configure: Likewise.
12650 * sysdeps/sparc/configure: Likewise.
12651 * sysdeps/unix/sysv/linux/configure: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12653 * sysdeps/x86_64/configure: Likewise.
12654 * sysdeps/x86_64/preconfigure: Likewise.
12656 2013-10-29 Andreas Schwab <schwab@suse.de>
12658 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12660 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12662 * benchtests/pow-inputs: Add new inputs.
12664 * benchtests/exp-inputs: Add new inputs.
12666 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12667 conditional check for return value.
12668 (__cos32): Likewise.
12670 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12672 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12673 to provide a boost for large inputs with word alignment.
12674 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12675 implementation based on optimized PPC64 strcpy.
12676 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12677 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12678 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12679 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12681 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12684 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12686 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12689 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12690 * time/tst-strptime.c (day_tests): Add testcase.
12692 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12695 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12697 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12700 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12701 MAP_FAILED on error.
12703 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12706 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12707 heap for large requests.
12709 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12712 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12713 result if the result has no associated interface.
12714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12715 interface for all 127.X.Y.Z addresses.
12717 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12719 * locale/iso-639.def: Add Ligurian (lij)
12721 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12724 * sunrpc/rpc_main.c: Document rpcgen -5.
12726 2013-10-19 Michael Stahl <mstahl@redhat.com>
12728 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12730 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12733 * posix/glob.c: Match only directories when trailing slash is present.
12734 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12735 (main): Add testcase.
12737 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12740 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12742 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12744 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12745 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12746 AUTH_DES and cindex for FIPS 140-2.
12747 (DES Encryption): Add cindex FIPS 46-3.
12749 * locale/locarchive.h (struct locarhandle): Add fname.
12750 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12751 if an optional argument was specified to --list-archive,
12753 * locale/programs/locarchive.c (show_archive_content): Take new
12754 argument fname and pass it via ah.fname to open_archive.
12755 * locale/programs/localedef.h: Update decl.
12756 (open_archive): If AH->fname is non-null, open that file
12757 rather than the default file name, and don't ignore ENOENT.
12758 (create_archive): Set AH.fname to NULL.
12759 (delete_locales_from_archive): Likewise.
12760 (add_locales_to_archive): Likewise.
12761 * locale/programs/locfile.c (write_all_categories): Likewise.
12763 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12764 Aldy Hernandez <aldyh@redhat.com>
12766 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12767 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12768 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12769 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12770 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12771 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12772 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12773 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12774 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12775 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12776 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12777 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12778 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12779 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12780 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12782 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12784 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12786 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12788 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12789 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12791 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12792 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12793 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12794 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12796 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12797 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12798 * sysdeps/powerpc/preconfigure: Likewise.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12801 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12802 Replace contents of file by #include of <fenv_libc.h>.
12803 * sysdeps/powerpc/soft-fp/sfp-machine.h
12804 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12806 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12810 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12811 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12813 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12814 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12815 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12816 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12817 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12819 Allow copysignl PLT reference to be missing.
12821 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12822 Joseph Myers <joseph@codesourcery.com
12825 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12827 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12829 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12831 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12832 * elf/tst-tls1.c: Likewise.
12833 * elf/tst-tls10.h: Likewise.
12834 * elf/tst-tls14.c: Likewise.
12835 * elf/tst-tls2.c: Likewise.
12836 * elf/tst-tls3.c: Likewise.
12837 * elf/tst-tls4.c: Likewise.
12838 * elf/tst-tls5.c: Likewise.
12839 * elf/tst-tls6.c: Likewise.
12840 * elf/tst-tls7.c: Likewise.
12841 * elf/tst-tls8.c: Likewise.
12842 * elf/tst-tls9.c: Likewise.
12843 * elf/tst-tlsmod1.c: Likewise.
12844 * elf/tst-tlsmod13.c: Likewise.
12845 * elf/tst-tlsmod13a.c: Likewise.
12846 * elf/tst-tlsmod14a.c: Likewise.
12847 * elf/tst-tlsmod16a.c: Likewise.
12848 * elf/tst-tlsmod16b.c: Likewise.
12849 * elf/tst-tlsmod2.c: Likewise.
12850 * elf/tst-tlsmod3.c: Likewise.
12851 * elf/tst-tlsmod4.c: Likewise.
12852 * elf/tst-tlsmod5.c: Likewise.
12853 * elf/tst-tlsmod6.c: Likewise.
12855 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12858 * malloc/malloc.c: remove checks for statistics.
12860 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12863 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12864 * inet/tst-network.c: Add testcase.
12866 2013-10-17 Andreas Schwab <schwab@suse.de>
12869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12870 to determine canonical name.
12872 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12874 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12875 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12898 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12899 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12917 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12918 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12929 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12931 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12933 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12936 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12937 make result into a quiet NaN.
12939 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12941 * soft-fp/adddf3.c: Fix horizontal whitespace.
12942 * soft-fp/addsf3.c: Likewise.
12943 * soft-fp/addtf3.c: Likewise.
12944 * soft-fp/divdf3.c: Likewise.
12945 * soft-fp/divsf3.c: Likewise.
12946 * soft-fp/divtf3.c: Likewise.
12947 * soft-fp/double.h: Likewise.
12948 * soft-fp/eqdf2.c: Likewise.
12949 * soft-fp/eqsf2.c: Likewise.
12950 * soft-fp/eqtf2.c: Likewise.
12951 * soft-fp/extenddftf2.c: Likewise.
12952 * soft-fp/extended.h: Likewise.
12953 * soft-fp/extendsfdf2.c: Likewise.
12954 * soft-fp/extendsftf2.c: Likewise.
12955 * soft-fp/extendxftf2.c: Likewise.
12956 * soft-fp/fixdfdi.c: Likewise.
12957 * soft-fp/fixdfsi.c: Likewise.
12958 * soft-fp/fixdfti.c: Likewise.
12959 * soft-fp/fixsfdi.c: Likewise.
12960 * soft-fp/fixsfsi.c: Likewise.
12961 * soft-fp/fixsfti.c: Likewise.
12962 * soft-fp/fixtfdi.c: Likewise.
12963 * soft-fp/fixtfsi.c: Likewise.
12964 * soft-fp/fixtfti.c: Likewise.
12965 * soft-fp/fixunsdfdi.c: Likewise.
12966 * soft-fp/fixunsdfsi.c: Likewise.
12967 * soft-fp/fixunsdfti.c: Likewise.
12968 * soft-fp/fixunssfdi.c: Likewise.
12969 * soft-fp/fixunssfsi.c: Likewise.
12970 * soft-fp/fixunssfti.c: Likewise.
12971 * soft-fp/fixunstfdi.c: Likewise.
12972 * soft-fp/fixunstfsi.c: Likewise.
12973 * soft-fp/fixunstfti.c: Likewise.
12974 * soft-fp/floatdidf.c: Likewise.
12975 * soft-fp/floatdisf.c: Likewise.
12976 * soft-fp/floatditf.c: Likewise.
12977 * soft-fp/floatsidf.c: Likewise.
12978 * soft-fp/floatsisf.c: Likewise.
12979 * soft-fp/floatsitf.c: Likewise.
12980 * soft-fp/floattidf.c: Likewise.
12981 * soft-fp/floattisf.c: Likewise.
12982 * soft-fp/floattitf.c: Likewise.
12983 * soft-fp/floatundidf.c: Likewise.
12984 * soft-fp/floatundisf.c: Likewise.
12985 * soft-fp/floatunditf.c: Likewise.
12986 * soft-fp/floatunsidf.c: Likewise.
12987 * soft-fp/floatunsisf.c: Likewise.
12988 * soft-fp/floatunsitf.c: Likewise.
12989 * soft-fp/floatuntidf.c: Likewise.
12990 * soft-fp/floatuntisf.c: Likewise.
12991 * soft-fp/floatuntitf.c: Likewise.
12992 * soft-fp/fmadf4.c: Likewise.
12993 * soft-fp/fmasf4.c: Likewise.
12994 * soft-fp/fmatf4.c: Likewise.
12995 * soft-fp/gedf2.c: Likewise.
12996 * soft-fp/gesf2.c: Likewise.
12997 * soft-fp/getf2.c: Likewise.
12998 * soft-fp/ledf2.c: Likewise.
12999 * soft-fp/lesf2.c: Likewise.
13000 * soft-fp/letf2.c: Likewise.
13001 * soft-fp/muldf3.c: Likewise.
13002 * soft-fp/mulsf3.c: Likewise.
13003 * soft-fp/multf3.c: Likewise.
13004 * soft-fp/negdf2.c: Likewise.
13005 * soft-fp/negsf2.c: Likewise.
13006 * soft-fp/negtf2.c: Likewise.
13007 * soft-fp/op-1.h: Likewise.
13008 * soft-fp/op-2.h: Likewise.
13009 * soft-fp/op-4.h: Likewise.
13010 * soft-fp/op-8.h: Likewise.
13011 * soft-fp/op-common.h: Likewise.
13012 * soft-fp/quad.h: Likewise.
13013 * soft-fp/single.h: Likewise.
13014 * soft-fp/soft-fp.h: Likewise.
13015 * soft-fp/sqrtdf2.c: Likewise.
13016 * soft-fp/sqrtsf2.c: Likewise.
13017 * soft-fp/sqrttf2.c: Likewise.
13018 * soft-fp/subdf3.c: Likewise.
13019 * soft-fp/subsf3.c: Likewise.
13020 * soft-fp/subtf3.c: Likewise.
13021 * soft-fp/truncdfsf2.c: Likewise.
13022 * soft-fp/trunctfdf2.c: Likewise.
13023 * soft-fp/trunctfsf2.c: Likewise.
13024 * soft-fp/trunctfxf2.c: Likewise.
13025 * soft-fp/unorddf2.c: Likewise.
13026 * soft-fp/unordsf2.c: Likewise.
13027 * soft-fp/unordtf2.c: Likewise.
13029 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13031 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13032 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13034 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13036 * elf/dl-libc.c: Clear initfini list after freeing.
13038 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13040 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13041 * soft-fp/addsf3.c: Likewise.
13042 * soft-fp/addtf3.c: Likewise.
13043 * soft-fp/divdf3.c: Likewise.
13044 * soft-fp/divsf3.c: Likewise.
13045 * soft-fp/divtf3.c: Likewise.
13046 * soft-fp/double.h: Likewise.
13047 * soft-fp/eqdf2.c: Likewise.
13048 * soft-fp/eqsf2.c: Likewise.
13049 * soft-fp/eqtf2.c: Likewise.
13050 * soft-fp/extenddftf2.c: Likewise.
13051 * soft-fp/extended.h: Likewise.
13052 * soft-fp/extendsfdf2.c: Likewise.
13053 * soft-fp/extendsftf2.c: Likewise.
13054 * soft-fp/extendxftf2.c: Likewise.
13055 * soft-fp/fixdfdi.c: Likewise.
13056 * soft-fp/fixdfsi.c: Likewise.
13057 * soft-fp/fixdfti.c: Likewise.
13058 * soft-fp/fixsfdi.c: Likewise.
13059 * soft-fp/fixsfsi.c: Likewise.
13060 * soft-fp/fixsfti.c: Likewise.
13061 * soft-fp/fixtfdi.c: Likewise.
13062 * soft-fp/fixtfsi.c: Likewise.
13063 * soft-fp/fixtfti.c: Likewise.
13064 * soft-fp/fixunsdfdi.c: Likewise.
13065 * soft-fp/fixunsdfsi.c: Likewise.
13066 * soft-fp/fixunsdfti.c: Likewise.
13067 * soft-fp/fixunssfdi.c: Likewise.
13068 * soft-fp/fixunssfsi.c: Likewise.
13069 * soft-fp/fixunssfti.c: Likewise.
13070 * soft-fp/fixunstfdi.c: Likewise.
13071 * soft-fp/fixunstfsi.c: Likewise.
13072 * soft-fp/fixunstfti.c: Likewise.
13073 * soft-fp/floatdidf.c: Likewise.
13074 * soft-fp/floatdisf.c: Likewise.
13075 * soft-fp/floatditf.c: Likewise.
13076 * soft-fp/floatsidf.c: Likewise.
13077 * soft-fp/floatsisf.c: Likewise.
13078 * soft-fp/floatsitf.c: Likewise.
13079 * soft-fp/floattidf.c: Likewise.
13080 * soft-fp/floattisf.c: Likewise.
13081 * soft-fp/floattitf.c: Likewise.
13082 * soft-fp/floatundidf.c: Likewise.
13083 * soft-fp/floatundisf.c: Likewise.
13084 * soft-fp/floatunsidf.c: Likewise.
13085 * soft-fp/floatunsisf.c: Likewise.
13086 * soft-fp/floatuntidf.c: Likewise.
13087 * soft-fp/floatuntisf.c: Likewise.
13088 * soft-fp/floatuntitf.c: Likewise.
13089 * soft-fp/fmadf4.c: Likewise.
13090 * soft-fp/fmasf4.c: Likewise.
13091 * soft-fp/fmatf4.c: Likewise.
13092 * soft-fp/gedf2.c: Likewise.
13093 * soft-fp/gesf2.c: Likewise.
13094 * soft-fp/getf2.c: Likewise.
13095 * soft-fp/ledf2.c: Likewise.
13096 * soft-fp/lesf2.c: Likewise.
13097 * soft-fp/letf2.c: Likewise.
13098 * soft-fp/muldf3.c: Likewise.
13099 * soft-fp/mulsf3.c: Likewise.
13100 * soft-fp/multf3.c: Likewise.
13101 * soft-fp/negdf2.c: Likewise.
13102 * soft-fp/negsf2.c: Likewise.
13103 * soft-fp/negtf2.c: Likewise.
13104 * soft-fp/op-1.h: Likewise.
13105 * soft-fp/op-2.h: Likewise.
13106 * soft-fp/op-4.h: Likewise.
13107 * soft-fp/op-8.h: Likewise.
13108 * soft-fp/op-common.h: Likewise.
13109 * soft-fp/quad.h: Likewise.
13110 * soft-fp/single.h: Likewise.
13111 * soft-fp/soft-fp.h: Likewise.
13112 * soft-fp/sqrtdf2.c: Likewise.
13113 * soft-fp/sqrtsf2.c: Likewise.
13114 * soft-fp/sqrttf2.c: Likewise.
13115 * soft-fp/subdf3.c: Likewise.
13116 * soft-fp/subsf3.c: Likewise.
13117 * soft-fp/subtf3.c: Likewise.
13118 * soft-fp/truncdfsf2.c: Likewise.
13119 * soft-fp/trunctfdf2.c: Likewise.
13120 * soft-fp/trunctfsf2.c: Likewise.
13121 * soft-fp/trunctfxf2.c: Likewise.
13122 * soft-fp/unorddf2.c: Likewise.
13123 * soft-fp/unordsf2.c: Likewise.
13124 * soft-fp/unordtf2.c: Likewise.
13126 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13129 * misc/error.c (error_tail): Fix possible buffer overflow.
13131 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13134 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13137 2013-10-14 P. J. McDermott <pj@pehjota.net>
13140 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13141 testing pipefail option.
13143 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13145 * soft-fp/double.h: Indent preprocessor directives inside #if.
13146 * soft-fp/extended.h: Likewise.
13147 * soft-fp/op-2.h: Likewise.
13148 * soft-fp/op-4.h: Likewise.
13149 * soft-fp/op-common.h: Likewise.
13150 * soft-fp/quad.h: Likewise.
13151 * soft-fp/single.h: Likewise.
13152 * soft-fp/soft-fp.h: Likewise.
13154 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13156 * iconv/iconv_prog.c: Fix typos.
13157 * stdio-common/psiginfo-data.h: Likewise.
13159 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13162 * locale/setlocale.c: Fix typo.
13164 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13167 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13168 signaling NaN arguments.
13169 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13170 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13173 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13174 unordered operands.
13175 * soft-fp/gesf2.c (__gesf2): Likewise.
13176 * soft-fp/getf2.c (__getf2): Likewise.
13177 * soft-fp/ledf2.c (__ledf2): Likewise.
13178 * soft-fp/lesf2.c (__lesf2): Likewise.
13179 * soft-fp/letf2.c (__letf2): Likewise.
13181 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13182 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13183 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13184 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13185 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13186 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13187 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13188 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13189 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13190 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13191 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13192 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13193 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13194 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13195 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13196 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13197 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13198 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13199 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13200 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13201 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13202 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13203 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13204 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13205 * soft-fp/floattidf.c (__floattidf): Likewise.
13206 * soft-fp/floattisf.c (__floattisf): Likewise.
13207 * soft-fp/floattitf.c (__floattitf): Likewise.
13208 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13209 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13210 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13211 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13212 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13213 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13214 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13215 * soft-fp/gesf2.c (__gesf2): Likewise.
13216 * soft-fp/getf2.c (__getf2): Likewise.
13217 * soft-fp/ledf2.c (__ledf2): Likewise.
13218 * soft-fp/lesf2.c (__lesf2): Likewise.
13219 * soft-fp/letf2.c (__letf2): Likewise.
13221 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13222 Undefine and redefine.
13223 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13224 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13225 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13226 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13227 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13228 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13229 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13230 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13231 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13232 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13233 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13234 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13235 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13236 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13237 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13240 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13241 without decrementing exponent if mantissa >= that for the
13242 denominator, not >.
13243 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13244 denominator, not >. Decrement exponent in < case instead of
13245 incrementing in >= case.
13246 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13247 without decrementing exponent if mantissa >= that for the
13248 denominator, not >.
13250 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13251 computing saturated result for unsigned overflow.
13253 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13254 Jeff Law <law@redhat.com>
13256 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13257 (atan2Mp): Add systemtap probe marker.
13258 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13259 (__ieee754_log): Add systemtap probe marker.
13260 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13261 (atanMp): Add systemtap probe marker.
13262 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13263 (tanMp): Add systemtap probe marker.
13264 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13265 (__slowexp): Add systemtap probe marker.
13266 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13267 (__slowpow): Add systemtap probe marker.
13268 * manual/probes.texi: Document probes.
13270 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13273 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13275 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13277 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13278 written to buffer but not flushed.
13279 * libio/iofwrite_u.c: Likewise.
13280 * libio/iopadn.c: Return bytes returned even if EOF was
13282 * libio/iowpadn.c: Likewise.
13283 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13284 if _IO_padn does not write the whole buffer.
13285 [!COMPILE_WPRINTF] (PAD): Likewise.
13287 2013-10-10 David S. Miller <davem@davemloft.net>
13289 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13292 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13294 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13295 instead of FSF address.
13296 * soft-fp/fixdfti.c: Likewise.
13297 * soft-fp/fixsfti.c: Likewise.
13298 * soft-fp/fixtfti.c: Likewise.
13299 * soft-fp/fixunsdfti.c: Likewise.
13300 * soft-fp/fixunssfti.c: Likewise.
13301 * soft-fp/fixunstfti.c: Likewise.
13302 * soft-fp/floattidf.c: Likewise.
13303 * soft-fp/floattisf.c: Likewise.
13304 * soft-fp/floattitf.c: Likewise.
13305 * soft-fp/floatuntidf.c: Likewise.
13306 * soft-fp/floatuntisf.c: Likewise.
13307 * soft-fp/floatuntitf.c: Likewise.
13308 * soft-fp/trunctfxf2.c: Likewise.
13310 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13311 * soft-fp/fixdfti.c: Likewise.
13312 * soft-fp/fixsfti.c: Likewise.
13313 * soft-fp/fixtfti.c: Likewise.
13314 * soft-fp/fixunsdfti.c: Likewise.
13315 * soft-fp/fixunssfti.c: Likewise.
13316 * soft-fp/fixunstfti.c: Likewise.
13317 * soft-fp/floattidf.c: Likewise.
13318 * soft-fp/floattisf.c: Likewise.
13319 * soft-fp/floattitf.c: Likewise.
13320 * soft-fp/floatuntidf.c: Likewise.
13321 * soft-fp/floatuntisf.c: Likewise.
13322 * soft-fp/floatuntitf.c: Likewise.
13323 * soft-fp/trunctfxf2.c: Likewise.
13325 2013-10-10 David S. Miller <davem@davemloft.net>
13327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13329 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13331 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13332 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13333 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13334 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13335 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13336 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13337 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13340 for NaNs before doing comparisons on argument.
13341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13344 2013-10-10 Will Newton <will.newton@linaro.org>
13346 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13347 passed to _int_memalign does not overflow.
13349 2013-10-10 Torvald Riegel <triegel@redhat.com>
13351 * scripts/bench.pl: Add include-sources directive.
13352 * benchtests/README: Update documentation.
13354 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13356 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13357 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13358 instead of FP_INIT_ROUNDMODE.
13359 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13360 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13363 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13364 copy class of input value.
13365 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13366 not handle exceptions.
13367 * soft-fp/negsf2.c (__negsf2): Likewise.
13368 * soft-fp/negtf2.c (__negtf2): Likewise.
13369 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13371 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13373 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13374 semicolon. From Linux kernel.
13376 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13378 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13380 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13383 * manual/socket.texi: Added statement about buffer
13384 for gethostbyname2_r.
13386 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13388 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13389 Use .p2align directive instead, throughout.
13390 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13391 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13392 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13395 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13396 * sysdeps/x86_64/strchr.S: Likewise.
13397 * sysdeps/x86_64/strrchr.S: Likewise.
13399 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13401 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13403 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13405 * sysdeps/generic/math_private.h (__mpsin1): Remove
13407 (__mpcos1): Likewise.
13408 (__mpsin): New argument __range_reduce.
13409 (__mpcos): Likewise.
13410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13411 (slow): Use __mpsin and __mpcos.
13415 (sloww1): Likewise.
13416 (sloww2): Likewise.
13417 (bsloww): Likewise.
13418 (bsloww1): Likewise.
13419 (bsloww2): Likewise.
13420 (cslow2): Likewise.
13421 (csloww): Likewise.
13422 (csloww1): Likewise.
13423 (csloww2): Likewise.
13424 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13425 range_reduce. Merge in __mpsin1.
13426 (__mpcos): Likewise.
13427 (__mpsin1): Remove.
13428 (__mpcos1): Likewise.
13430 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13432 * locale/loadlocale.c (_nl_intern_locale_data): Use
13434 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13435 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13436 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13437 obstack data is appropriately aligned.
13438 (obstack_int32_grow_fast): Likewise.
13439 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13440 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13441 (add_locale_uint32_array): Likewise.
13443 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13445 * benchtests/Makefile: Remove ARGLIST and RET variables.
13446 ($(objpfx)bench-%.c): Pass only function name to the script.
13447 * benchtests/README: Update documentation.
13448 * benchtests/acos-inputs: Add new directives.
13449 * benchtests/acosh-inputs: Likewise.
13450 * benchtests/asin-inputs: Likewise.
13451 * benchtests/asinh-inputs: Likewise.
13452 * benchtests/atan-inputs: Likewise.
13453 * benchtests/atanh-inputs: Likewise.
13454 * benchtests/cos-inputs: Likewise.
13455 * benchtests/cosh-inputs: Likewise.
13456 * benchtests/exp-inputs: Likewise.
13457 * benchtests/log-inputs: Likewise.
13458 * benchtests/pow-inputs: Likewise.
13459 * benchtests/rint-inputs: Likewise.
13460 * benchtests/sin-inputs: Likewise.
13461 * benchtests/sinh-inputs: Likewise.
13462 * benchtests/tan-inputs: Likewise.
13463 * benchtests/tanh-inputs: Likewise.
13464 * scripts/bench.pl: Add support for new directives.
13466 2013-10-07 Alan Modra <amodra@gmail.com>
13468 * README: Fix careless merge.
13470 2013-10-05 Alan Modra <amodra@gmail.com>
13472 * NEWS: Mention powerpc64le support and bugs fixed.
13473 * README: Both big-endian and little-endian powerpc64 supported.
13475 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13477 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13478 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13479 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13480 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13482 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13484 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13487 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13489 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13490 Move -mhard-float appending from
13491 ports/sysdeps/powerpc/powerpc32/Makefile.
13492 [$(with-fp) = yes] (ASFLAGS): Likewise.
13493 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13494 * sysdeps/powerpc/nofpu: Move directory from
13495 ports/sysdeps/powerpc/nofpu.
13496 * sysdeps/powerpc/soft-fp: Move directory from
13497 ports/sysdeps/powerpc/soft-fp.
13498 * sysdeps/powerpc/powerpc32/405: Move directory from
13499 ports/sysdeps/powerpc/powerpc32/405.
13500 * sysdeps/powerpc/powerpc32/440: Move directory from
13501 ports/sysdeps/powerpc/powerpc32/440.
13502 * sysdeps/powerpc/powerpc32/464: Move directory from
13503 ports/sysdeps/powerpc/powerpc32/464.
13504 * sysdeps/powerpc/powerpc32/476: Move directory from
13505 ports/sysdeps/powerpc/powerpc32/476.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13507 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13509 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13511 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13513 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13515 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13516 * README: Update for powerpc-*-linux-gnu software floating point
13519 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13520 case to powerpc/powerpc32*.
13521 * sysdeps/unix/sysv/linux/configure: Regenerated.
13523 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13524 (_FPU_MASK_OM): Define as 0x04.
13525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13533 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13536 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13539 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13540 and setcontext_e500.
13542 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13544 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13546 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13548 * manual/threads.texi (Default Thread Attributes): Fix typo.
13550 2013-10-04 Will Newton <will.newton@linaro.org>
13552 * malloc/Makefile: Add tst-memalign.
13553 * malloc/tst-memalign.c: New file.
13555 * malloc/tst-posix_memalign.c: Add comments.
13556 (do_test): Add comments and call free on all potentially
13557 allocated pointers. Add space after cast.
13559 * malloc/tst-pvalloc.c: Add comments.
13560 (do_test): Add comments and call free on all potentially
13561 allocated pointers. Remove duplicate check for NULL pointer.
13562 Add space after cast.
13564 * malloc/tst-valloc.c: Add comments.
13565 (do_test): Add comments and call free on all potentially
13566 allocated pointers. Remove duplicate check for NULL pointer.
13567 Add space after cast.
13569 2013-10-04 Alan Modra <amodra@gmail.com>
13571 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13572 Use stdint types in rather than __attribute__((mode())).
13573 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13575 2013-10-04 Alan Modra <amodra@gmail.com>
13577 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13578 Correct handling of unaligned relocs for little-endian.
13579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13581 2013-10-04 Alan Modra <amodra@gmail.com>
13583 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13584 * configure: Regenerate.
13585 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13586 * shlib-versions: Likewise.
13588 2013-10-04 Alan Modra <amodra@gmail.com>
13590 * string/tester.c (test_memrchr): Increment reported test cycle.
13592 2013-10-04 Alan Modra <amodra@gmail.com>
13594 * string/test-memcpy.c (do_one_test): When reporting errors, print
13595 string address and don't overrun end of string.
13597 2013-10-04 Alan Modra <amodra@gmail.com>
13599 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13600 insrdi. Make better use of reg selection to speed exit slightly.
13601 Schedule entry path a little better. Remove useless "are we done"
13602 checks on entry to main loop. Handle wrapping around zero address.
13603 Correct main loop count. Handle single left-over word from main
13604 loop inline rather than by using loop_small. Remove extra word
13605 case in loop_small caused by wrong loop count. Add little-endian
13607 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13612 support. Avoid rlwimi.
13613 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13615 2013-10-04 Alan Modra <amodra@gmail.com>
13617 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13618 insrdi. Formatting.
13619 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13620 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13621 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13622 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13623 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13624 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13626 2013-10-04 Alan Modra <amodra@gmail.com>
13628 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13630 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13631 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13632 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13633 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13635 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13636 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13637 use of regs. Use power7 mtocrf. Tidy function tails.
13639 2013-10-04 Alan Modra <amodra@gmail.com>
13641 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13642 Formatting. Consistently use rXXX register defines or rN defines.
13643 Use early exit labels that avoid restoring unused non-volatile regs.
13644 Make cr field use more consistent with rWORDn compares. Rename
13645 regs used as shift registers for unaligned loop, using rN defines
13646 for short lifetime/multiple use regs.
13647 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13648 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13649 addi 1,1,64 to pop stack frame. Simplify return value code.
13650 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13652 2013-10-04 Alan Modra <amodra@gmail.com>
13654 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13655 support. Correct typos, formatting. Optimize tail. Use insrdi
13656 rather than rlwimi.
13657 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13658 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13659 little-endian support. Correct typos.
13660 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13661 rather than rlwimi.
13662 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13663 in loop and entry code to keep "and." results.
13664 (strchr): Add little-endian support. Comment. Move cntlzd
13666 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13668 2013-10-04 Alan Modra <amodra@gmail.com>
13670 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13671 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13672 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13673 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13675 2013-10-04 Alan Modra <amodra@gmail.com>
13677 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13678 (rTMP): Define as r11.
13679 (strcmp): Add little-endian support. Optimise tail.
13680 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13681 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13682 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13683 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13684 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13688 2013-10-04 Alan Modra <amodra@gmail.com>
13690 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13691 little-endian support. Remove unnecessary "are we done" tests.
13692 Handle "s" wrapping around zero and extremely large "size".
13693 Correct main loop count. Handle single left-over word from main
13694 loop inline rather than by using small_loop. Correct comments.
13695 Delete "zero" tail, use "end_max" instead.
13696 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13698 2013-10-04 Alan Modra <amodra@gmail.com>
13700 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13701 support. Don't branch over align.
13702 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13703 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13704 support. Rearrange tmp reg use to suit. Comment.
13705 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13707 2013-10-04 Alan Modra <amodra@gmail.com>
13709 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13711 2013-10-04 Alan Modra <amodra@gmail.com>
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13714 conditional form of branch and link when obtaining pc.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13717 2013-10-04 Alan Modra <amodra@gmail.com>
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13724 2013-10-04 Alan Modra <amodra@gmail.com>
13726 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13727 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13728 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13729 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13730 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13731 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13732 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13733 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13734 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13735 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13737 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13738 Alistair Popple <alistair@ozlabs.au.ibm.com>
13739 Alan Modra <amodra@gmail.com>
13742 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13743 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13744 _dl_hwcap access for little-endian.
13745 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13746 destroy vmx regs when saving unaligned.
13747 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13748 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13749 destroy vmx regs when saving unaligned.
13751 2013-10-04 Alan Modra <amodra@gmail.com>
13753 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13754 Don't use a union to pack hi/low value.
13756 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13758 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13760 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13762 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13763 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13764 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13766 2013-10-04 Alan Modra <amodra@gmail.com>
13768 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13769 constants to usual value for .cst8 section, and remove redundant
13771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13772 constant for 0x1p52. Load little-endian words of double from
13773 correct stack offsets.
13775 2013-10-04 Alan Modra <amodra@gmail.com>
13777 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13778 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13779 words of double from correct stack offsets.
13780 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13781 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13782 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13783 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13786 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13787 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13788 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13791 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13792 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13793 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13794 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13795 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13796 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13798 2013-10-04 Alan Modra <amodra@gmail.com>
13800 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13801 64-bit int/double union.
13802 (_FPU_SETCW): Likewise.
13803 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13804 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13806 2013-10-04 Alan Modra <amodra@gmail.com>
13808 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13809 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13811 2013-10-04 Alan Modra <amodra@gmail.com>
13813 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13814 use vector int constants.
13815 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13817 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13819 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13820 array with long long.
13821 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13822 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13823 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13824 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13825 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13826 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13827 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13828 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13829 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13830 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13831 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13832 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13833 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13835 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13837 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13838 (__signbit): Likewise. Correct for little-endian.
13839 (__signbitl): Call __signbit.
13840 (lrint): Correct for little-endian.
13841 (lrintf): Call lrint.
13843 2013-10-04 Alan Modra <amodra@gmail.com>
13845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13846 union 32-bit int array member with 64-bit int array.
13847 (t515, tm256): Double rather than long double.
13848 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13850 2013-10-04 Alan Modra <amodra@gmail.com>
13852 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13854 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13856 version of math_ldbl.h.
13858 2013-10-04 Alan Modra <amodra@gmail.com>
13860 [BZ #15734], [BZ #15735]
13861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13862 all uses of ieee875 long double macros and unions. Simplify test
13863 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13864 ldbl_extract_mantissa value for ix,iy exponents. Properly
13865 normalize after ldbl_extract_mantissa, and don't add hidden bit
13866 already handled. Don't treat low word of ieee854 mantissa like
13867 low word of IBM long double and mask off bit when testing for
13869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13870 all uses of ieee875 long double macros and unions. Simplify tests
13871 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13872 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13873 two1022, instead use their values. Recognise that tests for large
13874 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13875 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13876 Rewrite all uses of ieee875 long double macros and unions. Simplify
13877 test for 0.0L and nan. Correct negation.
13878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13879 ieee875 long double macros and unions. Correct output for large
13880 magnitude x. Correct absolute value calculation.
13881 (__erfcl): Likewise.
13882 * math/libm-test.inc: Add tests for errors discovered in IBM long
13883 double versions of fmodl, remainderl, erfl and erfcl.
13885 2013-10-04 Alan Modra <amodra@gmail.com>
13887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13888 all uses of ieee854 long double macros and unions. Simplify tests
13889 for long doubles that are fully specified by the high double.
13890 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13892 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13893 Remove dead code too.
13894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13895 (__ieee754_ynl): Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13899 Remove dead code too.
13900 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13901 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13910 Comment on variable precision.
13911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13914 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13917 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13918 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13920 2013-10-04 Alan Modra <amodra@gmail.com>
13922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13924 all uses of ieee854 long double macros and unions.
13925 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13932 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13938 Simplify sign and nan test too.
13939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13944 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13954 2013-10-04 Alan Modra <amodra@gmail.com>
13956 * stdio-common/printf_size.c (__printf_size): Don't use
13957 union ieee854_long_double in fpnum union.
13958 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13959 signbit macro to retrieve sign from long double.
13960 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13961 retrieve sign from long double.
13962 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13963 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13965 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13966 * math/test-misc.c (main): Don't use union ieee854_long_double.
13968 2013-10-04 Alan Modra <amodra@gmail.com>
13971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13972 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13973 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13974 calculation. Remove unnecessary test for denormal exponent.
13975 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13976 Correct handling of denormals. Avoid undefined shift behaviour.
13977 Correct normalisation of low mantissa when low double is denormal.
13978 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13979 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13980 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13981 Correct normalisation of low mantissa. Test for overflow of high
13982 mantissa and normalise.
13983 (ldbl_nearbyint): Use more readable constant for two52.
13984 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13985 (__mpn_construct_long_double): Fix test for overflow of high
13986 mantissa and correct normalisation. Avoid undefined shift.
13988 2013-10-04 Alan Modra <amodra@gmail.com>
13990 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13991 (union ibm_extended_long_double): Define as an array of ieee754_double.
13992 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13993 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13994 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13995 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13999 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14004 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14006 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14007 page size instead of calling getpagesize.
14009 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14010 (LOCFILE_ALIGN_MASK): Likewise.
14011 (LOCFILE_ALIGN_UP): Likewise.
14012 (LOCFILE_ALIGNED_P): Likewise.
14013 * locale/programs/ld-collate.c (collate_output): Use the new
14014 macros instead of __alignof__ (int32_t).
14015 * locale/weight.h (findidx): Likewise.
14017 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14020 * manual/string.texi: Fix strncat and wcsncat.
14022 2013-10-03 Brooks Moses <bmoses@google.com>
14025 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14026 * Makerules: ...here, and adjust associated comments.
14028 2013-10-02 Will Newton <will.newton@linaro.org>
14030 * malloc/Makefile: Add tst-pvalloc.
14031 * malloc/tst-pvalloc.c: New file.
14033 2013-10-02 Will Newton <will.newton@linaro.org>
14035 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14036 improve test coverage.
14038 2013-10-02 Will Newton <will.newton@linaro.org>
14040 * malloc/Makefile: Add tst-posix_memalign.
14041 * malloc/tst-posix_memalign.c: New file.
14043 2013-10-01 Eric Blake <eblake@redhat.com>
14045 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14046 Use __THROWNL rather than __THROW on static functions.
14048 2013-09-30 Petr Machata <pmachata@redhat.com>
14050 * elf/elf.h (R_AARCH64_ABS16): New macro.
14051 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14052 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14053 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14054 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14055 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14056 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14057 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14058 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14059 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14060 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14061 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14062 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14063 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14064 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14065 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14066 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14067 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14068 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14069 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14070 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14071 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14072 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14073 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14074 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14075 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14076 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14077 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14078 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14079 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14080 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14081 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14082 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14083 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14084 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14085 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14086 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14087 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14088 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14089 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14090 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14091 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14092 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14093 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14094 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14095 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14096 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14097 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14098 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14099 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14100 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14101 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14102 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14103 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14104 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14105 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14106 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14107 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14108 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14109 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14110 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14111 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14112 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14113 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14114 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14115 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14116 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14117 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14118 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14119 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14120 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14121 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14122 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14123 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14124 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14125 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14126 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14127 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14128 (R_AARCH64_TLSDESC_LDR): Likewise.
14129 (R_AARCH64_TLSDESC_ADD): Likewise.
14130 (R_AARCH64_TLSDESC_CALL): Likewise.
14132 2013-09-30 Andreas Schwab <schwab@suse.de>
14135 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14136 the nss database lookup.
14137 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14140 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14142 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14144 2013-09-28 P. J. McDermott <pj@pehjota.net>
14146 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14147 ${Bash-specific parameter/pattern/string} parameter expansion.
14148 * sysdeps/unix/make-syscalls.sh: Likewise.
14150 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14152 * sysdeps/sh/stackguard-macros.h: New file.
14154 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14158 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14160 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14161 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14163 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14165 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14166 Fix thread ID register.
14168 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14170 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14171 [POSIX || UNIX98]: Require rather than permitting all symbols from
14173 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14174 element of struct sched_param.
14175 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14176 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14177 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14178 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14181 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14183 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14184 argument calculation.
14186 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14188 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14190 [POSIX] (pthread_attr_t): Do not require type.
14191 [POSIX] (pthread_cond_t): Likewise.
14192 [POSIX] (pthread_condattr_t): Likewise.
14193 [POSIX] (pthread_key_t): Likewise.
14194 [POSIX] (pthread_mutex_t): Likewise.
14195 [POSIX] (pthread_mutexattr_t): Likewise.
14196 [POSIX] (pthread_once_t): Likewise.
14197 [POSIX] (pthread_t): Likewise.
14198 [POSIX-based standards] (pthread_atfork): Expect function.
14200 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14201 Richard Sandiford <richard@codesourcery.com>
14203 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14204 (swap_endianness_p): New extern variable.
14205 (set_big_endian): New inline function.
14206 (maybe_swap_uint32): Likewise.
14207 (maybe_swap_uint32_array): Likewise.
14208 (maybe_swap_uint32_obstack): Likewise.
14209 * locale/programs/locfile.c: Include <stdbool.h>.
14210 (swap_endianness_p): New variable.
14211 (add_locale_uint32): Call maybe_swap_uint32.
14212 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14213 (write_locale_data): Call maybe_swap_uint32_array.
14214 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14216 (obstack_int32_grow_fast): Likewise.
14217 (output_weightwc): Call maybe_swap_uint32_obstack.
14218 (collate_output): Likewise.
14219 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14220 (OPT_LITTLE_ENDIAN): Likewise.
14221 (options): Add --little-endian and --big-endian options.
14222 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14223 * locale/programs/locarchive.c: Include "locfile.h".
14227 (create_archive): Use the new macros to access fields of
14228 structures directly mapped from or written to locale archives.
14229 (oldlocrecentcmp): Likewise.
14230 (enlarge_archive): Likewise.
14231 (insert_name): Likewise.
14232 (add_alias): Likewise.
14233 (add_locale): Likewise.
14234 (delete_locales_from_archive): Likewise.
14235 (show_archive_content): Likewise.
14236 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14239 2013-09-24 Roland McGrath <roland@hack.frob.com>
14241 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14242 http://www.gnu.org/doc/freemanuals.texi.
14243 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14245 2013-09-24 Will Newton <will.newton@linaro.org>
14247 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14250 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14252 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14255 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14257 * manual/threads.texi (POSIX Threads): Fix a typo.
14259 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14262 * string/tst-strcoll-overflow.c: New test case.
14263 * string/Makefile (xtests): Add tst-strcoll-overflow.
14264 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14265 cache if string sizes may cause integer overflow.
14268 * string/strcoll_l.c (coll_seq): New members rule, idx,
14269 save_idx and back_us.
14270 (get_next_seq_nocache): New function.
14271 (do_compare_nocache): New function.
14272 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14275 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14278 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14279 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14280 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14283 * elf/Makefile (tests): Add tst-ptrguard1.
14284 (tests-static): Add tst-ptrguard1-static.
14285 (tst-ptrguard1-ARGS): Define.
14286 (tst-ptrguard1-static-ARGS): Define.
14287 * elf/tst-ptrguard1.c: New file.
14288 * elf/tst-ptrguard1-static.c: New file.
14289 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14290 * sysdeps/i386/stackguard-macros.h: Likewise.
14291 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14292 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14293 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14294 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14295 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14296 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14298 2013-09-23 Hector Marco <hecmargi@upv.es>
14299 Ismael Ripoll <iripoll@disca.upv.es>
14300 Carlos O'Donell <carlos@redhat.com>
14303 * sysdeps/generic/stackguard-macros.h: Define
14304 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14305 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14306 Define __pointer_chk_guard_local.
14307 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14308 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14310 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14313 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14315 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14317 * include/string.h (__ffs): Declare as hidden.
14318 * string/ffs.c (__ffs): Define as hidden.
14319 * sysdeps/i386/ffs.c (__ffs): Likewise.
14320 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14321 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14322 * sysdeps/s390/ffs.c (__ffs): Likewise.
14323 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14325 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14327 * NEWS: Mention malloc probes.
14329 * malloc/arena.c (new_heap): New memory_heap_new probe.
14330 (grow_heap): New memory_heap_more probe.
14331 (shrink_heap): New memory_heap_less probe.
14332 (heap_trim): New memory_heap_free probe.
14333 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14334 (systrim): New memory_sbrk_less probe.
14335 * manual/probes.texi: Document them.
14337 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14338 * manual/probes.texi: Document it.
14340 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14341 (__libc_realloc): Add memory_realloc_retry probe.
14342 (__libc_memalign): Add memory_memalign_retry probe.
14343 (__libc_valloc): Add memory_valloc_retry probe.
14344 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14345 (__libc_calloc): Add memory_calloc_retry probe.
14346 * manual/probes.texi: Document them.
14348 * malloc/arena.c (get_free_list): Add probe
14349 memory_arena_reuse_free_list.
14350 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14351 and memory_arena_reuse.
14352 (arena_get2) [!PER_THREAD]: Likewise.
14353 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14354 memory_arena_reuse_realloc.
14355 * manual/probes.texi: Document them.
14357 * malloc/malloc.c (__libc_free): Add
14358 memory_mallopt_free_dyn_thresholds probe.
14359 (__libc_mallopt): Add multiple memory_mallopt probes.
14360 * manual/probes.texi: Document them.
14362 * malloc/malloc.c: Include stap-probe.h.
14363 (__libc_mallopt): Add memory_mallopt probe.
14364 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14365 * manual/probes.texi: New.
14366 * manual/Makefile (chapters): Add probes.
14367 * manual/threads.texi: Set next node.
14369 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14371 [BZ #15963, #13985]
14372 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14373 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14374 Add `Chinese' to `nan' entry name.
14376 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14378 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14379 (POLYNOMIAL): Likewise.
14380 (TAYLOR_SINCOS): Likewise.
14381 (TAYLOR_SLOW): Likewise.
14382 (__sin): Use TAYLOR_SINCOS.
14384 (slow): Use TAYLOR_SLOW.
14386 (bsloww): Likewise.
14387 (csloww): Likewise.
14389 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14391 * stdlib/strtod_l.c: Fix buffer overrun.
14393 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14395 * benchtests/Makefile (bench): Add sincos.
14396 * benchtests/bench-sincos.c: New file.
14398 * math/libm-test.inc (cos_test_data): New test inputs.
14399 (sin_test_data): Likewise.
14401 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14407 (sloww1): Likewise.
14408 (sloww2): Likewise.
14409 (bsloww1): Likewise.
14410 (bsloww2): Likewise.
14411 (cslow2): Likewise.
14412 (csloww1): Likewise.
14413 (csloww2): Likewise.
14415 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14424 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14426 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14427 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14428 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14429 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14430 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14431 * elf/cache.c (print_entry): Handle the new cache flags.
14433 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14434 Aldy Hernandez <aldyh@redhat.com>
14436 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14437 Change condition to [_SOFT_FLOAT].
14438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14450 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14453 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14456 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14458 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14459 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14460 (__longjmp): Use LOAD_GP to load saved GPRs.
14461 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14462 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14463 (__sigsetjmp): Use SAVE_GP to save GPRs.
14465 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14466 Do not append -msoft-float.
14467 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14469 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14471 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14473 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14476 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14477 (_FPU_GETCW): Use initial "__" on variable and field names but not
14478 on macro parameter name.
14479 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14480 parentheses around reference to macro parameter.
14482 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14484 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14486 (ctype_startup): Use uint32_t in cast and sizeof for
14489 2013-09-11 Jia Liu <proljc@gmail.com>
14491 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14493 [__FreeBSD__]: Likewise.
14495 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14498 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14499 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14500 (strchr): Remove __strchr_sse42 ifunc selection.
14501 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14502 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14504 2013-09-11 Will Newton <will.newton@linaro.org>
14506 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14507 parameter to RES. Remove hardcoded 1000 value.
14508 * benchtests/bench-skeleton.c (main): Pass RES parameter
14509 to TIMING_INIT and multiply result by 1000.
14511 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14515 2013-09-11 Andreas Schwab <schwab@suse.de>
14517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14519 (O_TMPFILE) [__USE_GNU]: Define.
14520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14523 2013-09-11 Will Newton <will.newton@linaro.org>
14526 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14529 2013-09-11 Will Newton <will.newton@linaro.org>
14532 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14535 2013-09-11 Will Newton <will.newton@linaro.org>
14538 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14541 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14543 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14546 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14549 2013-09-10 Allan McRae <allan@archlinux.org>
14552 * manual/arith.texi (Parsing of Floats): Clarify
14556 * manual/install.texi (Running make install): Mention
14558 * INSTALL: Regenerated.
14560 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14562 * csu/init-first.c (_init): Remove the !SHARED condition around
14563 FPU control word initialization.
14564 * elf/dl-support.c (_dl_fpu_control): New variable.
14565 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14566 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14567 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14568 * math/test-fpucw-static.c: New file.
14569 * math/test-fpucw-ieee.c: New file.
14570 * math/test-fpucw-ieee-static.c: New file.
14571 * math/Makefile (tests): Add `test-fpucw-ieee' and
14573 (tests-static): New variable.
14574 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14576 [($(build-shared),yes)]
14577 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14579 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14582 2013-09-09 Allan McRae <allan@archlinux.org>
14585 * manual/string.texi (Collation Functions): Fix typo in
14587 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14590 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14593 * libio/memstream.c (open_memstream): Fix memory leak.
14594 * libio/wmemstream.c (open_wmemstream): Likewise.
14597 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14599 2013-09-09 Will Newton <will.newton@linaro.org>
14601 * malloc/Makefile: Add tst-realloc to tests.
14602 * malloc/tst-realloc.c: New file.
14604 2013-09-09 Allan McRae <allan@archlinux.org>
14607 * COPYING: Update from GNU website to fix FSF address.
14608 * COPYING.LIB: Likewise.
14610 2013-09-06 David S. Miller <davem@davemloft.net>
14612 * po/zh_TW.po: Update Chinese (traditional) translation from
14613 translation project.
14615 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14616 Joseph Myers <joseph@codesourcery.com>
14618 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14620 (obstack_chunk_alloc): New macro.
14621 (obstack_chunk_free): Likewise.
14622 (record_offset): New function.
14623 (init_locale_data): Likewise.
14624 (align_locale_data): Likewise.
14625 (add_locale_empty): Likewise.
14626 (add_locale_raw_data): Likewise.
14627 (add_locale_raw_obstack): Likewise.
14628 (add_locale_string): Likewise.
14629 (add_locale_wstring): Likewise.
14630 (add_locale_uint32): Likewise.
14631 (add_locale_uint32_array): Likewise.
14632 (add_locale_char): Likewise.
14633 (start_locale_structure): Likewise.
14634 (end_locale_structure): Likewise.
14635 (start_locale_prelude): Likewise.
14636 (end_locale_prelude): Likewise.
14637 (write_locale_data): Take locale_file structure rather than an
14639 * locale/programs/locfile.h: Include "obstack.h".
14640 (struct locale_file): Change to store locale file contents instead
14642 (init_locale_data): New prototype.
14643 (align_locale_data): Likewise.
14644 (add_locale_empty): Likewise.
14645 (add_locale_raw_data): Likewise.
14646 (add_locale_raw_obstack): Likewise.
14647 (add_locale_string): Likewise.
14648 (add_locale_wstring): Likewise.
14649 (add_locale_uint32): Likewise.
14650 (add_locale_uint32_array): Likewise.
14651 (add_locale_char): Likewise.
14652 (start_locale_structure): Likewise.
14653 (end_locale_structure): Likewise.
14654 (start_locale_prelude): Likewise.
14655 (end_locale_prelude): Likewise.
14656 (write_locale_data): Update prototype.
14657 * locale/programs/3level.h (struct TABLE): Remove result field.
14658 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14659 Use new locale_file interface.
14660 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14661 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14662 * locale/programs/ld-address.c (address_output): Use new
14663 locale_file interface.
14664 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14666 (collate_finish): Don't call collseq_table_finalize.
14667 (collate_output): Use new locale_file interface.
14668 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14670 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14671 (TABLE): Move defines earlier in file.
14672 (ELEMENT): Likewise.
14673 (DEFAULT): Likewise.
14674 (wctrans_table_add): Move macro and inline function earlier in
14676 (struct wctype_table): Move type earlier in file.
14677 (add_locale_wctype_table): New static prototype.
14678 (struct locale_ctype_t): Use logical types instead of struct iovec
14679 pointers for members.
14680 (ctype_output): Use new locale_file interface.
14681 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14682 new locale_file interface.
14683 (allocate_arrays): Update for use of new locale_file interface.
14684 * locale/programs/ld-identification.c (identification_output): Use
14685 new locale_file interface.
14686 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14687 * locale/programs/ld-messages.c (messages_output): Likewise.
14688 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14689 * locale/programs/ld-name.c (name_output): Likewise.
14690 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14691 * locale/programs/ld-paper.c (paper_output): Likewise.
14692 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14693 * locale/programs/ld-time.c (time_output): Likewise.
14695 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14697 * benchtests/Makefile: Add memrchr benchmark.
14698 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14699 benchmark as memrchr.
14700 * benchtests/bench-memrchr-ifunc.c: New file.
14701 * benchtests/bench-memrchr.c: New file.
14703 2013-09-06 Will Newton <will.newton@linaro.org>
14705 * benchtests/Makefile (string-bench): Add memcpy.
14707 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14708 Cong Wang <amwang@redhat.com>
14711 * sysdeps/unix/sysv/linux/bits/in.h
14712 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14713 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14714 before __USE_KERNEL_IPV6_DEFS uses.
14715 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14717 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14718 sockaddr_in6, or ipv6_mreq.
14720 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14722 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14723 memory access for final bytes in some large inputs.
14724 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14726 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14728 * string/test-memrchr.c: New file.
14729 * string/test-memrchr-ifunc.c: New file.
14730 * string/Makefile: Add new memrchr testcase.
14732 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14734 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14735 fanotify_init returns EPERM.
14737 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14739 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14741 (top level): Treat second token from macro or constant entries for
14742 allowed headers as allowed.
14743 * include/complex.h: Condition internal declarations on
14745 * include/fenv.h: Condition include of <stdbool.h> and internal
14746 declarations on [!_ISOMAC].
14748 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14751 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14753 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14755 * configure.in (--enable-versioning): Remove configure option.
14756 (libc_cv_asm_symver_directive): Remove configure test.
14757 (libc_cv_ld_version_script_option): Likewise.
14758 (VERSIONING): Remove variable and AC_SUBST.
14759 (DO_VERSIONING): Remove AC_DEFINE.
14760 * configure: Regenerated.
14761 * config.h.in (DO_VERSIONING): Remove macro.
14762 * Makerules [$(versioning) = yes]: Change conditionals to
14763 [$(build-shared) = yes].
14764 * config.make.in (versioning): Remove variable.
14765 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14766 [$(build-shared) = yes].
14767 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14768 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14769 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14770 [$(build-shared) = yes].
14771 * extra-lib.mk [$(versioning) = yes]: Likewise.
14772 * hurd/Makefile [$(versioning) = yes]: Likewise.
14773 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14775 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14777 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14778 [SHARED && !NO_HIDDEN].
14779 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14781 [SHARED && DO_VERSIONING]: Likewise..
14782 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14783 [$(build-shared) = yes].
14784 * manual/install.texi (--disable-versioning): Remove
14786 * INSTALL: Regenerated.
14787 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14789 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14790 [$(build-shared) = yes].
14791 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14792 * sysdeps/i386/i686/multiarch/strstr-c.c
14793 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14794 [SHARED && !NO_HIDDEN].
14795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14796 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14797 * sysdeps/powerpc/powerpc32/dl-machine.c
14798 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14799 * sysdeps/powerpc/powerpc32/sysdep.h
14800 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14801 to [SHARED && PIC && !NO_HIDDEN].
14802 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14803 conditional to [SHARED].
14805 2013-09-04 Will Newton <will.newton@linaro.org>
14807 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14808 * benchtests/bench-string.h: Include bench-timing.h instead
14809 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14810 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14811 call to HP_TIMING_DIFF_INIT.
14812 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14813 instead of hp-timing.h macros.
14814 * benchtests/bench-memchr.c: Likewise.
14815 * benchtests/bench-memcmp.c: Likewise.
14816 * benchtests/bench-memcpy.c: Likewise.
14817 * benchtests/bench-memmem.c: Likewise.
14818 * benchtests/bench-memmove.c: Likewise.
14819 * benchtests/bench-memset.c: Likewise.
14820 * benchtests/bench-rawmemchr.c: Likewise.
14821 * benchtests/bench-strcasecmp.c: Likewise.
14822 * benchtests/bench-strcasestr.c: Likewise.
14823 * benchtests/bench-strcat.c: Likewise.
14824 * benchtests/bench-strchr.c: Likewise.
14825 * benchtests/bench-strcmp.c: Likewise.
14826 * benchtests/bench-strcpy.c: Likewise.
14827 * benchtests/bench-strcpy_chk.c: Likewise.
14828 * benchtests/bench-strlen.c: Likewise.
14829 * benchtests/bench-strncasecmp.c: Likewise.
14830 * benchtests/bench-strncat.c: Likewise.
14831 * benchtests/bench-strncmp.c: Likewise.
14832 * benchtests/bench-strncpy.c: Likewise.
14833 * benchtests/bench-strnlen.c: Likewise.
14834 * benchtests/bench-strpbrk.c: Likewise.
14835 * benchtests/bench-strrchr.c: Likewise.
14836 * benchtests/bench-strspn.c: Likewise.
14837 * benchtests/bench-strstr.c: Likewise.
14839 2013-09-04 Will Newton <will.newton@linaro.org>
14841 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14843 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14847 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14848 * math/libm-test.inc (lgamma_test_data): Add more tests.
14849 * sysdeps/i386/fpu/libm-test-ulps: Update.
14850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14852 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14854 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14858 Add strcmp-sse2-unaligned
14859 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14861 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14863 * Versions.def (libc): Add GLIBC_2.19.
14865 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14867 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14868 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14870 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14873 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14874 intermediate calculations in recurrence.
14875 (__ieee754_ynf): Likewise.
14876 * math/libm-test.inc (jn_test_data): Do not allow spurious
14877 underflow exception. Add more tests.
14878 (yn_test_data): Add more tests.
14879 * sysdeps/i386/fpu/libm-test-ulps: Update.
14880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14882 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14884 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14886 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14888 * csu/init-first.c: Fix then/than typos.
14889 * locale/programs/ld-collate.c: Likewise.
14890 * locale/programs/linereader.h: Likewise.
14891 * manual/charset.texi: Likewise.
14892 * manual/filesys.texi: Likewise.
14893 * manual/stdio.texi: Likewise.
14894 * manual/string.texi: Likewise.
14895 * stdlib/fmtmsg.c: Likewise.
14896 * sysdeps/i386/stpncpy.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14898 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14899 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14900 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14902 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14904 * elf/dl-open.c: Fix typos.
14905 * iconvdata/gbbig5.c: Likewise.
14906 * iconvdata/iso-2022-jp.c: Likewise.
14907 * iconv/gconv_int.h: Likewise.
14908 * iconv/loop.c: Likewise.
14909 * nis/rpcsvc/nis.h: Likewise.
14910 * resolv/ns_name.c: Likewise.
14911 * stdio-common/vfscanf.c: Likewise.
14912 * streams/stropts.h: Likewise.
14913 * sunrpc/rpc_thread.c: Likewise.
14914 * sysdeps/i386/strpbrk.S: Likewise.
14915 * sysdeps/ieee754/k_standard.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14918 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14919 * sysdeps/mach/hurd/profil.c: Likewise.
14920 * sysdeps/s390/dl-procinfo.h: Likewise.
14921 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14922 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14923 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14924 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14927 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14929 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14932 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14934 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14935 aix specific files.
14936 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14937 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14942 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14945 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14946 Roland McGrath <roland@hack.frob.com>
14948 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14949 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14951 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14953 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14954 __executable_start symbol instead of _start.
14956 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14958 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14959 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14961 * sysdeps/gnu/ldsodefs.h: ... this new file.
14963 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14964 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14965 instead of ELFOSABI_LINUX.
14967 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14968 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14969 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14970 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14972 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14973 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14976 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14977 (ibm_extended_long_double): Add ieee_nan member.
14978 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14979 (do_test): New function.
14981 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14983 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14984 functions, renamed from truncdfsf_test, trunctfsf_test,
14986 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14988 (do_test): Run all these.
14990 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14992 * argp/argp-help.c: Fix typos.
14993 * argp/argp-parse.c: Likewise.
14994 * debug/backtracesyms.c: Likewise.
14995 * elf/elf.h: Likewise.
14996 * malloc/malloc.c: Likewise.
14997 * nis/nis_print.c: Likewise.
14998 * resolv/res_comp.c: Likewise.
14999 * stdlib/stdlib.h: Likewise.
15000 * sunrpc/clnt_tcp.c: Likewise.
15001 * sunrpc/clnt_udp.c: Likewise.
15002 * sunrpc/clnt_unix.c: Likewise.
15003 * sysdeps/unix/bsd/ptsname.c: Likewise.
15004 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15005 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15012 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15014 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15016 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15019 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15022 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15023 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15024 ($(objpfx)bug-dl-leaf): New rule.
15025 ($(objpfx)bug-dl-leaf.so): Likewise.
15026 ($(objpfx)bug-dl-leaf.out): Likewise.
15027 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15028 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15029 * dlfcn/bug-dl-leaf.c: New test.
15030 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15031 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15032 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15033 (dlclose): Likewise.
15034 (dlmopen): Likewise.
15036 2013-08-27 Roland McGrath <roland@hack.frob.com>
15038 * include/netdb.h [!_ISOMAC]:
15039 Don't include <tls.h>.
15040 (h_errno, __libc_h_errno): Move declaration and macros out of
15043 * include/resolv.h [_RESOLV_H_]:
15044 Don't include <tls.h>.
15045 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15046 * resolv/res_libc.c: Don't include <tls.h>.
15047 (_res): Use __attribute__ ((nocommon)) in place of
15048 __attribute__ ((section (".bss"))).
15050 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15051 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15053 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15055 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15056 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15058 * resolv/res_mkquery.c: Include <sys/time.h>.
15060 * inet/ifreq.c: Moved to ...
15061 * sysdeps/unix/ifreq.c: ... here.
15062 * inet/ifreq.c: New file, true stub version.
15064 * socket/sa_len.c: New file.
15065 * socket/Makefile (aux): Add it.
15066 * sysdeps/unix/sysv/linux/Makefile
15067 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15068 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15069 and #include <socket/sa_len.c>.
15070 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15071 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15074 * bits/socket.h: ... here.
15076 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15077 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15078 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15080 2013-08-27 Andreas Schwab <schwab@suse.de>
15083 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15084 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15085 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15086 * string/test-strcasecmp.c (test_main): Run tests in several
15088 * string/test-strncasecmp.c (test_main): Likewise.
15090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15091 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15092 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15094 (__strncasecmp_ssse3) [PIC]: Likewise.
15096 2013-08-26 Roland McGrath <roland@hack.frob.com>
15098 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15100 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15101 instead of explicitly declaring xdecrypt.
15102 * nis/nss_nis/nis-publickey.c: Likewise.
15104 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15107 * nscd/aicache.c: Include res_hconf.h.
15108 (addhstaiX): Initialize res_hconf.
15110 2013-08-26 Andreas Schwab <schwab@suse.de>
15112 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15113 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15115 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15117 * nscd/aicache.c (addhstaiX): Fix indentation.
15119 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15121 * configure.ac: Quote $build_pt_chown test.
15122 * configure: Regenerated.
15124 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15127 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15128 * math/s_cexpf.c (__cexpf): Likewise.
15129 * math/s_cexpl.c (__cexpl): Likewise.
15130 * math/libm-test.inc (cexp_test_data): Correct expected return
15131 value for NaN + i0. Add another test.
15133 2013-08-22 David S. Miller <davem@davemloft.net>
15135 * po/ca.po: Update Catalan translation from translation project.
15136 * po/uk.po: Add Ukrainian translations from translation project.
15138 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15141 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15142 is infinite, not alongside NaN test.
15143 * math/s_fdimf.c (__fdimf): Likewise.
15144 * math/s_fdiml.c (__fdiml): Likewise.
15145 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15146 errno is unchanged.
15148 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15150 * argp/argp-help.c: Fix typos.
15151 * crypt/speeds.c: Likewise.
15152 * csu/check_fds.c: Likewise.
15153 * elf/dl-load.c: Likewise.
15154 * elf/dl-open.c: Likewise.
15155 * elf/reldep3.c: Likewise.
15156 * elf/reldep.c: Likewise.
15157 * elf/sprof.c: Likewise.
15158 * iconv/iconv_charmap.c: Likewise.
15159 * iconv/skeleton.c: Likewise.
15160 * iconv/strtab.c: Likewise.
15161 * io/lockf64.c: Likewise.
15162 * libio/libioP.h: Likewise.
15163 * resolv/gai_notify.c: Likewise.
15164 * resolv/ns_name.c: Likewise.
15165 * resolv/ns_samedomain.c: Likewise.
15166 * resolv/res_send.c: Likewise.
15167 * stdlib/random.c: Likewise.
15168 * sunrpc/rpc/xdr.h: Likewise.
15169 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15170 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15171 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15172 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15173 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15174 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15176 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15177 * sysdeps/mach/hurd/check_fds.c: Likewise.
15178 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15179 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15182 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15183 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15184 * sysdeps/pthread/aio_notify.c: Likewise.
15185 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15186 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15188 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15189 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15191 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15193 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15194 version if bit_Slow_SSE4_2 is set.
15195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15196 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15198 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15201 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15202 trampoline stack frame information.
15203 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15204 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15205 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15206 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15207 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15208 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15209 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15210 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15212 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15213 interrupting a syscall and set with option SA_SIGINFO.
15215 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15218 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15219 argument is infinite.
15220 * math/s_cprojf.c (__cprojf): Likewise.
15221 * math/s_cprojl.c (__cprojl): Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15223 * math/libm-test.inc (cproj_test_data): Add more tests.
15225 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15227 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15228 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15229 size. Use __ffs to determine corresponding shift.
15231 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15232 Roland McGrath <roland@hack.frob.com>
15234 * Makefile (INSTALL): Remove trailing blank lines from output of
15237 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15239 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15240 Align 32 bit compat elf_greg to 8 bytes.
15242 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15244 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15246 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15248 * string/strcoll_l.c (coll_seq): New structure.
15249 (get_next_seq_cached): New function.
15250 (get_next_seq): New function.
15251 (do_compare): New function.
15252 (STRCOLL): Use GNU style definition. Simplify implementation
15253 by using get_next_seq, get_next_seq_cached and do_compare.
15255 2013-08-16 Florian Weimer <fweimer@redhat.com>
15259 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15261 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15263 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15264 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15265 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15267 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15268 GETDENTS_64BIT_ALIGNED.
15269 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15270 * manual/filesys.texi (Reading/Closing Directory): Document
15271 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15273 * manual/conf.texi (Limits for Files): Add portability note to
15274 NAME_MAX, PATH_MAX.
15275 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15277 2013-08-13 Andreas Schwab <schwab@suse.de>
15280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15282 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15283 LDBL_MAX_EXP >= 16384]: Add tests for it.
15285 2013-08-12 David S. Miller <davem@davemloft.net>
15287 * version.h (RELEASE): Set to "development".
15288 (VERSION): Set to "2.18.90".
15289 * NEWS: Add 2.19 section.
15291 2013-08-03 David S. Miller <davem@davemloft.net>
15293 * po/ko.po: Update Korean translation from translation project.
15295 2013-08-01 David S. Miller <davem@davemloft.net>
15297 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15298 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15301 2013-07-30 David S. Miller <davem@davemloft.net>
15303 * po/fr.po: Update French translation from translation project.
15305 2013-07-28 David S. Miller <davem@davemloft.net>
15307 * po/cs.po: Update Czech translation from translation project.
15309 * po/sv.po: Update Swedish translation from translation project.
15311 2013-07-27 David S. Miller <davem@davemloft.net>
15313 * po/eo.po: Update Esperanto translation from translation project.
15315 * po/vi.po: Update Vietnamese translation from translation project.
15317 * po/de.po: Update German translation from translation project.
15319 2013-07-26 David S. Miller <davem@davemloft.net>
15321 * po/bg.po: Update Bulgarian translation from translation project.
15323 * po/nl.po: Update Dutch translation from translation project.
15324 * po/pl.po: Update Polish translation from translation project.
15325 * po/ru.po: Update Russian translation from translation project.
15327 2013-07-24 David S. Miller <davem@davemloft.net>
15329 * po/libc.pot: Update.
15331 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15333 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15334 variable page size.
15335 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15336 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15339 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15341 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15343 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15344 Andreas Schwab <schwab@suse.de>
15345 Roland McGrath <roland@hack.frob.com>
15346 Joseph Myers <joseph@codesourcery.com>
15347 Carlos O'Donell <carlos@redhat.com>
15350 * config.h.in: Define HAVE_PT_CHOWN.
15351 * config.make.in (build-pt-chown): New variable.
15352 * configure.in (--enable-pt_chown): New configure option.
15353 * configure: Regenerate.
15354 * login/Makefile: Include Makeconfig. Build pt_chown only if
15355 build-pt-chown is enabled.
15356 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15357 pt_chown to fix pty ownership.
15358 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15360 * manual/install.texi (Configuring and compiling): Mention
15361 --enable-pt_chown. Add @findex for grantpt.
15362 * INSTALL: Regenerate.
15364 2013-07-20 David S. Miller <davem@davemloft.net>
15366 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15367 difference between 32-bit and 64-bit.
15369 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15372 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15373 Avoid system header dependency with -ffreestanding.
15374 ($(objpfx)bits/syscall%d): Likewise.
15376 2013-07-13 David S. Miller <davem@davemloft.net>
15378 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15379 underflows from atanl/atan2l due to bug 15319.
15380 (casinh_test_data): Likewise.
15382 2013-07-07 David S. Miller <davem@davemloft.net>
15384 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15386 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15388 * sysdeps/i386/fpu/libm-test-ulps: Update.
15389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15393 * configure.in (--enable-lock-elision): Fix message text.
15394 * INSTALL: Regenerate.
15395 * configure: Regenerate.
15397 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15401 2013-07-03 Andreas Jaeger <aj@suse.de>
15403 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15405 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15406 (ptrace_peeksiginfo_args): Add.
15407 (__ptrace_peeksiginfo_flags): Add.
15408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15410 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15412 2013-07-03 Allan McRae <allan@archlinux.org>
15414 * sysdeps/i386/fpu/libm-test-ulps: Update.
15416 2013-07-02 David S. Miller <davem@davemloft.net>
15418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15420 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15424 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15426 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15429 2013-07-02 Andi Kleen <ak@linux.intel.com>
15431 * config.h.in (ENABLE_LOCK_ELISION): Add.
15432 * configure.in (--enable-lock-elision): Add option.
15433 * manual/install.texi: Document --enable lock elision.
15434 * configure: Regenerate
15435 * INSTALL: Regenerate.
15437 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15439 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15440 SSE4.2 strcasecmp for libc.a.
15441 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15443 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15446 * soft-fp/op-common.h (_FP_FMA): New macro.
15447 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15448 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15449 (_FP_MUL_MEAT_1_imm): ... here.
15450 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15451 (_FP_MUL_MEAT_1_wide): ... here.
15452 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15453 (_FP_MUL_MEAT_1_hard): ... here.
15454 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15455 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15456 (_FP_MUL_MEAT_2_wide): ... here.
15457 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15458 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15459 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15460 (_FP_MUL_MEAT_2_gmp): ... here.
15461 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15462 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15463 (_FP_MUL_MEAT_4_wide): ... here.
15464 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15465 (_FP_MUL_MEAT_4_gmp): ... here.
15466 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15467 (_FP_WFRACBITS_DW_S): Likewise.
15468 (_FP_WFRACXBITS_DW_S): Likewise.
15469 (_FP_HIGHBIT_DW_S): Likewise.
15470 (FP_FMA_S): Likewise.
15471 (_FP_FRAC_HIGH_DW_S): Likewise.
15472 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15473 (_FP_WFRACBITS_DW_D): Likewise.
15474 (_FP_WFRACXBITS_DW_D): Likewise.
15475 (_FP_HIGHBIT_DW_D): Likewise.
15476 (FP_FMA_D): Likewise.
15477 (_FP_FRAC_HIGH_DW_D): Likewise.
15478 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15479 (_FP_WFRACBITS_DW_E): Likewise.
15480 (_FP_WFRACXBITS_DW_E): Likewise.
15481 (_FP_HIGHBIT_DW_E): Likewise.
15482 (FP_FMA_E): Likewise.
15483 (_FP_FRAC_HIGH_DW_E): Likewise.
15484 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15485 (_FP_WFRACBITS_DW_Q): Likewise.
15486 (_FP_WFRACXBITS_DW_Q): Likewise.
15487 (_FP_HIGHBIT_DW_Q): Likewise.
15488 (FP_FMA_Q): Likewise.
15489 (_FP_FRAC_HIGH_DW_Q): Likewise.
15490 * soft-fp/fmasf4.c: New file.
15491 * soft-fp/fmadf4.c: Likewise.
15492 * soft-fp/fmatf4.c: Likewise.
15494 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15497 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15501 (index_Slow_SSE4_2): Likewise.
15502 (index_Prefer_PMINUB_for_stringop): Likewise.
15503 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15504 bit_Slow_SSE4_2 is set.
15505 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15506 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15508 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15510 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15511 rtld_global._dl_hwcap2.
15512 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15514 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15515 POWER8 feature descriptions defined in _dl_hwcap2.
15516 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15517 string handling for POWER8 feature bits.
15518 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15519 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15520 _dl_powerpc_cap_flags.
15521 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15522 * sysdeps/powerpc/rtld-global-offsets.sym
15523 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15524 _dl_hwcap2 in the rtld_global_ro structure.
15526 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15528 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15529 hardware capabilities in support of AT_HWCAP2.
15530 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15531 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15533 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15534 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15535 explicitly the unknown a_type display mechanism is used.
15536 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15537 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15539 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15540 to macro prototype for AT_HWCAP2 support.
15541 * sysdeps/i386/dl-procinfo.h: Likewise.
15542 * sysdeps/s390/dl-procinfo.h: Likewise.
15543 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15544 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15545 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15546 return -1 for unknown a_type display fallback.
15547 * sysdeps/sparc/dl-procinfo.h: Likewise.
15548 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15549 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15551 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15553 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15554 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15556 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15559 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15560 mprotect making __stack_prot writable.
15562 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15563 Joseph Myers <joseph@codesourcery.com>
15565 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15566 as being properly aligned.
15568 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15570 * dlfcn/modstatic5.c: New file.
15571 * dlfcn/tststatic5.c: New file.
15572 * dlfcn/Makefile (tests): Add tststatic5.
15573 (tests-static): Likewise.
15574 (modules-names): Add modstatic5.
15575 (tststatic5-ENV): New variable.
15576 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15579 * elf/dl-support.c (_dl_main_map): New variable.
15580 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15581 (_dl_nns, _dl_load_adds): Set to 1.
15582 (_dl_initial_searchlist): Refer to _dl_main_map.
15583 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15584 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15585 call to _dl_get_origin.
15586 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15588 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15589 * dlfcn/modstatic3.c: New file.
15590 * dlfcn/tststatic3.c: New file.
15591 * dlfcn/tststatic4.c: New file.
15592 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15593 (tests-static): Likewise.
15594 (modules-names): Add modstatic3.
15595 (tststatic3-ENV, tststatic4-ENV): New variables.
15596 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15597 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15599 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15601 * configure.in (CC): Require GCC version 4.4 or later.
15602 * configure: Regenerated.
15603 * manual/install.texi (Tools for Compilation): Update GCC version
15605 * INSTALL: Regenerated.
15607 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15610 * string/test-memcmp.c (check2): New.
15611 (main): Call check2.
15613 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15615 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15618 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15620 (dl_open_worker) [!SHARED]: ... here.
15622 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15624 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15626 2013-06-25 Richard Henderson <rth@redhat.com>
15628 * locale/programs/locarchive.c: Include <libc-internal.h>
15630 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15632 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15633 trailing whitespace removed.
15635 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15638 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15639 * locale/programs/locarchive.c: Include libc-mmap.h.
15640 (prepare_address_space): Take two new outputs (the mmap base and len).
15641 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15643 (create_archive): Declare new mmap base and len values for
15644 prepare_address_space, and store the result in ah.
15645 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15646 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15647 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15648 Declare new mmap base and len values for
15649 prepare_address_space, and store the result in new_ah.
15650 (open_archive): Declare new mmap base and len values for
15651 prepare_address_space, and store the result in ah.
15652 (close_archive): If ah->mmap_base is not NULL, use that and
15653 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15654 * sysdeps/generic/libc-mmap.h: New file.
15656 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15658 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15659 (ALIGN_UP): Likewise.
15660 (PTR_ALIGN_DOWN): Likewise.
15661 (PTR_ALIGN_UP): Likewise.
15663 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15665 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15666 entry mapped to PPC_PLATFORM_POWER8.
15667 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15669 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15670 (_dl_string_platform): Add case for exporting platform position for
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15673 search path to sysdeps/powerpc/powerpc32/power8 directory.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15675 search path to sysdeps/powerpc/powerpc64/power8 directory.
15676 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15677 power7 directories.
15678 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15679 power7 directories.
15681 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15683 * INSTALL: Regenerate.
15685 * nscd/connections.c (nscd_init): Fix comment.
15687 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15689 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15692 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15693 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15695 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15697 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15699 (DL_DST_REQ_STATIC): Remove macro.
15701 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15704 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15705 with a shift of 0 bits.
15707 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15709 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15712 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15715 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15717 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15720 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15721 accepts -fno-tree-loop-distribute-patterns.
15722 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15723 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15725 * string/memset.c (memset): Likewise.
15726 * string/test-memmove.c (simple_memmove): Disable loop transformation
15728 * string/test-memset.c (simple_memset): Likewise.
15729 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15730 * benchtests/bench-memset.c (simple_memset): Likewise.
15731 * configure: Regenerated.
15733 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15735 * math/test-misc.c (main): Ignore fesetround failure when failures
15736 of subsequent rounding tests would be ignored.
15739 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15740 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15741 * math/fegetenv.c (__fegetenv): Return 0.
15742 * math/fegetexcept.c (fegetexcept): Return 0.
15743 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15745 * math/feholdexcpt.c (feholdexcept): Return 0.
15746 * math/fesetenv.c (__fesetenv): Return 0.
15747 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15748 argument FE_TONEAREST.
15749 * math/feupdateenv.c (__feupdateenv): Return 0.
15750 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15752 2013-06-18 Roland McGrath <roland@hack.frob.com>
15754 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15755 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15756 ($(objpfx)rtld-%.os rules): Use them.
15758 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15760 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15763 2013-06-17 Roland McGrath <roland@hack.frob.com>
15765 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15766 length of target pattern, then descending length of dependency pattern.
15767 * configure.in (AWK): Require gawk 3.1.2 or newer.
15768 * manual/install.texi (Tools for Compilation): Say that we do.
15769 * configure: Regenerated.
15771 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15772 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15773 * scripts/sysd-rules.awk: ... this new script.
15774 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15775 than a glob-style pattern.
15777 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15779 * math/test-misc.c (main): Do not treat incorrectly rounded
15780 conversions as failure unless ROUNDING_TESTS passes.
15782 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15785 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15786 restore exception state around main square root computation, then
15787 check for inexactness explicitly.
15789 * math/libm-test.inc (fma_test_data): Add another test.
15791 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15793 * manual/threads.texi (Non-POSIX Extensions): New document
15794 node. Document pthread_getattr_default_np and
15795 pthread_setattr_default_np.
15797 * Versions.def (libpthread): Add GLIBC_2.18.
15798 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15807 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15818 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15821 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15823 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15824 H.J. Lu <hjl.tools@gmail.com>
15827 * sysdeps/x86_64/rtld-memset.c: Remove file.
15828 * sysdeps/x86_64/rtld-memset.S: New file.
15830 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15832 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15833 (test_in_one_mode): Take arguments for whether the rounding mode
15834 is supported for each floating-point type.
15835 (do_test): Pass new arguments to test_in_one_mode using
15838 2013-06-13 Roland McGrath <roland@hack.frob.com>
15840 * posix/tst-waitid.c (do_test): Distinguish different instances of
15841 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15842 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15843 before entering the kernel for waitpid.
15845 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15847 * NEWS: Fix note on clock function precision. Text by Roland
15850 2013-06-13 Roland McGrath <roland@hack.frob.com>
15852 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15853 it into place only when and if the sanity check passes.
15855 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15857 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15858 output for whether conversion result is exact. Take argument
15859 indicating whether type is IBM long double.
15860 (round_for_all): Change need_exact field to ibm_ld.
15861 * stdlib/tst-strtod-round.c (struct exactness): New type.
15862 (struct test): Change bool ld_ok field to struct exactness exact.
15863 (TEST): Update all definitions for change to field.
15864 (tests): Regenerate array contents.
15865 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15866 field value. Check for IBM long double here.
15867 (do_test): Update calls to test_in_one_mode.
15869 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15872 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15873 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15875 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15878 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15879 generated by the compiler on loop optimizations.
15880 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15881 general definitions.
15883 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15885 * math/bug-nextafter.c: Include <math-tests.h>.
15886 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15888 * math/bug-nexttoward.c: Include <math-tests.h>.
15889 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15891 * math/test-misc.c: Include <math-tests.h>.
15892 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15895 2013-06-12 Andreas Jaeger <aj@suse.de>
15897 * po/ia.po: Update Interlingua translation from translation
15900 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15902 * include/fenv.h: Include stdbool.h.
15903 (struct rm_ctx): New structure.
15904 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15906 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15907 (SET_RESTORE_ROUNDF): Likewise.
15908 (SET_RESTORE_ROUNDL): Likewise.
15909 (SET_RESTORE_ROUND_NOEX): Likewise.
15910 (SET_RESTORE_ROUND_NOEXF): Likewise.
15911 (SET_RESTORE_ROUND_NOEXL): Likewise.
15912 (SET_RESTORE_ROUND_53BIT): Likewise.
15913 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15914 (libc_feresetround_noexf_ctx): Likewise.
15915 (libc_feresetround_noexl_ctx): Likewise.
15916 (libc_feholdsetround_53bit_ctx): Likewise.
15917 (libc_feresetround_53bit_ctx): Likewise.
15918 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15919 (libc_feholdexcept_setround_sse_ctx): New function.
15920 (libc_fesetenv_sse_ctx): Likewise.
15921 (libc_feupdateenv_sse_ctx): Likewise.
15922 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15923 (libc_feholdexcept_setround_387_ctx): Likewise.
15924 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15925 (libc_feholdsetround_387_prec_ctx): Likewise.
15926 (libc_feholdsetround_387_ctx): Likewise.
15927 (libc_feholdsetround_387_53bit_ctx): Likewise.
15928 (libc_feholdsetround_sse_ctx): Likewise.
15929 (libc_feresetround_sse_ctx): Likewise.
15930 (libc_feresetround_387_ctx): Likewise.
15931 (libc_feupdateenv_387_ctx): Likewise.
15932 (libc_feholdexcept_setroundf_ctx): Define macro.
15933 (libc_fesetenvf_ctx): Likewise.
15934 (libc_feupdateenvf_ctx): Likewise.
15935 (libc_feholdsetroundf_ctx): Likewise.
15936 (libc_feresetroundf_ctx): Likewise.
15937 (libc_feholdexcept_setround_ctx): Likewise.
15938 (libc_fesetenv_ctx): Likewise.
15939 (libc_feupdateenv_ctx): Likewise.
15940 (libc_feholdsetround_ctx): Likewise.
15941 (libc_feresetround_ctx): Likewise.
15942 (libc_feholdexcept_setroundl_ctx): Likewise.
15943 (libc_feupdateenvl_ctx): Likewise.
15944 (libc_feholdsetroundl_ctx): Likewise.
15945 (libc_feresetroundl_ctx): Likewise.
15946 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15947 (libc_feresetround_53bit_ctx): Likewise.
15949 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15951 * locale/iso-639.def: Convert to UTF-8.
15953 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15955 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15956 (EXCEPTION_TESTS_double): Likewise.
15957 (EXCEPTION_TESTS_long_double): Likewise.
15958 (EXCEPTION_TESTS): Likewise.
15959 * math/libm-test.inc (test_exceptions): Only test exceptions if
15960 EXCEPTION_TESTS (FLOAT).
15962 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15964 * benchtests/Makefile (string-bench): Add strcpy_chk and
15966 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15967 * benchtests/bench-stpcpy_chk.c: New file.
15968 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15969 * benchtests/bench-strcpy_chk.c: New file.
15970 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15972 (do_test): Likewise.
15974 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15976 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15977 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15978 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15979 with tabs where appropriate.
15980 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15982 [PPC_PLATFORM_PPC440]: Likewise.
15983 [PPC_PLATFORM_PPC464]: Likewise.
15984 [PPC_PLATFORM_PPC476]: Likewise.
15985 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15986 ppc464, and ppc476 platform strings merging from ports/
15989 2013-06-11 Andreas Schwab <schwab@suse.de>
15992 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15993 (from_ucs4_idx): Regenerate.
15994 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15995 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15996 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15997 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15998 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15999 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16000 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16001 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16002 from FROM_LOOP and TO_LOOP specific macros.
16003 (BODY): Handle combining characters.
16004 * iconvdata/BIG5HKSCS.irreversible: Update.
16005 * iconvdata/BIG5HKSCS.precomposed: New file.
16006 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16008 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16010 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16012 * include/sys/time.h: Fix indentation and add copyright header.
16014 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16015 (do_test): Likewise.
16016 * string/test-memchr.c (do_one_test): Likewise.
16017 (do_test): Likewise.
16018 * string/test-memcmp.c (do_one_test): Likewise.
16019 (do_test): Likewise.
16020 * string/test-memcpy.c (do_one_test): Likewise.
16021 (do_test): Likewise.
16022 * string/test-memmem.c (do_one_test): Likewise.
16023 (do_test): Likewise.
16024 (do_random_tests): Likewise.
16025 * string/test-memmove.c (do_one_test): Likewise.
16026 (do_test): Likewise.
16027 * string/test-memset.c (do_one_test): Likewise.
16028 (do_test): Likewise.
16029 * string/test-rawmemchr.c (do_one_test): Likewise.
16030 (do_test): Likewise.
16031 * string/test-strcasecmp.c (do_one_test): Likewise.
16032 (do_test): Likewise.
16033 * string/test-strcasestr.c (do_one_test): Likewise.
16034 (do_test): Likewise.
16035 * string/test-strcat.c (do_one_test): Likewise.
16036 (do_test): Likewise.
16037 * string/test-strchr.c (do_one_test): Likewise.
16038 (do_test): Likewise.
16039 * string/test-strcmp.c (do_one_test): Likewise.
16040 (do_test): Likewise.
16041 * string/test-strcpy.c (do_one_test): Likewise.
16042 (do_test): Likewise.
16043 * string/test-string.h: Likewise.
16044 (test_init): Likewise.
16045 * string/test-strlen.c (do_one_test): Likewise.
16046 (do_test): Likewise.
16047 * string/test-strncasecmp.c (do_one_test): Likewise.
16048 (do_test): Likewise.
16049 * string/test-strncat.c (do_one_test): Likewise.
16050 (do_test): Likewise.
16051 * string/test-strncmp.c (do_one_test): Likewise.
16052 (do_test_limit): Likewise.
16053 (do_test): Likewise.
16054 * string/test-strncpy.c (do_one_test): Likewise.
16055 (do_test): Likewise.
16056 * string/test-strnlen.c (do_one_test): Likewise.
16057 (do_test): Likewise.
16058 * string/test-strpbrk.c (do_one_test): Likewise.
16059 (do_test): Likewise.
16060 * string/test-strrchr.c (do_one_test): Likewise.
16061 (do_test): Likewise.
16062 * string/test-strspn.c (do_one_test): Likewise.
16063 (do_test): Likewise.
16064 * string/test-strstr.c (do_one_test): Likewise.
16065 (do_test): Likewise.
16067 * benchtests/Makefile (string-bench): Add string benchmarks.
16068 * benchtests/bench-bcopy-ifunc.c: New file.
16069 * benchtests/bench-bcopy.c: New file.
16070 * benchtests/bench-bzero-ifunc.c: New file.
16071 * benchtests/bench-bzero.c: New file.
16072 * benchtests/bench-memccpy-ifunc.c: New file.
16073 * benchtests/bench-memccpy.c: New file.
16074 * benchtests/bench-memchr-ifunc.c: New file.
16075 * benchtests/bench-memchr.c: New file.
16076 * benchtests/bench-memcmp-ifunc.c: New file.
16077 * benchtests/bench-memcmp.c: New file.
16078 * benchtests/bench-memmem-ifunc.c: New file.
16079 * benchtests/bench-memmem.c: New file.
16080 * benchtests/bench-memmove-ifunc.c: New file.
16081 * benchtests/bench-memmove.c: New file.
16082 * benchtests/bench-mempcpy-ifunc.c: New file.
16083 * benchtests/bench-mempcpy.c: New file.
16084 * benchtests/bench-memset-ifunc.c: New file.
16085 * benchtests/bench-memset.c: New file.
16086 * benchtests/bench-rawmemchr-ifunc.c: New file.
16087 * benchtests/bench-rawmemchr.c: New file.
16088 * benchtests/bench-stpcpy-ifunc.c: New file.
16089 * benchtests/bench-stpcpy.c: New file.
16090 * benchtests/bench-stpncpy-ifunc.c: New file.
16091 * benchtests/bench-stpncpy.c: New file.
16092 * benchtests/bench-strcasecmp-ifunc.c: New file.
16093 * benchtests/bench-strcasecmp.c: New file.
16094 * benchtests/bench-strcasestr-ifunc.c: New file.
16095 * benchtests/bench-strcasestr.c: New file.
16096 * benchtests/bench-strcat-ifunc.c: New file.
16097 * benchtests/bench-strcat.c: New file.
16098 * benchtests/bench-strchr-ifunc.c: New file.
16099 * benchtests/bench-strchr.c: New file.
16100 * benchtests/bench-strchrnul-ifunc.c: New file.
16101 * benchtests/bench-strchrnul.c: New file.
16102 * benchtests/bench-strcmp-ifunc.c: New file.
16103 * benchtests/bench-strcmp.c: New file.
16104 * benchtests/bench-strcpy-ifunc.c: New file.
16105 * benchtests/bench-strcpy.c: New file.
16106 * benchtests/bench-strcspn-ifunc.c: New file.
16107 * benchtests/bench-strcspn.c: New file.
16108 * benchtests/bench-strlen-ifunc.c: New file.
16109 * benchtests/bench-strlen.c: New file.
16110 * benchtests/bench-strncasecmp-ifunc.c: New file.
16111 * benchtests/bench-strncasecmp.c: New file.
16112 * benchtests/bench-strncat-ifunc.c: New file.
16113 * benchtests/bench-strncat.c: New file.
16114 * benchtests/bench-strncmp-ifunc.c: New file.
16115 * benchtests/bench-strncmp.c: New file.
16116 * benchtests/bench-strncpy-ifunc.c: New file.
16117 * benchtests/bench-strncpy.c: New file.
16118 * benchtests/bench-strnlen-ifunc.c: New file.
16119 * benchtests/bench-strnlen.c: New file.
16120 * benchtests/bench-strpbrk-ifunc.c: New file.
16121 * benchtests/bench-strpbrk.c: New file.
16122 * benchtests/bench-strrchr-ifunc.c: New file.
16123 * benchtests/bench-strrchr.c: New file.
16124 * benchtests/bench-strspn-ifunc.c: New file.
16125 * benchtests/bench-strspn.c: New file.
16126 * benchtests/bench-strstr-ifunc.c: New file.
16127 * benchtests/bench-strstr.c: New file.
16129 * benchtests/Makefile: Disable parallel execution of targets.
16130 (string-bench): Add memcpy.
16131 (benchset): New variable to store a list of benchmark sets.
16132 (bench-func): Renamed from bench.
16133 (bench-set): New target.
16134 (bench): Depend on bench-func and bench-set.
16135 * benchtests/README: Add section on benchmark sets.
16136 * benchtests/bench-memcpy-ifunc.c: New file.
16137 * benchtests/bench-memcpy.c: New file.
16138 * benchtests/bench-string.h: New file.
16140 2013-06-11 Andreas Schwab <schwab@suse.de>
16143 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16144 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16145 values in the triple.
16146 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16147 terminator in the group key.
16149 2013-06-11 Andreas Jaeger <aj@suse.de>
16151 * po/zh_TW.po: Update Chinese (traditional) translation from
16152 translation project.
16154 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16156 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16157 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16158 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16159 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16160 (clock_getcpuclockid): Likewise.
16161 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16162 Add weak_alias and libc_hidden_def.
16163 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16164 * rt/clock_gettime.c (clock_gettime): Rename to
16165 __clock_gettime. Add weak_alias and libc_hidden_def.
16166 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16167 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16168 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16169 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16170 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16172 * rt/clock_settime.c (clock_settime): Rename to
16173 __clock_settime. Add weak_alias and libc_hidden_def.
16174 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16176 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16178 * mach/err_boot.sub: Remove trailing whitespace.
16179 * mach/err_ipc.sub: Likewise.
16180 * mach/err_mach.sub: Likewise.
16182 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16183 (ROUNDING_TESTS_double): Likewise.
16184 (ROUNDING_TESTS_long_double): Likewise.
16185 (ROUNDING_TESTS): Likewise.
16186 * math/libm-test.inc: Include <math-tests.h>.
16187 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16188 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16189 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16190 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16192 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16194 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16197 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16199 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16200 otherwise empty TRANS lines.
16201 * sysdeps/gnu/errlist.c: Regenerated.
16203 * catgets/gencat.c (error_print): Use (void) in function
16205 * crypt/crypt_util.c (__init_des): Likewise.
16206 * crypt/speeds.c (Stop): Likewise.
16208 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16209 * inet/ruserpass.c (token): Likewise.
16210 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16211 * intl/localealias.c (extend_alias_table): Likewise.
16212 * intl/plural-exp.c (init_germanic_plural): Likewise.
16213 * libio/fcloseall.c (__fcloseall): Likewise.
16214 * libio/genops.c (_IO_flush_all): Likewise.
16215 (_IO_flush_all_linebuffered): Likewise.
16216 (_IO_cleanup): Likewise.
16217 (_IO_iter_begin): Likewise.
16218 (_IO_iter_end): Likewise.
16219 (_IO_list_lock): Likewise.
16220 (_IO_list_unlock): Likewise.
16221 (_IO_list_resetlock): Likewise.
16222 * libio/getchar.c (getchar): Likewise.
16223 * libio/getchar_u.c (getchar_unlocked): Likewise.
16224 * libio/getwchar.c (getwchar): Likewise.
16225 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16226 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16227 * login/getpt.c (__getpt): Likewise.
16228 * login/tst-utmp.c (main): Likewise.
16229 * malloc/hooks.c (__malloc_check_init): Likewise.
16230 * malloc/malloc.c (__malloc_stats): Likewise.
16231 * malloc/mtrace.c (tr_break): Likewise.
16232 (mtrace): Likewise.
16233 (muntrace): Likewise.
16234 * misc/fstab.c (endfsent): Likewise.
16235 * misc/getclktck.c (__getclktck): Likewise.
16236 * misc/getdtsz.c (__getdtablesize): Likewise.
16237 * misc/gethostid.c (gethostid): Likewise.
16238 * misc/getpagesize.c (__getpagesize): Likewise.
16239 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16240 (__get_nprocs): Likewise.
16241 (__get_phys_pages): Likewise.
16242 (__get_avphys_pages): Likewise.
16243 * misc/getttyent.c (getttyent): Likewise.
16244 (setttyent): Likewise.
16245 (endttyent): Likewise.
16246 * misc/getusershell.c (getusershell): Likewise.
16247 (endusershell): Likewise.
16248 (setusershell): Likewise.
16249 (initshells): Likewise.
16250 * misc/hsearch.c (__hdestroy): Likewise.
16251 * misc/sync.c (sync): Likewise.
16252 * misc/syslog.c (closelog_internal): Likewise.
16253 (closelog): Likewise.
16254 * misc/ttyslot.c (ttyslot): Likewise.
16255 * misc/vhangup.c (vhangup): Likewise.
16256 * posix/fork.c (__fork): Likewise.
16257 * posix/getegid.c (__getegid): Likewise.
16258 * posix/geteuid.c (__geteuid): Likewise.
16259 * posix/getgid.c (__getgid): Likewise.
16260 * posix/getpid.c (__getpid): Likewise.
16261 * posix/getppid.c (__getppid): Likewise.
16262 * posix/getuid.c (__getuid): Likewise.
16263 * posix/pause.c (pause): Likewise.
16264 * posix/setpgrp.c (setpgrp): Likewise.
16265 * posix/setsid.c (__setsid): Likewise.
16266 * posix/test-vfork.c (noop): Likewise.
16267 * resolv/gethnamaddr.c (_endhtent): Likewise.
16268 (_gethtent): Likewise.
16269 (ht_endhostent): Likewise.
16270 (gethostent): Likewise.
16271 (dns_service): Likewise.
16272 * stdlib/drand48.c (drand48): Likewise.
16273 * stdlib/lrand48.c (lrand48): Likewise.
16274 * stdlib/mrand48.c (mrand48): Likewise.
16275 * stdlib/rand.c (rand): Likewise.
16276 * stdlib/random.c (__random): Likewise.
16277 * stdlib/setenv.c (clearenv): Likewise.
16278 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16279 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16280 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16281 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16282 (__get_nprocs): Likewise.
16283 (__get_phys_pages): Likewise.
16284 (__get_avphys_pages): Likewise.
16285 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16286 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16287 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16288 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16289 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16290 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16291 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16292 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16293 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16294 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16295 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16296 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16297 * sysdeps/posix/clock.c (clock): Likewise.
16298 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16299 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16300 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16301 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16302 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16304 (__get_nprocs_conf): Likewise.
16305 (__get_phys_pages): Likewise.
16306 (__get_avphys_pages): Likewise.
16307 * time/clock.c (clock): Likewise.
16308 * time/tzset.c (__tzname_max): Likewise.
16310 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16312 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16313 (__bswap_32): Do not use "register".
16314 * crypt/crypt.c (_ufc_doit_r): Likewise.
16315 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16316 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16317 * gmon/gmon.c (__monstartup): Likewise.
16318 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16319 * hurd/hurdmalloc.c (more_memory): Likewise.
16320 (malloc): Likewise.
16322 (realloc): Likewise.
16323 (malloc_fork_prepare): Likewise.
16324 (malloc_fork_parent): Likewise.
16325 (malloc_fork_child): Likewise.
16326 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16327 (_svcauth_des): Likewise.
16328 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16329 * inet/inet_net.c (inet_network): Likewise.
16330 * inet/inet_netof.c (inet_netof): Likewise.
16331 * inet/rcmd.c (__validuser2_sa): Likewise.
16332 * io/fts.c (fts_open): Likewise.
16333 (fts_load): Likewise.
16334 (fts_close): Likewise.
16335 (fts_read): Likewise.
16336 (fts_children): Likewise.
16337 (fts_build): Likewise.
16338 (fts_stat): Likewise.
16339 (fts_sort): Likewise.
16340 (fts_alloc): Likewise.
16341 (fts_lfree): Likewise.
16342 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16343 (_IO_file_xsgetn): Likewise.
16344 (_IO_file_xsgetn_mmap): Likewise.
16345 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16346 (_IO_cookie_write): Likewise.
16347 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16348 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16349 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16350 * malloc/obstack.c (_obstack_begin): Likewise.
16351 (_obstack_begin_1): Likewise.
16352 (_obstack_newchunk): Likewise.
16353 (_obstack_allocated_p): Likewise.
16354 (obstack_free): Likewise.
16355 (_obstack_memory_used): Likewise.
16356 * misc/getttyent.c (getttynam): Likewise.
16357 (getttyent): Likewise.
16360 * misc/getusershell.c (initshells): Likewise.
16361 * misc/syslog.c (__vsyslog_chk): Likewise.
16362 * misc/ttyslot.c (ttyslot): Likewise.
16363 * nis/nis_hash.c (__nis_hash): Likewise.
16364 * posix/fnmatch_loop.c (FCT): Likewise.
16365 * posix/getconf.c (print_all): Likewise.
16367 * posix/getopt.c (exchange): Likewise.
16368 * posix/glob.c (globfree): Likewise.
16369 (prefix_array): Likewise.
16370 (__glob_pattern_type): Likewise.
16371 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16372 (NS_GET32): Likewise.
16373 (NS_PUT16): Likewise.
16374 (NS_PUT32): Likewise.
16375 * resolv/gethnamaddr.c (getanswer): Likewise.
16376 (gethostbyname2): Likewise.
16377 (gethostbyaddr): Likewise.
16378 (_gethtent): Likewise.
16379 (_gethtbyname2): Likewise.
16380 (_gethtbyaddr): Likewise.
16381 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16382 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16383 * resolv/res_init.c (__res_vinit): Likewise.
16384 (net_mask): Likewise.
16385 * resolv/res_mkquery.c (outchar): Likewise.
16387 * stdio-common/printf_fp.c (outchar): Likewise.
16389 * stdio-common/printf_fphex.c (outchar): Likewise.
16391 * stdio-common/printf_size.c (outchar): Likewise.
16393 * stdio-common/test_rdwr.c (main): Likewise.
16394 * stdio-common/tfformat.c (matches): Likewise.
16395 * stdio-common/vfprintf.c (outchar): Likewise.
16396 (printf_unknown): Likewise.
16397 (buffered_vfprintf): Likewise.
16398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16399 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16400 (ReadFile): Likewise.
16401 * stdlib/qsort.c (SWAP): Likewise.
16402 (_quicksort): Likewise.
16403 * stdlib/setenv.c (__add_to_environ): Likewise.
16404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16405 * stdlib/strtol_l.c (__strtol_l): Likewise.
16406 * stdlib/tst-strtod.c (main): Likewise.
16407 * stdlib/tst-strtol.c (main): Likewise.
16408 * stdlib/tst-strtoll.c (main): Likewise.
16409 * string/bits/string2.h (__strcmp_cc): Likewise.
16410 (__strcmp_cg): Likewise.
16411 (__strcspn_c1): Likewise.
16412 (__strcspn_c2): Likewise.
16413 (__strcspn_c3): Likewise.
16414 (__strspn_c1): Likewise.
16415 (__strspn_c2): Likewise.
16416 (__strspn_c3): Likewise.
16417 (__strsep_1c): Likewise.
16418 (__strsep_2c): Likewise.
16419 (__strsep_3c): Likewise.
16420 * string/memccpy.c (__memccpy): Likewise.
16421 * string/stpcpy.c (__stpcpy): Likewise.
16422 * string/strcmp.c (strcmp): Likewise.
16423 * string/strrchr.c (strrchr): Likewise.
16424 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16426 * sysdeps/mach/hurd/getcwd.c
16427 (_hurd_canonicalize_directory_name_internal): Likewise.
16428 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16429 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16430 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16431 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16432 Likewise, in both definitions.
16433 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16435 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16436 64] (__bswap_64): Likewise.
16437 * time/test_time.c (main): Likewise.
16438 * time/tzfile.c (__tzfile_read): Likewise.
16439 (__tzfile_compute): Likewise.
16440 * time/tzset.c (__tzset_parse_tz): Likewise.
16441 (tzset_internal): Likewise.
16442 (compute_change): Likewise.
16443 * wcsmbs/wcscat.c (__wcscat): Likewise.
16444 * wcsmbs/wcschr.c (wcschr): Likewise.
16445 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16446 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16447 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16448 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16449 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16450 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16451 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16452 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16453 * wcsmbs/wmemset.c (wmemset): Likewise.
16455 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16457 * scripts/config.guess: Update to version 2013-05-16.
16458 * scripts/config.sub: Update to version 2013-04-24.
16459 * scripts/install-sh: Update to version 2011-11-20.07.
16460 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16461 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16463 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16465 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16466 * elf/sln.c: Likewise.
16467 * hurd/hurd/ioctl.h: Likewise.
16468 * hurd/hurdmalloc.c: Likewise.
16469 * hurd/xattr.c: Likewise.
16470 * include/shlib-compat.h: Likewise.
16471 * inet/ruserpass.c: Likewise.
16472 * libio/iofgets_u.c: Likewise.
16473 * libio/iofgetws_u.c: Likewise.
16474 * locale/programs/ld-identification.c: Likewise.
16475 * locale/programs/ld-time.c: Likewise.
16476 * mach/msg-destroy.c: Likewise.
16477 * nss/nss_files/files-netgrp.c: Likewise.
16478 * resolv/res_data.c: Likewise.
16479 * soft-fp/op-1.h: Likewise.
16480 * soft-fp/op-2.h: Likewise.
16481 * soft-fp/op-4.h: Likewise.
16482 * soft-fp/op-common.h: Likewise.
16483 * stdio-common/printf_fphex.c: Likewise.
16484 * stdlib/strtod_l.c: Likewise.
16485 * sunrpc/rpc/clnt.h: Likewise.
16486 * sysdeps/generic/framestate.c: Likewise.
16487 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16488 * sysdeps/i386/bsd-setjmp.S: Likewise.
16489 * sysdeps/i386/__longjmp.S: Likewise.
16490 * sysdeps/i386/setjmp.S: Likewise.
16491 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16492 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16509 * sysdeps/ieee754/support.c: Likewise.
16510 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16511 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16512 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16513 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16514 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16515 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16516 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16517 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16518 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16519 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16520 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16521 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16522 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16523 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16524 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16525 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16526 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16529 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16531 * posix/transbug.c: Remove executable mode.
16533 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16535 * crypt/speeds.c: Remove trailing whitespace.
16536 * dlfcn/default.c: Likewise.
16537 * elf/ifuncdep2.c: Likewise.
16538 * elf/ifuncmain1.c: Likewise.
16539 * elf/ifuncmain1vis.c: Likewise.
16540 * elf/testobj.h: Likewise.
16541 * elf/tst-stackguard1.c: Likewise.
16542 * gmon/sys/gmon.h: Likewise.
16543 * hurd/hurdmsg.c: Likewise.
16544 * hurd/new-fd.c: Likewise.
16545 * hurd/ports-get.c: Likewise.
16546 * iconvdata/ibm1008_420.c: Likewise.
16547 * inet/tst-getni1.c: Likewise.
16548 * inet/tst-getni2.c: Likewise.
16549 * libio/ioungetc.c: Likewise.
16550 * libio/wfiledoalloc.c: Likewise.
16551 * manual/libm-err-tab.pl: Likewise.
16552 * math/w_dremf.c: Likewise.
16553 * misc/ftruncate.c: Likewise.
16554 * posix/bug-glob2.c: Likewise.
16555 * posix/tst-pcre.c: Likewise.
16556 * posix/wait4.c: Likewise.
16557 * resolv/README: Likewise.
16558 * resolv/res_debug.h: Likewise.
16559 * resolv/tst-inet_ntop.c: Likewise.
16560 * setjmp/bug269-setjmp.c: Likewise.
16561 * soft-fp/extended.h: Likewise.
16562 * soft-fp/op-1.h: Likewise.
16563 * soft-fp/op-2.h: Likewise.
16564 * soft-fp/op-4.h: Likewise.
16565 * soft-fp/op-8.h: Likewise.
16566 * soft-fp/testit.c: Likewise.
16567 * stdio-common/bug16.c: Likewise.
16568 * stdlib/random.c: Likewise.
16569 * sunrpc/rpcsvc/rquota.x: Likewise.
16570 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16571 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16573 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16574 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16575 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16576 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16577 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16578 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16579 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16580 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16581 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16582 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16583 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16584 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16585 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16586 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16587 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16588 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16591 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16592 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16593 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16594 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16595 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16596 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16597 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16599 * sysdeps/ieee754/s_lib_version.c: Likewise.
16600 * sysdeps/mach/hurd/check_fds.c: Likewise.
16601 * sysdeps/mach/hurd/getsockname.c: Likewise.
16602 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16603 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16604 * sysdeps/powerpc/bits/link.h: Likewise.
16605 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16606 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16607 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16608 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16609 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16610 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16611 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16612 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16613 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16614 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16615 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16616 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16617 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16618 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16619 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16620 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16622 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16623 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16624 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16625 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16626 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16627 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16628 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16632 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16633 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16637 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16639 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16640 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16641 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16642 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16643 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16644 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16645 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16646 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16647 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16648 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16649 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16650 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16651 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16652 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16653 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16654 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16657 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16658 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16660 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16661 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16663 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16664 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16665 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16666 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16667 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16668 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16669 * sysdeps/powerpc/sysdep.h: Likewise.
16670 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16671 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16672 * sysdeps/sh/dl-trampoline.S: Likewise.
16673 * sysdeps/sh/memset.S: Likewise.
16674 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16675 * sysdeps/sh/strlen.S: Likewise.
16676 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16677 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16678 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16679 * sysdeps/sparc/sparc32/rem.S: Likewise.
16680 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16681 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16682 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16683 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16684 * sysdeps/sparc/sparc32/urem.S: Likewise.
16685 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16686 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16687 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16688 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16689 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16690 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16691 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16692 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16693 * sysdeps/unix/bsd/times.c: Likewise.
16694 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16695 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16699 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16701 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16702 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16703 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16704 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16705 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16706 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16707 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16708 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16709 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16710 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16711 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16712 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16713 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16714 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16715 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16716 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16717 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16718 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16719 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16720 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16721 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16722 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16723 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16724 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16725 * sysdeps/x86_64/strcspn.S: Likewise.
16727 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16729 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16730 generated file. Regenerate properly from gen-translit.pl.
16731 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16732 locale/C-translit.h.
16734 2013-06-05 Andreas Schwab <schwab@suse.de>
16737 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16738 week as 6 instead of -1.
16739 * time/tst-strptime.c (day_tests): Add test case.
16741 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16743 * sysdeps/generic/math_private.h
16744 (libc_feholdexcept_setround_53bit): Replace with
16745 libc_feholdsetround_53bit.
16746 (libc_feupdateenv_53bit): Replace with
16747 libc_feresetround_53bit.
16748 (SET_RESTORE_ROUND_53BIT): Adjust.
16750 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16752 * string/test-strchrnul.c: Add copyright header.
16754 * posix/tst-getaddrinfo4.c: Increase test timeout.
16756 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16759 * math/libm-test.inc (MAX_EXP): Remove
16761 (ulp): Use MIN_EXP - MANT_DIG.
16762 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16764 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16766 * po/be.po: Revert last change.
16767 * po/zh_CN.po: Likewise.
16768 * po/header.pot: Likewise.
16770 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16772 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16773 link-libc-deps to empty as target-specific variable.
16774 * Makerules (link-libc-args): New variable.
16775 (libc-for-link): Likewise.
16776 (link-libc-deps): Likewise.
16777 (lib%.so): Depend on $(link-libc-deps). Link with
16779 (build-module): Link with $(link-libc-args).
16780 (build-module-asneeded): Likewise.
16781 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16783 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16784 target-specific variable.
16785 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16786 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16787 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16789 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16791 ($(objpfx)libpcprofile.so): Likewise.
16792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16794 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16795 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16796 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16798 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16799 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16800 * login/Makefile ($(objpfx)libutil.so): Likewise.
16801 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16802 * math/Makefile ($(objpfx)libm.so): Likewise.
16803 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16804 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16805 variable instead of depending directly on libc.
16806 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16807 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16809 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16811 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16812 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16813 ($(objpfx)libanl.so): Likewise.
16814 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16816 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16818 * sysdeps/i386/fpu/Makefile: Remove file.
16819 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16820 ($(objpfx)libm.so): Remove dependency on ld.so.
16822 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16825 * nis/yp_xdr.c (XDRMAXNAME): Define.
16826 (XDRMAXRECORD): Define.
16827 (xdr_domainname): Use XDRMAXNAME.
16828 (xdr_mapname): Likewise.
16829 (xdr_peername): Likewise.
16830 (xdr_keydat): Use XDRMAXRECORD.
16831 (xdr_valdat): Likewise.
16833 2013-05-30 Jeff Law <law@redhat.com>
16836 * manual/errno.texi (ESTALE): Update to account for more than
16837 just NFS file systems.
16838 * sysdeps/gnu/errlist.c: Regenerated.
16840 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16843 * elf/Makefile (tests): Add tst-null-argv.
16844 (modules-names): Add tst-null-argv-lib.
16845 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16846 (tst-null-argv-ENV): Set environment for tst-null-argv.
16847 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16848 (RTLD_PROGNAME): New macro.
16849 * elf/tst-null-argv.c: New test case.
16850 * elf/tst-null-argv-lib.c: Library for test case.
16851 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16852 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16853 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16854 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16855 * elf/dl-init.c (call_init): Likewise.
16856 (_dl_init): Likewise.
16857 * elf/dl-load.c (print_search_path): Likewise.
16858 (_dl_map_object): Likewise.
16859 * elf/dl-lookup.c (do_lookup_x): Likewise.
16860 (add_dependency): Likewise.
16861 (_dl_lookup_symbol_x): Likewise.
16862 (_dl_debug_bindings): Likewise.
16863 * elf/dl-open.c (_dl_show_scope): Likewise.
16864 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16865 * elf/dl-version.c (match_symbol): Likewise.
16866 (_dl_check_map_versions): Likewise.
16867 * elf/rtld.c (dl_main): Likewise.
16868 (print_unresolved): Use RTLD_PROGNAME.
16869 (print_missing_version): Likewise.
16870 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16871 (elf_machine_rela): Likewise.
16872 * sysdeps/powerpc/powerpc32/dl-machine.c
16873 (__process_machine_rela): Likewise.
16874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16885 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16887 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16889 * po/be.po: Add descriptive title.
16890 * po/zh_CN.po: Likewise.
16891 * po/header.pot: Likewise.
16893 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16895 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16897 (enlarge_archive): Likewise.
16899 2013-05-28 Ben North <ben@redfrontdoor.org>
16901 * manual/arith.texi (frexp): It is the magnitude of the return
16902 value which lies in [0.5, 1), not the return value itself.
16904 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16908 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16910 * stdio-common/bug26.c (main): Correct fscanf template.
16912 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16913 declare _dl_skip_args.
16915 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16918 * manual/platform.texi: Add missing @end deftypefun.
16920 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16924 bit of mantissa of 2^16382.
16925 * math/libm-test.inc (hypot_test_data): Add more tests.
16927 * math/libm-test.inc: Add drem and pow10 to list of tested
16929 (pow10_test): New function.
16930 (drem_test): Likewise.
16931 (drem_test_tonearest): Likewise.
16932 (drem_test_towardzero): Likewise.
16933 (drem_test_downward): Likewise.
16934 (drem_test_upward): Likewise.
16935 (main): Call the new functions.
16937 * math/libm-test.inc (finite_test_data): Remove.
16938 (finite_test): Run tests from isfinite_test_data.
16939 (gamma_test_data): Remove.
16940 (gamma_test): Run tests from lgamma_test_data.
16941 * sysdeps/i386/fpu/libm-test-ulps: Update.
16942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16944 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16946 * manual/platform.texi: Add PowerPC PPR function set documentation.
16947 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16950 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16952 * math/libm-test.inc (MAX_EXP): Define.
16954 (ulp): New function.
16955 (check_float_internal): Use ULPDIFF.
16956 (cpow_test): Disable failing test.
16957 (check_ulp): Test ulp() implemetnation.
16958 (main): Call check_ulp before starting tests.
16960 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16962 * math/gen-libm-test.pl (generate_testfile): Do not handle
16963 START_DATA and END_DATA.
16964 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16966 (acos_tonearest_test_data): Likewise.
16967 (acos_towardzero_test_data): Likewise.
16968 (acos_downward_test_data): Likewise.
16969 (acos_upward_test_data): Likewise.
16970 (acosh_test_data): Likewise.
16971 (asin_test_data): Likewise.
16972 (asin_tonearest_test_data): Likewise.
16973 (asin_towardzero_test_data): Likewise.
16974 (asin_downward_test_data): Likewise.
16975 (asin_upward_test_data): Likewise.
16976 (asinh_test_data): Likewise.
16977 (atan_test_data): Likewise.
16978 (atanh_test_data): Likewise.
16979 (atan2_test_data): Likewise.
16980 (cabs_test_data): Likewise.
16981 (cacos_test_data): Likewise.
16982 (cacosh_test_data): Likewise.
16983 (carg_test_data): Likewise.
16984 (casin_test_data): Likewise.
16985 (casinh_test_data): Likewise.
16986 (catan_test_data): Likewise.
16987 (catanh_test_data): Likewise.
16988 (cbrt_test_data): Likewise.
16989 (ccos_test_data): Likewise.
16990 (ccosh_test_data): Likewise.
16991 (ceil_test_data): Likewise.
16992 (cexp_test_data): Likewise.
16993 (cimag_test_data): Likewise.
16994 (clog_test_data): Likewise.
16995 (clog10_test_data): Likewise.
16996 (conj_test_data): Likewise.
16997 (copysign_test_data): Likewise.
16998 (cos_test_data): Likewise.
16999 (cos_tonearest_test_data): Likewise.
17000 (cos_towardzero_test_data): Likewise.
17001 (cos_downward_test_data): Likewise.
17002 (cos_upward_test_data): Likewise.
17003 (cosh_test_data): Likewise.
17004 (cosh_tonearest_test_data): Likewise.
17005 (cosh_towardzero_test_data): Likewise.
17006 (cosh_downward_test_data): Likewise.
17007 (cosh_upward_test_data): Likewise.
17008 (cpow_test_data): Likewise.
17009 (cproj_test_data): Likewise.
17010 (creal_test_data): Likewise.
17011 (csin_test_data): Likewise.
17012 (csinh_test_data): Likewise.
17013 (csqrt_test_data): Likewise.
17014 (ctan_test_data): Likewise.
17015 (ctan_tonearest_test_data): Likewise.
17016 (ctan_towardzero_test_data): Likewise.
17017 (ctan_downward_test_data): Likewise.
17018 (ctan_upward_test_data): Likewise.
17019 (ctanh_test_data): Likewise.
17020 (ctanh_tonearest_test_data): Likewise.
17021 (ctanh_towardzero_test_data): Likewise.
17022 (ctanh_downward_test_data): Likewise.
17023 (ctanh_upward_test_data): Likewise.
17024 (erf_test_data): Likewise.
17025 (erfc_test_data): Likewise.
17026 (exp_test_data): Likewise.
17027 (exp_tonearest_test_data): Likewise.
17028 (exp_towardzero_test_data): Likewise.
17029 (exp_downward_test_data): Likewise.
17030 (exp_upward_test_data): Likewise.
17031 (exp10_test_data): Likewise.
17032 (exp2_test_data): Likewise.
17033 (expm1_test_data): Likewise.
17034 (fabs_test_data): Likewise.
17035 (fdim_test_data): Likewise.
17036 (finite_test_data): Likewise.
17037 (floor_test_data): Likewise.
17038 (fma_test_data): Likewise.
17039 (fma_towardzero_test_data): Likewise.
17040 (fma_downward_test_data): Likewise.
17041 (fma_upward_test_data): Likewise.
17042 (fmax_test_data): Likewise.
17043 (fmin_test_data): Likewise.
17044 (fmod_test_data): Likewise.
17045 (fpclassify_test_data): Likewise.
17046 (frexp_test_data): Likewise.
17047 (gamma_test_data): Likewise.
17048 (hypot_test_data): Likewise.
17049 (ilogb_test_data): Likewise.
17050 (isfinite_test_data): Likewise.
17051 (isgreater_test_data): Likewise.
17052 (isgreaterequal_test_data): Likewise.
17053 (isinf_test_data): Likewise.
17054 (isless_test_data): Likewise.
17055 (islessequal_test_data): Likewise.
17056 (islessgreater_test_data): Likewise.
17057 (isnan_test_data): Likewise.
17058 (isnormal_test_data): Likewise.
17059 (issignaling_test_data): Likewise.
17060 (isunordered_test_data): Likewise.
17061 (j0_test_data): Likewise.
17062 (j1_test_data): Likewise.
17063 (jn_test_data): Likewise.
17064 (ldexp_test_data): Likewise.
17065 (lgamma_test_data): Likewise.
17066 (lrint_test_data): Likewise.
17067 (lrint_tonearest_test_data): Likewise.
17068 (lrint_towardzero_test_data): Likewise.
17069 (lrint_downward_test_data): Likewise.
17070 (lrint_upward_test_data): Likewise.
17071 (llrint_test_data): Likewise.
17072 (llrint_tonearest_test_data): Likewise.
17073 (llrint_towardzero_test_data): Likewise.
17074 (llrint_downward_test_data): Likewise.
17075 (llrint_upward_test_data): Likewise.
17076 (log_test_data): Likewise.
17077 (log10_test_data): Likewise.
17078 (log1p_test_data): Likewise.
17079 (log2_test_data): Likewise.
17080 (logb_test_data): Likewise.
17081 (logb_downward_test_data): Likewise.
17082 (lround_test_data): Likewise.
17083 (llround_test_data): Likewise.
17084 (modf_test_data): Likewise.
17085 (nearbyint_test_data): Likewise.
17086 (nextafter_test_data): Likewise.
17087 (nexttoward_test_data): Likewise.
17088 (pow_test_data): Likewise.
17089 (pow_tonearest_test_data): Likewise.
17090 (pow_towardzero_test_data): Likewise.
17091 (pow_downward_test_data): Likewise.
17092 (pow_upward_test_data): Likewise.
17093 (remainder_test_data): Likewise.
17094 (remainder_tonearest_test_data): Likewise.
17095 (remainder_towardzero_test_data): Likewise.
17096 (remainder_downward_test_data): Likewise.
17097 (remainder_upward_test_data): Likewise.
17098 (remquo_test_data): Likewise.
17099 (rint_test_data): Likewise.
17100 (rint_tonearest_test_data): Likewise.
17101 (rint_towardzero_test_data): Likewise.
17102 (rint_downward_test_data): Likewise.
17103 (rint_upward_test_data): Likewise.
17104 (round_test_data): Likewise.
17105 (scalb_test_data): Likewise.
17106 (scalbn_test_data): Likewise.
17107 (scalbln_test_data): Likewise.
17108 (signbit_test_data): Likewise.
17109 (sin_test_data): Likewise.
17110 (sin_tonearest_test_data): Likewise.
17111 (sin_towardzero_test_data): Likewise.
17112 (sin_downward_test_data): Likewise.
17113 (sin_upward_test_data): Likewise.
17114 (sincos_test_data): Likewise.
17115 (sinh_test_data): Likewise.
17116 (sinh_tonearest_test_data): Likewise.
17117 (sinh_towardzero_test_data): Likewise.
17118 (sinh_downward_test_data): Likewise.
17119 (sinh_upward_test_data): Likewise.
17120 (sqrt_test_data): Likewise.
17121 (tan_test_data): Likewise.
17122 (tan_tonearest_test_data): Likewise.
17123 (tan_towardzero_test_data): Likewise.
17124 (tan_downward_test_data): Likewise.
17125 (tan_upward_test_data): Likewise.
17126 (tanh_test_data): Likewise.
17127 (tgamma_test_data): Likewise.
17128 (trunc_test_data): Likewise.
17129 (y0_test_data): Likewise.
17130 (y1_test_data): Likewise.
17131 (yn_test_data): Likewise.
17132 (significand_test_data): Likewise.
17134 * math/gen-libm-test.pl (@functions): Remove variable.
17135 (generate_testfile): Don't handle START and END lines.
17136 * math/libm-test.inc (START): New macro.
17138 (END_COMPLEX): Likewise.
17139 (acos_test): Use END macro without arguments.
17140 (acos_test_tonearest): Likewise.
17141 (acos_test_towardzero): Likewise.
17142 (acos_test_downward): Likewise.
17143 (acos_test_upward): Likewise.
17144 (acosh_test): Likewise.
17145 (asin_test): Likewise.
17146 (asin_test_tonearest): Likewise.
17147 (asin_test_towardzero): Likewise.
17148 (asin_test_downward): Likewise.
17149 (asin_test_upward): Likewise.
17150 (asinh_test): Likewise.
17151 (atan_test): Likewise.
17152 (atanh_test): Likewise.
17153 (atan2_test): Likewise.
17154 (cabs_test): Likewise.
17155 (cacos_test): Use END_COMPLEX macro without arguments.
17156 (cacosh_test): Likewise.
17157 (carg_test): Use END macro without arguments.
17158 (casin_test): Use END_COMPLEX macro without arguments.
17159 (casinh_test): Likewise.
17160 (catan_test): Likewise.
17161 (catanh_test): Likewise.
17162 (cbrt_test): Use END macro without arguments.
17163 (ccos_test): Use END_COMPLEX macro without arguments.
17164 (ccosh_test): Likewise.
17165 (ceil_test): Use END macro without arguments.
17166 (cexp_test): Use END_COMPLEX macro without arguments.
17167 (cimag_test): Use END macro without arguments.
17168 (clog_test): Use END_COMPLEX macro without arguments.
17169 (clog10_test): Likewise.
17170 (conj_test): Likewise.
17171 (copysign_test): Use END macro without arguments.
17172 (cos_test): Likewise.
17173 (cos_test_tonearest): Likewise.
17174 (cos_test_towardzero): Likewise.
17175 (cos_test_downward): Likewise.
17176 (cos_test_upward): Likewise.
17177 (cosh_test): Likewise.
17178 (cosh_test_tonearest): Likewise.
17179 (cosh_test_towardzero): Likewise.
17180 (cosh_test_downward): Likewise.
17181 (cosh_test_upward): Likewise.
17182 (cpow_test): Use END_COMPLEX macro without arguments.
17183 (cproj_test): Likewise.
17184 (creal_test): Use END macro without arguments.
17185 (csin_test): Use END_COMPLEX macro without arguments.
17186 (csinh_test): Likewise.
17187 (csqrt_test): Likewise.
17188 (ctan_test): Likewise.
17189 (ctan_test_tonearest): Likewise.
17190 (ctan_test_towardzero): Likewise.
17191 (ctan_test_downward): Likewise.
17192 (ctan_test_upward): Likewise.
17193 (ctanh_test): Likewise.
17194 (ctanh_test_tonearest): Likewise.
17195 (ctanh_test_towardzero): Likewise.
17196 (ctanh_test_downward): Likewise.
17197 (ctanh_test_upward): Likewise.
17198 (erf_test): Use END macro without arguments.
17199 (erfc_test): Likewise.
17200 (exp_test): Likewise.
17201 (exp_test_tonearest): Likewise.
17202 (exp_test_towardzero): Likewise.
17203 (exp_test_downward): Likewise.
17204 (exp_test_upward): Likewise.
17205 (exp10_test): Likewise.
17206 (exp2_test): Likewise.
17207 (expm1_test): Likewise.
17208 (fabs_test): Likewise.
17209 (fdim_test): Likewise.
17210 (finite_test): Likewise.
17211 (floor_test): Likewise.
17212 (fma_test): Likewise.
17213 (fma_test_towardzero): Likewise.
17214 (fma_test_downward): Likewise.
17215 (fma_test_upward): Likewise.
17216 (fmax_test): Likewise.
17217 (fmin_test): Likewise.
17218 (fmod_test): Likewise.
17219 (fpclassify_test): Likewise.
17220 (frexp_test): Likewise.
17221 (gamma_test): Likewise.
17222 (hypot_test): Likewise.
17223 (ilogb_test): Likewise.
17224 (isfinite_test): Likewise.
17225 (isgreater_test): Likewise.
17226 (isgreaterequal_test): Likewise.
17227 (isinf_test): Likewise.
17228 (isless_test): Likewise.
17229 (islessequal_test): Likewise.
17230 (islessgreater_test): Likewise.
17231 (isnan_test): Likewise.
17232 (isnormal_test): Likewise.
17233 (issignaling_test): Likewise.
17234 (isunordered_test): Likewise.
17235 (j0_test): Likewise.
17236 (j1_test): Likewise.
17237 (jn_test): Likewise.
17238 (ldexp_test): Likewise.
17239 (lgamma_test): Likewise.
17240 (lrint_test): Likewise.
17241 (lrint_test_tonearest): Likewise.
17242 (lrint_test_towardzero): Likewise.
17243 (lrint_test_downward): Likewise.
17244 (lrint_test_upward): Likewise.
17245 (llrint_test): Likewise.
17246 (llrint_test_tonearest): Likewise.
17247 (llrint_test_towardzero): Likewise.
17248 (llrint_test_downward): Likewise.
17249 (llrint_test_upward): Likewise.
17250 (log_test): Likewise.
17251 (log10_test): Likewise.
17252 (log1p_test): Likewise.
17253 (log2_test): Likewise.
17254 (logb_test): Likewise.
17255 (logb_test_downward): Likewise.
17256 (lround_test): Likewise.
17257 (llround_test): Likewise.
17258 (modf_test): Likewise.
17259 (nearbyint_test): Likewise.
17260 (nextafter_test): Likewise.
17261 (nexttoward_test): Likewise.
17262 (pow_test): Likewise.
17263 (pow_test_tonearest): Likewise.
17264 (pow_test_towardzero): Likewise.
17265 (pow_test_downward): Likewise.
17266 (pow_test_upward): Likewise.
17267 (remainder_test): Likewise.
17268 (remainder_test_tonearest): Likewise.
17269 (remainder_test_towardzero): Likewise.
17270 (remainder_test_downward): Likewise.
17271 (remainder_test_upward): Likewise.
17272 (remquo_test): Likewise.
17273 (rint_test): Likewise.
17274 (rint_test_tonearest): Likewise.
17275 (rint_test_towardzero): Likewise.
17276 (rint_test_downward): Likewise.
17277 (rint_test_upward): Likewise.
17278 (round_test): Likewise.
17279 (scalb_test): Likewise.
17280 (scalbn_test): Likewise.
17281 (scalbln_test): Likewise.
17282 (signbit_test): Likewise.
17283 (sin_test): Likewise.
17284 (sin_test_tonearest): Likewise.
17285 (sin_test_towardzero): Likewise.
17286 (sin_test_downward): Likewise.
17287 (sin_test_upward): Likewise.
17288 (sincos_test): Likewise.
17289 (sinh_test): Likewise.
17290 (sinh_test_tonearest): Likewise.
17291 (sinh_test_towardzero): Likewise.
17292 (sinh_test_downward): Likewise.
17293 (sinh_test_upward): Likewise.
17294 (sqrt_test): Likewise.
17295 (tan_test): Likewise.
17296 (tan_test_tonearest): Likewise.
17297 (tan_test_towardzero): Likewise.
17298 (tan_test_downward): Likewise.
17299 (tan_test_upward): Likewise.
17300 (tanh_test): Likewise.
17301 (tgamma_test): Likewise.
17302 (trunc_test): Likewise.
17303 (y0_test): Likewise.
17304 (y1_test): Likewise.
17305 (yn_test): Likewise.
17306 (significand_test): Likewise.
17308 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17311 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17313 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17316 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17317 __ppc_mdoio and __ppc_mdoom.
17318 * manual/platform.texi: Document new functions __ppc_yield,
17319 __ppc_mdoio and __ppc_mdoom.
17321 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17323 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17324 (main): Mention "tls" pseudo-hwcap is legacy.
17325 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17327 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17329 * math/gen-libm-test.pl (parse_args): Output only string of
17330 arguments as text for test name, not full call or descriptions of
17331 tests for extra outputs.
17332 (generate_testfile): Do not pass function name to parse_args.
17333 Generate this_func variable from START.
17334 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17336 (struct test_ff_f_data): Likewise.
17337 (test_ff_f_data_nexttoward): Likewise.
17338 (struct test_fi_f_data): Likewise.
17339 (struct test_fl_f_data): Likewise.
17340 (struct test_if_f_data): Likewise.
17341 (struct test_fff_f_data): Likewise.
17342 (struct test_c_f_data): Likewise.
17343 (struct test_f_f1_data): Likewise. Remove field extra_name.
17344 (struct test_fF_f1_data): Likewise.
17345 (struct test_ffI_f1_data): Likewise.
17346 (struct test_c_c_data): Rename test_name field to arg_str.
17347 (struct test_cc_c_data): Likewise.
17348 (struct test_f_i_data): Likewise.
17349 (struct test_ff_i_data): Likewise.
17350 (struct test_f_l_data): Likewise.
17351 (struct test_f_L_data): Likewise.
17352 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17354 (COMMON_TEST_SETUP): New macro.
17355 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17356 (COMMON_TEST_CLEANUP): Likewise.
17357 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17358 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17360 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17361 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17363 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17364 (RUN_TEST_fff_f): Take argument string. Call new setup and
17366 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17367 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17369 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17370 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17372 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17373 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17375 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17376 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17378 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17379 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17381 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17382 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17384 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17385 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17387 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17388 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17390 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17391 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17393 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17394 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17396 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17397 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17399 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17400 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17402 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17403 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17405 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17406 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17408 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17409 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17411 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17413 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17415 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17416 to _sifields.sigfault.
17417 (si_addr_lsb): Define new macro.
17418 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17420 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17422 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17425 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17427 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17429 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17430 loading the domain.
17432 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17434 * math/gen-libm-test.pl (parse_args): Do not include expected
17435 result in test name.
17436 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17437 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17438 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17439 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17440 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17443 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17445 * benchtests/Makefile: Sort function entries.
17447 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17448 tanh, asinh, acosh, atanh.
17449 * benchtests/acos-inputs: New file.
17450 * benchtests/acosh-inputs: New file.
17451 * benchtests/asin-inputs: New file.
17452 * benchtests/asinh-inputs: New file.
17453 * benchtests/atanh-inputs: New file.
17454 * benchtests/cosh-inputs: New file.
17455 * benchtests/log-inputs: New file.
17456 * benchtests/sinh-inputs: New file.
17457 * benchtests/tanh-inputs: New file.
17459 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17462 * posix/tst-getaddrinfo4.c: New test.
17463 * posix/Makefile (tests): Add it.
17465 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17468 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17469 when no services were used.
17470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17471 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17473 2013-05-21 Andreas Schwab <schwab@suse.de>
17476 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17477 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17479 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17480 redundant variable declarations and reallocation of buffer when
17481 parsing as IPv6 address. Always set NSS status when called from
17482 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17483 buffer too small. Correct computation of needed size.
17484 * nss/Makefile (tests): Add test-digits-dots.
17485 * nss/test-digits-dots.c: New test.
17487 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17489 * benchtests/Makefile: Remove instructions for adding
17491 * benchtests/README: New file to explain how to execute and
17492 enhance the benchmark tests.
17494 2013-05-21 Andreas Schwab <schwab@suse.de>
17497 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17498 * setjmp/tst-sigsetjmp.c: New test.
17500 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17502 * sysdeps/x86_64/memset.S (memset): New implementation.
17503 (__bzero): Likewise.
17504 (__memset_tail): New function.
17506 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17508 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17509 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17510 __memcpy_sse2_unaligned ifunc selection.
17511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17512 Add memcpy-sse2-unaligned.S.
17513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17514 Add: __memcpy_sse2_unaligned.
17516 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17519 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17520 math_force_eval before restoring floating-point envrionment.
17521 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17524 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17526 (__nearbyintl): Use math_force_eval before restoring
17527 floating-point environment.
17528 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17530 * math/gen-libm-test.pl (special_functions): Remove.
17531 (parse_args): Don't handle TEST_extra. Handle functions with no
17533 * math/libm-test.inc (struct test_sincos_data): Replace with
17534 struct test_fFF_11_data.
17535 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17536 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17537 (sincos_test_data): Change element type to struct
17538 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17539 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17540 RUN_TEST_LOOP_sincos.
17541 * math/README.libm-test: Don't mention special handling of
17542 individual functions.
17543 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17545 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17546 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17547 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17550 * math/gen-libm-test.pl (get_variable): Remove function.
17551 (parse_args): Don't show pointer parameters to call in test
17552 names. Use "extra output N" in test names for extra outputs
17553 rather than naming variables.
17555 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17558 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17559 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17560 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17562 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17564 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17567 * math/gen-libm-test.pl (@tests): Remove variable.
17568 ($count): Likewise.
17569 (new_test): Remove function.
17570 (show_exceptions): New function.
17571 (special_functions): Use show_exceptions instead of new_test.
17572 (parse_args): Likewise.
17573 (generate_testfile): Pass only function name in generated call to
17574 print_max_error or print_complex_max_error.
17575 (get_ulps): Do not handle complex tests specially.
17576 (output_test): Rename to ...
17577 (get_all_ulps_for_test): ... this. Return a string rather than
17578 printing to a file. Require ulps to be present.
17579 (output_ulps): Generate arrays rather than #defines.
17580 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17581 (struct ulp_data): New type.
17582 (BUILD_COMPLEX_ULP): Remove macro.
17583 (compare_ulp_data): New function.
17584 (find_ulps): Likewise.
17585 (find_test_ulps): Likewise.
17586 (find_function_ulps): Likewise.
17587 (find_complex_function_ulps): Likewise.
17588 (print_max_error): Determine allowed ulps using
17589 find_function_ulps.
17590 (print_complex_max_error): Determine allowed ulps using
17591 find_complex_function_ulps.
17592 (check_float_internal): Determine max ulps using find_test_ulps.
17593 (check_float): Do not take max_ulp parameter. Update call to
17594 check_float_internal.
17595 (check_complex): Likewise.
17596 (check_int): Do not take max_ulp parameter.
17597 (check_long): Likewise.
17598 (check_bool): Likewise.
17599 (check_longlong): Likewise.
17600 (struct test_f_f_data): Remove max_ulp field.
17601 (struct test_ff_f_data): Likewise.
17602 (struct test_ff_f_data_nexttoward): Likewise.
17603 (struct test_fi_f_data): Likewise.
17604 (struct test_fl_f_data): Likewise.
17605 (struct test_if_f_data): Likewise.
17606 (struct test_fff_f_data): Likewise.
17607 (struct test_c_f_data): Likewise.
17608 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17609 (struct test_fF_f1_data): Likewise.
17610 (struct test_ffI_f1_data): Likewise.
17611 (struct test_c_c_data): Remove max_ulp field.
17612 (struct test_cc_c_data): Likewise.
17613 (struct test_f_i_data): Likewise.
17614 (struct test_ff_i_data): Likewise.
17615 (struct test_f_l_data): Likewise.
17616 (struct test_f_L_data): Likewise.
17617 (struct test_sincos_data): Likewise.
17618 (RUN_TEST_f_f): Do not handle ulps.
17619 (RUN_TEST_LOOP_f_f): Likewise.
17620 (RUN_TEST_2_f): Likewise.
17621 (RUN_TEST_LOOP_2_f): Likewise.
17622 (RUN_TEST_fff_f): Likewise.
17623 (RUN_TEST_LOOP_fff_f): Likewise.
17624 (RUN_TEST_c_f): Likewise.
17625 (RUN_TEST_LOOP_c_f): Likewise.
17626 (RUN_TEST_f_f1): Likewise.
17627 (RUN_TEST_LOOP_f_f1): Likewise.
17628 (RUN_TEST_fF_f1): Likewise.
17629 (RUN_TEST_LOOP_fF_f1): Likewise.
17630 (RUN_TEST_fI_f1): Likewise.
17631 (RUN_TEST_LOOP_fI_f1): Likewise.
17632 (RUN_TEST_ffI_f1): Likewise.
17633 (RUN_TEST_LOOP_ffI_f1): Likewise.
17634 (RUN_TEST_c_c): Likewise.
17635 (RUN_TEST_LOOP_c_c): Likewise.
17636 (RUN_TEST_cc_c): Likewise.
17637 (RUN_TEST_LOOP_cc_c): Likewise.
17638 (RUN_TEST_f_i): Likewise.
17639 (RUN_TEST_LOOP_f_i): Likewise.
17640 (RUN_TEST_f_i_tg): Likewise.
17641 (RUN_TEST_LOOP_f_i_tg): Likewise.
17642 (RUN_TEST_ff_i_tg): Likewise.
17643 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17644 (RUN_TEST_f_b): Likewise.
17645 (RUN_TEST_LOOP_f_b): Likewise.
17646 (RUN_TEST_f_b_tg): Likewise.
17647 (RUN_TEST_LOOP_f_b_tg): Likewise.
17648 (RUN_TEST_f_l): Likewise.
17649 (RUN_TEST_LOOP_f_l): Likewise.
17650 (RUN_TEST_f_L): Likewise.
17651 (RUN_TEST_LOOP_f_L): Likewise.
17652 (RUN_TEST_sincos): Likewise.
17653 (RUN_TEST_LOOP_sincos): Likewise.
17655 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17659 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17660 main case of finite arguments, set rounding mode to FE_TONEAREST
17661 and discard exceptions.
17662 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17664 (remainder_tonearest_test_data): New variable.
17665 (remainder_test_tonearest): New function.
17666 (remainder_towardzero_test_data): New variable.
17667 (remainder_test_towardzero): New function.
17668 (remainder_downward_test_data): New variable.
17669 (remainder_test_downward): New function.
17670 (remainder_upward_test_data): New variable.
17671 (remainder_test_upward): New function.
17672 (main): Call the new test functions.
17674 * math/libm-test.inc (struct test_f_f1_data): Remove field
17676 (struct test_fF_f1_data): Likewise.
17677 (struct test_ffI_f1_data): Likewise.
17678 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17679 based on value of EXTRA_EXPECTED.
17680 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17681 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17682 EXTRA_VAR based on value of EXTRA_EXPECTED.
17683 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17684 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17685 EXTRA_VAR based on value of EXTRA_EXPECTED.
17686 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17687 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17688 EXTRA_VAR based on value of EXTRA_EXPECTED.
17689 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17690 * math/gen-libm-test.pl (parse_args): Don't output initializers
17691 for extra output values.
17693 * math/libm-test.inc (check_int): Expect result to be exactly
17694 equal to expected value and do not handle ulps.
17695 (check_long): Likewise.
17696 (check_longlong): Likewise.
17698 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17700 (cimag_test_data): Likewise.
17701 (conj_test_data): Likewise.
17702 (copysign_test_data): Likewise.
17703 (cproj_test_data): Likewise.
17704 (creal_test_data): Likewise.
17705 (fabs_test_data): Likewise.
17706 (fdim_test_data): Likewise.
17707 (finite_test_data): Likewise.
17708 (floor_test_data): Likewise.
17709 (fmax_test_data): Likewise.
17710 (fmin_test_data): Likewise.
17711 (fmod_test_data): Likewise.
17712 (fpclassify_test_data): Likewise.
17713 (frexp_test_data): Likewise.
17714 (ilogb_test_data): Likewise.
17715 (isfinite_test_data): Likewise.
17716 (isgreater_test_data): Likewise.
17717 (isgreaterequal_test_data): Likewise.
17718 (isinf_test_data): Likewise.
17719 (isless_test_data): Likewise.
17720 (islessequal_test_data): Likewise.
17721 (islessgreater_test_data): Likewise.
17722 (isnan_test_data): Likewise.
17723 (isnormal_test_data): Likewise.
17724 (issignaling_test_data): Likewise.
17725 (isunordered_test_data): Likewise.
17726 (ldexp_test_data): Likewise.
17727 (lrint_test_data): Likewise.
17728 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17729 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17730 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17731 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17732 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17733 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17735 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17736 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17737 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17738 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17740 (lrint_downward_test_data): Test for "inexact" exceptions.
17741 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17742 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17743 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17745 (lrint_upward_test_data): Test for "inexact" exceptions.
17746 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17748 (llrint_test_data): Test for "inexact" exceptions.
17749 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17750 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17751 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17752 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17753 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17754 (llrint_downward_test_data): Test for "inexact" exceptions.
17755 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17756 (llrint_upward_test_data): Test for "inexact" exceptions.
17757 (logb_test_data): Likewise.
17758 (logb_downward_test_data): Likewise.
17759 (nextafter_test_data): Likewise.
17760 (nexttoward_test_data): Likewise.
17761 (remainder_test_data): Likewise.
17762 (remquo_test_data): Likewise.
17763 (scalbn_test_data): Likewise.
17764 (scalbln_test_data): Likewise.
17765 (signbit_test_data): Likewise.
17766 (sqrt_test_data): Likewise.
17767 (significand_test_data): Likewise.
17769 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17772 * benchtests/bench-modf.c (struct args): Mark arg0 as
17774 * scripts/bench.pl: Mark members of struct args as volatile.
17776 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17779 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17780 negative infinity on POWER6 or lower.
17781 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17783 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17786 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17787 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17788 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17789 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17790 (_FP_SETQNAN): New macro.
17791 (_FP_SETQNAN_SEMIRAW): Likewise.
17792 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17793 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17794 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17795 (FP_EXTEND): Use _FP_FRAC_SNANP.
17796 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17797 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17799 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17801 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17804 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17806 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17807 with DIVIDE_BY_ZERO_EXCEPTION.
17808 (gamma_test_data): Likewise.
17809 (lgamma_test_data): Likewise.
17810 (log_test_data): Likewise.
17811 (log10_test_data): Likewise.
17812 (log2_test_data): Likewise.
17813 (tgamma_test_data): Likewise.
17815 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17816 (acos_test_tonearest): Likewise.
17817 (acos_test_towardzero): Likewise.
17818 (acos_test_downward): Likewise.
17819 (acos_test_upward): Likewise.
17820 (acosh_test): Likewise.
17821 (asin_test): Likewise.
17822 (asin_test_tonearest): Likewise.
17823 (asin_test_towardzero): Likewise.
17824 (asin_test_downward): Likewise.
17825 (asin_test_upward): Likewise.
17826 (asinh_test): Likewise.
17827 (atan_test): Likewise.
17828 (atanh_test): Likewise.
17829 (atan2_test): Likewise.
17830 (cabs_test): Likewise.
17831 (cacos_test): Likewise.
17832 (cacosh_test): Likewise.
17833 (casin_test): Likewise.
17834 (casinh_test): Likewise.
17835 (catan_test): Likewise.
17836 (catanh_test): Likewise.
17837 (cbrt_test): Likewise.
17838 (ccos_test): Likewise.
17839 (ccosh_test): Likewise.
17840 (cexp_test): Likewise.
17841 (clog_test): Likewise.
17842 (clog10_test): Likewise.
17843 (cos_test): Likewise.
17844 (cos_test_tonearest): Likewise.
17845 (cos_test_towardzero): Likewise.
17846 (cos_test_downward): Likewise.
17847 (cos_test_upward): Likewise.
17848 (cosh_test): Likewise.
17849 (cosh_test_tonearest): Likewise.
17850 (cosh_test_towardzero): Likewise.
17851 (cosh_test_downward): Likewise.
17852 (cosh_test_upward): Likewise.
17853 (cpow_test): Likewise.
17854 (csin_test): Likewise.
17855 (csinh_test): Likewise.
17856 (csqrt_test): Likewise.
17857 (ctan_test): Likewise.
17858 (ctan_test_tonearest): Likewise.
17859 (ctan_test_towardzero): Likewise.
17860 (ctan_test_downward): Likewise.
17861 (ctan_test_upward): Likewise.
17862 (ctanh_test): Likewise.
17863 (ctanh_test_tonearest): Likewise.
17864 (ctanh_test_towardzero): Likewise.
17865 (ctanh_test_downward): Likewise.
17866 (ctanh_test_upward): Likewise.
17867 (erf_test): Likewise.
17868 (erfc_test): Likewise.
17869 (exp_test): Likewise.
17870 (exp_test_tonearest): Likewise.
17871 (exp_test_towardzero): Likewise.
17872 (exp_test_downward): Likewise.
17873 (exp_test_upward): Likewise.
17874 (exp10_test): Likewise.
17875 (exp2_test): Likewise.
17876 (expm1_test): Likewise.
17877 (fmod_test): Likewise.
17878 (gamma_test): Likewise.
17879 (hypot_test): Likewise.
17880 (j0_test): Likewise.
17881 (j1_test): Likewise.
17882 (jn_test): Likewise.
17883 (lgamma_test): Likewise.
17884 (log_test): Likewise.
17885 (log10_test): Likewise.
17886 (log1p_test): Likewise.
17887 (log2_test): Likewise.
17888 (logb_test_downward): Likewise.
17889 (pow_test): Likewise.
17890 (pow_test_tonearest): Likewise.
17891 (pow_test_towardzero): Likewise.
17892 (pow_test_downward): Likewise.
17893 (pow_test_upward): Likewise.
17894 (remainder_test): Likewise.
17895 (remquo_test): Likewise.
17896 (sin_test): Likewise.
17897 (sin_test_tonearest): Likewise.
17898 (sin_test_towardzero): Likewise.
17899 (sin_test_downward): Likewise.
17900 (sin_test_upward): Likewise.
17901 (sincos_test): Likewise.
17902 (sinh_test): Likewise.
17903 (sinh_test_tonearest): Likewise.
17904 (sinh_test_towardzero): Likewise.
17905 (sinh_test_downward): Likewise.
17906 (sinh_test_upward): Likewise.
17907 (sqrt_test): Likewise.
17908 (tan_test): Likewise.
17909 (tan_test_tonearest): Likewise.
17910 (tan_test_towardzero): Likewise.
17911 (tan_test_downward): Likewise.
17912 (tan_test_upward): Likewise.
17913 (tanh_test): Likewise.
17914 (tgamma_test): Likewise.
17915 (y0_test): Likewise.
17916 (y1_test): Likewise.
17917 (yn_test): Likewise.
17919 * math/gen-libm-test.pl (adjust_arg): Remove function.
17920 (special_function): Remove argument $in_func. Only handle
17921 generating output for tables of tests, not inside functions.
17922 (parse_args): Likewise.
17923 (generate_testfile): Remove variable $in_func. Update call to
17925 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17926 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17927 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17928 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17929 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17930 (MAX_VALUE_INIT): Rename macro to max_value.
17931 (MIN_VALUE_INIT): Rename macro to min_value.
17932 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17933 (plus_zero): Remove variable.
17934 (minus_zero): Likewise.
17935 (plus_infty): Likewise.
17936 (minus_infty): Likewise.
17937 (qnan_value): Likewise.
17938 (max_value): Likewise.
17939 (min_value): Likewise.
17940 (min_subnorm_value): Likewise.
17942 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17944 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17945 uint64_t or uint32_t usage.
17946 * crypt/sha256-block.c: Likewise.
17947 * crypt/sha256-crypt.c: Likewise.
17948 * crypt/sha256.c: Likewise.
17949 * crypt/sha512-block.c: Likewise.
17950 * crypt/sha512-crypt.c: Likewise.
17951 * crypt/sha512.c: Likewise.
17952 * debug/backtrace-tst.c: Likewise.
17953 * debug/pcprofiledump.c: Likewise.
17954 * elf/cache.c: Likewise.
17955 * elf/dl-cache.c: Likewise.
17956 * elf/dl-misc.c: Likewise.
17957 * elf/dl-profile.c: Likewise.
17958 * elf/dl-support.c: Likewise.
17959 * elf/ldconfig.c: Likewise.
17960 * elf/sprof.c: Likewise.
17961 * iconv/dummy-repertoire.c: Likewise.
17962 * iconv/iconv_charmap.c: Likewise.
17963 * iconv/skeleton.c: Likewise.
17964 * iconvdata/8bit-generic.c: Likewise.
17965 * iconvdata/cp737.h: Likewise.
17966 * iconvdata/cp775.h: Likewise.
17967 * iconvdata/ibm1008.h: Likewise.
17968 * iconvdata/ibm1025.h: Likewise.
17969 * iconvdata/ibm1046.h: Likewise.
17970 * iconvdata/ibm1097.h: Likewise.
17971 * iconvdata/ibm1112.h: Likewise.
17972 * iconvdata/ibm1122.h: Likewise.
17973 * iconvdata/ibm1123.h: Likewise.
17974 * iconvdata/ibm1124.h: Likewise.
17975 * iconvdata/ibm1129.h: Likewise.
17976 * iconvdata/ibm1130.h: Likewise.
17977 * iconvdata/ibm1132.h: Likewise.
17978 * iconvdata/ibm1133.h: Likewise.
17979 * iconvdata/ibm1137.h: Likewise.
17980 * iconvdata/ibm1140.h: Likewise.
17981 * iconvdata/ibm1141.h: Likewise.
17982 * iconvdata/ibm1142.h: Likewise.
17983 * iconvdata/ibm1143.h: Likewise.
17984 * iconvdata/ibm1144.h: Likewise.
17985 * iconvdata/ibm1145.h: Likewise.
17986 * iconvdata/ibm1146.h: Likewise.
17987 * iconvdata/ibm1147.h: Likewise.
17988 * iconvdata/ibm1148.h: Likewise.
17989 * iconvdata/ibm1149.h: Likewise.
17990 * iconvdata/ibm1153.h: Likewise.
17991 * iconvdata/ibm1154.h: Likewise.
17992 * iconvdata/ibm1155.h: Likewise.
17993 * iconvdata/ibm1156.h: Likewise.
17994 * iconvdata/ibm1157.h: Likewise.
17995 * iconvdata/ibm1158.h: Likewise.
17996 * iconvdata/ibm1160.h: Likewise.
17997 * iconvdata/ibm1161.h: Likewise.
17998 * iconvdata/ibm1162.h: Likewise.
17999 * iconvdata/ibm1163.h: Likewise.
18000 * iconvdata/ibm1164.h: Likewise.
18001 * iconvdata/ibm1166.h: Likewise.
18002 * iconvdata/ibm1167.h: Likewise.
18003 * iconvdata/ibm12712.h: Likewise.
18004 * iconvdata/ibm1390.h: Likewise.
18005 * iconvdata/ibm1399.h: Likewise.
18006 * iconvdata/ibm16804.h: Likewise.
18007 * iconvdata/ibm4517.h: Likewise.
18008 * iconvdata/ibm4899.h: Likewise.
18009 * iconvdata/ibm4909.h: Likewise.
18010 * iconvdata/ibm4971.h: Likewise.
18011 * iconvdata/ibm5347.h: Likewise.
18012 * iconvdata/ibm803.h: Likewise.
18013 * iconvdata/ibm856.h: Likewise.
18014 * iconvdata/ibm901.h: Likewise.
18015 * iconvdata/ibm902.h: Likewise.
18016 * iconvdata/ibm9030.h: Likewise.
18017 * iconvdata/ibm9066.h: Likewise.
18018 * iconvdata/ibm921.h: Likewise.
18019 * iconvdata/ibm922.h: Likewise.
18020 * iconvdata/ibm9448.h: Likewise.
18021 * iconvdata/isiri-3342.h: Likewise.
18022 * iconvdata/jis0201.h: Likewise.
18023 * include/link.h: Likewise.
18024 * include/netdb.h: Likewise.
18025 * inet/check_native.c: Likewise.
18026 * inet/check_pf.c: Likewise.
18027 * inet/getipv4sourcefilter.c: Likewise.
18028 * inet/getnameinfo.c: Likewise.
18029 * inet/getsourcefilter.c: Likewise.
18030 * inet/htonl.c: Likewise.
18031 * inet/setipv4sourcefilter.c: Likewise.
18032 * inet/setsourcefilter.c: Likewise.
18033 * inet/test-inet6_opt.c: Likewise.
18034 * inet/tst-network.c: Likewise.
18035 * locale/C-collate.c: Likewise.
18036 * locale/C-ctype.c: Likewise.
18037 * locale/C-time.c: Likewise.
18038 * locale/C-translit.h: Likewise.
18039 * locale/loadarchive.c: Likewise.
18040 * locale/programs/3level.h: Likewise.
18041 * locale/programs/charmap.c: Likewise.
18042 * locale/programs/charmap.h: Likewise.
18043 * locale/programs/ld-address.c: Likewise.
18044 * locale/programs/ld-collate.c: Likewise.
18045 * locale/programs/ld-ctype.c: Likewise.
18046 * locale/programs/ld-identification.c: Likewise.
18047 * locale/programs/ld-measurement.c: Likewise.
18048 * locale/programs/ld-messages.c: Likewise.
18049 * locale/programs/ld-monetary.c: Likewise.
18050 * locale/programs/ld-name.c: Likewise.
18051 * locale/programs/ld-numeric.c: Likewise.
18052 * locale/programs/ld-paper.c: Likewise.
18053 * locale/programs/ld-telephone.c: Likewise.
18054 * locale/programs/ld-time.c: Likewise.
18055 * locale/programs/linereader.c: Likewise.
18056 * locale/programs/locale.c: Likewise.
18057 * locale/programs/locarchive.c: Likewise.
18058 * locale/programs/locfile.h: Likewise.
18059 * locale/programs/repertoire.c: Likewise.
18060 * locale/programs/simple-hash.c: Likewise.
18061 * locale/programs/simple-hash.h: Likewise.
18062 * malloc/memusage.c: Likewise.
18063 * malloc/memusagestat.c: Likewise.
18064 * nis/nis_defaults.c: Likewise.
18065 * nis/nis_hash.c: Likewise.
18066 * nis/nis_print.c: Likewise.
18067 * nis/nis_xdr.c: Likewise.
18068 * nscd/connections.c: Likewise.
18069 * nscd/hstcache.c: Likewise.
18070 * nscd/nscd_gethst_r.c: Likewise.
18071 * nscd/nscd_getserv_r.c: Likewise.
18072 * nscd/nscd_helper.c: Likewise.
18073 * nscd/servicescache.c: Likewise.
18074 * nss/makedb.c: Likewise.
18075 * nss/nss_db/db-XXX.c: Likewise.
18076 * nss/nss_db/db-initgroups.c: Likewise.
18077 * nss/nss_db/db-netgrp.c: Likewise.
18078 * nss/nss_files/files-network.c: Likewise.
18079 * nss/nss_files/files-parse.c: Likewise.
18080 * posix/bug-regex5.c: Likewise.
18081 * posix/fnmatch_loop.c: Likewise.
18082 * posix/regcomp.c: Likewise.
18083 * posix/regexec.c: Likewise.
18084 * posix/tst-rfc3484-2.c: Likewise.
18085 * posix/tst-rfc3484-3.c: Likewise.
18086 * posix/tst-rfc3484.c: Likewise.
18087 * resolv/nss_dns/dns-canon.c: Likewise.
18088 * resolv/nss_dns/dns-network.c: Likewise.
18089 * resolv/res_init.c: Likewise.
18090 * resolv/res_mkquery.c: Likewise.
18091 * resolv/tst-aton.c: Likewise.
18092 * stdlib/cxa_atexit.c: Likewise.
18093 * stdlib/cxa_finalize.c: Likewise.
18094 * stdlib/gen-fpioconst.c: Likewise.
18095 * stdlib/strtol_l.c: Likewise.
18096 * string/tst-endian.c: Likewise.
18097 * sunrpc/auth_des.c: Likewise.
18098 * sunrpc/clnt_udp.c: Likewise.
18099 * sunrpc/rtime.c: Likewise.
18100 * sunrpc/svcauth_des.c: Likewise.
18101 * sunrpc/xdr.c: Likewise.
18102 * sunrpc/xdr_intXX_t.c: Likewise.
18103 * sunrpc/xdr_rec.c: Likewise.
18104 * sysdeps/generic/ldconfig.h: Likewise.
18105 * sysdeps/generic/ldsodefs.h: Likewise.
18106 * sysdeps/generic/memusage.h: Likewise.
18107 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18117 * sysdeps/posix/getaddrinfo.c: Likewise.
18118 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18119 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18120 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18121 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18122 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18123 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18124 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18125 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18126 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18127 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18128 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18129 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18130 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18131 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18132 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18133 * sysdeps/x86_64/dl-tls.h: Likewise.
18134 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18135 * time/alt_digit.c: Likewise.
18136 * time/era.c: Likewise.
18137 * wcsmbs/tst-c16c32-1.c: Likewise.
18139 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18141 * math/libm-test.inc (struct test_sincos_data): New type.
18142 (RUN_TEST_LOOP_sincos): New macro.
18143 (sincos_test_data): New variable.
18144 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18146 2013-05-16 Richard Henderson <rth@redhat.com>
18148 * math/atest-exp2.c (LIMB64): New macro.
18149 (CONSTSZ): New macro.
18150 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18152 (print_mpn_fp): ... to function scope.
18153 (read_mpn_hex): Remove.
18154 (get_log2): Remove.
18155 (exp2_mpn): Use mp_log2.
18156 (main): Use mp_exp1.
18158 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18160 * math/libm-test.inc: Remove comment about not testing "inexact"
18162 (INEXACT_EXCEPTION): New macro.
18163 (NO_INEXACT_EXCEPTION): Likewise.
18164 (INVALID_EXCEPTION_OK): Update value.
18165 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18166 (OVERFLOW_EXCEPTION_OK): Likewise.
18167 (UNDERFLOW_EXCEPTION_OK): Likewise.
18168 (IGNORE_ZERO_INF_SIGN): Likewise.
18169 (ERRNO_UNCHANGED): Likewise.
18170 (ERRNO_EDOM): Likewise.
18171 (ERRNO_ERANGE): Likewise.
18172 (test_exceptions): Handle testing "inexact" exceptions.
18173 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18174 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18175 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18176 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18178 (rint_towardzero_test_data): Likewise.
18179 (rint_downward_test_data): Likewise.
18180 (rint_upward_test_data): Likewise.
18182 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18183 with OVERFLOW_EXCEPTION.
18184 (exp10_test_data): Likewise.
18185 (exp2_test_data): Likewise.
18186 (expm1_test_data): Likewise.
18187 (lgamma_test_data): Likewise.
18188 (pow_test_data): Likewise.
18189 (tgamma_test_data): Likewise.
18190 (yn_test_data): Remove duplicate test of overflow.
18192 * math/libm-test.inc (struct test_cc_c_data): New type.
18193 (RUN_TEST_LOOP_cc_c): New macro.
18194 (cpow_test_data): New variable.
18195 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18197 * math/libm-test.inc (struct test_f_L_data): New type.
18198 (RUN_TEST_LOOP_f_L): New macro.
18199 (llrint_test_data): New variable.
18200 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18201 (llrint_tonearest_test_data): New variable.
18202 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18203 (llrint_towardzero_test_data): New variable.
18204 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18205 (llrint_downward_test_data): New variable.
18206 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18207 (llrint_upward_test_data): New variable.
18208 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18209 (llround_test_data): New variable.
18210 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18212 2013-05-13 Peter Collingbourne <pcc@google.com>
18214 * math/atest-exp2.c (get_log2): Remove const attribute.
18216 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18218 * math/libm-test.inc (struct test_f_l_data): New type.
18219 (RUN_TEST_LOOP_f_l): New macro.
18220 (lrint_test_data): New variable.
18221 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18222 (lrint_tonearest_test_data): New variable.
18223 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18224 (lrint_towardzero_test_data): New variable.
18225 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18226 (lrint_downward_test_data): New variable.
18227 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18228 (lrint_upward_test_data): New variable.
18229 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18230 (lround_test_data): New variable.
18231 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18233 2013-05-15 Peter Collingbourne <pcc@google.com>
18235 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18236 (EXTRACT_WORDS64) Use where appropriate.
18237 (INSERT_WORDS64) Likewise.
18239 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18240 constraints with x constraints.
18241 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18243 * malloc/obstack.c (_obstack_compat): Add initializer.
18245 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18247 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18248 si_trapno and add si_addr_lsb to _sifields.sigfault.
18249 (si_trapno): Remove macro.
18250 (si_addr_lsb): Define new macro.
18251 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18253 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18255 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18256 instead of TEST_f_l.
18257 (llrint_test_tonearest): Likewise.
18258 (llrint_test_towardzero): Likewise.
18259 (llrint_test_downward): Likewise.
18260 (llrint_test_upward): Likewise.
18261 (llround_test): Likewise.
18263 * math/libm-test.inc (struct test_f_i_data): Add comment.
18264 (RUN_TEST_LOOP_f_b): New macro.
18265 (RUN_TEST_LOOP_f_b_tg): Likewise.
18266 (finite_test_data): New variable.
18267 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18268 (isfinite_test_data): New variable.
18269 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18270 (isinf_test_data): New variable.
18271 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18272 (isnan_test_data): New variable.
18273 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18274 (isnormal_test_data): New variable.
18275 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18276 (issignaling_test_data): New variable.
18277 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18278 (signbit_test_data): New variable.
18279 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18281 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18282 with INVALID_EXCEPTION.
18283 (acosh_test_data): Likewise.
18284 (asin_test_data): Likewise.
18285 (atanh_test_data): Likewise.
18286 (fmod_test_data): Likewise.
18287 (log_test_data): Likewise.
18288 (log10_test_data): Likewise.
18289 (log2_test_data): Likewise.
18290 (pow_test_data): Likewise.
18291 (sqrt_test_data): Likewise.
18292 (y0_test_data): Likewise.
18293 (y1_test_data): Likewise.
18294 (yn_test_data): Likewise.
18296 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18299 * math/libm-test.inc (struct test_ff_i_data): New type.
18300 (RUN_TEST_LOOP_ff_i_tg): New macro.
18301 (isgreater_test_data): New variable.
18302 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18303 (isgreaterequal_test_data): New variable.
18304 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18305 (isless_test_data): New variable.
18306 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18307 (islessequal_test_data): New variable.
18308 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18309 (islessgreater_test_data): New variable.
18310 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18311 (isunordered_test_data): New variable.
18312 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18314 2013-05-14 David S. Miller <davem@davemloft.net>
18316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18318 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18320 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18322 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18324 (struct test_f_i_data): Change type of max_ulp to int.
18326 * math/libm-test.inc (test_ffI_f1_data): New type.
18327 (RUN_TEST_LOOP_ffI_f1): New macro.
18328 (remquo_test_data): New variable.
18329 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18331 * setjmp/tst-setjmp-fp.c: New file.
18332 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18333 (link-libm): New variable.
18334 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18336 * math/libm-test.inc (struct test_f_i_data): New type.
18337 (RUN_TEST_LOOP_f_i): New macro.
18338 (RUN_TEST_LOOP_f_i_tg): Likewise.
18339 (fpclassify_test_data): New variable.
18340 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18341 (ilogb_test_data): New variable.
18342 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18344 * math/libm-test.inc (scalbln_test): Correct function name in END
18347 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18348 (RUN_TEST_LOOP_fI_f1): New macro.
18349 (frexp_test_data): New variable.
18350 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18352 * math/libm-test.inc (struct test_fF_f1_data): New type.
18353 (RUN_TEST_LOOP_fF_f1): New macro.
18354 (modf_test_data): New variable.
18355 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18357 * math/libm-test.inc (struct test_f_f1_data): New type.
18358 (RUN_TEST_LOOP_f_f1): New macro.
18359 (gamma_test_data): New variable.
18360 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18361 (lgamma_test_data): New variable.
18362 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18364 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18367 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18368 (main): Comment "tls" pseudo-hwcap.
18370 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18372 * math/libm-test.inc (struct test_fl_f_data): New type.
18373 (RUN_TEST_LOOP_fl_f): New variable.
18374 (scalbln_test_data): New variable.
18375 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18377 * math/libm-test.inc (struct test_fi_f_data): New type.
18378 (RUN_TEST_LOOP_fi_f): New macro.
18379 (ldexp_test_data): New variable.
18380 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18381 (scalbn_test_data): New variable.
18382 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18384 * math/libm-test.inc (struct test_c_f_data): New type.
18385 (RUN_TEST_LOOP_c_f): New macro.
18386 (cabs_test_data): New variable.
18387 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18388 (carg_test_data): New variable.
18389 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18390 (cimag_test_data): New variable.
18391 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18392 (creal_test_data): New variable.
18393 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18395 * math/libm-test.inc (struct test_if_f_data): New type.
18396 (RUN_TEST_LOOP_if_f): New macro.
18397 (jn_test_data): New variable.
18398 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18399 (yn_test_data): New variable.
18400 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18402 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18404 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18406 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18407 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18409 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18411 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18412 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18413 (bench-deps): Add bench-timing.h.
18414 * benchtests-bench-skeleton.c: Include bench-timing.h.
18415 (main): Use TIMING_* macros instead of clock_gettime.
18416 * benchtests/bench-timing.h: New file.
18419 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18420 Renamed from _LIB_VERSION.
18421 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18423 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18425 * math/libm-test.inc (struct test_fff_f_data): New type.
18426 (RUN_TEST_LOOP_fff_f): New macro.
18427 (fma_test_data): New variable.
18428 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18429 (fma_towardzero_test_data): New variable.
18430 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18431 (fma_downward_test_data): New variable.
18432 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18433 (fma_upward_test_data): New variable.
18434 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18436 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18437 (struct test_c_c_data): New type.
18438 (RUN_TEST_LOOP_c_c): New macro.
18439 (cacos_test_data): New variable.
18440 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18441 (cacosh_test_data): New variable.
18442 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18443 (casin_test_data): New variable.
18444 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18445 (casinh_test_data): New variable.
18446 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18447 (catan_test_data): New variable.
18448 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18449 (catanh_test_data): New variable.
18450 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18451 (ccos_test_data): New variable.
18452 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18453 (ccosh_test_data): New variable.
18454 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18455 (cexp_test_data): New variable.
18456 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18457 (clog_test_data): New variable.
18458 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18459 (clog10_test_data): New variable.
18460 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18461 (conj_test_data): New variable.
18462 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18463 (cproj_test_data): New variable.
18464 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18465 (csin_test_data): New variable.
18466 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18467 (csinh_test_data): New variable.
18468 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18469 (csqrt_test_data): New variable.
18470 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18471 (ctan_test_data): New variable.
18472 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18473 (ctan_tonearest_test_data): New variable.
18474 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18475 (ctan_towardzero_test_data): New variable.
18476 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18477 (ctan_downward_test_data): New variable.
18478 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18479 (ctan_upward_test_data): New variable.
18480 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18481 (ctanh_test_data): New variable.
18482 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18483 (ctanh_tonearest_test_data): New variable.
18484 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18485 (ctanh_towardzero_test_data): New variable.
18486 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18487 (ctanh_downward_test_data): New variable.
18488 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18489 (ctanh_upward_test_data): New variable.
18490 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18491 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18494 * math/libm-test.inc (struct test_ff_f_data): New type.
18495 (struct test_ff_f_data_nexttoward): Likewise.
18496 (RUN_TEST_LOOP_2_f): New macro.
18497 (RUN_TEST_LOOP_ff_f): Likewise.
18498 (atan2_test_data): New variable.
18499 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18500 (copysign_test_data): New variable.
18501 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18502 (fdim_test_data): New variable.
18503 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18504 (fmax_test_data): New variable.
18505 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18506 (fmin_test_data): New variable.
18507 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18508 (fmod_test_data): New variable.
18509 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18510 (hypot_test_data): New variable.
18511 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18512 (nextafter_test_data): New variable.
18513 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18514 (nexttoward_test_data): New variable.
18515 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18516 (pow_test_data): New variable.
18517 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18518 (pow_tonearest_test_data): New variable.
18519 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18520 (pow_towardzero_test_data): New variable.
18521 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18522 (pow_downward_test_data): New variable.
18523 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18524 (pow_upward_test_data): New variable.
18525 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18526 (remainder_test_data): New variable.
18527 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18528 (scalb_test_data): New variable.
18529 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18532 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18534 * math/libm-test.inc (fma_test): Use max_value instead of local
18536 (nextafter_test): Likewise.
18538 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18539 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18540 (acos_downward_test_data): New variable.
18541 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18542 (acos_upward_test_data): New variable.
18543 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18544 (acosh_test_data): New variable.
18545 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18546 (asin_test_data): New variable.
18547 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18548 (asin_tonearest_test_data): New variable.
18549 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18550 (asin_towardzero_test_data): New variable.
18551 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18552 (asin_downward_test_data): New variable.
18553 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18554 (asin_upward_test_data): New variable.
18555 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18556 (asinh_test_data): New variable.
18557 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18558 (atan_test_data): New variable.
18559 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18560 (atanh_test_data): New variable.
18561 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18562 (cbrt_test_data): New variable.
18563 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18564 (ceil_test_data): New variable.
18565 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18566 (cos_test_data): New variable.
18567 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18568 (cos_tonearest_test_data): New variable.
18569 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18570 (cos_towardzero_test_data): New variable.
18571 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18572 (cos_downward_test_data): New variable.
18573 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18574 (cos_upward_test_data): New variable.
18575 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18576 (cosh_test_data): New variable.
18577 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18578 (cosh_tonearest_test_data): New variable.
18579 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18580 (cosh_towardzero_test_data): New variable.
18581 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18582 (cosh_downward_test_data): New variable.
18583 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18584 (cosh_upward_test_data): New variable.
18585 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18586 (erf_test_data): New variable.
18587 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18588 (erfc_test_data): New variable.
18589 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18590 (exp_test_data): New variable.
18591 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18592 (exp_tonearest_test_data): New variable.
18593 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18594 (exp_towardzero_test_data): New variable.
18595 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18596 (exp_downward_test_data): New variable.
18597 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18598 (exp_upward_test_data): New variable.
18599 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18600 (exp10_test_data): New variable.
18601 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18602 (exp2_test_data): New variable.
18603 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18604 (expm1_test_data): New variable.
18605 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18606 (fabs_test_data): New variable.
18607 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18608 (floor_test_data): New variable.
18609 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18610 (j0_test_data): New variable.
18611 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18612 (j1_test_data): New variable.
18613 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18614 (log_test_data): New variable.
18615 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18616 (log10_test_data): New variable.
18617 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18618 (log1p_test_data): New variable.
18619 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18620 (log2_test_data): New variable.
18621 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18622 (logb_test_data): New variable.
18623 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18624 (logb_downward_test_data): New variable.
18625 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18626 (nearbyint_test_data): New variable.
18627 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18628 (rint_test_data): New variable.
18629 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18630 (rint_tonearest_test_data): New variable.
18631 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18632 (rint_towardzero_test_data): New variable.
18633 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18634 (rint_downward_test_data): New variable.
18635 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18636 (rint_upward_test_data): New variable.
18637 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18638 (round_test_data): New variable.
18639 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18640 (sin_test_data): New variable.
18641 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18642 (sin_tonearest_test_data): New variable.
18643 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18644 (sin_towardzero_test_data): New variable.
18645 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18646 (sin_downward_test_data): New variable.
18647 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18648 (sin_upward_test_data): New variable.
18649 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18650 (sinh_test_data): New variable.
18651 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18652 (sinh_tonearest_test_data): New variable.
18653 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18654 (sinh_towardzero_test_data): New variable.
18655 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18656 (sinh_downward_test_data): New variable.
18657 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18658 (sinh_upward_test_data): New variable.
18659 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18660 (sqrt_test_data): New variable.
18661 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18662 (tan_test_data): New variable.
18663 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18664 (tan_tonearest_test_data): New variable.
18665 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18666 (tan_towardzero_test_data): New variable.
18667 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18668 (tan_downward_test_data): New variable.
18669 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18670 (tan_upward_test_data): New variable.
18671 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18672 (tanh_test_data): New variable.
18673 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18674 (tgamma_test_data): New variable.
18675 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18676 (trunc_test_data): New variable.
18677 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18678 (y0_test_data): New variable.
18679 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18680 (y1_test_data): New variable.
18681 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18682 (significand_test_data): New variable.
18683 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18685 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18688 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18690 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18692 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18694 2013-05-10 Andreas Jaeger <aj@suse.de>
18697 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18698 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18700 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18702 * math/gen-libm-test.pl (adjust_arg): New function.
18703 (special_functions): Handle generating output in both functions
18705 (parse_args): Likewise.
18706 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18707 $in_func argument to parse_args.
18708 * math/libm-test.inc (struct test_f_f_data): New type.
18709 (IF_ROUND_INIT_): New macro.
18710 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18711 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18712 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18713 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18714 (ROUND_RESTORE_): Likewise.
18715 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18716 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18717 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18718 (ROUND_RESTORE_FE_UPWARD): Likewise.
18719 (RUN_TEST_LOOP_f_f): New macro.
18720 (acos_test_data): New variable.
18721 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18722 (acos_tonearest_test_data): New variable.
18723 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18725 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18727 * benchtests/bench-skeleton.c (startup): Fix coding style.
18729 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18732 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18733 negative infinity argument.
18734 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18735 negative infinity argument.
18736 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18737 negative infinity argument.
18738 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18741 2013-05-10 Florian Weimer <fweimer@redhat.com>
18743 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18744 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18745 * iconv/iconv_prog.c (main): Likewise.
18746 * locale/programs/charmap-dir.c (charmap_readdir)
18747 (fopen_uncompressed): Likewise.
18748 * locale/programs/locfile.c (siblings_uncached)
18749 (write_locale_data): Use lstat64 instead of lstat.
18750 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18753 2013-05-10 Andreas Jaeger <aj@suse.de>
18756 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18758 Include <locale.h>.
18760 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18762 * elf/dl-close.c (_dl_close_worker): Add comments.
18764 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18769 (__ieee754_rem_pio2l): Update comments.
18772 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18774 (__ieee754_rem_pio2l): Update comments.
18776 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18777 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18779 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18782 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18783 (M_PI_34_LOG10El): Likewise.
18784 (M_PI2_LOG10El): Likewise.
18785 (M_PI4_LOG10El): Likewise.
18786 (M_PI_LOG10El): Likewise.
18788 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18792 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18794 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18795 (MINUS_ZERO_INIT): Likewise.
18796 (PLUS_INFTY_INIT): Likewise.
18797 (MINUS_INFTY_INIT): Likewise.
18798 (QNAN_VALUE_INIT): Likewise.
18799 (MAX_VALUE_INIT): Likewise.
18800 (MIN_VALUE_INIT): Likewise.
18801 (MIN_SUBNORM_VALUE_INIT): Likewise.
18802 (plus_zero): Initialize with PLUS_ZERO_INIT.
18803 (minus_zero): Initialize with MINUS_ZERO_INIT.
18804 (plus_infty): Initialize with PLUS_INFTY_INIT.
18805 (minus_infty): Initialize with MINUS_INFTY_INIT.
18806 (qnan_value): Initialize with QNAN_VALUE_INIT.
18807 (max_value): Initialize with MAX_VALUE_INIT.
18808 (min_value): Initialize with MIN_VALUE_INIT.
18809 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18811 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18812 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18813 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18814 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18816 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18817 (RUN_TEST_2_f): Likewise.
18818 (RUN_TEST_ff_f): Likewise.
18819 (RUN_TEST_fi_f): Likewise.
18820 (RUN_TEST_fl_f): Likewise.
18821 (RUN_TEST_fff_f): Likewise.
18822 (RUN_TEST_c_f): Likewise.
18823 (RUN_TEST_f_f1): Likewise.
18824 (RUN_TEST_fF_f1): Likewise.
18825 (RUN_TEST_fI_f1): Likewise.
18826 (RUN_TEST_ffI_f1): Likewise.
18827 (RUN_TEST_c_c): Likewise.
18828 (RUN_TEST_cc_c): Likewise.
18829 (RUN_TEST_f_i): Likewise.
18830 (RUN_TEST_f_i_tg): Likewise.
18831 (RUN_TEST_ff_i_tg): Likewise.
18832 (RUN_TEST_f_b): Likewise.
18833 (RUN_TEST_f_b_tg): Likewise.
18834 (RUN_TEST_f_l): Likewise.
18835 (RUN_TEST_f_L): Likewise.
18836 (RUN_TEST_sincos): Likewise.
18837 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18838 whether to show exceptions. Do not include ");\n" in return
18840 (special_functions): Output call to RUN_TEST_sincos instead of
18841 check_float calls. Update calls to new_test.
18842 (parse_args): Output call to single RUN_TEST_* macro instead of
18843 check_* calls and other assignments. Update calls to new_test.
18849 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18850 input to result for tgamma overflow.
18851 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18852 (gamma_coeff): New variable.
18853 (NCOEFF): New macro.
18854 (gamma_positive): New function.
18855 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18856 underflow here. Use gamma_positive instead of exp (lgamma) for
18858 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18859 (gamma_coeff): New variable.
18860 (NCOEFF): New macro.
18861 (gammaf_positive): New function.
18862 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18863 underflow here. Use gamma_positive instead of exp (lgamma) for
18865 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18866 (gamma_coeff): New variable.
18867 (NCOEFF): New macro.
18868 (gammal_positive): New function.
18869 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18870 underflow here. Use gamma_positive instead of exp (lgamma) for
18872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18873 (gamma_coeff): New variable.
18874 (NCOEFF): New macro.
18875 (gammal_positive): New function.
18876 (__ieee754_gammal_r): Handle positive infinity, overflow and
18877 underflow here. Handle NaN the same as positive infinity. Remove
18878 check x < 0xffffffff for negative integers. Use gamma_positive
18879 instead of exp (lgamma) for other arguments.
18880 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18881 (gamma_coeff): New variable.
18882 (NCOEFF): New macro.
18883 (gammal_positive): New function.
18884 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18885 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18889 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18890 * sysdeps/generic/math_private.h (__gamma_productf): New
18892 (__gamma_product): Likewise.
18893 (__gamma_productl): Likewise.
18894 * math/Makefile (libm-calls): Add gamma_product.
18895 * math/libm-test.inc (tgamma_test): Add more tests.
18896 * sysdeps/i386/fpu/libm-test-ulps: Update.
18897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18901 * benchtests/bench-skeleton.c (main): Preheat CPU.
18903 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18905 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18907 2013-05-07 Roland McGrath <roland@hack.frob.com>
18909 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18910 and _dl_skip_args_internal.
18912 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18914 * manual/message.texi (Message Translation): Talk about users.
18915 Message to key mapping impacts design.
18917 2013-05-06 Roland McGrath <roland@hack.frob.com>
18919 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18921 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18923 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18924 * sysdeps/wordsize-64/glob64.c: ... here.
18926 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18927 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18930 * debug/getlogin_r_chk.c: Moved to ...
18931 * login/getlogin_r_chk.c: ... here.
18932 * debug/Makefile (routines): Move getlogin_r_chk to ...
18933 * login/Makefile (routines): ... here.
18934 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18935 * login/Versions (libc: GLIBC_2.4): ... here.
18937 * io/poll.c (__poll): Renamed from poll.
18938 Add libc_hidden_def.
18939 (poll): Define as weak alias.
18941 * debug/ptsname_r_chk.c: Moved to ...
18942 * login/ptsname_r_chk.c: ... here.
18943 * debug/Makefile (routines): Move ptsname_r_chk to ...
18944 * login/Makefile (routines): ... here.
18945 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18946 * login/Versions (libc: GLIBC_2.4): ... here.
18948 * posix/getlogin.c: Moved to ...
18949 * login/getlogin.c: ... here.
18950 * posix/getlogin_r.c: Moved to ...
18951 * login/getlogin_r.c: ... here.
18952 * posix/getlogin_r.c: Moved to ...
18953 * login/getlogin_r.c: ... here.
18954 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18955 * login/Makefile (routines): ... here.
18956 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18957 * login/Versions (libc: GLIBC_2.0): ... here.
18959 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18960 (setrlimit): Define as weak alias.
18962 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18963 Call __ names for open, ftruncate, and close.
18964 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18965 (truncate): Define as weak alias.
18967 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18969 * math/gen-libm-test.pl (parse_args): Initialize x before each
18970 test of frexp, modf and remquo.
18972 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18973 test signgam value.
18975 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18979 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18981 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18983 2013-05-06 Roland McGrath <roland@hack.frob.com>
18985 * elf/dl-writev.h: New file.
18986 * elf/dl-misc.c: Include it.
18987 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18988 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18990 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18992 * math/libm-test.inc (noXFails): Remove variable.
18993 (noXPasses): Likewise.
18994 (BUILD_COMPLEX_INT): Remove macro.
18995 (print_screen): Remove xfail argument.
18996 (print_screen_max_error): Likewise.
18997 (update_stats): Likewise.
18998 (print_max_error): Likewise. Update calls to other affected
19000 (print_complex_max_error): Likewise.
19001 (test_single_exception): Update calls to print_screen.
19002 (test_single_errno): Likewise.
19003 (check_float_internal): Remove xfail argument. Update calls to
19004 other affected functions.
19005 (check_float): Likewise.
19006 (check_complex): Likewise.
19007 (check_int): Likewise.
19008 (check_long): Likewise.
19009 (check_bool): Likewise.
19010 (check_longlong): Likewise.
19011 (main): Don't print noXFails and noXPasses.
19012 * math/gen-libm-test.pl (top level): Don't mention expected
19013 failure handling in comment.
19014 (new_test): Don't handle expected failures.
19015 (parse_args): Don't mention expected failure handling in comment.
19016 (generate_testfile): Don't handle expected failures.
19017 (parse_ulps): Likewise.
19018 (print_ulps_file): Likewise.
19019 (get_failure): Remove function.
19020 (output_test): Don't handle expected failures.
19021 * make/README.libm-test: Don't mention expected failure handling.
19023 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19024 (minus_zero): Likewise.
19025 (plus_infty): Likewise.
19026 (minus_infty): Likewise.
19027 (qnan_value): Likewise.
19028 (max_value): Likewise.
19029 (min_value): Likewise.
19030 (min_subnorm_value): Likewise.
19031 (initialize): Do not initialize those variables dynamically.
19033 2013-05-03 Roland McGrath <roland@hack.frob.com>
19035 * io/open.c (__open_2): Moved to ...
19036 * io/open_2.c: ... this new file.
19037 * io/open64.c (__open64_2): Moved to ...
19038 * io/open64_2.c: ... this new file.
19039 * io/openat.c (__openat_2): Moved to ...
19040 * io/openat_2.c: ... this new file.
19041 * io/openat64.c (__openat64_2): Moved to ...
19042 * io/openat64_2.c: ... this new file.
19043 * io/Makefile (routines): Add them.
19044 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19045 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19046 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19047 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19048 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19049 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19050 (__openat64): Add hidden_ver.
19051 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19052 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19054 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19055 Separately conditionalize setting of GLRO(dl_sysinfo) so
19056 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19057 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19059 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19061 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19062 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19064 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19065 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19066 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19067 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19068 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19070 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19072 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19073 test signgam value.
19075 * math/libm-test.inc (hypot_test): Do not use
19076 IGNORE_ZERO_INF_SIGN.
19078 2013-05-03 Andreas Jaeger <aj@suse.de>
19080 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19082 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19083 (PF_MAX): Adjust for VSOCK change.
19085 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19089 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19092 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19093 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19094 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19096 2013-05-02 David S. Miller <davem@davemloft.net>
19098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19100 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19102 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19104 2013-05-01 Roland McGrath <roland@hack.frob.com>
19106 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19108 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19111 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19112 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19113 Use __attribute__ ((__gnu_inline__)).
19114 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19115 Don't use __attribute__ ((__gnu_inline__)).
19117 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19120 * math/s_catan.c (__catan): Handle small real or imaginary part of
19121 input specially to avoid spurious underflow.
19122 * math/s_catanf.c (__catanf): Likewise.
19123 * math/s_catanh.c (__catanh): Likewise.
19124 * math/s_catanhf.c (__catanhf): Likewise.
19125 * math/s_catanhl.c (__catanhl): Likewise.
19126 * math/s_catanl.c (__catanl): Likewise.
19127 * math/libm-test.inc (catan_test): Add more tests.
19128 (catanh_test): Likewise.
19129 * sysdeps/i386/fpu/libm-test-ulps: Update.
19130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19132 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19136 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19139 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19140 accurately for denominator in atan2.
19141 * math/s_catanf.c (__catanf): Likewise.
19142 * math/s_catanh.c (__catanh): Likewise.
19143 * math/s_catanhf.c (__catanhf): Likewise.
19144 * math/s_catanhl.c (__catanhl): Likewise.
19145 * math/s_catanl.c (__catanl): Likewise.
19146 * math/libm-test.inc (catan_test): Add more tests.
19147 (catanh_test): Likewise.
19148 * sysdeps/i386/fpu/libm-test-ulps: Update.
19149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19151 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19153 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19155 * benchtests/Makefile (bench): Remove slow benchmarks.
19156 * benchtests/atan-inputs: Add slow benchmark inputs.
19157 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19158 (BENCH_FUNC): Accept variant offset.
19160 * benchtests/bench-skeleton.c (main): Run benchmark for each
19162 * benchtests/cos-inputs: Add slow benchmark inputs.
19163 * benchtests/exp-inputs: Likewise.
19164 * benchtests/pow-inputs: Likewise.
19165 * benchtests/sin-inputs: Likewise.
19166 * benchtests/slowatan-inputs: Remove.
19167 * benchtests/slowatan.c: Remove.
19168 * benchtests/slowcos-inputs: Remove.
19169 * benchtests/slowcos.c: Remove.
19170 * benchtests/slowexp-inputs: Remove.
19171 * benchtests/slowexp.c: Remove.
19172 * benchtests/slowpow-inputs: Remove.
19173 * benchtests/slowpow.c: Remove.
19174 * benchtests/slowsin-inputs: Remove.
19175 * benchtests/slowsin.c: Remove.
19176 * benchtests/slowtan-inputs: Remove.
19177 * benchtests/slowtan.c: Remove.
19178 * benchtests/tan-inputs: Add slow benchmark inputs.
19179 * scripts/bench.pl: Parse comments and directives.
19181 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19183 ($(objpfx)bench-%.c): Remove *-ITER.
19184 * benchtests/bench-modf.c: Remove definition of ITER.
19185 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19186 (main): Loop for DURATION seconds instead of fixed number of
19188 * scripts/bench.pl: Don't expect iterations in parameters.
19190 2013-04-29 Roland McGrath <roland@hack.frob.com>
19192 * io/fchdir.c (__fchdir): Renamed from fchdir.
19193 (fchdir): Define as weak alias.
19195 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19197 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19198 (ERRNO_EDOM): Likewise.
19199 (ERRNO_ERANGE): Likewise.
19200 (noErrnoTests): New variable.
19201 (init_max_error): Set errno to 0.
19202 (test_single_errno): New function.
19203 (test_errno): Likewise.
19204 (check_float_internal): Call test_errno. Set errno to 0.
19205 (check_complex): Refer to errno tests in comment.
19206 (check_int): Call test_errno. Set errno to 0.
19207 (check_long): Likewise.
19208 (check_bool): Likewise.
19209 (check_longlong): Likewise.
19210 (cos_test): Use ERRNO_* flags for errno tests instead of
19212 (expm1_test): Likewise.
19213 (fmod_test): Likewise.
19214 (ilogb_test): Likewise.
19215 (lgamma_test): Likewise.
19216 (pow_test): Likewise.
19217 (remainder_test): Likewise.
19218 (sin_test): Likewise.
19219 (tan_test): Likewise.
19220 (yn_test): Likewise.
19221 (initialize): Set errno to 0.
19222 (main): Print number of errno tests.
19223 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19225 2013-04-29 Andreas Jaeger <aj@suse.de>
19228 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19232 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19233 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19237 * stdlib/random.c (__initstate): Return NULL if
19241 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19242 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19245 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19249 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19251 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19252 of individual tests.
19253 (casin_test): Likewise.
19254 (casinh_test): Likewise.
19256 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19259 * math/s_catan.c (__catan): Handle arguments with large real or
19260 imaginary part separately without squaring.
19261 * math/s_catanf.c (__catanf): Likewise.
19262 * math/s_catanh.c (__catanh): Likewise.
19263 * math/s_catanhf.c (__catanhf): Likewise.
19264 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19266 (__catanhl): Handle arguments with large real or imaginary part
19267 separately without squaring.
19268 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19270 (__catanl): Handle arguments with large real or imaginary part
19271 separately without squaring.
19272 * math/libm-test.inc (catan_test): Add more tests.
19273 (catanh_test): Likewise.
19274 * sysdeps/i386/fpu/libm-test-ulps: Update.
19275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19277 2013-04-27 Andreas Jaeger <aj@suse.de>
19280 * stdlib/stdlib.h: Update guards for qecvt.
19281 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19284 2013-04-27 Allan McRae <allan@archlinux.org>
19286 * sysdeps/i386/fpu/libm-test-ulps: Update.
19288 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19291 * math/s_catan.c: Include <float.h>.
19292 (__catan): Ensure underflow exception occurs for underflowed
19294 * math/s_catanf.c: Include <float.h>.
19295 (__catanf): Ensure underflow exception occurs for underflowed
19297 * math/s_catanh.c: Include <float.h>.
19298 (__catanh): Ensure underflow exception occurs for underflowed
19300 * math/s_catanhf.c: Include <float.h>.
19301 (__catanhf): Ensure underflow exception occurs for underflowed
19303 * math/s_catanhl.c: Include <float.h>.
19304 (__catanhl): Ensure underflow exception occurs for underflowed
19306 * math/s_catanl.c: Include <float.h>.
19307 (__catanl): Ensure underflow exception occurs for underflowed
19309 * math/libm-test.inc (catan_test): Add more tests.
19310 (catanh_test): Likewise.
19313 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19314 underflowed result.
19315 * math/s_ccoshf.c (__ccoshf): Likewise.
19316 * math/s_ccoshl.c (__ccoshl): Likewise.
19317 * math/s_csin.c (__csin): Likewise.
19318 * math/s_csinf.c (__csinf): Likewise.
19319 * math/s_csinh.c (__csinh): Likewise.
19320 * math/s_csinhf.c (__csinhf): Likewise.
19321 * math/s_csinhl.c (__csinhl): Likewise.
19322 * math/s_csinl.c (__csinl): Likewise.
19323 * math/libm-test.inc (ccos_test): Add more tests.
19324 (ccosh_test): Likewise.
19325 (csin_test): Likewise.
19326 (csinh_test): Likewise.
19328 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19330 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19331 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19332 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19333 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19334 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19335 powerpc/power5+/fpu folders.
19336 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19339 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19343 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19345 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19346 additions to variable.
19347 [$(config-machine) = x86_64] (modules-names): Likewise.
19348 ($(objpfx)tst-audit3): Remove dependency.
19349 ($(objpfx)tst-audit3.out): Likewise.
19350 ($(objpfx)tst-audit4): Likewise.
19351 ($(objpfx)tst-audit4.out): Likewise.
19352 ($(objpfx)tst-audit5): Likewise.
19353 ($(objpfx)tst-audit5.out): Likewise.
19354 ($(objpfx)tst-audit6): Likewise.
19355 ($(objpfx)tst-audit6.out): Likewise.
19356 ($(objpfx)tst-audit7): Likewise.
19357 ($(objpfx)tst-audit7.out): Likewise.
19358 (tst-audit3-ENV): Remove variable.
19359 (tst-audit4-ENV): Likewise.
19360 (tst-audit5-ENV): Likewise.
19361 (tst-audit6-ENV): Likewise.
19362 (tst-audit7-ENV): Likewise.
19363 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19364 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19365 addition to variable.
19366 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19367 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19368 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19369 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19370 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19371 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19372 tst-audit3, tst-audit4 and tst-audit5.
19373 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19374 tst-audit6 and tst-audit7.
19375 [$(subdir) = elf] (modules-names): Add audit modules for those
19377 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19378 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19379 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19380 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19381 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19382 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19383 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19384 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19385 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19386 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19387 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19388 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19389 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19390 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19391 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19392 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19394 [$(subdir) = elf && $(config-cflags-avx) = yes]
19395 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19396 [$(subdir) = elf && $(config-cflags-avx) = yes]
19397 (CFLAGS-tst-auditmod4a.c): Likewise.
19398 [$(subdir) = elf && $(config-cflags-avx) = yes]
19399 (CFLAGS-tst-auditmod4b.c): Likewise.
19400 [$(subdir) = elf && $(config-cflags-avx) = yes]
19401 (CFLAGS-tst-auditmod6b.c): Likewise.
19402 [$(subdir) = elf && $(config-cflags-avx) = yes]
19403 (CFLAGS-tst-auditmod6c.c): Likewise.
19404 [$(subdir) = elf && $(config-cflags-avx) = yes]
19405 (CFLAGS-tst-auditmod7b.c): Likewise.
19406 * elf/tst-audit3.c: Move to ...
19407 * sysdeps/x86_64/tst-audit3.c: ... here.
19408 * elf/tst-audit4.c: Move to ...
19409 * sysdeps/x86_64/tst-audit4.c: ... here.
19410 * elf/tst-audit5.c: Move to ...
19411 * sysdeps/x86_64/tst-audit5.c: ... here.
19412 * elf/tst-audit6.c: Move to ...
19413 * sysdeps/x86_64/tst-audit6.c: ... here.
19414 * elf/tst-audit7.c: Move to ...
19415 * sysdeps/x86_64/tst-audit7.c: ... here.
19416 * elf/tst-auditmod3a.c: Move to ...
19417 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19418 * elf/tst-auditmod3b.c: Move to ...
19419 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19420 * elf/tst-auditmod4a.c: Move to ...
19421 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19422 * elf/tst-auditmod4b.c: Move to ...
19423 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19424 * elf/tst-auditmod5a.c: Move to ...
19425 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19426 * elf/tst-auditmod5b.c: Move to ...
19427 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19428 * elf/tst-auditmod6a.c: Move to ...
19429 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19430 * elf/tst-auditmod6b.c: Move to ...
19431 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19432 * elf/tst-auditmod6c.c: Move to ...
19433 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19434 * elf/tst-auditmod7a.c: Move to ...
19435 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19436 * elf/tst-auditmod7b.c: Move to ...
19437 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19439 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19442 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19443 define unconditionally.
19444 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19445 define unconditionally.
19446 (INT8_C, INT16_C, etc.): Likewise.
19448 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19450 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19451 __ehdr_start with hidden visibility.
19453 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19455 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19457 * math/libm-test.inc (cos_test): Use accurate hex constants.
19458 (sincost_test): Likewise.
19460 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19462 * math/libm-test.inc (catan_test): Add more tests.
19463 (catanh_test): Likewise.
19465 * math/s_catanf.c (__catanf): Use suffixed floating-point
19467 * math/s_catanhf.c (__catanhf): Likewise.
19468 * math/s_catanhl.c (__catanhl): Likewise.
19469 * math/s_catanl.c (__catanl): Likewise.
19472 * math/s_catan.c (__catan): Calculate imaginary part of result
19473 with log1p not log unless computing log of number close to 0.
19474 * math/s_catanf.c (__catanf): Likewise.
19475 * math/s_catanl.c (__catanl): Likewise.
19476 * math/s_catanh.c (__catanh): Calculate real part of result with
19477 log1p not log unless computing log of number close to 0.
19478 * math/s_catanhf.c (__catanhf): Likewise.
19479 * math/s_catanhl.c (__catanhl): Likewise.
19480 * math/libm-test.inc (catan_test): Add more tests.
19481 (catanh_test): Likewise.
19482 * sysdeps/i386/fpu/libm-test-ulps: Update.
19483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19485 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19487 * benchtests/Makefile: Mention files in which fast and slow
19488 paths of math functions are implemented.
19490 2013-04-23 Roland McGrath <roland@hack.frob.com>
19492 * sysdeps/posix/timespec_get.c: New file.
19494 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19496 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19498 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19500 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19501 powerpc/power5/fpu folders.
19502 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19503 * benchtests/Makefile: Add modf testcase.
19504 * benchtests/bench-modf.c: New file: Benchmark test for mo
19506 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19509 * time/Makefile (tests): Add tst-strptime-whitespace.
19510 * time/strptime_l.c (get_number): Use ISSPACE.
19511 (__strptime_internal): Likewise.
19512 * time/tst-strptime-whitespace.c: New test case.
19514 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19516 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19518 (_nss_files_init): Set it here.
19520 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19522 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19523 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19526 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19528 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19530 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19532 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19535 2013-04-21 David S. Miller <davem@davemloft.net>
19537 * po/ru.po: Update Russion translation from translation project.
19539 2013-04-17 Adam Conrad <adconrad@0c3.net>
19541 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19544 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19546 * configure.in: Remove i386 configure warning. Remove i386 case.
19547 * configure: Regenerate.
19548 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19549 Add example to error message.
19550 * sysdeps/i386/configure: Regenerate.
19552 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19554 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19556 * benchtests/cos-inputs: New file.
19557 * benchtests/slowcos-inputs: New file.
19558 * benchtests/slowcos.c: New file.
19559 * benchtests/slowtan-inputs: New file.
19560 * benchtests/slowtan.c: New file.
19561 * benchtests/tan-inputs: New file.
19563 2013-04-16 Roland McGrath <roland@hack.frob.com>
19565 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19568 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19570 * benchtests/Makefile: Include cppflags-iterator.mk to add
19571 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19573 * Makefile.in (bench-clean): New target.
19574 * benchtests/Makefile (bench-clean): Likewise.
19576 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19578 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19580 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19582 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19584 2013-04-15 Andreas Schwab <schwab@suse.de>
19586 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19588 * nscd/pwdcache.c (cache_addpw): Likewise.
19589 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19592 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19594 * benchtests/Makefile (bench): Write all output to
19595 bench-out.tmp together.
19597 2013-04-15 Andreas Schwab <schwab@suse.de>
19599 * nscd/nscd.c (main): Don't fork again after closing files.
19601 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19603 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19605 * benchtests/Rules (bench-deps): Collect dependencies into a
19606 single variable. Add Makefile to dependencies.
19607 ($(objpfx)bench-%.c): Depend on bench-deps.
19609 2013-04-12 Roland McGrath <roland@hack.frob.com>
19610 Xavier Roche <roche+kml2@exalead.com>
19613 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19614 just that it's a file descriptor.
19615 * manual/llio.texi (Synchronizing AIO Operations): Update description
19616 for EBADF error from aio_fsync.
19618 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19620 * Rules (bench): Move target definition...
19621 * benchtests/Makefile: ... here.
19623 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19625 * math/libm-test.inc (cos_test): Fix PI/2 test.
19626 (sincos_test): Likewise.
19627 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19628 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19630 2013-04-11 Andreas Schwab <schwab@suse.de>
19633 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19634 accept exponent character only when digits were seen.
19635 * stdio-common/Makefile (tests): Add bug26.
19636 * stdio-common/bug26.c: New file.
19639 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19642 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19644 * Makeconfig (rtld-prefix): Define built linker prefix.
19645 * Rules (run-bench): Use it.
19646 * math/Makefile (run-regen-ulps): Likewise.
19648 * Rules (bench): Remove eval.
19650 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19651 Roland McGrath <roland@hack.frob.com>
19652 Ondrej Bilka <neleai@seznam.cz>
19655 * time/getdate.c: Include ctype.h and alloca.h.
19656 (__getdate_r): Trim leading and trailing spaces of input.
19657 * time/tst-getdate.c (tests): Add tests with leading and
19660 2013-04-08 Roland McGrath <roland@hack.frob.com>
19663 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19664 when computing value.
19666 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19668 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19669 Use testrun.sh to run libm tests.
19672 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19674 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19677 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19679 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19681 * Makefile.in (regen-ulps): New target.
19682 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19683 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19684 [ifneq (no,$(PERL)] (regen-ulps): New target.
19685 [ifeq (no,$(PERL)] (regen-ulps): New target.
19686 * math/libm-test.inc (ulps_file_name): Define.
19687 (output_dir): New variable.
19688 (options): Add "output-dir" option.
19689 (parse_opt): Handle 'o' case.
19690 (main): If output_dir is non-NULL use it as a prefix
19692 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19694 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19696 [BZ #10060, #10062]
19697 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19698 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19699 fail configure if __sync_val_compare_and_swap is not inlined.
19700 * sysdeps/i386/configure: Regenerate.
19701 * configure.in: Build for i686 when configured for i386.
19702 * configure: Regenerate.
19703 * README: Remove i386 reference.
19705 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19707 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19710 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19712 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19713 (lmsnanval): New variables.
19714 (F): Add conversion tests.
19715 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19716 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19718 * stdio-common/tstdiomisc.c (F): Properly collect individual
19721 [BZ #14686, #15336]
19722 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19723 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19724 Instead, use input NaN values or generate a qNaN by arithmetic
19725 operation. Also fix bugs to comply with the standard.
19726 * math/libm-test.inc (remainder_test): Add more tests.
19728 [BZ #15335, #15342]
19729 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19731 input NaN values or generate a qNaN by arithmetic operation.
19733 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19736 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19739 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19742 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19743 underflowed result.
19744 * math/s_cexpf.c (__cexpf): Likewise.
19745 * math/s_cexpl.c (__cexpl): Likewise.
19746 * math/libm-test.inc (cexp_test): Add more tests.
19748 2013-04-03 Andreas Schwab <schwab@suse.de>
19751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19752 order arrays from heap if bigger than alloca cutoff.
19754 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19756 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19757 (SNAN_TESTS_double): Refer to GCC PR56831.
19758 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19761 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19763 * Rules (bench): Move bench.out after the run is complete.
19765 * Rules (bench): Echo currently running benchmark.
19767 * benchtests/Makefile (bench): Add atan and slowatan.
19768 * benchtests/atan-inputs: New file.
19769 * benchtests/slowatan-inputs: New file.
19770 * benchtests/slowatan.c: New file.
19772 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19777 * sysdeps/unix/sysv/linux/kernel-features.h
19778 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19779 __ASSUME_XFS_RESTRICTED_CHOWN.
19780 * sysdeps/unix/sysv/linux/pathconf.c
19781 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19782 Save and restore errno.
19784 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19787 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19788 arguments using __kernel_casinh.
19789 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19790 arguments using __kernel_casinhf.
19791 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19792 arguments using __kernel_casinhl.
19793 * math/libm-test.inc (cacosh_test): Add more tests.
19794 * sysdeps/i386/fpu/libm-test-ulps: Update.
19795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19797 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19799 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19802 * bench/Makefile (bench): Add sin and slowsin.
19803 * benchtests/sin-inputs: New file.
19804 * benchtests/slowsin-inputs: New file.
19805 * benchtests/slowsin.c: New file.
19807 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19808 (bench): Add slowexp and slowpow.
19809 (exp-ITER): Increase iterations.
19810 (pow-ITER): Likewise.
19811 * benchtests/exp-inputs: Change input.
19812 * benchtests/pow-inputs: Likewise.
19813 * benchtests/slowexp-inputs: New file.
19814 * benchtests/slowexp.c: New file.
19815 * benchtests/slowpow-inputs: New file.
19816 * benchtests/slowpow.c: New file.
19818 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19820 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19822 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19823 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19824 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19825 * benchtests/Makefile: Add rint benchtest.
19826 * benchtests/rint-inputs: Input for rint benchtest.
19828 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19830 * Versions.def (libm): Add GLIBC_2.18.
19831 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19832 hidden libm prototypes.
19833 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19834 * math/Makefile (libm-calls): Add s_issignaling.
19835 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19836 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19837 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19839 * math/math.h [__USE_GNU] (issignaling): New macro.
19840 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19841 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19843 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19844 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19845 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19846 * manual/arith.texi (issignaling): New section.
19847 * manual/libm-err-tab.pl (@all_functions): Update comment.
19848 * math/gen-libm-test.pl (parse_args): Apply special handling for
19850 * math/libm-test.inc (print_float, issignaling_test): New
19852 (check_float_internal): Add issignaling checks.
19853 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19854 default definition.
19855 * sysdeps/powerpc/math-tests.h: New file.
19856 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19858 * math/test-snan.c (TEST_FUNC): Likewise.
19860 2013-03-30 David S. Miller <davem@davemloft.net>
19862 * po/de.po: Update from translation team.
19864 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19867 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19868 imaginary part less than 1.0 and real part less than 0.5
19870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19872 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19873 (cacos_test): Add more tests.
19874 (casin_test): Likewise.
19875 (casinh_test): Likewise.
19876 * sysdeps/i386/fpu/libm-test-ulps: Update.
19877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19879 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19881 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19882 ONE with its value.
19884 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19885 (__pow_mp): Replace ONE and MONE with their values.
19886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19887 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19888 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19889 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19890 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19891 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19893 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19895 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19896 (__pow_mp): Replace ZERO and MZERO with their values.
19897 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19901 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19902 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19905 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19907 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19909 2013-03-28 Roland McGrath <roland@hack.frob.com>
19911 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19912 Declare with __attribute__ ((weak)).
19913 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19914 Call __call_tls_dtors only if it's not NULL.
19916 2013-03-28 Roland McGrath <roland@hack.frob.com>
19918 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19919 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19920 magic __ehdr_start linker symbol if it's defined.
19921 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19922 them up here if it was already done.
19924 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19925 (_dl_aux_init): Use const in cast when setting it.
19926 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19927 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19928 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19930 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19932 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19933 * csu/libc-tls.c: Nor here.
19934 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19936 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19937 (__libc_message): Never call vsyslog.
19939 2013-03-28 Alan Modra <amodra@gmail.com>
19941 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19943 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19946 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19949 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19953 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19956 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19957 Don't add gid passed as argument.
19959 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19961 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19964 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19965 imaginary part between 1.0 and 1.5 and real part less than 0.5
19967 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19968 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19969 * math/libm-test.inc (cacos_test): Add more tests.
19970 (casin_test): Likewise.
19971 (casinh_test): Likewise.
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19975 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19977 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19980 (denorm): Likewise.
19981 (__dbl_mp): Likewise.
19982 (add_magnitudes): Likewise.
19983 (sub_magnitudes): Likewise.
19991 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19993 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19994 (__dubcos): Likewise.
19995 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19996 (__ieee754_acos): Likewise.
19997 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19998 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19999 (__exp1): Likewise.
20000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20003 (my_log2): Likewise.
20004 (checkint): Likewise.
20005 * sysdeps/ieee754/dbl-64/e_remainder.c
20006 (__ieee754_remainder): Likewise.
20007 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20008 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20009 (bsloww): Likewise.
20010 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20012 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20013 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20014 MANTISSA_STORE_T to store computations on mantissa. Use
20015 macros for rounding and division.
20016 (denorm): Likewise.
20017 (__dbl_mp): Likewise.
20018 (add_magnitudes): Likewise.
20019 (sub_magnitudes): Likewise.
20022 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20023 powers of two in terms of TWOPOW macro.
20024 (mp_no): Make type of mantissa as MANTISSA_T.
20025 [!RADIXI]: Define RADIXI.
20026 [!TWO52]: Define TWO52.
20027 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20029 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20031 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20032 llroundl symbol when building for PPC32.
20034 2013-03-24 Mark H Weaver <mhw@netris.org>
20036 * manual/arith.texi (Normalization Functions): Fix prototypes for
20037 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20039 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20043 high value to check if expl overflow.
20044 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20045 to check for underflow and overflow.
20046 * math/libm-test.inc: Add exp test.
20048 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20051 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20054 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20056 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20059 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20061 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20062 wrap blocks consisting of several statements.
20064 * sysdeps/generic/math-tests.h: New file.
20065 * sysdeps/i386/fpu/math-tests.h: Likewise.
20066 * math/test-snan.c: Include it.
20067 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20069 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20072 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20073 (__ieee754_j0l): Do not improve calculations using cos of twice
20074 input for inputs above LDBL_MAX / 2.0L.
20075 (__ieee754_y0l): Likewise.
20076 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20077 (__ieee754_j1l): Do not improve calculations using cos of twice
20078 input for inputs above LDBL_MAX / 2.0L.
20079 (__ieee754_y1l): Likewise.
20080 * math/libm-test.inc (j0_test): Add another test.
20081 (j1_test): Likewise.
20082 (y0_test): Likewise.
20083 (y1_test): Likewise.
20084 * sysdeps/i386/fpu/libm-test-ulps: Update.
20086 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20088 * Rules ($(objpfx)bench-%.c): Include code from a C source
20091 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20094 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20095 imaginary part 1.0 and real part less than 0.5 specially.
20096 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20097 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20098 * math/libm-test.inc (cacos_test): Add more tests.
20099 (casin_test): Likewise.
20100 (casinh_test): Likewise.
20101 * sysdeps/i386/fpu/libm-test-ulps: Update.
20102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20104 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20106 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20107 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20109 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20111 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20112 * config.make.in (config-cflags-sse4): Remove variable.
20113 (config-cflags-avx): Likewise.
20114 (config-cflags-sse2avx): Likewise.
20115 (config-cflags-novzeroupper): Likewise.
20116 (config-asflags-i686): Likewise.
20117 (have-mfma4): Likewise.
20118 (have-as-vis3): Likewise.
20120 * configure.in (MIG): Do not AC_SUBST.
20121 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20122 (libc_cv_cc_sse4): Do not AC_SUBST.
20123 (libc_cv_cc_avx): Likewise.
20124 (libc_cv_cc_sse2avx): Likewise.
20125 (libc_cv_cc_novzeroupper): Likewise.
20126 (libc_cv_cc_fma4): Likewise.
20127 (libc_cv_as_i686): Likewise.
20128 (libc_cv_sparc_as_vis3): Likewise.
20129 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20131 (config-asflags-i686): Likewise.
20132 (config-cflags-avx): Likewise.
20133 (config-cflags-sse2avx): Likewise.
20134 (have-mfma4): Likewise.
20135 (config-cflags-novzeroupper): Likewise.
20136 * sysdeps/mach/configure.in (MIG): Likewise.
20137 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20138 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20140 (config-cflags-avx): Likewise.
20141 (config-cflags-sse2avx): Likewise.
20142 (have-mfma4): Likewise.
20143 (config-cflags-novzeroupper): Likewise.
20144 * configure: Regenerated.
20145 * sysdeps/i386/configure: Likewise.
20146 * sysdeps/mach/configure: Likewise.
20147 * sysdeps/sparc/configure: Likewise.
20148 * sysdeps/x86_64/configure: Likewise.
20150 2013-03-20 Roland McGrath <roland@hack.frob.com>
20153 * locale/programs/localedef.c (options): Put N_ translation marker
20154 on argument names, not just descriptions.
20156 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20158 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20160 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20163 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20165 2013-03-19 Roland McGrath <roland@hack.frob.com>
20167 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20168 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20169 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20170 [!BEFORE_ABORT] (before_abort): New function.
20171 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20172 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20173 (writev_for_fatal): New function.
20174 (WRITEV_FOR_FATAL): New macro; call that.
20175 (backtrace_and_maps): New function.
20176 (BEFORE_ABORT): New macro; call that.
20177 (struct str_list): Type removed.
20178 (__libc_message, __libc_fatal): Functions removed.
20179 Include <sysdeps/posix/libc_fatal.c> instead.
20181 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20183 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20185 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20188 2013-03-19 Andreas Schwab <schwab@suse.de>
20190 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20191 * sysdeps/gnu/configure: Regenerate.
20193 * configure.in: Substitute libc_cv_rtlddir.
20194 * configure: Regenerate.
20195 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20196 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20197 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20198 * elf/Makefile (install-others, CFLAGS-interp.c)
20199 (ldso_install, common-ldd-rewrite): Likewise.
20200 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20201 $(inst_slibdir)/$(rtld-installed-name).
20202 * scripts/rellns-sh: Add -p option.
20203 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20206 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20208 * manual/nptl.texi: Renamed to ...
20209 * manual/threads.texi: ... this.
20210 * manual/Makefile (chapters): Update.
20212 2013-03-18 Roland McGrath <roland@hack.frob.com>
20215 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20216 on argument names, not just descriptions.
20217 * malloc/memusagestat.c (options): Likewise.
20218 * nss/getent.c (options): Likewise.
20220 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20223 * iconv/iconv_prog.c (options): Put N_ translation marker
20224 on argument names, not just descriptions.
20225 * iconv/iconvconfig.c (options): Likewise.
20227 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20229 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20230 implementation which is faster on all x86_64 architectures.
20231 Tested on AMD, Intel Nehalem, SNB, IVB.
20232 * sysdeps/x86_64/strnlen.S: Likewise.
20234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20235 Remove all multiarch strlen and strnlen versions.
20236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20237 Remove strlen and strnlen related parts.
20239 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20240 Inline strlen part.
20241 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20243 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20244 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20245 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20246 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20247 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20248 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20250 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20252 * manual/memory.texi (Malloc Tunable Parameters):
20253 Sort parameters alphabetically. Add comments for missing entries.
20255 2013-03-17 David S. Miller <davem@davemloft.net>
20257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20259 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20262 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20263 for arguments at most half maximum finite value.
20264 * math/libm-test.inc (j0_test): Add more tests.
20265 (j1_test): Likewise.
20266 (y0_test): Likewise.
20267 (y1_test): Likewise.
20268 * sysdeps/i386/fpu/libm-test-ulps: Update.
20269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20272 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20273 1 / x and functions P and Q for arguments above 0x1p256L.
20274 (__ieee754_y0l): Likewise.
20275 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20276 (__ieee754_y1l): Likewise.
20277 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20278 (j1_test): Likewise.
20279 (y0_test): Likewise.
20280 (y1_test): Likewise.
20282 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20284 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20287 2013-03-15 Roland McGrath <roland@hack.frob.com>
20289 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20290 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20291 zero since it's initialized to EXEC_PAGESIZE.
20293 * sysdeps/unix/sysv/linux/ldsodefs.h
20294 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20295 * sysdeps/generic/ldsodefs.h: ... here.
20297 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20299 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20301 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20303 * math/test-snan.c: Renamed from
20304 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20305 * math/Makefile (tests): Add test-snan.
20306 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20309 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20310 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20312 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20313 __builtin_nan family of functions.
20314 * math/libm-test.inc (initialize): Initialize qnan_value with
20315 __builtin_nan family of functions.
20316 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20318 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20320 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20321 storage class. Initialize qNaN_var and sNaN_var with
20322 __builtin_nan and __builtin_nans families of functions,
20325 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20326 (sqrt_test): Remove duplicate test with qNaN input.
20327 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20328 (round_test, signbit_test, significand_test): Note missing +/-Inf
20329 as well as qNaN tests.
20331 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20332 qNaN_var. Fix a few strings, too.
20333 * math/libm-test.inc (nan_value): Rename to qnan_value.
20334 * math/gen-libm-test.pl (%beautify): Adjust to that.
20335 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20336 * math/test-misc.c (main): Likewise.
20337 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20338 to __qnan_bytes, and __qnan_union, respectively.
20339 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20341 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20342 and lqnanval, respectively.
20343 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20344 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20345 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20346 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20348 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20349 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20352 * math/test-misc.c (main): Fix copy'n'pastos.
20353 * misc/tst-efgcvt.c (special): Likewise.
20355 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20356 Remove declarations.
20358 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20360 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20361 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20362 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20363 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20365 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20368 macro to return vdso values correctly in IFUNC implementations.
20369 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20370 Optimization by using IFUNC.
20372 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20373 Richard Henderson <rth@redhat.com>
20374 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20376 * Makefile.in (bench): New target.
20377 * NEWS: Mention the benchmark framework.
20378 * Rules (bench): Likewise.
20379 (binaries-bench): Generate binaries for functions to
20381 * benchtests/Makefile: New makefile for benchmark tests.
20382 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20384 * benchtests/exp-inputs: New input file for EXP function.
20385 * benchtests/pow-inputs: New input file for POW function.
20386 * scripts/bench.pl: New script to generate source files for
20387 benchmark programs.
20389 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20391 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20392 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20393 computations on mantissa. Use macros for rounding and
20395 (denorm): Likewise.
20396 (__dbl_mp): Likewise.
20397 (add_magnitudes): Likewise.
20398 (sub_magnitudes): Likewise.
20401 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20402 powers of two in terms of TWOPOW macro.
20403 (mp_no): Make type of mantissa as MANTISSA_T.
20404 [!RADIXI]: Define RADIXI.
20405 [!TWO52]: Define TWO52.
20406 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20408 * manual/nptl.texi (cindex): Modify threads to pthreads.
20410 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20412 * sysdeps/x86_64/preconfigure: Regenerated.
20414 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20417 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20419 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20420 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20422 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20423 * math/libm-test.inc (j0_test): Do not allow one spurious
20424 underflow exception.
20425 (y1_test): Likewise.
20427 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20429 * manual/Makefile (chapters): Add nptl.
20430 * manual/debug.texi (Debugging Support): Add link to Threads
20432 * manual/nptl.texi: New file.
20434 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20436 2013-03-14 Petr Baudis <pasky@ucw.cz>
20438 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20439 for non-NULL pointer before the memory validity test. Pointed
20440 out by Holger Brunck <holger.brunck@keymile.com>.
20442 2013-03-13 Andreas Schwab <schwab@suse.de>
20444 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20447 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20449 * timezone/zic.c: Update from tzcode 2013b.
20451 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20453 * manual/install.texi (Configuring and compiling):
20454 Mention i686 and i586.
20455 * INSTALL: Regenerate.
20457 2013-03-12 Roland McGrath <roland@hack.frob.com>
20459 * sysdeps/init_array/elf-init.c: New file.
20461 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20462 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20464 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20465 __gmon_start__ as global, but as static with a .preinit_array pointer.
20466 * sysdeps/init_array/gmon-start.c: New file. Use that.
20467 * sysdeps/init_array/crti.S: New file, empty except for comments.
20468 * sysdeps/init_array/crtn.S: Likewise.
20470 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20472 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20475 Remove Prefer_SSE_for_memop.
20476 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20477 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20478 HAS_PREFER_SSE_FOR_MEMOP.
20479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20482 Remove bzero, memset ifunc support.
20483 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20484 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20485 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20486 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20488 2013-03-11 Andreas Schwab <schwab@suse.de>
20491 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20494 (GLIBC_2.16): Remove pthread_atfork.
20496 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20498 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20499 (ptestcases.h): Likewise.
20501 2013-03-08 Roland McGrath <roland@hack.frob.com>
20503 * Makeconfig ($(common-objpfx)config.status): Depend on
20504 sysdeps/*/preconfigure{,.in} too.
20506 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20508 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20509 (__free_hook): Use void * instead of __malloc_ptr_t.
20510 (__malloc_hook): Likewise.
20511 (__realloc_hook): Likewise.
20512 (__memalign_hook): Likewise.
20513 (__after_morecore_hook): Likewise.
20514 * malloc/arena.c (save_malloc_hook): Likewise.
20515 (save_free_hook): Likewise.
20516 * malloc/hooks.c (malloc_hook_ini): Likewise.
20517 (realloc_hook_ini): Likewise.
20518 (memalign_hook_ini): Likewise.
20519 * malloc/malloc.c (malloc_hook_ini): Likewise.
20520 (realloc_hook_ini): Likewise.
20521 (memalign_hook_ini): Likewise.
20522 (__free_hook): Likewise.
20523 (__malloc_hook): Likewise.
20524 (__realloc_hook): Likewise.
20525 (__memalign_hook): Likewise.
20526 (__libc_malloc): Likewise.
20527 (__libc_free): Likewise.
20528 (__libc_realloc): Likewise.
20529 (__libc_memalign): Likewise.
20530 (__libc_valloc): Likewise.
20531 (__libc_pvalloc): Likewise.
20532 (__libc_calloc): Likewise.
20533 (__posix_memalign): Likewise.
20534 * malloc/morecore.c (__sbrk): Likewise.
20535 (__default_morecore): Likewise.
20537 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20539 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20540 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20541 __malloc_ptrdiff_t.
20543 * malloc/malloc.h (__malloc_size_t): Remove macro.
20544 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20546 (old_memalign_hook): Likewise.
20547 (old_realloc_hook): Likewise.
20548 (struct hdr): Likewise.
20550 (mallochook): Likewise.
20551 (memalignhook): Likewise.
20552 (reallochook): Likewise.
20553 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20554 (tr_old_realloc_hook): Likewise.
20555 (tr_old_memalign_hook): Likewise.
20556 (tr_mallochook): Likewise.
20557 (tr_reallochook): Likewise.
20558 (tr_memalignhook): Likewise.
20560 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20563 default_ldbl_pack and using as default implementation.
20564 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20566 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20567 redundant definition.
20568 (ldbl_insert_mantissa): Likewise.
20569 (ldbl_canonicalize): Likewise.
20570 (ldbl_nearbyint): Likewise.
20571 (ldbl_pack): Rename to ldbl_pack_ppc.
20572 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20573 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20574 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20576 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20579 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20580 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20581 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20583 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20584 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20585 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20587 2013-03-07 Andreas Jaeger <aj@suse.de>
20589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20592 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20594 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20595 Include mpa.h and declare __MPEXP.
20596 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20598 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20600 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20601 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20602 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20604 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20605 (__slowpow): Use long double EXPL and LOGL functions to
20607 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20608 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20609 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20610 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20611 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20612 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20615 intermediate variable to calculate exponent.
20617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20621 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20622 [!NO__SQR]: Define __sqr.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20624 and NO__SQR. Remove all code except __mul and __sqr. Include
20625 sysdeps/ieee754/dbl-64/mpa.c.
20626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20629 * posix/Makefile (tests): Add tst-pathconf.
20630 * posix/tst-pathconf.c: New test case.
20631 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20633 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20635 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20637 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20639 2013-03-06 Andreas Jaeger <aj@suse.de>
20641 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20642 definition via __MAP_ANONYMOUS.
20644 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20645 it's not part of Linux headers.
20647 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20648 (MAP_HUGE_MASK): Define.
20650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20652 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20653 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20655 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20656 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20658 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20661 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20663 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20664 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20665 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20666 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20667 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20668 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20673 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20674 Handle f2fs and efivarfs.
20676 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20679 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20680 (EFIVARFS_MAGIC): Add.
20681 (F2FS_LINK_MAX): Add.
20683 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20685 * stdio-common/vfprintf.c: Replace __builtin_expect with
20688 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20691 * sysdeps/generic/bp-sym.h: Remove file.
20692 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20693 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20694 <bp-sym.h> and <bp-asm.h>.
20695 (__longjmp): Don't use BP_SYM.
20696 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20698 (memcpy): Don't use BP_SYM.
20699 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20700 <bp-sym.h> and <bp-asm.h>.
20701 (memcpy): Don't use BP_SYM.
20702 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20704 (memcpy): Don't use BP_SYM.
20705 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20707 (memset): Don't use BP_SYM.
20708 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20709 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20710 (__bzero): Don't use BP_SYM.
20711 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20712 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20713 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20714 <bp-sym.h> and <bp-asm.h>.
20715 (memcmp): Don't use BP_SYM. Remove comment about bounded
20717 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20718 <bp-sym.h> and <bp-asm.h>.
20719 (memcpy): Don't use BP_SYM.
20720 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20721 <bp-sym.h> and <bp-asm.h>.
20722 (memset): Don't use BP_SYM.
20723 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20724 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20725 (__bzero): Don't use BP_SYM.
20726 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20727 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20728 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20729 <bp-sym.h> and <bp-asm.h>.
20730 (strncmp): Don't use BP_SYM. Remove comment about bounded
20732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20733 <bp-sym.h> and <bp-asm.h>.
20734 (memcpy): Don't use BP_SYM.
20735 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20736 <bp-sym.h> and <bp-asm.h>.
20737 (memset): Don't use BP_SYM.
20738 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20739 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20740 (__bzero): Don't use BP_SYM.
20741 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20742 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20744 <bp-sym.h> and <bp-asm.h>.
20745 (__memchr): Don't use BP_SYM.
20746 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20747 <bp-sym.h> and <bp-asm.h>.
20748 (memcmp): Don't use BP_SYM. Remove comment about bounded
20750 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20751 <bp-sym.h> and <bp-asm.h>.
20752 (memcpy): Don't use BP_SYM.
20753 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20754 <bp-sym.h> and <bp-asm.h>.
20755 (__mempcpy): Don't use BP_SYM.
20756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20757 <bp-sym.h> and <bp-asm.h>.
20758 (__memrchr): Don't use BP_SYM.
20759 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20760 <bp-sym.h> and <bp-asm.h>.
20761 (memset): Don't use BP_SYM.
20762 (__bzero): Likewise.
20763 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20764 <bp-sym.h> and <bp-asm.h>.
20765 (__rawmemchr): Don't use BP_SYM.
20766 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20767 <bp-sym.h> and <bp-asm.h>.
20768 (__STRCMP): Don't use BP_SYM.
20769 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20770 <bp-sym.h> and <bp-asm.h>.
20771 (strchr): Don't use BP_SYM.
20772 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20773 <bp-sym.h> and <bp-asm.h>.
20774 (__strchrnul): Don't use BP_SYM.
20775 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20776 <bp-sym.h> and <bp-asm.h>.
20777 (strlen): Don't use BP_SYM.
20778 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20779 <bp-sym.h> and <bp-asm.h>.
20780 (strncmp): Don't use BP_SYM. Remove comment about bounded
20782 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20783 <bp-sym.h> and <bp-asm.h>.
20784 (__strnlen): Don't use BP_SYM.
20785 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20786 <bp-sym.h> and <bp-asm.h>.
20787 (__GI__setjmp): Don't use BP_SYM.
20788 (_setjmp): Likewise.
20789 (__sigsetjmp): Likewise.
20790 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20791 (L(start_addresses)): Don't use BP_SYM.
20792 (_start): Likewise.
20793 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20795 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20796 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20797 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20798 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20799 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20801 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20802 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20803 about bounded pointers.
20804 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20805 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20806 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20808 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20809 about bounded pointers. Remove GKM FIXME comments.
20810 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20811 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20813 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20814 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20815 Remove GKM FIXME comments.
20816 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20817 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20818 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20820 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20821 about bounded pointers. Remove GKM FIXME comment.
20822 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20824 (strncmp): Don't use BP_SYM. Remove comment about bounded
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20827 <bp-sym.h> and <bp-asm.h>.
20828 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20830 <bp-sym.h> and <bp-asm.h>.
20831 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20834 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20836 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20839 2013-03-05 David S. Miller <davem@davemloft.net>
20841 * po/es.po: Update from translation team.
20843 2013-03-05 Andreas Jaeger <aj@suse.de>
20845 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20846 <bits/mman-linux.h>.
20847 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20849 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20850 <bits/mman-linux.h> to end of file.
20851 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20853 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20854 <bits/mman-linux.h> to end of file.
20855 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20857 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20858 <bits/mman-linux.h> to end of file.
20860 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20861 (MCL_CURRENT, MCL_FUTURE): Define here.
20863 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20866 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20868 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20870 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20872 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20873 fourth parameter needed for rt_sigprocmask syscall.
20874 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20875 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20876 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20877 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20878 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20879 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20881 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20884 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20885 comment about bounded pointers.
20886 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20887 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20889 2013-03-04 Andreas Jaeger <aj@suse.de>
20891 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20892 common definitions.
20894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20895 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20896 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20897 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20898 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20899 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20901 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20904 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20905 __ieee754_sqrl instead of __sqrl.
20907 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20909 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20910 * sysdeps/powerpc/fpu_control.h: ... here.
20911 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20912 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20913 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20914 * sysdeps/powerpc/bits/mathinline.h: ... here.
20916 2013-03-01 Roland McGrath <roland@hack.frob.com>
20918 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20919 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20920 to just [NEED_DL_SYSINFO_DSO].
20921 * elf/dl-support.c: Likewise.
20922 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20923 * elf/rtld.c (dl_main): Likewise.
20924 * elf/setup-vdso.h (setup_vdso): Likewise.
20925 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20926 * sysdeps/unix/sysv/linux/dl-sysdep.c
20927 (_dl_discover_osversion): Likewise.
20929 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20931 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20932 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20934 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20936 * NEWS: Mention libm performance improvements and non-x86 PI
20939 * csu/libc-start.c (__pthread_initialize_minimal): Change
20940 function arguments.
20941 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20943 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20946 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20947 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20948 <bp-sym.h> and <bp-asm.h>.
20949 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20950 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20952 (memcpy): Don't use BP_SYM.
20953 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20955 (__mpn_add_n): Don't use BP_SYM.
20956 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20957 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20959 (__mpn_addmul_1): Don't use BP_SYM.
20960 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20961 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20963 (_setjmp): Don't use BP_SYM.
20964 (__novmx_setjmp): Likewise.
20965 (__GI__setjmp): Likewise.
20966 (__vmx_setjmp): Likewise.
20967 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20969 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20970 (__bzero): Don't use BP_SYM.
20971 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20972 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20973 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20974 <bp-sym.h> and <bp-asm.h>.
20975 (memcpy): Don't use BP_SYM.
20976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20977 <bp-sym.h> and <bp-asm.h>.
20978 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20979 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20980 <bp-sym.h> and <bp-asm.h>.
20981 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20982 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20984 (__mpn_lshift): Don't use BP_SYM.
20985 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20986 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20988 (memset): Don't use BP_SYM.
20989 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20990 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20991 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20993 (__mpn_mul_1): Don't use BP_SYM.
20994 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20995 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20996 <bp-sym.h> and <bp-asm.h>.
20997 (memcmp): Don't use BP_SYM.
20998 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20999 <bp-sym.h> and <bp-asm.h>.
21000 (memcpy): Don't use BP_SYM.
21001 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21002 <bp-sym.h> and <bp-asm.h>.
21003 (memset): Don't use BP_SYM.
21004 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21005 <bp-sym.h> and <bp-asm.h>.
21006 (strncmp): Don't use BP_SYM.
21007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21008 <bp-sym.h> and <bp-asm.h>.
21009 (memcpy): Don't use BP_SYM.
21010 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21011 <bp-sym.h> and <bp-asm.h>.
21012 (memset): Don't use BP_SYM.
21013 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21014 <bp-sym.h> and <bp-asm.h>.
21015 (__memchr): Don't use BP_SYM.
21016 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21017 <bp-sym.h> and <bp-asm.h>.
21018 (memcmp): Don't use BP_SYM.
21019 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21020 <bp-sym.h> and <bp-asm.h>.
21021 (memcpy): Don't use BP_SYM.
21022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21023 <bp-sym.h> and <bp-asm.h>.
21024 (__mempcpy): Don't use BP_SYM.
21025 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21026 <bp-sym.h> and <bp-asm.h>.
21027 (__memrchr): Don't use BP_SYM.
21028 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21029 <bp-sym.h> and <bp-asm.h>.
21030 (memset): Don't use BP_SYM.
21031 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21032 <bp-sym.h> and <bp-asm.h>.
21033 (__rawmemchr): Don't use BP_SYM.
21034 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21035 <bp-sym.h> and <bp-asm.h>.
21036 (__STRCMP): Don't use BP_SYM.
21037 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21038 <bp-sym.h> and <bp-asm.h>.
21039 (strchr): Don't use BP_SYM.
21040 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21041 <bp-sym.h> and <bp-asm.h>.
21042 (__strchrnul): Don't use BP_SYM.
21043 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21044 <bp-sym.h> and <bp-asm.h>.
21045 (strlen): Don't use BP_SYM.
21046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21047 <bp-sym.h> and <bp-asm.h>.
21048 (strncmp): Don't use BP_SYM.
21049 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21050 <bp-sym.h> and <bp-asm.h>.
21051 (__strnlen): Don't use BP_SYM.
21052 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21054 (__mpn_rshift): Don't use BP_SYM.
21055 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21056 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21057 <bp-sym.h> and <bp-asm.h>.
21058 (__sigsetjmp): Don't use BP_SYM.
21059 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21060 (L(start_addresses)): Don't use BP_SYM.
21061 (_start): Likewise.
21062 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21064 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21065 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21066 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21067 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21069 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21070 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21071 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21072 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21074 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21076 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21079 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21081 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21082 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21083 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21085 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21087 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21089 (strncmp): Don't use BP_SYM,
21090 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21092 (__mpn_sub_n): Don't use BP_SYM.
21093 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21094 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21096 (__mpn_submul_1): Don't use BP_SYM.
21097 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21099 <bp-sym.h> and <bp-asm.h>.
21100 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21102 <bp-sym.h> and <bp-asm.h>.
21103 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21106 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21109 Use ZK to minimize writes to Z.
21110 (sub_magnitudes): Simplify code a bit.
21111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21112 Use ZK to minimize writes to Z.
21113 (sub_magnitudes): Simplify code a bit.
21115 2013-02-27 Roland McGrath <roland@hack.frob.com>
21117 * csu/gmon-start.c: Add special exception to license text.
21119 2013-02-27 Richard Henderson <rth@redhat.com>
21121 * scripts/config.guess: Update from config.git.
21122 * scripts/config.sub: Likewise.
21124 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21126 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21128 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21130 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21132 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21134 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21136 2013-02-26 Roland McGrath <roland@hack.frob.com>
21138 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21139 [$(build-shared = yes].
21141 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21143 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21144 (__mul): Reduce iterations for calculating mantissa.
21146 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21148 (__mpranred): Likewise.
21151 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21152 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21154 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21156 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21157 Define __attribute__.
21159 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21161 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21163 * posix/regex_internal.h (__attribute): Remove.
21164 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21165 (re_string_context_at): Likewise.
21166 (bitset_not): Use __attribute__ and mark function as possibly
21168 (bitset_merge): Likewise.
21169 (bitset_mask): Likewise.
21170 (re_string_char_size_at): Likewise.
21171 (re_string_wchar_at): Likewise.
21172 (re_string_elem_size_at): Likewise.
21174 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21176 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21180 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21184 (denorm): Likewise.
21185 (__dbl_mp): Likewise.
21186 (add_magnitudes): Likewise.
21187 (sub_magnitudes): Likewise.
21191 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21194 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21197 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21201 up changes with default code.
21202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21205 2013-02-24 Allan McRae <allan@archlinux.org>
21207 * manual/socket.texi (The Internet Namespace): Order menu items
21208 to match that in the file.
21210 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21211 node listing of the info page menu.
21213 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21216 * sysdeps/i386/bp-asm.h: Remove file.
21217 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21218 (PARMS): Do not use macros from bp-asm.h.
21222 (__mpn_add_n): Do not use BP_SYM
21223 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21225 (PARMS): Do not use macros from bp-asm.h.
21228 (__mpn_addmul_1): Do not use BP_SYM
21229 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21231 (PARMS): Do not use macros from bp-asm.h.
21232 (SIGMSK): Likewise.
21233 (_setjmp): Likewise. Do not use BP_SYM.
21234 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21236 (PARMS): Do not use macros from bp-asm.h.
21237 (SIGMSK): Likewise.
21238 (setjmp): Likewise. Do not use BP_SYM.
21239 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21241 (PARMS): Do not use macros from bp-asm.h.
21242 (__frexp): Do not use BP_SYM.
21244 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21246 (PARMS): Do not use macros from bp-asm.h.
21247 (__frexpf): Do not use BP_SYM.
21248 (frexpf): Likewise.
21249 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21251 (PARMS): Do not use macros from bp-asm.h.
21252 (__frexpl): Do not use BP_SYM.
21253 (frexpl): Likewise.
21254 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21256 (PARMS): Do not use macros from bp-asm.h.
21257 (__remquo): Do not use BP_SYM.
21258 (remquo): Likewise.
21259 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21261 (PARMS): Do not use macros from bp-asm.h.
21262 (__remquof): Do not use BP_SYM.
21263 (remquof): Likewise.
21264 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21266 (PARMS): Do not use macros from bp-asm.h.
21267 (__remquol): Do not use BP_SYM.
21268 (remquol): Likewise.
21269 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21271 (PARMS): Do not use macros from bp-asm.h.
21274 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21275 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21277 (PARMS): Do not use macros from bp-asm.h.
21278 (strlen): Do not use BP_SYM.
21279 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21281 (PARMS): Do not use macros from bp-asm.h.
21285 (__mpn_add_n): Do not use BP_SYM.
21286 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21288 (PARMS): Do not use macros from bp-asm.h.
21291 (__mpn_addmul_1): Do not use BP_SYM.
21292 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21295 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21297 (PARMS): Do not use macros from bp-asm.h.
21300 (__mpn_lshift): Do not use BP_SYM.
21301 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21303 (PARMS): Do not use macros from bp-asm.h.
21307 (memcpy): Likewise. Do not use BP_SYM.
21308 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21309 libc_hidden_def and weak_alias.
21310 (mempcpy): Do not use BP_SYM in weak_alias.
21311 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21313 (PARMS): Do not use macros from bp-asm.h.
21316 [!BZERO_P] (CHR): Likewise.
21317 (memset): Likewise. Do not use BP_SYM.
21318 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21320 (PARMS): Do not use macros from bp-asm.h.
21323 (__mpn_mul_1): Do not use BP_SYM.
21324 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21326 (PARMS): Do not use macros from bp-asm.h.
21329 (__mpn_rshift): Do not use BP_SYM.
21330 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21332 (PARMS): Do not use macros from bp-asm.h.
21335 (strchr): Likewise. Do not use BP_SYM.
21336 (index): Do not use BP_SYM in weak_alias.
21337 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21339 (PARMS): Do not use macros from bp-asm.h.
21342 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21343 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21345 (PARMS): Do not use macros from bp-asm.h.
21346 (strlen): Do not use BP_SYM.
21347 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21349 (PARMS): Do not use macros from bp-asm.h.
21353 (__mpn_sub_n): Do not use BP_SYM.
21354 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21356 (PARMS): Do not use macros from bp-asm.h.
21359 (__mpn_submul_1): Do not use BP_SYM.
21360 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21362 (PARMS): Do not use macros from bp-asm.h.
21366 (__mpn_add_n): Do not use BP_SYM.
21367 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21370 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21372 (PARMS): Do not use macros from bp-asm.h.
21375 (memcmp): Do not use BP_SYM.
21376 (bcmp): Do not use BP_SYM in weak_alias.
21377 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21379 (PARMS): Do not use macros from bp-asm.h.
21383 (memcpy): Likewise. Do not use BP_SYM.
21384 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21386 (PARMS): Do not use macros from bp-asm.h.
21390 (memmove): Likewise. Do not use BP_SYM.
21391 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21393 (PARMS): Do not use macros from bp-asm.h.
21397 (__mempcpy): Likewise. Do not use BP_SYM.
21398 (mempcpy): Do not use BP_SYM in weak_alias.
21399 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21401 (PARMS): Do not use macros from bp-asm.h.
21404 [!BZERO_P] (CHR): Likewise.
21405 (memset): Likewise. Do not use BP_SYM.
21406 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21408 (PARMS): Do not use macros from bp-asm.h.
21410 (strcmp): Do not use BP_SYM.
21411 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21413 (PARMS): Do not use macros from bp-asm.h.
21416 [USE_AS_STRTOK_R] (SAVE): Likewise.
21417 (FUNCTION): Likewise. Do not use BP_SYM.
21418 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21420 (strtok_r): Likewise.
21421 (__GI___strtok_r): Likewise.
21422 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21423 (PARMS): Do not use macros from bp-asm.h.
21426 (__mpn_lshift): Do not use BP_SYM.
21427 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21428 (PARMS): Do not use macros from bp-asm.h.
21431 (__memchr): Do not use BP_SYM.
21432 (memchr): Do not use BP_SYM in weak_alias.
21433 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21434 (PARMS): Do not use macros from bp-asm.h.
21437 (memcmp): Do not use BP_SYM.
21438 (bcmp): Do not use BP_SYM in weak_alias.
21439 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21440 (PARMS): Do not use macros from bp-asm.h.
21443 (__mpn_mul_1): Do not use BP_SYM.
21444 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21446 (PARMS): Do not use macros from bp-asm.h.
21449 (__rawmemchr): Do not use BP_SYM.
21450 (rawmemchr): Do not use BP_SYM in weak_alias.
21451 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21452 (PARMS): Do not use macros from bp-asm.h.
21455 (__mpn_rshift): Do not use BP_SYM.
21456 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21457 (PARMS): Do not use macros from bp-asm.h.
21458 (SIGMSK): Likewise.
21459 (__sigsetjmp): Likewise. Do not use BP_SYM.
21460 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21461 (_start): Do not use BP_SYM.
21462 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21463 (PARMS): Do not use macros from bp-asm.h.
21466 (__stpcpy): Likewise. Do not use BP_SYM.
21467 (stpcpy): Do not use BP_SYM in weak_alias.
21468 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21470 (PARMS): Do not use macros from bp-asm.h.
21474 (__stpncpy): Likewise. Do not use BP_SYM.
21475 (stpncpy): Do not use BP_SYM in weak_alias.
21476 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21477 (PARMS): Do not use macros from bp-asm.h.
21480 (strchr): Likewise. Do not use BP_SYM.
21481 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21483 (PARMS): Do not use macros from bp-asm.h.
21486 (__strchrnul): Likewise. Do not use BP_SYM.
21487 (strchrnul): Do not use BP_SYM in weak_alias.
21488 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21490 (PARMS): Do not use macros from bp-asm.h.
21492 (strcspn): Do not use BP_SYM.
21493 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21495 (PARMS): Do not use macros from bp-asm.h.
21498 (strpbrk): Likewise. Do not use BP_SYM.
21499 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21501 (PARMS): Do not use macros from bp-asm.h.
21504 (strrchr): Likewise. Do not use BP_SYM.
21505 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21506 (PARMS): Do not use macros from bp-asm.h.
21508 (strspn): Do not use BP_SYM.
21509 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21510 (PARMS): Do not use macros from bp-asm.h.
21514 (FUNCTION): Likewise. Do not use BP_SYM.
21515 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21517 (strtok_r): Likewise.
21518 (__GI___strtok_r): Likewise.
21519 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21520 (PARMS): Do not use macros from bp-asm.h.
21524 (__mpn_sub_n): Do not use BP_SYM.
21525 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21527 (PARMS): Do not use macros from bp-asm.h.
21530 (__mpn_submul_1): Do not use BP_SYM.
21531 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21533 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21535 (PARMS): Do not use macros from bp-asm.h.
21540 (__clone): Do not use BP_SYM.
21541 (clone): Do not use BP_SYM in weak_alias.
21542 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21544 (PARMS): Do not use macros from bp-asm.h.
21546 (__mmap64): Do not use BP_SYM.
21547 (mmap64): Do not use BP_SYM in weak_alias.
21548 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21549 <bp-sym.h> and <bp-asm.h>.
21550 (PARMS): Do not use macros from bp-asm.h.
21551 (__posix_fadvise64_l64): Do not use BP_SYM.
21552 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21553 (PARMS): Do not use macros from bp-asm.h.
21555 (semtimedop): Do not use BP_SYM.
21556 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21559 2013-02-21 Allan McRae <allan@archlinux.org>
21561 * manual/message.texi (Charset conversion in gettext):
21562 Move @end statement to beginning of line.
21564 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21571 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21572 (denorm): Likewise.
21573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21576 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21578 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21579 tail-call to the resolved function if pltexit isn't needed.
21581 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21584 or Y being zero as being unlikely.
21585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21588 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21590 * manual/nss.texi (System Databases and Name Service Switch):
21591 Remove frobnicate @pxref.
21593 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21595 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21596 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21598 2013-02-20 Petr Machata <pmachata@redhat.com>
21600 * elf/elf.h (R_ARM_TARGET1): New macro.
21601 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21602 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21603 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21604 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21605 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21606 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21607 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21608 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21609 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21610 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21611 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21612 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21613 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21614 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21615 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21616 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21617 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21618 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21619 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21620 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21621 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21622 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21623 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21624 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21625 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21626 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21627 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21628 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21629 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21630 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21631 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21632 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21633 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21634 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21635 (R_ARM_THM_GOT_BREL12): Likewise.
21636 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21637 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21638 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21639 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21640 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21641 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21642 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21643 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21644 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21646 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21648 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21649 __attribute_used__ to __attribute__ ((unused)).
21651 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21653 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21656 comment formatting.
21657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21659 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21662 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21664 (ENTER): Remove both macro definitions.
21666 (CHECK_BOUNDS_LOW): Likewise.
21667 (CHECK_BOUNDS_HIGH): Likewise.
21668 (CHECK_BOUNDS_BOTH): Likewise.
21669 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21670 (RETURN_BOUNDED_POINTER): Likewise.
21671 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21672 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21673 (POP_ERRNO_LOCATION_RETURN): Likewise.
21674 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21675 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21676 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21678 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21679 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21680 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21681 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21682 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21683 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21684 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21685 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21686 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21687 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21688 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21689 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21690 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21691 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21693 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21694 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21696 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21697 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21698 * sysdeps/i386/i586/memset.S (memset): Likewise.
21699 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21700 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21701 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21703 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21704 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21705 Change uses of L(2) to L(out).
21706 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21707 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21708 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21709 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21710 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21712 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21713 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21715 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21716 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21717 (RETURN): Do not use macro LEAVE.
21718 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21719 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21720 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21721 * sysdeps/i386/i686/memset.S (memset): Likewise.
21722 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21723 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21724 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21725 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21727 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21728 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21729 L(1_2) and L(1_3) into L(1).
21730 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21731 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21732 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21733 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21734 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21735 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21736 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21737 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21738 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21740 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21741 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21742 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21743 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21744 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21745 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21746 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21747 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21748 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21749 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21750 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21751 * sysdeps/i386/strspn.S (strspn): Likewise.
21752 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21754 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21755 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21756 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21757 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21758 L(1_3) into L(1_1).
21759 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21760 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21761 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21763 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21765 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21767 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21770 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21772 * math/atest-exp.c (exp_mpn): Remove ROUND.
21773 * math/atest-exp2.c (exp_mpn): Likewise.
21774 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21776 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21777 * stdlib/tst-tls-atexit-lib.c: Likewise.
21778 * stdlib/tst-tls-atexit.c: Likewise.
21780 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21782 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21783 and __attribute_alloc_size__.
21785 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21787 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21788 __attribute_alloc_size__.
21789 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21790 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21792 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21794 * include/programs/xmalloc.h: New file.
21795 * catgets/gencat.c: Include it.
21796 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21797 * elf/pldd.c: Likewise.
21798 * iconv/iconv_charmap.c: Likewise.
21799 * iconv/iconvconfig.c: Likewise.
21800 * iconv/strtab.c: Likewise.
21801 * locale/programs/locale.c: Likewise.
21802 * locale/programs/localedef.h: Likewise.
21803 * locale/programs/simple-hash.c: Likewise.
21804 * nscd/nscd.h: Likewise.
21805 * nss/makedb.c: Likewise.
21806 * sysdeps/generic/ldconfig.h: Likewise.
21808 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21810 * Versions.def: Add GLIBC_2.18.
21811 * include/link.h (struct link_map): New member l_tls_dtor_count.
21812 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21813 (__call_tls_dtors): Likewise.
21814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21815 __cxa_thread_atexit_impl.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21832 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21833 (tests): Add test case tst-tls-atexit.
21834 (modules-names): Add shared library for tst-tls-atexit.
21835 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21836 (GLIBC_PRIVATE): Add __call_tls_dtors.
21837 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21839 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21840 * stdlib/tst-tls-atexit.c: New test case.
21841 * stdlib/tst-tls-atexit-lib.c: New test case.
21843 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21845 * elf/Versions (ld): Add _dl_find_dso_for_object.
21846 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21847 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21848 (dl_open_worker): Use _dl_find_dso_for_object.
21849 * elf/dl-sym.c (do_sym): Likewise.
21850 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21852 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21854 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21855 Syntactic changes only.
21856 (_dl_runtime_profile): Do a tail-call to the resolved function.
21858 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21861 * sysdeps/x86_64/bp-asm.h: Remove file.
21862 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21863 <bp-sym.h> and <bp-asm.h>.
21864 (__clone): Do not use BP_SYM.
21865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21866 <bp-sym.h> and <bp-asm.h>.
21867 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21868 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21870 (_setjmp): Do not use BP_SYM.
21871 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21873 (setjmp): Do not use BP_SYM.
21874 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21876 (mempcpy): Do not use BP_SYM in weak_alias.
21877 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21879 (strchr): Do not use BP_SYM.
21880 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21882 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21883 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21884 (_start): Do not use BP_SYM.
21885 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21887 (strcat): Do not use BP_SYM.
21888 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21890 (STRCMP): Do not use BP_SYM.
21891 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21893 (STRCPY): Do not use BP_SYM.
21894 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21896 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21898 (FUNCTION): Do not use BP_SYM.
21899 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21901 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21903 2013-02-17 Andreas Jaeger <aj@suse.de>
21905 * time/Versions: Sort entries.
21906 * string/Versions: Likewise.
21907 * resolv/Versions: Likewise.
21908 * posix/Versions: Likewise.
21909 * iconv/Versions: Likewise.
21910 * elf/Versions: Likewise.
21911 * wcsmbs/Versions: Likewise.
21913 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21915 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21916 loop termination condition.
21918 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21919 variable to calculate EZ.
21922 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21923 the lower precision input.
21925 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21928 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21929 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21930 (run-via-rtld-prefix): Do not handle %-bp tests.
21931 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21932 (all-object-suffixes): Remove .ob.
21933 (bppfx): Remove variable.
21934 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21935 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21936 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21937 [$(build-bounded) = yes] (libtype.ob): Likewise.
21938 * Makerules (elide-routines.ob): Remove variable.
21939 (do-tests-clean): Do not handle *-bp.out.
21940 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21941 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21942 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21943 (tests): Do not include $(tests-bp.out).
21944 (xtests): Do not include $(xtests-bp.out).
21945 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21946 [$(build-bounded) = yes] ($(addprefix
21947 $(objpfx),$(binaries-bounded))): Remove rule.
21948 ($(objpfx)%-bp.out): Remove rule.
21949 * config.make.in (build-bounded): Remove variable.
21950 * crypt/Makefile [$(build-bounded) = yes]
21951 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21952 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21953 append to variable.
21954 [$(build-bounded) = yes] (install-lib): Likewise.
21955 [$(build-bounded) = yes] (generated): Likewise.
21956 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21958 * intl/Makefile [$(build-bounded) = yes]
21959 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21960 * math/Makefile [$(build-bounded) = yes]
21961 ($(tests:%=$(objpfx)%-bp): Likewise.
21962 * misc/Makefile [$(build-bounded) = yes]
21963 ($(objpfx)tst-tsearch-bp): Likewise.
21964 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21965 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21967 * string/Makefile (o-objects.ob): Remove variable.
21968 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21969 (CFLAGS-.ob): Remove variable.
21970 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21971 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21972 both definitions of variable.
21973 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21974 (ASFLAGS-.ob): Remove variable.
21976 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21979 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21980 Remove __BOUNDED_POINTERS__ from condition.
21981 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21982 * string/bits/string2.h [!__NO_STRING_INLINES &&
21983 !__BOUNDED_POINTERS__]: Likewise.
21984 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21986 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21987 Remove conditional code.
21988 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21989 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21990 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21994 * csu/libc-start.c: Do not include <bp-sym.h>.
21995 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21996 * elf/dl-open.c: Do not include <bp-sym.h>.
21997 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21998 * math/fegetenv.c: Do not include <bp-sym.h>.
21999 (fegetenv): Do not use BP_SYM in versioned symbols.
22000 * nptl/sysdeps/pthread/bits/libc-lockP.h
22001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22004 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22006 (__pthread_mutex_destroy): Likewise.
22007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22008 (__pthread_mutex_lock): Likewise.
22009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22010 (__pthread_mutex_trylock): Likewise.
22011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22012 (__pthread_mutex_unlock): Likewise.
22013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22014 (__pthread_mutexattr_init): Likewise.
22015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22016 (__pthread_mutexattr_destroy): Likewise.
22017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22018 (__pthread_mutexattr_settype): Likewise.
22019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22020 (__pthread_rwlock_init): Likewise.
22021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22022 (__pthread_rwlock_destroy): Likewise.
22023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22024 (__pthread_rwlock_rdlock): Likewise.
22025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22026 (__pthread_rwlock_tryrdlock): Likewise.
22027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22028 (__pthread_rwlock_wrlock): Likewise.
22029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22030 (__pthread_rwlock_trywrlock): Likewise.
22031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22032 (__pthread_rwlock_unlock): Likewise.
22033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22034 (__pthread_key_create): Likewise.
22035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22036 (__pthread_setspecific): Likewise.
22037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22038 (__pthread_getspecific): Likewise.
22039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22042 (_pthread_cleanup_push_defer): Likewise.
22043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22044 (_pthread_cleanup_pop_restore): Likewise.
22045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22046 (pthread_setcancelstate): Likewise.
22047 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22049 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22050 (memchr): Do not use BP_SYM in weak_alias.
22051 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22052 (fegetenv): Do not use BP_SYM in versioned symbols.
22053 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22054 (fesetenv): Do not use BP_SYM in versioned symbols.
22055 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22056 (feupdateenv): Do not use BP_SYM in versioned symbols.
22057 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22058 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22059 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22060 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22061 (open64): Do not use BP_SYM in weak_alias.
22062 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22063 (fegetenv): Do not use BP_SYM in versioned symbols.
22064 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22065 (fesetenv): Do not use BP_SYM in versioned symbols.
22066 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22067 (feupdateenv): Do not use BP_SYM in versioned symbols.
22068 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22069 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22070 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22071 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22072 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22073 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22076 (__libc_start_main): Do not use BP_SYM.
22078 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22081 redundant return line.
22083 (denorm): Likewise.
22084 (dbl_mp): Likewise.
22085 (sub_magnitudes): Likewise.
22091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22093 (denorm): Likewise.
22094 (dbl_mp): Likewise.
22095 (sub_magnitudes): Likewise.
22102 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22104 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22105 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22108 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22109 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22111 of __mul for squares.
22112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22116 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22117 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22119 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22122 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22124 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22125 prototype or function definition. Rename ubp_* variables and
22126 parameters. Remove argv definitions conditional on
22127 [__BOUNDED_POINTERS__].
22128 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22129 * elf/dl-runtime.c (_dl_fixup): Likewise.
22130 * include/set-hooks.h (RUN_HOOK): Likewise.
22131 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22133 * string/strcpy.c (strcpy): Do not use __unbounded.
22134 * sysdeps/generic/frame.h (struct layout): Likewise.
22135 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22136 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22137 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22138 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22139 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22140 (__backtrace): Likewise.
22141 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22143 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22144 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22145 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22147 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22148 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22149 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22150 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22151 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22152 Do not use __unbounded.
22153 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22154 Rename __unboundedrlimits parameter to rlimits in prototype.
22155 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22156 Do not use __unbounded.
22157 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22158 not use __ptrvalue.
22159 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22160 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22161 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22162 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22163 __ptrvalue or __unbounded.
22164 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22165 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22167 (__new_msgctl): Do not use __ptrvalue.
22168 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22170 (__libc_msgrcv): Do not use __ptrvalue.
22171 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22172 startup_info): Do not use __unbounded.
22173 (__libc_start_main): Likewise. Rename ubp_* variables and
22174 parameters. Remove argv definitions conditional on
22175 [__BOUNDED_POINTERS__].
22176 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22178 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22180 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22182 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22184 (__new_shmctl): Do not use __ptrvalue.
22185 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22186 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22188 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22190 (__libc_sigaction): Likewise.
22191 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22194 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22196 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22198 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22200 * string/mempcpy.c: Implement by calling memcpy.
22202 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22210 values in the mantissa.
22212 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22213 minimize writes to Z.
22214 (sub_magnitudes): Simplify code a bit.
22216 2013-02-12 Roland McGrath <roland@hack.frob.com>
22218 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22219 from the message. The linker prefixes all warnings with that already.
22221 2013-02-12 Andreas Schwab <schwab@suse.de>
22224 * posix/regexec.c (extend_buffers): Add parameter min_len.
22225 (check_matching): Pass minimum needed length.
22226 (clean_state_log_if_needed): Likewise.
22227 (get_subexp): Likewise.
22228 * posix/Makefile (tests): Add bug-regex34.
22229 (bug-regex34-ENV): Define.
22230 * posix/bug-regex34.c: New file.
22233 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22234 elements compare against the byte sequence of it, not its name.
22235 * posix/Makefile (tests): Add bug-regex35.
22236 (bug-regex35-ENV): Define.
22237 * posix/bug-regex35.c: New file.
22239 2013-02-11 Tom de Vries <tom@codesourcery.com>
22241 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22243 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22244 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22245 (CHECK_EOL): Add undef.
22247 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22249 * bits/stdlib-bsearch.h: New file.
22250 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22251 * stdlib/stdlib.h: Likewise.
22253 2013-02-11 Roland McGrath <roland@hack.frob.com>
22255 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22256 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22258 * manual/search.texi (Array Search Function): Add missing const in
22260 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22261 declaration to use rlim_t.
22262 (Basic Scheduling Functions): Remove erroneous const from
22263 sched_getparam prototype. Remove erroneous * from
22264 sched_get_priority_max and sched_get_priority_min prototypes.
22265 (Resource Usage): Fix summary @comment on vtimes to refer to
22266 sys/vtimes.h rather than vtimes.h.
22267 Add missing *s in vtimes prototype.
22268 (Limits on Resources): Fix ulimit prototype to return long int.
22269 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22270 prototypes to use long int rather than double.
22271 (BSD Random): Fix initstate and setstate to use char *, not void *.
22272 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22273 prototype to make second argument 'struct aiocb64 *const[]'.
22274 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22275 (Status of AIO Operations): Remove erroneous const in aio_return and
22276 aio_return64 prototypes.
22277 (Synchronizing I/O): Fix sync prototype to return void.
22278 * manual/startup.texi (Suboptions): Remove an erroneous const in
22279 getsubopt prototype.
22280 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22281 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22282 use size_t rather than int.
22283 (Scanning All Users): Likewise for getpwent_r.
22284 (Setting Groups): Add missing const to setgroups prototype.
22285 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22286 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22287 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22288 'const void *' rather than 'const char *'.
22289 (Host Address Functions): Likewise for inet_ntop.
22290 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22291 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22292 ssize_t for return value.
22293 (Sending Data): Likewise for send, sendto, sendmsg.
22294 (Socket Option Functions): Add a missing const in setsockopt prototype.
22295 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22296 use wchar_t for the argument.
22297 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22298 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22300 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22301 double/float/long double for second argument.
22302 Fix return types of significand, significandf, significandl.
22303 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22304 argument in fchmod prototype.
22305 (File Owner): Use uid_t and gid_t in fchown prototype.
22306 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22307 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22308 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22309 use 'const struct dirent **' as argument types to CMP function pointer
22311 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22312 (File Times): Fix summary magic @comment for struct utimbuf and utime
22313 to refer to utime.h, not time.h.
22314 * manual/string.texi (Argz Functions): Add missing const in
22315 argz_extract and argz_next prototypes.
22316 (Finding Tokens in a String): Likewise for basename.
22317 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22318 (Copying and Concatenation): Fix typo in wmemmove prototype.
22319 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22320 (Signal Stack): Remove erroneous const in sigstack prototype.
22321 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22323 (Simple Calendar Time): Likewise for stime.
22324 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22326 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22327 say sys/sysctl.h instead.
22328 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22329 and vsyslog prototypes.
22331 2013-02-11 Tom de Vries <tom@codesourcery.com>
22333 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22336 2013-02-11 Roland McGrath <roland@hack.frob.com>
22338 * misc/sys/mman.h: Fix typo in mremap comment.
22340 2013-02-08 Roland McGrath <roland@hack.frob.com>
22342 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22343 the '\0' terminator.
22345 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22348 * debug/segfault.c: Don't include <bp-checks.h>.
22349 * sysdeps/generic/bp-checks.h: Remove file.
22350 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22351 (__GETDENTS): Don't use CHECK_N.
22352 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22353 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22354 (__getgroups): Don't use CHECK_N.
22355 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22356 (setgroups): Don't use CHECK_N.
22357 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22358 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22359 (__libc_msgrcv): Don't use CHECK_N.
22360 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22361 (__libc_msgsnd): Don't use CHECK_N.
22362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22364 (__libc_pread): Don't use CHECK_N.
22365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22366 include <bp-checks.h>.
22367 (__libc_pread64): Don't use CHECK_N.
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22369 include <bp-checks.h>.
22370 (__libc_pwrite): Don't use CHECK_N.
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22372 include <bp-checks.h>.
22373 (__libc_pwrite64): Don't use CHECK_N.
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22376 (__libc_pread): Don't use CHECK_N.
22377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22378 include <bp-checks.h>.
22379 (__libc_pread64): Don't use CHECK_N.
22380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22381 include <bp-checks.h>.
22382 (__libc_pwrite): Don't use CHECK_N.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22384 include <bp-checks.h>.
22385 (__libc_pwrite64): Don't use CHECK_N.
22386 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22387 (do_pread): Don't use CHECK_N.
22388 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22389 (do_pread64): Don't use CHECK_N.
22390 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22391 (do_pwrite): Don't use CHECK_N.
22392 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22393 (do_pwrite64): Don't use CHECK_N.
22394 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22395 (__libc_readv): Don't use CHECK_N.
22396 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22397 (semop): Don't use CHECK_N.
22398 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22400 (semtimedop): Don't use CHECK_N.
22401 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22402 (__libc_pread): Don't use CHECK_N.
22403 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22405 (__libc_pread64): Don't use CHECK_N.
22406 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22408 (__libc_pwrite): Don't use CHECK_N.
22409 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22411 (__libc_pwrite64): Don't use CHECK_N.
22412 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22414 (__libc_msgrcv): Don't use CHECK_N.
22415 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22416 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22417 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22418 (__libc_writev): Don't use CHECK_N.
22420 2013-02-08 Roland McGrath <roland@hack.frob.com>
22422 * string/strcpy.c: Removed unused variable.
22424 * Makeconfig (+sysdep-includes): Define with := rather than =.
22425 Use an existing include/ subdir of each sysdeps dir before it.
22427 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22429 * nscd/connection.c (register_traced_file): Comment function.
22430 [HAVE_INOTIFY] (union __inev): Define.
22431 [HAVE_INOTIFY] (inotify_check_files): New function.
22432 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22433 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22435 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22437 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22439 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22440 loaded if not already and that a failure is permanent.
22442 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22445 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22446 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22448 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22451 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22452 (CHECK_1_NULL_OK): Likewise.
22453 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22454 (__fxstat): Do not use CHECK_1.
22455 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22457 (___fxstat64): Do not use CHECK_1.
22458 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22460 (__fxstatat): Do not use CHECK_1.
22461 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22463 (__fxstatat64): Do not use CHECK_1.
22464 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22466 (__fxstat): Do not use CHECK_1.
22467 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22469 (__fxstatat): Do not use CHECK_1.
22470 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22472 (__getresgid): Do not use CHECK_1.
22473 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22475 (__getresuid): Do not use CHECK_1.
22476 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22478 (__lxstat): Do not use CHECK_1.
22479 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22481 (__old_msgctl): Do not use CHECK_1.
22482 (__new_msgctl): Likewise.
22483 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22485 (__new_setrlimit): Do not use CHECK_1.
22486 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22488 (__old_shmctl): Do not use CHECK_1.
22489 (__new_shmctl): Likewise.
22490 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22492 (__xstat): Do not use CHECK_1.
22493 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22494 (__lxstat): Do not use CHECK_1.
22495 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22497 (___lxstat64): Do not use CHECK_1.
22498 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22499 (__old_msgctl): Do not use CHECK_1.
22500 (__new_msgctl): Likewise.
22501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22503 (__gettimeofday): Do not use CHECK_1.
22504 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22505 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22506 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22508 (__gettimeofday): Do not use CHECK_1.
22509 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22510 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22511 (__new_shmctl): Do not use CHECK_1.
22512 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22514 (do_sigtimedwait): Do not use CHECK_1.
22515 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22517 (do_sigwaitinfo): Do not use CHECK_1.
22518 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22520 (msgctl): Do not use CHECK_1.
22521 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22523 (shmctl): Do not use CHECK_1.
22524 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22525 (ustat): Do not use CHECK_1.
22526 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22528 (__fxstat): Do not use CHECK_1.
22529 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22531 (__fxstatat): Do not use CHECK_1.
22532 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22534 (__lxstat): Do not use CHECK_1.
22535 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22537 (__xstat): Do not use CHECK_1.
22538 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22539 (__xstat): Do not use CHECK_1.
22540 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22541 (___xstat64): Do not use CHECK_1.
22544 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22546 (CHECK_BOUNDS_HIGH): Likewise.
22547 * string/strcpy.c: Do not include <bp-checks.h>.
22548 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22550 2013-02-07 Roland McGrath <roland@hack.frob.com>
22552 * nscd/nscd-client.h (__nscd_drop_map_ref):
22553 Add __attribute__ ((unused)).
22554 * nis/nss-nisplus.h (niserr2nss): Likewise.
22556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22557 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22559 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22560 Remove inline keyword.
22561 * include/rounding-mode.h (round_away): Likewise.
22562 * libio/wfileops.c (adjust_wide_data): Likewise.
22563 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22564 (__m128i_strloadu_tolower): Likewise.
22565 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22566 (__m128i_strloadu_tolower): Likewise.
22567 * time/mktime.c (ydhms_diff): Likewise.
22568 * locale/elem-hash.h (elem_hash): Likewise.
22569 * locale/setlocale.c (setdata): Likewise.
22570 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22571 (re_string_wchar_at): Likewise.
22572 (bitset_not, bitset_merge, bitset_mask): Likewise.
22573 [!(__GNUC__ > 3)] (inline): Remove macro.
22574 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22575 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22576 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22577 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22578 * string/memcmp.c (memcmp_bytes): Likewise.
22579 * locale/programs/locarchive.c (compute_hashval): Likewise.
22580 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22581 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22582 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22583 * nss/getent.c (print_rpc, print_protocols): Likewise.
22584 (print_passwd, print_group, print_aliases): Likewise.
22585 * nis/nss-nisplus.h (niserr2nss): Likewise.
22586 * nscd/connections.c (restart_p): Likewise.
22587 Change return type to bool.
22589 2013-02-05 Roland McGrath <roland@hack.frob.com>
22591 * Makeconfig (all-Depend-files): Add existing
22592 $(sorted-subdirs:=/Depend) files.
22593 (all-subdirs): Remove nss.
22594 * sysdeps/unix/inet/Subdirs: Add it here instead.
22595 * hesiod/Depend: New file.
22597 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22598 instead of calling alloca.
22600 * io/lseek.c (__lseek): Rename to __libc_lseek.
22601 Define __lseek as an alias.
22603 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22605 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22607 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22608 else clause and remove check for non-standard endianness.
22610 2013-02-04 David S. Miller <davem@davemloft.net>
22612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22614 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22617 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22618 (__ubp_memchr): Remove prototype.
22619 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22620 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22621 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22622 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22623 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22625 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22626 (__ubp_memchr): Likewise.
22627 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22628 (__ubp_memchr): Likewise.
22629 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22630 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22631 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22632 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22634 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22635 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22636 (__getcwd): Do not use CHECK_STRING.
22637 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22639 (__real_chown): Do not use CHECK_STRING.
22640 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22642 (fchownat): Do not use CHECK_STRING.
22643 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22645 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22647 (__lchown): Do not use CHECK_STRING.
22648 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22649 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22650 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22651 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22653 include <bp-checks.h>.
22654 (truncate64): Do not use CHECK_STRING.
22655 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22657 (__real_chown): Do not use CHECK_STRING.
22658 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22660 (__lchown): Do not use CHECK_STRING.
22661 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22663 (__chown): Do not use CHECK_STRING.
22664 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22666 (truncate64): Do not use CHECK_STRING.
22667 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22669 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22670 (__xmknod): Do not use CHECK_STRING.
22671 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22673 (__xmknodat): Do not use CHECK_STRING.
22674 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22675 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22677 2013-02-04 Andreas Schwab <schwab@suse.de>
22680 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22681 * include/netdb.h: Likewise for h_errno.
22682 * elf/tst-stackguard1.c: Include <tls.h>.
22684 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22686 * elf/link.h (struct link_map): Extend the l_addr comment.
22687 * include/link.h (struct link_map): Likewise.
22689 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22692 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22693 (BOUNDED_1): Remove macro.
22694 * debug/backtrace.c: Don't include <bp-checks.h>.
22695 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22696 (__backtrace): Likewise.
22697 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22699 (__backtrace): Don't use BOUNDED_1.
22700 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22702 (__backtrace): Don't use BOUNDED_1.
22703 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22704 (__backtrace): Don't use BOUNDED_1.
22705 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22706 (shmat): Don't use BOUNDED_N.
22708 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22711 * sysdeps/generic/bp-start.h: Remove file.
22712 * csu/libc-start.c: Don't include <bp-start.h>.
22713 (LIBC_START_MAIN): Set up __environ directly instead of using
22714 INIT_ARGV_and_ENVIRON.
22715 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22719 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22721 (CHECK_FCNTL): Likewise.
22722 (CHECK_N_PAGES): Likewise.
22725 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22727 (CHECK_SIGSET_NULL_OK): Likewise.
22728 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22730 (sigpending): Don't use CHECK_SIGSET.
22731 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22733 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22734 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22736 (do_sigsuspend): Don't use CHECK_SIGSET.
22737 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22739 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22740 (do_sigwait): Don't use CHECK_SIGSET.
22741 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22744 include <bp-checks.h>.
22745 (sigpending): Don't use CHECK_SIGSET.
22746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22747 include <bp-checks.h>.
22748 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22749 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22751 (sigpending): Don't use CHECK_SIGSET.
22752 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22754 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22757 * sysdeps/generic/bp-semctl.h: Remove file.
22758 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22759 <bp-checks.h> and <bp-semctl.h>.
22760 (__old_semctl): Don't use CHECK_SEMCTL.
22761 (__new_semctl): Likewise.
22762 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22764 (__old_semctl): Don't use CHECK_SEMCTL.
22765 (__new_semctl): Likewise.
22766 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22767 <bp-checks.h> and <bp-semctl.h>.
22768 (__old_semctl): Don't use CHECK_SEMCTL.
22769 (__new_semctl): Likewise.
22770 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22771 <bp-checks.h> and <bp-semctl.h>.
22772 (semctl): Don't use CHECK_SEMCTL.
22775 * Makerules (elide-bp-thunks): Remove variable.
22776 (elide-routines.oS): Don't use $(elide-bp-thunks).
22777 (elide-routines.os): Likewise.
22778 (elide-routines.o): Likewise.
22779 (elide-routines.op): Likewise.
22780 (elide-routines.og): Likewise.
22781 (objects): Don't use $(bp-thunks).
22782 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22784 (common-generated): Do not add s-proto-bp.d.
22785 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22788 Do not generate makefile rules for bounded-pointer thunks.
22789 * sysdeps/generic/bp-thunks.h: Remove file.
22790 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22791 * sysdeps/unix/s-proto-bp.S: Likewise.
22794 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22795 parts of result separately when argument is not close to line from
22796 -i to i and one part of argument is small.
22797 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22798 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22799 * math/libm-test.inc (cacos_test): Add more tests.
22800 (casin_test): Likewise.
22801 (casinh_test): Likewise.
22802 * sysdeps/i386/fpu/libm-test-ulps: Update.
22803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22805 2013-01-31 David S. Miller <davem@davemloft.net>
22807 * po/de.po: Update from translation team.
22809 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22811 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22813 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22815 * configure.in (_AC_PROG_CC_C89): New definition.
22816 * configure: Regenerate.
22818 * configure.in (AC_PROG_CPP): New definition.
22819 * configure: Regenerate.
22821 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22823 * debug/tst-backtrace.h: New file.
22824 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22825 (ret): Remove variable.
22827 (FAIL): Remove macro.
22828 (NO_INLINE): Likewise.
22829 (fn1): Use match function instead of strstr.
22830 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22831 (ret): Remove variable.
22833 (FAIL): Remove macro.
22834 (NO_INLINE): Likewise.
22835 (fn): Use match function instead of strstr.
22836 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22837 (ret): Remove variable.
22839 (FAIL): Remove macro.
22840 (NO_INLINE): Likewise.
22841 (handle_signal): Use match function instead of strstr.
22842 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22843 (ret): Remove variable.
22845 (FAIL): Remove macro.
22846 (NO_INLINE): Likewise.
22847 (handle_signal): Use match function instead of strstr.
22849 2013-01-23 Roland McGrath <roland@hack.frob.com>
22851 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22853 2013-01-23 David S. Miller <davem@davemloft.net>
22855 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22856 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22857 argument of CAS if possible.
22858 * sysdeps/sparc/sparc64/bits/atomic.h
22859 (__arch_compare_and_exchange_val_32_acq): Likewise.
22860 (__arch_compare_and_exchange_val_64_acq): Likewise.
22862 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22864 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22865 * sysdeps/posix/ulimit.c: ... this.
22866 Include <limits.h>.
22867 * sysdeps/unix/bsd/ulimit.c: Remove file.
22869 2013-01-23 Adam Conrad <adconrad@0c3.net>
22871 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22872 (LDFLAGS-tst-array5): Likewise.
22874 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22877 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22878 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22879 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22880 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22882 2013-01-21 David S. Miller <davem@davemloft.net>
22884 * sysdeps/sparc/backtrace.c: New file.
22885 * sysdeps/sparc/sparc32/backtrace.h: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22887 * sysdeps/sparc/sparc64/backtrace.h: New file.
22888 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22889 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22892 2013-01-21 Andreas Schwab <schwab@suse.de>
22895 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22898 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22904 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22905 Mark Mitchell <mark@codesourcery.com>
22906 Tom de Vries <tom@codesourcery.com>
22907 Paul Pluzhnikov <ppluzhnikov@google.com>
22909 * debug/tst-backtrace2.c: New file.
22910 * debug/tst-backtrace3.c: Likewise.
22911 * debug/tst-backtrace4.c: Likewise.
22912 * debug/tst-backtrace5.c: Likewise.
22913 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22914 (CFLAGS-tst-backtrace3.c): Likewise.
22915 (CFLAGS-tst-backtrace4.c): Likewise.
22916 (CFLAGS-tst-backtrace5.c): Likewise.
22917 (LDFLAGS-tst-backtrace2): Likewise.
22918 (LDFLAGS-tst-backtrace3): Likewise.
22919 (LDFLAGS-tst-backtrace4): Likewise.
22920 (LDFLAGS-tst-backtrace5): Likewise.
22921 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22922 tst-backtrace4 and tst-backtrace5.
22924 2013-01-18 Anton Blanchard <anton@samba.org>
22925 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22927 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22928 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22929 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22930 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22932 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22933 "+r" and remove output regs list as redundant. Add explicit inline
22934 asm to specify register of return val to work around compiler codegen
22935 bug. Remove (int) cast on return value. Add return type parameter to
22936 use in macro so that this macro does not truncate return value for
22938 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22939 pass to INTERNAL_VSYSCALL_NCS.
22940 (INLINE_VSYSCALL): Add 'long int' as return type to
22941 INTERNAL_VSYSCALL_NCS macro invocation.
22942 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22943 INTERNAL_VSYSCALL_NCS macro invocation.
22944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22946 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22949 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22950 Fix application of SIMD FP exception mask.
22952 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22953 mp_no from a power of two.
22954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22955 __mpexp_twomm1. Use __pow_mp.
22957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22960 2013-01-17 David S. Miller <davem@davemloft.net>
22962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22964 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22967 * include/complex.h: Condition contents on [!_COMPLEX_H].
22968 (__kernel_casinhf): New prototype.
22969 (__kernel_casinh): Likewise.
22970 (__kernel_casinhl): Likewise.
22971 * math/Makefile (libm_calls): Add k_casinh.
22972 * math/k_casinh.c: New file.
22973 * math/k_casinhf.c: Likewise.
22974 * math/k_casinhl.c: Likewise.
22975 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22976 finite nonzero arguments.
22977 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22978 finite nonzero arguments.
22979 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22980 finite nonzero arguments.
22981 * math/s_casinh.c: Do not include <float.h>.
22982 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22983 * math/s_casinhf.c: Do not include <float.h>.
22984 (__casinhf): Move code for finite nonzero arguments to
22986 * math/s_casinhl.c: Do not include <float.h>.
22987 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22989 (__casinhl): Move code for finite nonzero arguments to
22991 * math/libm-test.inc (cacos_test): Add more tests.
22992 * sysdeps/i386/fpu/libm-test-ulps: Update.
22993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22995 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22997 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22998 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22999 [!HAVE_MREMAP]: Remove [defined linux] case.
23000 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23002 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23004 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23006 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23008 * elf/elf.h (R_386_SIZE32): New relocation.
23009 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23011 (elf_machine_rela): Likewise.
23012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23013 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23015 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23017 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23018 (FP_FAST_FMA): Do not define.
23019 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23020 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23021 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23022 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23023 !_SOFT_FLOAT]: Likewise.
23024 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23025 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23027 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23028 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23029 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23030 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23031 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23032 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23035 2013-01-16 Andreas Schwab <schwab@suse.de>
23038 * include/stdlib.h (__mktemp): Add declaration.
23039 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23040 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23042 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23044 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23046 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23047 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23048 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23050 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23051 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23055 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23056 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23057 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23059 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23060 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23062 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23064 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23066 2013-01-15 David S. Miller <davem@davemloft.net>
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23069 trunc{,f} to libm-sysdep_routes.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23083 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23084 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23088 nearbyint{,f} to libm-sysdep_routes.
23089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23105 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23106 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23107 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23109 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23110 libc_feholdexcept and libc_fesetenv.
23112 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23114 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23116 2013-01-14 David S. Miller <davem@davemloft.net>
23118 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23119 (SPARC_ASM_VIS2_IFUNC): Likewise.
23120 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23122 use of 'siam' instruction.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23156 routines to libm-sysdep_routines.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23160 fdim/fdimf to libm-sysdep_routines.
23161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23169 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23170 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23174 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23176 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23177 to optimize copies.
23179 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23184 local variable MPTWO.
23185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23188 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23190 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23193 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23195 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23197 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23199 * manual/pattern.texi (glob_t): Document gl_flags.
23200 (glob64_t): Likewise.
23202 2013-01-11 David S. Miller <davem@davemloft.net>
23204 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23205 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23206 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23207 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23208 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23209 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23210 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23211 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23212 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23213 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23214 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23215 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23216 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23219 sparc V9 rather than using V8 code.
23220 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23221 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23223 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23225 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23228 2013-01-11 Roland McGrath <roland@hack.frob.com>
23230 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23231 not in the main loop.
23232 * configure: Regenerated.
23234 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23236 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23237 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23239 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23240 [!__GLIBC_HAVE_LONG_LONG] case.
23241 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23242 condition to just #else.
23243 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23244 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23245 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23246 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23248 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23249 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23250 #elif condition to just #else.
23251 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23252 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23253 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23254 #elif condition to just #else.
23256 2013-01-11 Steve Ellcey <sellcey@mips.com>
23258 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23259 (EF_MIPS_ARCH_64): Fix value.
23260 (EF_MIPS_ARCH_32R2): New.
23261 (EF_MIPS_ARCH_64R2): New.
23263 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23265 * Makeconfig (+link-pie-before-libc): New.
23266 (+link-pie-after-libc): Likewise.
23267 (+link-pie-tests): Likewise.
23268 (+link-pie): Rewritten.
23269 (link-before-libc): Remove $(config-LDFLAGS).
23270 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23271 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23272 (config-LDFLAGS): Renamed to ...
23273 (rtld-LDFLAGS): This.
23274 (rtld-tests-LDFLAGS): New macro.
23275 (link-libc-rpath-link): Likewise.
23276 (link-libc-tests-rpath-link): Likewise.
23277 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23278 (link-libc): Prepand $(link-libc-rpath-link).
23279 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23280 (test-program-prefix): New macro.
23281 (test-via-rtld-prefix): Likewise.
23282 (test-program-cmd): Likewise.
23283 (host-test-program-cmd): Likewise.
23284 * Makefile ($(common-objpfx)testrun.sh): Replace
23285 $(run-program-prefix) with $(test-program-prefix).
23286 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23288 ($(common-objpfx)shlib.lds): Likewise.
23289 (build-module-helper): Likewise.
23290 ($(common-objpfx)format.lds): Likewise.
23291 * Rules (binaries-pie-tests): New.
23292 (binaries-pie-notests): Likewise.
23293 (binaries-pie): Rewritten.
23294 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23295 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23296 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23297 (make-test-out): Replace $(host-built-program-cmd) with
23298 $(host-test-program-cmd).
23299 * config.make.in (build-hardcoded-path-in-tests): New variable.
23300 * configure.in (--enable-hardcoded-path-in-tests): New configure
23302 (hardcoded_path_in_tests): New AC_SUBST.
23303 * configure: Regenerated.
23304 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23305 $(built-program-cmd) with $(test-program-cmd).
23306 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23307 (test_program_cmd): This.
23308 * elf/Makefile ($(objpfx)order.out): Run test with
23309 $(test-program-prefix).
23310 ($(objpfx)order2.out): Likewise.
23311 ($(objpfx)tst-initorder.out): Likewise.
23312 ($(objpfx)tst-initorder2.out): Likewise.
23313 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23314 $(test-program-cmd).
23315 ($(objpfx)tst-array1-static.out): Likewise.
23316 ($(objpfx)tst-array2.out): Likewise.
23317 ($(objpfx)tst-array3.out): Likewise.
23318 ($(objpfx)tst-array4.out): Likewise.
23319 ($(objpfx)tst-array5.out): Likewise.
23320 ($(objpfx)tst-array5-static.out): Likewise.
23321 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23322 $(test-program-cmd).
23323 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23324 $(run-program-prefix) with $(test-program-prefix).
23325 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23326 (test_program_prefix): This.
23327 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23328 $(run-program-prefix) with $(test-program-prefix).
23329 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23330 (test_program_prefix): This.
23331 * iconvdata/tst-tables.sh: Likewise.
23332 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23333 $(run-program-prefix) with $(test-program-prefix).
23334 ($(objpfx)tst-translit.out): Likewise.
23335 ($(objpfx)tst-gettext2.out): Likewise.
23336 ($(objpfx)tst-gettext4.out): Likewise.
23337 ($(objpfx)tst-gettext6.out): Likewise.
23338 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23339 (test_program_prefix): This.
23340 * intl/tst-gettext2.sh: Likewise.
23341 * intl/tst-gettext4.sh Likewise.
23342 * intl/tst-gettext6.sh: Likewise.
23343 * intl/tst-translit.sh: Likewise.
23344 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23345 with $(test-program-cmd).
23346 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23347 $(run-program-prefix) with $(test-program-prefix).
23348 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23349 (test_program_prefix): This.
23350 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23351 $(run-program-prefix) with $(test-program-prefix).
23352 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23353 (test_program_prefix): This.
23354 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23355 * posix/Makefile ($(objpfx)globtest.out): Replace
23356 $(run-via-rtld-prefix) and $(test-wrapper) with
23357 $(test-program-prefix) and $(test-via-rtld-prefix).
23358 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23359 $(test-program-prefix).
23360 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23361 $(host-test-program-cmd).
23362 (tst-spawn-ARGS): Likewise.
23363 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23364 $(test-program-prefix).
23365 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23366 (test_via_rtld_prefix): This.
23367 (test_wrapper): Renamed to ...
23368 (test_program_prefix): This.
23369 (run_program_prefix): Replaced by test_program_prefix.
23370 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23371 (test_program_prefix): This.
23372 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23373 with $(host-test-program-cmd).
23374 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23375 $(run-program-prefix) with $(test-program-prefix).
23376 ($(objpfx)tst-printf.out): Likewise.
23377 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23378 $(test-program-cmd).
23379 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23380 (test_program_prefix): This.
23381 * stdio-common/tst-unbputc.sh: Likewise.
23382 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23383 $(run-program-prefix) with $(test-program-prefix).
23384 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23385 (test_program_prefix): This.
23386 * string/Makefile ($(objpfx)tst-svc.out): Replace
23387 $(built-program-cmd) with $(test-program-cmd).
23389 2013-01-11 Andreas Jaeger <aj@suse.de>
23392 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23393 value. Sync with Linux 3.7.
23395 2013-01-10 David S. Miller <davem@davemloft.net>
23397 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23401 2013-01-10 Roland McGrath <roland@hack.frob.com>
23403 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23405 * configure: Regenerated.
23407 2013-01-10 David S. Miller <davem@davemloft.net>
23409 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23410 sparc V9 rather than using V8 code.
23411 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23412 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23414 2013-01-10 Roland McGrath <roland@hack.frob.com>
23416 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23417 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23418 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23419 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23420 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23421 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23422 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23423 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23424 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23425 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23426 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23427 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23428 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23429 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23430 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23431 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23432 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23433 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23434 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23435 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23436 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23437 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23438 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23439 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23440 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23441 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23442 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23444 2013-01-10 David S. Miller <davem@davemloft.net>
23446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23448 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23450 * posix/Makefile (tests-static): New variable.
23451 (tests): Add $(tests-static).
23452 (tst-exec-static-ARGS): New variable.
23453 (tst-spawn-static-ARGS): Likewise.
23454 * posix/tst-exec-static.c: New file.
23455 * posix/tst-spawn-static.c: Likewise.
23456 * posix/tst-exec.c: Support run directly.
23457 * posix/tst-spawn.c: Likewise.
23459 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23461 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23463 * math/bits/mathcalls.h (llrint): Likewise.
23464 (llround): Likewise.
23465 * stdlib/stdlib.h (struct drand48_data): Likewise.
23466 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23467 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23468 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23470 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23472 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23473 (elf_greg_t): Likewise.
23474 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23475 (__jmp_buf): Likewise.
23476 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23478 (llrint): Likewise, for all definitions.
23479 (llrintl): Likewise.
23481 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23482 Remove [__GNUC__] condition.
23483 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23484 condition to just [__USE_ISOC99].
23485 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23487 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23490 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23491 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23493 (_POSIX_V6_ILP32_OFF32): Likewise.
23494 (_XBS5_ILP32_OFF32): Likewise.
23495 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23496 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23498 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23500 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23503 doubles __mpexp_twomm1. Adjust usage.
23504 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23507 2013-01-10 Andreas Schwab <schwab@suse.de>
23510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23511 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23513 2013-01-09 David S. Miller <davem@davemloft.net>
23516 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23517 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23518 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23519 (TCP_FASTOPEN): Define.
23520 (tcp_repair_opt): New structure.
23521 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23523 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23524 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23525 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23526 (tcp_cookie_transactions): New structure.
23528 2013-01-09 Anton Blanchard <anton@samba.org>
23530 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23531 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23533 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23535 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23537 * include/features.h (__USE_ANSI): Remove.
23539 2013-01-09 Roland McGrath <roland@hack.frob.com>
23541 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23543 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23545 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23547 * sysdeps/s390/fpu/libm-test-ulps: Update.
23549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23551 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23555 (denorm): Likewise.
23556 (__mp_dbl): Likewise.
23557 (__dbl_mp): Likewise.
23558 (add_magnitudes): Likewise.
23559 (sub_magnitudes): Likewise.
23565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23569 (denorm): Likewise.
23570 (__mp_dbl): Likewise.
23571 (__dbl_mp): Likewise.
23572 (add_magnitudes): Likewise.
23573 (sub_magnitudes): Likewise.
23579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23583 (denorm): Likewise.
23584 (__mp_dbl): Likewise.
23585 (__dbl_mp): Likewise.
23586 (add_magnitudes): Likewise.
23587 (sub_magnitudes): Likewise.
23594 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23596 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23597 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23598 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23599 2 && __USE_EXTERN_INLINES]: Likewise.
23601 2013-01-08 Andreas Jaeger <aj@suse.de>
23604 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23606 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23607 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23609 2013-01-07 Anton Blanchard <anton@samba.org>
23611 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23612 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23613 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23614 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23615 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23616 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23617 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23618 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23620 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23622 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23623 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23624 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23625 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23626 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23627 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23628 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23629 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23630 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23631 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23634 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23635 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23636 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23637 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23638 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23640 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23641 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23643 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23644 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23646 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23649 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23650 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23653 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23655 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23657 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23658 (__MALLOC_PMT): Likewise.
23659 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23660 [__GNUC__], only on [_LIBC].
23661 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23662 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23663 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23664 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23665 forward declaration.
23666 (realloc_hook_ini): Likewise.
23667 (memalign_hook_ini): Likewise.
23668 (__libc_memalign): Do not use __MALLOC_PMT in variable
23670 (__libc_valloc): Likewise.
23671 (__libc_pvalloc): Likewise.
23672 (__libc_calloc): Likewise.
23673 (__posix_memalign): Likewise.
23676 * math/s_casinh.c: Include <float.h>.
23677 (__casinh): Do not do computation with squaring and square root
23678 for large arguments.
23679 * math/s_casinhf.c: Include <float.h>.
23680 (__casinhf): Do not do computation with squaring and square root
23681 for large arguments.
23682 * math/s_casinhl.c: Include <float.h>.
23683 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23684 (__casinhl): Do not do computation with squaring and square root
23685 for large arguments.
23686 * math/libm-test.inc (casin_test): Add more tests.
23687 (casinh_test): Likewise.
23688 * sysdeps/i386/fpu/libm-test-ulps: Update.
23689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23691 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23693 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23694 (__x86_64_raw_data_cache_size): Likewise.
23695 (__x86_64_data_cache_size_half): Likewise.
23696 (__x86_64_raw_data_cache_size_half): Likewise.
23697 (__x86_64_shared_cache_size): Likewise.
23698 (__x86_64_raw_shared_cache_size): Likewise.
23699 (__x86_64_shared_cache_size_half): Likewise.
23700 (__x86_64_raw_shared_cache_size_half): Likewise.
23701 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23703 (__x86_data_cache_size): This.
23704 (__x86_64_raw_data_cache_size): Renamed to ...
23705 (__x86_raw_data_cache_size): This.
23706 (__x86_64_data_cache_size_half): Renamed to ...
23707 (__x86_data_cache_size_half): This.
23708 (__x86_64_raw_data_cache_size_half): Renamed to ...
23709 (__x86_raw_data_cache_size_half): This.
23710 (__x86_64_shared_cache_size): Renamed to ...
23711 (__x86_shared_cache_size): This.
23712 (__x86_64_raw_shared_cache_size): Renamed to ...
23713 (__x86_raw_shared_cache_size): This.
23714 (__x86_64_shared_cache_size_half): Renamed to ...
23715 (__x86_shared_cache_size_half): This.
23716 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23717 (__x86_raw_shared_cache_size_half): This.
23718 * sysdeps/x86_64/memcpy.S: Updated.
23719 * sysdeps/x86_64/memset.S: Likewise.
23720 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23722 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23724 2013-01-04 David S. Miller <davem@davemloft.net>
23726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23728 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23730 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23731 1 to avoid redefinition warning.
23732 (__USE_GNU): Don't define.
23733 (init_signaling_nan): Protoize.
23735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23737 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23739 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23741 (__cpymn): Likewise.
23742 (norm): Remove commented code.
23743 (denorm): Likewise.
23744 (__mp_dbl): Likewise.
23746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23747 (__cpymn): Likewise.
23748 (norm): Remove commented code.
23749 (denorm): Likewise.
23750 (__mp_dbl): Likewise.
23753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23754 mp_no value for 1.0 and 2.0.
23755 (norm): Use RADIXI instead of radixi.d.
23756 (denorm): Likewise.
23757 (__mul): Use 0.0 instead of zero.d.
23758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23759 mp_no value for 1.0 and 2.0.
23760 (norm): Use RADIXI instead of radixi.d.
23761 (denorm): Likewise.
23762 (__mul): Use 0.0 instead of zero.d.
23764 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23767 * math/s_casinh.c (__casinh): Reduce finite argument to first
23768 quadrant then set signs of results at the end.
23769 * math/s_casinhf.c (__casinhf): Likewise.
23770 * math/s_casinhl.c (__casinhl): Likewise.
23771 * math/libm-test.inc (casin_test): Add more tests.
23772 (casinh_test): Likewise.
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23776 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23778 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23780 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23782 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23784 (denorm): Likewise.
23785 (__mp_dbl): Likewise.
23788 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23789 and adjust the header comment.
23791 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23792 variable name from declaration.
23794 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23797 Initialize COMMON_CPUID_INDEX_7 element.
23798 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23799 (CPUID_RTM): Likewise.
23800 (HAS_RTM): Likewise.
23801 (COMMON_CPUID_INDEX_7): New enum.
23803 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23806 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23807 size is zero, record memory as freed.
23809 2013-01-03 Andreas Jaeger <aj@suse.de>
23811 * po/ia.po: Add new Interlingua translation.
23813 2012-01-03 Allan McRae <allan@archlinux.org>
23815 * locale/programs/localedef.c: Fix description of '--posix' flag.
23817 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23819 * NEWS: Update dates in second copyright notice.
23820 * README: Update copyright dates in example.
23821 * manual/libc.texinfo: Update copyright dates.
23822 * scripts/test-installation.pl: Update copyright date in --version
23825 * hurd/ctty-input.c: Fix copyright notice formatting.
23826 * hurd/ctty-output.c: Likewise.
23827 * hurd/dtable.c: Likewise.
23828 * hurd/hurd-raise.c: Likewise.
23829 * hurd/hurdprio.c: Likewise.
23830 * hurd/msgportdemux.c: Likewise.
23831 * misc/sys/file.h: Likewise.
23832 * misc/sys/ioctl.h: Likewise.
23833 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23834 * sysdeps/mach/hurd/chdir.c: Likewise.
23835 * sysdeps/mach/hurd/fchdir.c: Likewise.
23836 * sysdeps/mach/hurd/rename.c: Likewise.
23837 * sysdeps/mach/hurd/rmdir.c: Likewise.
23838 * sysdeps/mach/hurd/seekdir.c: Likewise.
23839 * sysdeps/mach/hurd/setsid.c: Likewise.
23840 * sysdeps/posix/wait3.c: Likewise.
23842 * All files with FSF copyright notices: Update copyright dates
23843 using scripts/update-copyrights.
23844 * intl/plural.c: Regenerated.
23845 * locale/programs/charmap-kw.h: Likewise.
23846 * locale/programs/locfile-kw.h: Likewise.
23848 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23850 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23853 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23854 calculation loop and add branch prediction.
23856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23857 check access beyond bounds of m1np.
23859 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23861 (__inv): Remove local variable MPTWO to use the global
23863 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23866 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23867 MP3HALFS static const.
23869 2013-01-01 David S. Miller <davem@davemloft.net>
23871 * po/ca.po: Update from translation team.
23873 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23875 * scripts/update-copyrights: New file.
23876 * Makeconfig: Reformat copyright notice.
23877 * ctype/ctype.h: Likewise.
23878 * debug/swprintf_chk.c: Likewise.
23879 * elf/dl-cache.c: Likewise.
23880 * elf/dl-debug.c: Likewise.
23881 * elf/dl-object.c: Likewise.
23882 * grp/initgroups.c: Likewise.
23883 * hurd/Makefile: Likewise.
23884 * hurd/hurd/signal.h: Likewise.
23885 * hurd/hurdfault.c: Likewise.
23886 * hurd/hurdioctl.c: Likewise.
23887 * hurd/hurdlookup.c: Likewise.
23888 * hurd/intr-msg.c: Likewise.
23889 * iconv/gconv_open.c: Likewise.
23890 * libio/swprintf.c: Likewise.
23891 * locale/lc-ctype.c: Likewise.
23892 * locale/nl_langinfo.c: Likewise.
23893 * mach/Machrules: Likewise.
23894 * mach/Makefile: Likewise.
23895 * malloc/obstack.h: Likewise.
23896 * manual/Makefile: Likewise.
23897 * manual/tsort.awk: Likewise.
23898 * misc/bits/stab.def: Likewise.
23899 * nis/nis_print_group_entry.c: Likewise.
23900 * nis/nis_table.c: Likewise.
23901 * nis/nss_compat/compat-pwd.c: Likewise.
23902 * nis/nss_compat/compat-spwd.c: Likewise.
23903 * po/Makefile: Likewise.
23904 * posix/fnmatch.c: Likewise.
23905 * posix/regex.h: Likewise.
23906 * resolv/Makefile: Likewise.
23907 * resolv/nss_dns/dns-network.c: Likewise.
23908 * resolv/res_hconf.c: Likewise.
23909 * scripts/gen-sorted.awk: Likewise.
23910 * soft-fp/soft-fp.h: Likewise.
23911 * stdio-common/printf.h: Likewise.
23912 * stdlib/monetary.h: Likewise.
23913 * stdlib/random.c: Likewise.
23914 * stdlib/random_r.c: Likewise.
23915 * sysdeps/generic/Makefile: Likewise.
23916 * sysdeps/gnu/Makefile: Likewise.
23917 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23945 * sysdeps/mach/hurd/errnos.awk: Likewise.
23946 * sysdeps/mach/hurd/fork.c: Likewise.
23947 * sysdeps/mach/hurd/getcwd.c: Likewise.
23948 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23949 * sysdeps/mach/hurd/mmap.c: Likewise.
23950 * sysdeps/mach/hurd/utimes.c: Likewise.
23951 * sysdeps/mach/hurd/xmknod.c: Likewise.
23952 * sysdeps/posix/profil.c: Likewise.
23953 * sysdeps/posix/readdir_r.c: Likewise.
23954 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23955 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23956 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23957 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23959 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23960 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23961 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23963 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23964 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23965 * sysdeps/pthread/lio_listio.c: Likewise.
23966 * sysdeps/sparc/dl-procinfo.h: Likewise.
23967 * sysdeps/unix/i386/sysdep.S: Likewise.
23968 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23969 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23970 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23971 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23973 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23974 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23975 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23976 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23977 * sysdeps/wordsize-32/divdi3.c: Likewise.
23978 * time/sys/time.h: Likewise.
23979 * wcsmbs/Makefile: Likewise.
23981 2013-01-01 David S. Miller <davem@davemloft.net>
23983 * po/fr.po: Update from translation team.
23985 * catgets/gencat.c: Update copyright year.
23986 * csu/version.c: Likewise.
23987 * debug/catchsegv.sh: Likewise.
23988 * debug/pcprofiledump.c: Likewise.
23989 * debug/xtrace.sh: Likewise.
23990 * elf/ldconfig.c: Likewise.
23991 * elf/ldd.bash.in: Likewise.
23992 * elf/pldd.c: Likewise.
23993 * elf/sotruss.ksh: Likewise.
23994 * elf/sprof.c: Likewise.
23995 * iconv/iconv_prog.c: Likewise.
23996 * iconv/iconvconfig.c: Likewise.
23997 * locale/programs/locale.c: Likewise.
23998 * locale/programs/localedef.c: Likewise.
23999 * login/programs/pt_chown.c: Likewise.
24000 * malloc/memusage.sh: Likewise.
24001 * malloc/memusagestat.c: Likewise.
24002 * malloc/mtrace.pl: Likewise.
24003 * nscd/nscd.c: Likewise.
24004 * nss/getent.c: Likewise.
24005 * nss/makedb.c: Likewise.
24006 * posix/getconf.c: Likewise.
24008 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24010 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24013 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24015 * math/bits/mathcalls.h (modf): Use __nonnull.
24017 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24019 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24020 (split): Use macro CN instead of the bare value.
24021 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24024 instead of the bare value.
24025 (power1): Likewise.
24027 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24031 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24033 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24035 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24036 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24037 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24038 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24040 2012-12-28 Andreas Jaeger <aj@suse.de>
24042 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24043 values are from Linux 3.7.
24045 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24046 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24048 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24050 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24053 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24055 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24056 variables with preprocessor constants.
24057 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24058 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24059 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24061 2012-12-27 Bruno Haible <bruno@clisp.org>
24064 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24067 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24070 and use variable directly.
24071 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24073 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24075 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24076 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24078 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24080 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24081 include directive. Remove local variable MPONE.
24082 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24083 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24084 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24086 2012-12-25 David S. Miller <davem@davemloft.net>
24088 * version.h (RELEASE): Set to "development".
24089 (VERSION): Set to "2.17.90".
24090 * NEWS: Add 2.18 section.
24092 2012-12-21 David S. Miller <davem@davemloft.net>
24094 * po/hr.po: Update from translation team.
24096 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24098 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24100 2012-12-19 Steve Ellcey <sellcey@mips.com>
24102 * NEWS: Mention new memcpy for MIPS.
24104 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24106 * manual/contrib.texi (Contributors): Spelling correction.
24108 2012-12-15 David S. Miller <davem@davemloft.net>
24110 * po/ru.po: Update from translation team.
24112 2012-12-13 David S. Miller <davem@davemloft.net>
24114 * NEWS: Mention IFUNC testsuite enhancements.
24116 * po/pl.po: Update from translation team.
24117 * po/bg.po: Likewise.
24119 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24120 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24122 2012-12-11 David S. Miller <davem@davemloft.net>
24124 * po/sv.po: Update from translation team.
24126 * po/vi.po: Update from translation team.
24128 * po/cs.po: Update from translation team.
24130 * po/de.po: Update from translation team.
24131 * po/eo.po: Likewise.
24132 * po/nl.po: Likewise.
24134 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24137 * manual/argp.texi (Argp Helper Functions): Move node to follow
24138 Argp Parsing State.
24141 * manual/conf.texi (Limits on File System Capacity): Mention if
24142 terminating null is included in the max size.
24144 2012-12-10 Andreas Jaeger <aj@suse.de>
24146 * po/cs.po: Update from translation team.
24148 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24150 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24151 void pointer and cast to uintptr_t.
24152 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24154 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24155 * sysdeps/s390/s390-64/memset.S: Likewise.
24157 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24160 * menual/message.texi (Message Translation): Fix typos.
24161 (Helper programs for gettext): Likewise.
24163 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24166 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24169 2012-12-07 David S. Miller <davem@davemloft.net>
24171 * po/libc.pot: Update.
24173 2012-12-07 Richard Henderson <rth@redhat.com>
24176 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24177 normal/normal case to before the switch.
24178 (_FP_DIV): Likewise.
24180 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24181 Mike Frysinger <vapier@gentoo.org>
24183 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24184 check for __NR_fadvise64_64.
24186 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24188 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24189 0, not just to plain "0" as a statement.
24190 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24193 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24195 * NEWS: Use sourceware.org in Bugzilla URL.
24197 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24200 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24202 * stdio-common/tst-put-error.c (do_test): Add newline to the
24203 padded test to ensure flush.
24205 2012-12-05 Jeff Law <law@redhat.com>
24207 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24209 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24211 * README: Don't refer to ports add-on as distributed separately.
24212 Mention AArch64 in list of systems supported in the ports add-on.
24214 * LICENSES: Add more non-FSF copyright and license notices.
24216 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24219 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24221 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24222 10000 as width of padded output.
24224 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24226 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24228 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24229 variable LX with __attribute__ ((unused)).
24230 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24232 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24234 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24235 with __attribute__ ((unused)).
24237 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24239 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24241 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24243 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24244 (CFLAGS-nldbl-acos.c): New variable.
24245 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24246 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24247 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24248 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24249 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24250 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24251 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24252 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24253 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24254 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24255 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24256 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24257 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24258 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24259 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24260 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24261 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24262 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24263 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24264 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24265 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24266 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24267 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24268 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24269 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24270 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24271 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24272 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24273 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24274 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24275 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24276 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24277 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24278 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24279 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24280 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24281 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24282 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24283 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24284 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24285 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24286 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24287 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24288 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24289 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24290 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24291 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24292 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24293 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24294 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24295 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24296 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24297 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24298 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24299 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24300 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24301 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24302 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24303 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24304 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24305 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24306 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24307 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24308 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24309 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24310 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24311 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24312 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24313 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24314 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24315 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24316 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24317 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24318 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24319 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24320 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24321 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24322 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24323 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24324 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24325 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24326 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24327 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24328 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24329 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24330 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24331 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24332 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24333 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24334 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24335 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24336 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24337 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24338 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24339 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24340 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24341 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24344 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24347 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24348 whole low double instead of just low 47 bits when splitting values
24351 2012-12-03 Allan McRae <allan@archlinux.org>
24353 * manual/stdio.texi (Predefined Printf Handlers): Remove
24354 @hsep and @vsep usage.
24356 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24358 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24359 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24361 2012-12-03 Jeff Law <law@redhat.com>
24363 * time/sys/time.h (settimeofday): Do not mark TV argument
24366 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24368 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24369 when currently writing and seek to current position when not.
24370 * libio/Makefile (tests): Remove bug-fclose1.
24371 * libio/bug-fclose1.c: Delete.
24373 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24375 * manual/arith.texi (feenableexcept): Fix typo.
24376 (fedisableexcept): Likewise.
24378 2012-11-30 Roland McGrath <roland@hack.frob.com>
24380 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24381 second, differently-typed declaration, rather than a cast.
24383 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24385 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24386 * include/rpc/svc.h: ... here.
24388 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24391 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24392 depending n and resplen2 to catch cases where answer
24395 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24397 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24398 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24400 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24402 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24404 2012-11-29 Roland McGrath <roland@hack.frob.com>
24406 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24408 2012-11-28 Jeff Law <law@redhat.com>
24411 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24412 dataset_temporary. Track alloca usage into alloca_used.
24413 If dataset is large allocate and release it via malloc/free.
24415 2012-06-04 Florian Weimer <fweimer@redhat.com>
24418 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24420 2012-11-28 David S. Miller <davem@davemloft.net>
24422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24424 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24427 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24428 of pi/2 rounded to nearest to 64 bits.
24429 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24430 nearest to 64 bits.
24431 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24434 2012-11-28 Jeff Law <law@redhat.com>
24435 Martin Osvald <mosvald@redhat.com>
24438 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24439 * sunrpc/svc.c: Include time.h.
24440 (__svc_accept_failed): New function.
24441 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24442 any reason other than EINTR, call __svc_accept_failed.
24443 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24444 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24446 2012-11-28 Andreas Schwab <schwab@suse.de>
24448 * scripts/abilist.awk: Also handle indirect functions in .opd
24451 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24454 * sysdeps/x86/fpu/powl_helper.c: New file.
24455 * sysdeps/x86/fpu/Makefile: Likewise.
24456 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24458 (__ieee754_powl): Use __powl_helper for finite arguments except
24459 integer exponents below 8.
24460 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24462 (__ieee754_powl): Use __powl_helper for finite arguments except
24463 integer exponents below 8.
24464 * math/libm-test.inc (pow_test): Add more tests and enable some
24465 previously disabled tests.
24466 * sysdeps/i386/fpu/libm-test-ulps: Update.
24467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24469 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24470 Carlos O'Donell <carlos_odonell@mentor.com>
24472 * nss/makedb.c (is_prime): Assert that input is odd and greater
24473 than 4. Note that fact in a comment too.
24474 (next_prime): Add 4 to input.
24476 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24479 * libio/Makefile (tests): Add test case tst-fwrite-error.
24480 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24481 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24482 * libio/tst-fwrite-error.c: New test case.
24484 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24486 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24487 before casting to void *.
24488 * include/libc-internal.h (__pointer_type): New macro.
24489 (__integer_if_pointer_type_sub): Likewise.
24490 (__integer_if_pointer_type): Likewise.
24491 (cast_to_integer): Likewise.
24492 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24493 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24494 before casting to atomic64_t.
24495 (atomic_exchange_acq): Likewise.
24496 (__arch_exchange_and_add_body): Likewise.
24497 (__arch_add_body): Likewise.
24498 (atomic_add_negative): Likewise.
24499 (atomic_add_zero): Likewise.
24501 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24503 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24504 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24505 (add_fdes): Likewise.
24506 (linear_search_fdes): Likewise.
24507 (binary_search_unencoded_fdes): Likewise.
24509 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24511 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24513 2012-11-24 Adam Conrad <adconrad@0c3.net>
24515 * configure.in: Autodetect C++ header directories.
24516 * configure: Regenerated.
24518 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24520 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24522 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24526 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24528 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24529 LDBL_MANT_DIG == 106]: Disable some tests.
24530 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24532 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24536 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24537 input for small inputs. Return +/- pi/2 for large inputs.
24538 * math/libm-test.inc (atan_test): Add more tests.
24540 * sysdeps/generic/unwind-dw2-fde-glibc.c
24541 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24542 __attribute__ ((unused)).
24545 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24546 x * y if x and y are nonzero and z is zero.
24549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24550 nonzero exponents with absolute value below 0x1p-117 to +/-
24554 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24555 up arguments below 2**-450, not just those below 2**-500.
24556 * math/libm-test.inc (hypot_test): Add another test.
24559 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24560 Return a+b for ratio over 2**120, not 2**60.
24561 * math/libm-test.inc (hypot_test): Add another test.
24563 * math/libm-test.inc (clog_test): Use
24564 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24565 (clog10_test): Likewise.
24568 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24570 2012-11-22 Andreas Schwab <schwab@suse.de>
24572 * sysdeps/i386/fpu/libm-test-ulps: Update.
24574 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24576 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24577 printf output with newline.
24579 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24582 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24583 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24584 -z nodlopen, -z initfirst and -z execstack support.
24585 * configure: Regenerated.
24587 * elf/elf.h (DF_1_NODIRECT): New macro.
24588 (DF_1_IGNMULDEF): Likewise.
24589 (DF_1_NOKSYMS): Likewise.
24590 (DF_1_NOHDR): Likewise.
24591 (DF_1_EDITED): Likewise.
24592 (DF_1_NORELOC): Likewise.
24593 (DF_1_SYMINTPOSE): Likewise.
24594 (DF_1_GLOBAUDIT): Likewise.
24595 (DF_1_SINGLETON): Likewise.
24596 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24597 DT_1_SUPPORTED_MASK bits.
24598 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24600 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24602 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24604 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24606 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24609 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24610 (sendmmsg): Move declarations...
24611 * socket/sys/socket.h: ... here.
24612 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24613 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24615 * socket/recvmmsg.c: ... this new file.
24616 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24617 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24618 definition of __sendmmsg hidden.
24619 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24620 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24621 Move ENOSYS stub into and include it from...
24622 * socket/sendmmsg.c: ... this new file.
24623 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24624 (sysdep_routines): Move recvmmsg and sendmmsg...
24625 * socket/Makefile (routines): ... here.
24626 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24627 (GLIBC_PRIVATE): Add __sendmmsg.
24628 * include/sys/socket.h (__sendmmsg): Add declarations.
24629 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24632 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24635 variable I1 with __attribute__ ((unused)).
24636 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24638 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24640 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24641 DUMMY variables with __attribute__ ((unused)).
24643 * bits/byteswap.h: Include <bits/types.h>.
24644 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24646 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24648 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24649 string_t. Do not manually set errno.
24650 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24651 length with __strnlen. Make sure to both set errno and return it on
24654 2012-11-19 David S. Miller <davem@davemloft.net>
24656 With help from Joseph Myers.
24657 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24658 very large arguments properly.
24659 * math/libm-test.inc (atan_test): New tests.
24660 (atan2_test): New tests.
24661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24664 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24667 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24670 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24671 [POSIX] (EADDRNOTAVAIL): Likewise.
24672 [POSIX] (EAFNOSUPPORT): Likewise.
24673 [POSIX] (EALREADY): Likewise.
24674 [POSIX] (ECONNABORTED): Likewise.
24675 [POSIX] (ECONNREFUSED): Likewise.
24676 [POSIX] (ECONNRESET): Likewise.
24677 [POSIX] (EDESTADDRREQ): Likewise.
24678 [POSIX] (EDQUOT): Likewise.
24679 [POSIX] (EHOSTUNREACH): Likewise.
24680 [POSIX] (EIDRM): Likewise.
24681 [POSIX] (EISCONN): Likewise.
24682 [POSIX] (ELOOP): Likewise.
24683 [POSIX] (EMULTIHOP): Likewise.
24684 [POSIX] (ENETDOWN): Likewise.
24685 [POSIX] (ENETUNREACH): Likewise.
24686 [POSIX] (ENOBUFS): Likewise.
24687 [POSIX] (ENODATA): Likewise.
24688 [POSIX] (ENOLINK): Likewise.
24689 [POSIX] (ENOMSG): Likewise.
24690 [POSIX] (ENOPROTOOPT): Likewise.
24691 [POSIX] (ENOSR): Likewise.
24692 [POSIX] (ENOSTR): Likewise.
24693 [POSIX] (ENOTCONN): Likewise.
24694 [POSIX] (ENOTSOCK): Likewise.
24695 [POSIX] (EOPNOTSUPP): Likewise.
24696 [POSIX] (EOVERFLOW): Likewise.
24697 [POSIX] (EPROTO): Likewise.
24698 [POSIX] (EPROTONOSUPPORT): Likewise.
24699 [POSIX] (EPROTOTYPE): Likewise.
24700 [POSIX] (ESTALE): Likewise.
24701 [POSIX] (ETIME): Likewise.
24702 [POSIX] (ETXTBSY): Likewise.
24703 [POSIX] (EWOULDBLOCK): Likewise.
24704 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24705 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24706 [POSIX] (SEEK_CUR): Likewise.
24707 [POSIX] (SEEK_END): Likewise.
24708 [POSIX || UNIX98] (mode_t): Do not require.
24709 [POSIX] (off_t): Likewise.
24710 [POSIX] (pid_t): Likewise.
24711 [POSIX] (sys/stat.h): Do not allow header.
24712 [POSIX] (unistd.h): Likewise.
24713 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24714 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24715 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24716 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24718 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24719 sigevent): Specify elements.
24720 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24722 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24723 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24725 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24726 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24727 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24728 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24729 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24730 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24731 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24732 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24733 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24734 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24735 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24736 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24737 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24738 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24740 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24742 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24744 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24746 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24747 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24748 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24749 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24750 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24751 Specify lower bound on value.
24752 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24753 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24754 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24755 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24756 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24757 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24758 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24759 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24761 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24763 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24764 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24765 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24766 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24767 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24768 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24769 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24770 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24771 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24772 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24773 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24774 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24775 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24776 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24777 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24778 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24780 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24782 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24783 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24784 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24785 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24786 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24787 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24789 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24790 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24791 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24792 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24793 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24794 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24795 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24797 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24798 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24799 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24800 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24801 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24802 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24803 specify as optional.
24804 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24805 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24806 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24807 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24808 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24809 [XPG3] (NL_LANGMAX): Likewise.
24810 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24811 [POSIX || XPG3] (NL_NMAX): Likewise.
24812 [POSIX || XPG3] (NL_SETMAX): Likewise.
24813 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24814 [XPG3] (NZERO): Likewise.
24815 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24816 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24817 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24818 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24819 (REG_ERANGE): Expect.
24820 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24822 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24823 Use (void) in prototype.
24824 [POSIX] (*_t): Allow.
24825 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24826 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24827 (WRDE_BADVAL): Expect.
24829 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24831 [XPG3 || XPG4] (O_RSYNC): Likewise.
24832 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24834 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24835 [XPG3 || XPG4] (sigqueue): Likewise.
24836 [XPG3 || XPG4] (sigtimedwait): Likewise.
24837 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24838 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24839 [XPG3 || XPG4] (vsnprintf): Likewise.
24840 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24842 [XPG3 || XPG4] (blksize_t): Likewise.
24843 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24845 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24846 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24847 [XPG3 || XPG4] (struct itimerspec): Likewise.
24848 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24849 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24850 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24851 [XPG3 || XPG4] (clockid_t): Likewise.
24852 [XPG3 || XPG4] (timer_t): Likewise.
24853 [XPG3 || XPG4] (clock_getres): Likewise.
24854 [XPG3 || XPG4] (clock_gettime): Likewise.
24855 [XPG3 || XPG4] (clock_settime): Likewise.
24856 [XPG3 || XPG4] (nanosleep): Likewise.
24857 [XPG3 || XPG4] (timer_create): Likewise.
24858 [XPG3 || XPG4] (timer_delete): Likewise.
24859 [XPG3 || XPG4] (timer_gettime): Likewise.
24860 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24861 [XPG3 || XPG4] (timer_settime): Likewise.
24862 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24863 [XPG3 || XPG4] (getlogin_r): Likewise.
24864 [XPG3 || XPG4] (pread): Likewise.
24865 [XPG3 || XPG4] (pthread_atfork): Likewise.
24866 [XPG3 || XPG4] (pwrite): Likewise.
24869 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24872 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24874 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24875 finalizing MALLSTREAM.
24877 * sysdeps/mach/hurd/syncfs.c: New file.
24879 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24882 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24883 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24884 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24885 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24886 (_nss_dns_gethostbyname4_r): Likewise.
24887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24888 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24890 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24893 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24895 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24897 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24898 * elf/cache.c (print_entry): Print ",AArch64" for
24901 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24902 * elf/cache.c (print_entry): Print ",hard-float" for
24905 2012-11-18 David S. Miller <davem@davemloft.net>
24907 With help from Joseph Myers.
24908 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24910 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24912 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24913 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24915 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24916 * math/libm-test.inc (y0_test): New tests.
24917 (y1_test): New tests.
24918 * sysdeps/i386/fpu/libm-test-ulps: Update.
24919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24922 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24924 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24926 * configure: Regenerated.
24928 2012-11-17 David S. Miller <davem@davemloft.net>
24931 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24932 nonzero exponents with absolute value below 0x1p-128 to +/-
24935 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24937 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24939 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24941 * posix/getconf-speclist.c: New file.
24942 * posix/posix-envs.def: Likewise.
24943 * posix/confstr.c (START_ENV_GROUP): New macro.
24944 (END_ENV_GROUP): Likewise.
24945 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24946 (KNOWN_PRESENT_ENV_STRING): Likewise.
24947 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24948 (UNKNOWN_ENVIRONMENT): Likewise.
24949 (confstr): Include posix-envs.def instead of handling
24950 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24951 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24952 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24953 (END_ENV_GROUP): Likewise.
24954 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24955 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24956 (UNKNOWN_ENVIRONMENT): Likewise.
24957 (__sysconf): Include posix-envs.def instead of handling associated
24958 cases directly here.
24959 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24960 preprocessing getconf-speclist.c rather than running getconf or
24961 generating empty file.
24963 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24965 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24967 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24970 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24972 2012-11-16 David S. Miller <davem@davemloft.net>
24974 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24975 smaller than LDBL_EPSILON/2.0L, just return xm1.
24977 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24979 * elf/tst-array1.c (init): Set constructor priority to 1000.
24980 (fini): Set destructor priority to 1000.
24981 * elf/tst-array2dep.c: Likewise.
24983 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24986 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24987 (_IO_new_file_xsputn): Also return EOF if none of the input
24988 data was written when overflow failed.
24989 * libio/iopadn.c (_IO_padn): Likewise.
24990 * libio/iowpadn.c (_IO_wpadn): Likewise.
24991 * stdio-common/tst-put-error.c: Add copyright notice.
24992 (do_test): Add case for printing padded string.
24993 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24994 _IO_padn returned error.
24995 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24996 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24999 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25001 * libio/libioP.h: Add comment note that the references to C++
25002 bits are now obsolete.
25004 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25006 * math/libm-test.inc (check_complex): Use asprintf.
25008 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25010 * debug/pcprofiledump.c (print_version): Update copyright year.
25011 * malloc/memusagestat.c (print_version): Likewise.
25013 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25016 * elf/Makefile (tests): Add tst-audit8.
25017 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25018 ($(objpfx)tst-audit8.out): New target.
25019 (tst-audit8-ENV): New variable.
25020 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25021 audit if l_reloc_result is NULL.
25022 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25023 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25024 * elf/tst-audit8.c: New file.
25026 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25028 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25029 * misc/Makefile (CFLAGS-select.c): Define.
25030 * posix/Makefile (CFLAGS-pause.c): Define.
25032 2012-11-13 David S. Miller <davem@davemloft.net>
25034 * crypt/Makefile: Move test targets after toplevel Rules
25035 inclusion. Grab any necessary sysdep routines when linking.
25036 * crypt/md5.c (md5_process_block): Remove define, we will always
25037 name it __md5_process_block.
25038 (md5_finish_ctx): Update md5_process_block call.
25039 (md5_stream): Likewise.
25040 (md5_process_bytes): Likewise.
25041 (md5_process_block): Rename to __md5_process_block and move to ...
25042 * crypt/md5-block.c: ... here.
25043 * crypt/sha256.c (sha256_process_block): Move to ...
25044 * crypt/sha256-block.c: ... here.
25045 * crypt/sha512.c (sha512_process_block): Move to ...
25046 * crypt/sha512-block.c: ... here.
25047 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25049 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25050 * sysdeps/sparc/sparc64/multiarch/Makefile
25051 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25053 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25054 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25056 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25057 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25058 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25059 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25060 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25061 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25062 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25063 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25064 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25066 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25067 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25069 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25071 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25073 * timezone/tzselect.ksh: Update from tzcode git revision
25074 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25075 * timezone/zdump.c: Likewise.
25076 * timezone/zic.c: Likewise.
25077 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25078 in TZVERSION setting, not $(PKGVERSION).
25079 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25080 REPORT_BUGS_TO settings.
25083 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25086 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25088 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25089 detection to immediately after _FP_ROUND().
25090 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25093 2012-11-11 David S. Miller <davem@davemloft.net>
25095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25097 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25098 __close rather than their public counterparts.
25100 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25102 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25104 [UNIX98] (sem_timedwait): Do not expect.
25105 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25106 [XPG4 || UNIX98] (sockatmark): Do not expect.
25107 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25108 (clock_getcpuclockid): Do not expect.
25109 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25110 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25112 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25113 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25114 [UNIX98] (vwscanf): Likewise.
25115 [UNIX98] (vswscanf): Likewise.
25117 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25119 * timezone/version.h: Remove file.
25120 * timezone/README: Do not refer to version.h.
25121 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25122 $(objpfx)version.h.
25123 ($(objpfx)zdump.o): Likewise.
25124 ($(objpfx)version.h): New target.
25126 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25128 * timezone/README: Don't mention modification to tzselect.ksh.
25129 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25130 work on unmodified tzselect.ksh. Substitute version numbers in
25133 * Makefile (format-me): Remove.
25134 (INSTALL): Adjust indentation. Use commands directly instead of
25135 using $(format-me).
25137 * aclocal.m4 (ACX_PKGVERSION): New macro.
25138 (ACX_BUGURL): Likewise.
25139 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25140 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25141 (REPORT_BUGS_TO): Likewise.
25142 * configure: Regenerated.
25143 * config.h.in (PKGVERSION): New macro.
25144 (REPORT_BUGS_TO): Likewise.
25145 * config.make.in (PKGVERSION): New variable.
25146 (PKGVERSION_TEXI): Likewise.
25147 (REPORT_BUGS_TO): Likewise.
25148 (REPORT_BUGS_TEXI): Likewise.
25149 * Makefile (format-me): Use -I$(common-objpfx)manual.
25150 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25151 ($(common-objpfx)manual/%): New target.
25152 (manual/%): Remove target.
25153 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25154 (print_version): Use PKGVERSION.
25155 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25156 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25157 and REPORT_BUGS_TO.
25158 ($(objpfx)xtrace): Likewise.
25159 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25160 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25161 (print_version): Use PKGVERSION.
25162 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25163 (do_version): Use PKGVERSION.
25164 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25166 (common-ldd-rewrite): Likewise.
25167 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25168 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25169 (print_version): Use PKGVERSION.
25170 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25171 * elf/pldd.c (argp_program_bug_address): Remove variable.
25172 (more_help): New function.
25173 (argp): Use more_help.
25174 (print_version): Use PKGVERSION.
25175 * elf/sln.c (main): Use PKGVERSION.
25176 (usage): Use REPORT_BUGS_TO.
25177 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25178 (top level): Use PKGVERSION.
25179 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25180 (print_version): Use PKGVERSION.
25181 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25182 (print_version): Use PKGVERSION.
25183 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25184 (print_version): Use PKGVERSION.
25185 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25186 (print_version): Use PKGVERSION.
25187 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25188 (print_version): Use PKGVERSION.
25189 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25190 (print_version): Use PKGVERSION.
25191 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25193 ($(objpfx)memusage): Likewise.
25194 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25195 (do_version): Use PKGVERSION.
25196 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25197 (print_version): Use PKGVERSION.
25198 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25199 ($PKGVERSION): New variable.
25200 ($REPORT_BUGS_TO): Likewise.
25201 (usage): Use $REPORT_BUGS_TO.
25202 (top level): Use $PKGVERSION.
25203 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25204 ($(objpfx)pkgvers.texi): New rule.
25205 ($(objpfx)stamp-pkgvers): Likewise.
25206 * manual/install.texi: Include pkgvers.texi.
25207 (--with-pkgversion): Document new configure option.
25208 (--with-bugurl): Likewise.
25209 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25210 than necessarily for this particular distribution. Use
25211 REPORT_BUGS_TO for where to report bugs.
25212 * INSTALL: Regenerated.
25213 * manual/libc.texinfo: Include pkgvers.texi.
25214 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25215 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25216 (print_version): Use PKGVERSION.
25217 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25218 (print_version): Use PKGVERSION.
25219 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25220 (print_version): Use PKGVERSION.
25221 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25222 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25224 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25225 (print_version): Use PKGVERSION.
25226 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25227 (print_version): Use PKGVERSION.
25228 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25231 * timezone/checktab.awk: Update from tzcode 2012i.
25232 * timezone/ialloc.c: Likewise.
25233 * timezone/private.h: Likewise.
25234 * timezone/scheck.c: Likewise.
25235 * timezone/tzfile.h: Likewise.
25236 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25237 (TZVERSION): Hardcode tzcode version number.
25238 * timezone/zdump.c: Update from tzcode 2012i.
25239 * timezone/zic.c: Likewise.
25240 * timezone/version.h: New file.
25241 * timezone/README: Describe version.h. Update upstream location.
25244 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25245 (mktemp): Enable declaration.
25246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25249 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25251 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25253 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25255 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25263 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25264 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25265 for copies of such integer values.
25266 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25267 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25269 2012-11-09 Andreas Jaeger <aj@suse.de>
25271 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25272 definitions and declarations that are provided by
25273 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25275 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25277 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25278 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25279 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25282 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25284 * elf/elf.h: Update comment before AArch64 relocations.
25286 2012-11-07 David S. Miller <davem@davemloft.net>
25288 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25289 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25290 (__start_context): Declare.
25291 (__makecontext_ret): Delete.
25292 (__makecontext): Hook up __start_context instead of
25294 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25295 (sysdep_routines): Add __start_context when in stdlib.
25297 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25299 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25300 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25301 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25303 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25304 (READELF): New variable. Use it instead of hardcoded "readelf".
25306 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25308 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25309 * sysdeps/x86/Makefile: Here.
25310 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25311 * sysdeps/x86/tst-xmmymm.sh: This.
25313 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25315 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25317 [UNIX98] (pthread_barrier_t): Do not expect.
25318 [UNIX98] (pthread_barrierattr_t): Likewise.
25319 [UNIX98] (pthread_spinlock_t): Likewise.
25320 [UNIX98] (pthread_barrier_destroy): Likewise.
25321 [UNIX98] (pthread_barrier_init): Likewise.
25322 [UNIX98] (pthread_barrier_wait): Likewise.
25323 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25324 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25325 [UNIX98] (pthread_barrierattr_init): Likewise.
25326 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25327 [UNIX98] (pthread_getcpuclockid): Likewise.
25328 [UNIX98] (pthread_mutex_timedlock): Likewise.
25329 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25330 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25331 [UNIX98] (pthread_sigmask): Likewise.
25332 [UNIX98] (pthread_spin_destroy): Likewise.
25333 [UNIX98] (pthread_spin_init): Likewise.
25334 [UNIX98] (pthread_spin_lock): Likewise.
25335 [UNIX98] (pthread_spin_trylock): Likewise.
25336 [UNIX98] (pthread_spin_unlock): Likewise.
25337 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25339 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25340 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25341 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25342 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25343 [XPG3 || XPG4] (pthread_key_t): Likewise.
25344 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25345 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25346 [XPG3 || XPG4] (pthread_once_t): Likewise.
25347 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25348 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25349 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25350 [XPG3 || XPG4] (pthread_t): Likewise.
25352 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25354 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25356 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25357 Change function return type to int.
25359 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25360 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25361 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25362 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25363 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25364 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25365 [!POSIX] (posix_madvise): Likewise.
25366 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25368 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25369 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25370 (mode_t): Likewise.
25371 (posix_mem_offset): Likewise.
25372 (posix_typed_mem_get_info): Likewise.
25373 (posix_typed_mem_open): Likewise.
25375 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25376 Change condition to [XOPEN2K8].
25378 * conform/conformtest.pl: Preprocess allow-header data with -x c
25379 instead of from stdin.
25380 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25381 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25382 [C99-based standards] (cerfc): Likewise.
25383 [C99-based standards] (cexp2): Likewise.
25384 [C99-based standards] (cexpm1): Likewise.
25385 [C99-based standards] (clog10): Likewise.
25386 [C99-based standards] (clog1p): Likewise.
25387 [C99-based standards] (clog2): Likewise.
25388 [C99-based standards] (clgamma): Likewise.
25389 [C99-based standards] (ctgamma): Likewise.
25390 [C99-based standards] (cerff): Likewise.
25391 [C99-based standards] (cerfcf): Likewise.
25392 [C99-based standards] (cexp2f): Likewise.
25393 [C99-based standards] (cexpm1f): Likewise.
25394 [C99-based standards] (clog10f): Likewise.
25395 [C99-based standards] (clog1pf): Likewise.
25396 [C99-based standards] (clog2f): Likewise.
25397 [C99-based standards] (clgammaf): Likewise.
25398 [C99-based standards] (ctgammaf): Likewise.
25399 [C99-based standards] (cerfl): Likewise.
25400 [C99-based standards] (cerfcl): Likewise.
25401 [C99-based standards] (cexp2l): Likewise.
25402 [C99-based standards] (cexpm1l): Likewise.
25403 [C99-based standards] (clog10l): Likewise.
25404 [C99-based standards] (clog1pl): Likewise.
25405 [C99-based standards] (clog2l): Likewise.
25406 [C99-based standards] (clgammal): Likewise.
25407 [C99-based standards] (ctgammal): Likewise.
25408 * conform/data/inttypes.h-data [C99-based standards]: Include
25409 stdint.h-data. Remove all expectations for stdint.h contents.
25410 [C99-based standards] (PRI*): Do not allow.
25411 [C99-based standards] (SCN*): Likewise.
25412 [C99-based standards] (*_t): Likewise.
25413 [C99-based-standards] (PRId8): Expect macro.
25414 [C99-based-standards] (PRIi8): Likewise.
25415 [C99-based-standards] (PRIo8): Likewise.
25416 [C99-based-standards] (PRIu8): Likewise.
25417 [C99-based-standards] (PRIx8): Likewise.
25418 [C99-based-standards] (PRIX8): Likewise.
25419 [C99-based-standards] (SCNd8): Likewise.
25420 [C99-based-standards] (SCNi8): Likewise.
25421 [C99-based-standards] (SCNo8): Likewise.
25422 [C99-based-standards] (SCNu8): Likewise.
25423 [C99-based-standards] (SCNx8): Likewise.
25424 [C99-based-standards] (PRIdLEAST8): Likewise.
25425 [C99-based-standards] (PRIiLEAST8): Likewise.
25426 [C99-based-standards] (PRIoLEAST8): Likewise.
25427 [C99-based-standards] (PRIuLEAST8): Likewise.
25428 [C99-based-standards] (PRIxLEAST8): Likewise.
25429 [C99-based-standards] (PRIXLEAST8): Likewise.
25430 [C99-based-standards] (SCNdLEAST8): Likewise.
25431 [C99-based-standards] (SCNiLEAST8): Likewise.
25432 [C99-based-standards] (SCNoLEAST8): Likewise.
25433 [C99-based-standards] (SCNuLEAST8): Likewise.
25434 [C99-based-standards] (SCNxLEAST8): Likewise.
25435 [C99-based-standards] (PRIdFAST8): Likewise.
25436 [C99-based-standards] (PRIiFAST8): Likewise.
25437 [C99-based-standards] (PRIoFAST8): Likewise.
25438 [C99-based-standards] (PRIuFAST8): Likewise.
25439 [C99-based-standards] (PRIxFAST8): Likewise.
25440 [C99-based-standards] (PRIXFAST8): Likewise.
25441 [C99-based-standards] (SCNdFAST8): Likewise.
25442 [C99-based-standards] (SCNiFAST8): Likewise.
25443 [C99-based-standards] (SCNoFAST8): Likewise.
25444 [C99-based-standards] (SCNuFAST8): Likewise.
25445 [C99-based-standards] (SCNxFAST8): Likewise.
25446 [C99-based-standards] (PRId16): Likewise.
25447 [C99-based-standards] (PRIi16): Likewise.
25448 [C99-based-standards] (PRIo16): Likewise.
25449 [C99-based-standards] (PRIu16): Likewise.
25450 [C99-based-standards] (PRIx16): Likewise.
25451 [C99-based-standards] (PRIX16): Likewise.
25452 [C99-based-standards] (SCNd16): Likewise.
25453 [C99-based-standards] (SCNi16): Likewise.
25454 [C99-based-standards] (SCNo16): Likewise.
25455 [C99-based-standards] (SCNu16): Likewise.
25456 [C99-based-standards] (SCNx16): Likewise.
25457 [C99-based-standards] (PRIdLEAST16): Likewise.
25458 [C99-based-standards] (PRIiLEAST16): Likewise.
25459 [C99-based-standards] (PRIoLEAST16): Likewise.
25460 [C99-based-standards] (PRIuLEAST16): Likewise.
25461 [C99-based-standards] (PRIxLEAST16): Likewise.
25462 [C99-based-standards] (PRIXLEAST16): Likewise.
25463 [C99-based-standards] (SCNdLEAST16): Likewise.
25464 [C99-based-standards] (SCNiLEAST16): Likewise.
25465 [C99-based-standards] (SCNoLEAST16): Likewise.
25466 [C99-based-standards] (SCNuLEAST16): Likewise.
25467 [C99-based-standards] (SCNxLEAST16): Likewise.
25468 [C99-based-standards] (PRIdFAST16): Likewise.
25469 [C99-based-standards] (PRIiFAST16): Likewise.
25470 [C99-based-standards] (PRIoFAST16): Likewise.
25471 [C99-based-standards] (PRIuFAST16): Likewise.
25472 [C99-based-standards] (PRIxFAST16): Likewise.
25473 [C99-based-standards] (PRIXFAST16): Likewise.
25474 [C99-based-standards] (SCNdFAST16): Likewise.
25475 [C99-based-standards] (SCNiFAST16): Likewise.
25476 [C99-based-standards] (SCNoFAST16): Likewise.
25477 [C99-based-standards] (SCNuFAST16): Likewise.
25478 [C99-based-standards] (SCNxFAST16): Likewise.
25479 [C99-based-standards] (PRId32): Likewise.
25480 [C99-based-standards] (PRIi32): Likewise.
25481 [C99-based-standards] (PRIo32): Likewise.
25482 [C99-based-standards] (PRIu32): Likewise.
25483 [C99-based-standards] (PRIx32): Likewise.
25484 [C99-based-standards] (PRIX32): Likewise.
25485 [C99-based-standards] (SCNd32): Likewise.
25486 [C99-based-standards] (SCNi32): Likewise.
25487 [C99-based-standards] (SCNo32): Likewise.
25488 [C99-based-standards] (SCNu32): Likewise.
25489 [C99-based-standards] (SCNx32): Likewise.
25490 [C99-based-standards] (PRIdLEAST32): Likewise.
25491 [C99-based-standards] (PRIiLEAST32): Likewise.
25492 [C99-based-standards] (PRIoLEAST32): Likewise.
25493 [C99-based-standards] (PRIuLEAST32): Likewise.
25494 [C99-based-standards] (PRIxLEAST32): Likewise.
25495 [C99-based-standards] (PRIXLEAST32): Likewise.
25496 [C99-based-standards] (SCNdLEAST32): Likewise.
25497 [C99-based-standards] (SCNiLEAST32): Likewise.
25498 [C99-based-standards] (SCNoLEAST32): Likewise.
25499 [C99-based-standards] (SCNuLEAST32): Likewise.
25500 [C99-based-standards] (SCNxLEAST32): Likewise.
25501 [C99-based-standards] (PRIdFAST32): Likewise.
25502 [C99-based-standards] (PRIiFAST32): Likewise.
25503 [C99-based-standards] (PRIoFAST32): Likewise.
25504 [C99-based-standards] (PRIuFAST32): Likewise.
25505 [C99-based-standards] (PRIxFAST32): Likewise.
25506 [C99-based-standards] (PRIXFAST32): Likewise.
25507 [C99-based-standards] (SCNdFAST32): Likewise.
25508 [C99-based-standards] (SCNiFAST32): Likewise.
25509 [C99-based-standards] (SCNoFAST32): Likewise.
25510 [C99-based-standards] (SCNuFAST32): Likewise.
25511 [C99-based-standards] (SCNxFAST32): Likewise.
25512 [C99-based-standards] (PRId64): Likewise.
25513 [C99-based-standards] (PRIi64): Likewise.
25514 [C99-based-standards] (PRIo64): Likewise.
25515 [C99-based-standards] (PRIu64): Likewise.
25516 [C99-based-standards] (PRIx64): Likewise.
25517 [C99-based-standards] (PRIX64): Likewise.
25518 [C99-based-standards] (SCNd64): Likewise.
25519 [C99-based-standards] (SCNi64): Likewise.
25520 [C99-based-standards] (SCNo64): Likewise.
25521 [C99-based-standards] (SCNu64): Likewise.
25522 [C99-based-standards] (SCNx64): Likewise.
25523 [C99-based-standards] (PRIdLEAST64): Likewise.
25524 [C99-based-standards] (PRIiLEAST64): Likewise.
25525 [C99-based-standards] (PRIoLEAST64): Likewise.
25526 [C99-based-standards] (PRIuLEAST64): Likewise.
25527 [C99-based-standards] (PRIxLEAST64): Likewise.
25528 [C99-based-standards] (PRIXLEAST64): Likewise.
25529 [C99-based-standards] (SCNdLEAST64): Likewise.
25530 [C99-based-standards] (SCNiLEAST64): Likewise.
25531 [C99-based-standards] (SCNoLEAST64): Likewise.
25532 [C99-based-standards] (SCNuLEAST64): Likewise.
25533 [C99-based-standards] (SCNxLEAST64): Likewise.
25534 [C99-based-standards] (PRIdFAST64): Likewise.
25535 [C99-based-standards] (PRIiFAST64): Likewise.
25536 [C99-based-standards] (PRIoFAST64): Likewise.
25537 [C99-based-standards] (PRIuFAST64): Likewise.
25538 [C99-based-standards] (PRIxFAST64): Likewise.
25539 [C99-based-standards] (PRIXFAST64): Likewise.
25540 [C99-based-standards] (SCNdFAST64): Likewise.
25541 [C99-based-standards] (SCNiFAST64): Likewise.
25542 [C99-based-standards] (SCNoFAST64): Likewise.
25543 [C99-based-standards] (SCNuFAST64): Likewise.
25544 [C99-based-standards] (SCNxFAST64): Likewise.
25545 [C99-based-standards] (PRIdMAX): Likewise.
25546 [C99-based-standards] (PRIiMAX): Likewise.
25547 [C99-based-standards] (PRIoMAX): Likewise.
25548 [C99-based-standards] (PRIuMAX): Likewise.
25549 [C99-based-standards] (PRIxMAX): Likewise.
25550 [C99-based-standards] (PRIXMAX): Likewise.
25551 [C99-based-standards] (SCNdMAX): Likewise.
25552 [C99-based-standards] (SCNiMAX): Likewise.
25553 [C99-based-standards] (SCNoMAX): Likewise.
25554 [C99-based-standards] (SCNuMAX): Likewise.
25555 [C99-based-standards] (SCNxMAX): Likewise.
25556 [C99-based-standards] (PRIdPTR): Likewise.
25557 [C99-based-standards] (PRIiPTR): Likewise.
25558 [C99-based-standards] (PRIoPTR): Likewise.
25559 [C99-based-standards] (PRIuPTR): Likewise.
25560 [C99-based-standards] (PRIxPTR): Likewise.
25561 [C99-based-standards] (PRIXPTR): Likewise.
25562 [C99-based-standards] (SCNdPTR): Likewise.
25563 [C99-based-standards] (SCNiPTR): Likewise.
25564 [C99-based-standards] (SCNoPTR): Likewise.
25565 [C99-based-standards] (SCNuPTR): Likewise.
25566 [C99-based-standards] (SCNxPTR): Likewise.
25567 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25569 * conform/data/stdint.h-data: Update comments to clarify
25571 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25573 [C99-based standards] (INT8_MAX): Likewise.
25574 [C99-based standards] (INT16_MIN): Likewise.
25575 [C99-based standards] (INT16_MAX): Likewise.
25576 [C99-based standards] (INT32_MIN): Likewise.
25577 [C99-based standards] (INT32_MAX): Likewise.
25578 [C99-based standards] (INT64_MIN): Likewise.
25579 [C99-based standards] (INT64_MAX): Likewise.
25580 [C99-based standards] (UINT8_MAX): Likewise.
25581 [C99-based standards] (UINT16_MAX): Likewise.
25582 [C99-based standards] (UINT32_MAX): Likewise.
25583 [C99-based standards] (UINT64_MAX): Likewise.
25584 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25585 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25586 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25587 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25588 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25589 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25590 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25591 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25592 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25593 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25594 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25595 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25596 [C99-based standards] (INT_FAST8_MIN): Likewise.
25597 [C99-based standards] (INT_FAST8_MAX): Likewise.
25598 [C99-based standards] (INT_FAST16_MIN): Likewise.
25599 [C99-based standards] (INT_FAST16_MAX): Likewise.
25600 [C99-based standards] (INT_FAST32_MIN): Likewise.
25601 [C99-based standards] (INT_FAST32_MAX): Likewise.
25602 [C99-based standards] (INT_FAST64_MIN): Likewise.
25603 [C99-based standards] (INT_FAST64_MAX): Likewise.
25604 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25605 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25606 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25607 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25608 [C99-based standards] (INTPTR_MIN): Likewise.
25609 [C99-based standards] (INTPTR_MAX): Likewise.
25610 [C99-based standards] (UINTPTR_MAX): Likewise.
25611 [C99-based standards] (INTMAX_MIN): Likewise.
25612 [C99-based standards] (INTMAX_MAX): Likewise.
25613 [C99-based standards] (UINTMAX_MAX): Likewise.
25614 [C99-based standards] (PTRDIFF_MIN): Likewise.
25615 [C99-based standards] (PTRDIFF_MAX): Likewise.
25616 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25617 [C99-based standards] (SIZE_MAX): Likewise.
25618 [C99-based standards] (WCHAR_MAX): Likewise.
25619 [C99-based standards] (WINT_MAX): Likewise.
25620 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25621 constraint on value.
25622 [C99-based standards] (WCHAR_MIN): Likewise.
25623 [C99-based standards] (WINT_MIN): Likewise.
25624 [C99-based standards] (*_t): Allow.
25625 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25626 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25627 Include math.h-data and complex.h-data. Remove all expectations
25628 of math.h and complex.h contents.
25629 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25631 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25632 (struct tm): Expect tag.
25633 [C99-based-standards] (wcstof): Expect function.
25634 [C99-based-standards] (wcstold): Likewise.
25635 [C99-based-standards] (wcstoll): Likewise.
25636 [C99-based-standards] (wcstoull): Likewise.
25637 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25638 macro-int-constant. Specify type.
25639 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25640 constraint on value.
25641 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25643 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25645 [ISO C standards]: Do not allow headers.
25646 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25647 wcs[abcdefghijklmnopqrstuvwxyz]*.
25648 [ISO C standards] (*_t): Do not allow.
25649 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25651 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25652 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25654 [ISO C standards]: Do not allow headers.
25655 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25656 is[abcdefghijklmnopqrstuvwxyz]*.
25657 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25658 to[abcdefghijklmnopqrstuvwxyz]*.
25659 [ISO C standards] (*_t): Do not allow.
25660 * conform/data/stdalign.h-data: New file.
25661 * conform/data/stdbool.h-data: Likewise.
25662 * conform/data/stdnoreturn.h-data: Likewise.
25664 2012-11-07 Roland McGrath <roland@hack.frob.com>
25667 * manual/filesys.texi (Directory Entries): Typo fix.
25668 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25670 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25672 * elf/elf.h (EM_AARCH64): New macro.
25673 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25674 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25675 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25676 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25677 (R_AARCH64_TLSDESC): Likewise.
25678 (NT_ARM_TLS): Likewise.
25679 (NT_ARM_HW_BREAK): Likewise.
25680 (NT_ARM_HW_WATCH): Likewise.
25682 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25685 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25686 (__ieee754_powl): Saturate nonzero exponents with absolute value
25687 below 0x1p-79 to +/- 0x1p-79.
25688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25689 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25690 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25691 nonzero exponents with absolute value below 0x1p-32 to +/-
25693 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25694 (__ieee754_powl): Saturate nonzero exponents with absolute value
25695 below 0x1p-79 to +/- 0x1p-79.
25696 * math/libm-test.inc (pow_test): Add more tests.
25698 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25700 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25701 _dl_s390_cap_flags with kernel. Increase string length.
25702 (_dl_s390_platforms): Add z196 and zEC12.
25704 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25706 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25707 Change XOPEN21K to XOPEN2K.
25709 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25711 * string/memmove.c: Use memcpy when possible.
25713 2012-11-06 Andreas Jaeger <aj@suse.de>
25715 * po/eo.po: Update from translation team.
25717 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25721 exponent and small x and y exponents, scale x or y up. Increase
25722 by 2 the exponent used in scaling up.
25723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25725 * math/libm-test.inc (fma_test): Add more tests.
25726 (fma_test_towardzero): Likewise.
25727 (fma_test_downward): Likewise.
25728 (fma_test_upward): Likewise.
25730 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25733 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25737 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25738 namespace for names of struct fields.
25739 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25741 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25742 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25744 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25747 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25749 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25751 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25755 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25758 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25762 definitely overflow as x * y not x * y + z.
25763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25765 * math/libm-test.inc (fma_test): Add more tests.
25766 (fma_test_towardzero): Likewise.
25767 (fma_test_downward): Likewise.
25768 (fma_test_upward): Likewise.
25770 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25774 * include/stub-tag.h: Remove file.
25775 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25777 * manual/maint.texi (Porting): Don't reference it.
25778 * Makerules ($(objpfx)stubs): Likewise.
25779 * dirent/closedir.c: Don't include <stub-tag.h>.
25780 * dirent/dirfd.c: Likewise.
25781 * dirent/fdopendir.c: Likewise.
25782 * dirent/getdents.c: Likewise.
25783 * dirent/getdents64.c: Likewise.
25784 * dirent/opendir.c: Likewise.
25785 * dirent/readdir.c: Likewise.
25786 * dirent/readdir64.c: Likewise.
25787 * dirent/readdir64_r.c: Likewise.
25788 * dirent/readdir_r.c: Likewise.
25789 * dirent/rewinddir.c: Likewise.
25790 * dirent/seekdir.c: Likewise.
25791 * dirent/telldir.c: Likewise.
25792 * gmon/profil.c: Likewise.
25793 * grp/setgroups.c: Likewise.
25794 * inet/if_index.c: Likewise.
25795 * io/access.c: Likewise.
25796 * io/chdir.c: Likewise.
25797 * io/chmod.c: Likewise.
25798 * io/chown.c: Likewise.
25799 * io/close.c: Likewise.
25800 * io/dup.c: Likewise.
25801 * io/dup2.c: Likewise.
25802 * io/dup3.c: Likewise.
25803 * io/euidaccess.c: Likewise.
25804 * io/faccessat.c: Likewise.
25805 * io/fchdir.c: Likewise.
25806 * io/fchmod.c: Likewise.
25807 * io/fchmodat.c: Likewise.
25808 * io/fchown.c: Likewise.
25809 * io/fchownat.c: Likewise.
25810 * io/fcntl.c: Likewise.
25811 * io/flock.c: Likewise.
25812 * io/fstatfs.c: Likewise.
25813 * io/fstatfs64.c: Likewise.
25814 * io/fstatvfs.c: Likewise.
25815 * io/fstatvfs64.c: Likewise.
25816 * io/futimens.c: Likewise.
25817 * io/fxstat.c: Likewise.
25818 * io/fxstat64.c: Likewise.
25819 * io/fxstatat.c: Likewise.
25820 * io/fxstatat64.c: Likewise.
25821 * io/getcwd.c: Likewise.
25822 * io/isatty.c: Likewise.
25823 * io/lchmod.c: Likewise.
25824 * io/lchown.c: Likewise.
25825 * io/link.c: Likewise.
25826 * io/linkat.c: Likewise.
25827 * io/lseek.c: Likewise.
25828 * io/lseek64.c: Likewise.
25829 * io/lxstat64.c: Likewise.
25830 * io/mkdir.c: Likewise.
25831 * io/mkdirat.c: Likewise.
25832 * io/mkfifo.c: Likewise.
25833 * io/mkfifoat.c: Likewise.
25834 * io/open.c: Likewise.
25835 * io/open64.c: Likewise.
25836 * io/openat.c: Likewise.
25837 * io/openat64.c: Likewise.
25838 * io/pipe.c: Likewise.
25839 * io/pipe2.c: Likewise.
25840 * io/poll.c: Likewise.
25841 * io/posix_fadvise.c: Likewise.
25842 * io/posix_fadvise64.c: Likewise.
25843 * io/posix_fallocate.c: Likewise.
25844 * io/posix_fallocate64.c: Likewise.
25845 * io/read.c: Likewise.
25846 * io/readlink.c: Likewise.
25847 * io/readlinkat.c: Likewise.
25848 * io/rmdir.c: Likewise.
25849 * io/sendfile.c: Likewise.
25850 * io/sendfile64.c: Likewise.
25851 * io/statfs.c: Likewise.
25852 * io/statfs64.c: Likewise.
25853 * io/statvfs.c: Likewise.
25854 * io/statvfs64.c: Likewise.
25855 * io/symlink.c: Likewise.
25856 * io/symlinkat.c: Likewise.
25857 * io/ttyname.c: Likewise.
25858 * io/ttyname_r.c: Likewise.
25859 * io/umask.c: Likewise.
25860 * io/unlink.c: Likewise.
25861 * io/unlinkat.c: Likewise.
25862 * io/utime.c: Likewise.
25863 * io/utimensat.c: Likewise.
25864 * io/write.c: Likewise.
25865 * io/xmknod.c: Likewise.
25866 * io/xmknodat.c: Likewise.
25867 * io/xstat.c: Likewise.
25868 * io/xstat64.c: Likewise.
25869 * login/getpt.c: Likewise.
25870 * login/grantpt.c: Likewise.
25871 * login/unlockpt.c: Likewise.
25872 * math/e_acoshl.c: Likewise.
25873 * math/e_acosl.c: Likewise.
25874 * math/e_asinl.c: Likewise.
25875 * math/e_atan2l.c: Likewise.
25876 * math/e_atanhl.c: Likewise.
25877 * math/e_coshl.c: Likewise.
25878 * math/e_expl.c: Likewise.
25879 * math/e_fmodl.c: Likewise.
25880 * math/e_gammal_r.c: Likewise.
25881 * math/e_hypotl.c: Likewise.
25882 * math/e_j0l.c: Likewise.
25883 * math/e_j1l.c: Likewise.
25884 * math/e_jnl.c: Likewise.
25885 * math/e_lgammal_r.c: Likewise.
25886 * math/e_log10l.c: Likewise.
25887 * math/e_log2l.c: Likewise.
25888 * math/e_logl.c: Likewise.
25889 * math/e_powl.c: Likewise.
25890 * math/e_rem_pio2l.c: Likewise.
25891 * math/e_sinhl.c: Likewise.
25892 * math/e_sqrtl.c: Likewise.
25893 * math/fclrexcpt.c: Likewise.
25894 * math/fedisblxcpt.c: Likewise.
25895 * math/feenablxcpt.c: Likewise.
25896 * math/fegetenv.c: Likewise.
25897 * math/fegetexcept.c: Likewise.
25898 * math/fegetround.c: Likewise.
25899 * math/feholdexcpt.c: Likewise.
25900 * math/fesetenv.c: Likewise.
25901 * math/fesetround.c: Likewise.
25902 * math/feupdateenv.c: Likewise.
25903 * math/fgetexcptflg.c: Likewise.
25904 * math/fraiseexcpt.c: Likewise.
25905 * math/fsetexcptflg.c: Likewise.
25906 * math/ftestexcept.c: Likewise.
25907 * math/k_cosl.c: Likewise.
25908 * math/k_rem_pio2l.c: Likewise.
25909 * math/k_sinl.c: Likewise.
25910 * math/k_tanl.c: Likewise.
25911 * math/s_asinhl.c: Likewise.
25912 * math/s_atanl.c: Likewise.
25913 * math/s_cbrtl.c: Likewise.
25914 * math/s_erfl.c: Likewise.
25915 * math/s_expm1l.c: Likewise.
25916 * math/s_log1pl.c: Likewise.
25917 * math/s_tanhl.c: Likewise.
25918 * misc/acct.c: Likewise.
25919 * misc/brk.c: Likewise.
25920 * misc/chflags.c: Likewise.
25921 * misc/chroot.c: Likewise.
25922 * misc/fchflags.c: Likewise.
25923 * misc/fgetxattr.c: Likewise.
25924 * misc/flistxattr.c: Likewise.
25925 * misc/fremovexattr.c: Likewise.
25926 * misc/fsetxattr.c: Likewise.
25927 * misc/fsync.c: Likewise.
25928 * misc/ftruncate.c: Likewise.
25929 * misc/futimes.c: Likewise.
25930 * misc/futimesat.c: Likewise.
25931 * misc/getdomain.c: Likewise.
25932 * misc/getdtsz.c: Likewise.
25933 * misc/gethostid.c: Likewise.
25934 * misc/gethostname.c: Likewise.
25935 * misc/getloadavg.c: Likewise.
25936 * misc/getpagesize.c: Likewise.
25937 * misc/getsysstats.c: Likewise.
25938 * misc/getxattr.c: Likewise.
25939 * misc/gtty.c: Likewise.
25940 * misc/ioctl.c: Likewise.
25941 * misc/lgetxattr.c: Likewise.
25942 * misc/listxattr.c: Likewise.
25943 * misc/llistxattr.c: Likewise.
25944 * misc/lremovexattr.c: Likewise.
25945 * misc/lsetxattr.c: Likewise.
25946 * misc/lutimes.c: Likewise.
25947 * misc/madvise.c: Likewise.
25948 * misc/mincore.c: Likewise.
25949 * misc/mlock.c: Likewise.
25950 * misc/mlockall.c: Likewise.
25951 * misc/mmap.c: Likewise.
25952 * misc/mprotect.c: Likewise.
25953 * misc/msync.c: Likewise.
25954 * misc/munlock.c: Likewise.
25955 * misc/munlockall.c: Likewise.
25956 * misc/munmap.c: Likewise.
25957 * misc/preadv.c: Likewise.
25958 * misc/preadv64.c: Likewise.
25959 * misc/ptrace.c: Likewise.
25960 * misc/pwritev.c: Likewise.
25961 * misc/pwritev64.c: Likewise.
25962 * misc/readv.c: Likewise.
25963 * misc/reboot.c: Likewise.
25964 * misc/remap_file_pages.c: Likewise.
25965 * misc/removexattr.c: Likewise.
25966 * misc/revoke.c: Likewise.
25967 * misc/select.c: Likewise.
25968 * misc/setdomain.c: Likewise.
25969 * misc/setegid.c: Likewise.
25970 * misc/seteuid.c: Likewise.
25971 * misc/sethostid.c: Likewise.
25972 * misc/sethostname.c: Likewise.
25973 * misc/setregid.c: Likewise.
25974 * misc/setreuid.c: Likewise.
25975 * misc/setxattr.c: Likewise.
25976 * misc/sstk.c: Likewise.
25977 * misc/stty.c: Likewise.
25978 * misc/swapoff.c: Likewise.
25979 * misc/swapon.c: Likewise.
25980 * misc/sync.c: Likewise.
25981 * misc/syncfs.c: Likewise.
25982 * misc/syscall.c: Likewise.
25983 * misc/truncate.c: Likewise.
25984 * misc/ualarm.c: Likewise.
25985 * misc/usleep.c: Likewise.
25986 * misc/ustat.c: Likewise.
25987 * misc/utimes.c: Likewise.
25988 * misc/vhangup.c: Likewise.
25989 * misc/writev.c: Likewise.
25990 * posix/_exit.c: Likewise.
25991 * posix/alarm.c: Likewise.
25992 * posix/execve.c: Likewise.
25993 * posix/fexecve.c: Likewise.
25994 * posix/fork.c: Likewise.
25995 * posix/fpathconf.c: Likewise.
25996 * posix/getaddrinfo.c: Likewise.
25997 * posix/getegid.c: Likewise.
25998 * posix/geteuid.c: Likewise.
25999 * posix/getgid.c: Likewise.
26000 * posix/getgroups.c: Likewise.
26001 * posix/getlogin.c: Likewise.
26002 * posix/getlogin_r.c: Likewise.
26003 * posix/getpgid.c: Likewise.
26004 * posix/getpid.c: Likewise.
26005 * posix/getppid.c: Likewise.
26006 * posix/getresgid.c: Likewise.
26007 * posix/getresuid.c: Likewise.
26008 * posix/getsid.c: Likewise.
26009 * posix/getuid.c: Likewise.
26010 * posix/glob64.c: Likewise.
26011 * posix/nanosleep.c: Likewise.
26012 * posix/pathconf.c: Likewise.
26013 * posix/pause.c: Likewise.
26014 * posix/posix_madvise.c: Likewise.
26015 * posix/pread.c: Likewise.
26016 * posix/pread64.c: Likewise.
26017 * posix/pwrite.c: Likewise.
26018 * posix/pwrite64.c: Likewise.
26019 * posix/sched_getaffinity.c: Likewise.
26020 * posix/sched_getp.c: Likewise.
26021 * posix/sched_gets.c: Likewise.
26022 * posix/sched_primax.c: Likewise.
26023 * posix/sched_primin.c: Likewise.
26024 * posix/sched_rr_gi.c: Likewise.
26025 * posix/sched_setaffinity.c: Likewise.
26026 * posix/sched_setp.c: Likewise.
26027 * posix/sched_sets.c: Likewise.
26028 * posix/sched_yield.c: Likewise.
26029 * posix/setgid.c: Likewise.
26030 * posix/setlogin.c: Likewise.
26031 * posix/setpgid.c: Likewise.
26032 * posix/setresgid.c: Likewise.
26033 * posix/setresuid.c: Likewise.
26034 * posix/setsid.c: Likewise.
26035 * posix/setuid.c: Likewise.
26036 * posix/sleep.c: Likewise.
26037 * posix/spawni.c: Likewise.
26038 * posix/sysconf.c: Likewise.
26039 * posix/times.c: Likewise.
26040 * posix/wait.c: Likewise.
26041 * posix/wait3.c: Likewise.
26042 * posix/wait4.c: Likewise.
26043 * posix/waitpid.c: Likewise.
26044 * resolv/gai_sigqueue.c: Likewise.
26045 * resource/getpriority.c: Likewise.
26046 * resource/getrlimit.c: Likewise.
26047 * resource/getrusage.c: Likewise.
26048 * resource/nice.c: Likewise.
26049 * resource/setpriority.c: Likewise.
26050 * resource/setrlimit.c: Likewise.
26051 * resource/ulimit.c: Likewise.
26052 * rt/aio_cancel.c: Likewise.
26053 * rt/aio_fsync.c: Likewise.
26054 * rt/aio_read.c: Likewise.
26055 * rt/aio_sigqueue.c: Likewise.
26056 * rt/aio_suspend.c: Likewise.
26057 * rt/aio_write.c: Likewise.
26058 * rt/clock_getres.c: Likewise.
26059 * rt/clock_gettime.c: Likewise.
26060 * rt/clock_nanosleep.c: Likewise.
26061 * rt/clock_settime.c: Likewise.
26062 * rt/lio_listio.c: Likewise.
26063 * rt/mq_close.c: Likewise.
26064 * rt/mq_getattr.c: Likewise.
26065 * rt/mq_notify.c: Likewise.
26066 * rt/mq_open.c: Likewise.
26067 * rt/mq_receive.c: Likewise.
26068 * rt/mq_send.c: Likewise.
26069 * rt/mq_setattr.c: Likewise.
26070 * rt/mq_timedreceive.c: Likewise.
26071 * rt/mq_timedsend.c: Likewise.
26072 * rt/mq_unlink.c: Likewise.
26073 * rt/shm_open.c: Likewise.
26074 * rt/shm_unlink.c: Likewise.
26075 * rt/timer_create.c: Likewise.
26076 * rt/timer_delete.c: Likewise.
26077 * rt/timer_getoverr.c: Likewise.
26078 * rt/timer_gettime.c: Likewise.
26079 * rt/timer_settime.c: Likewise.
26080 * setjmp/__longjmp.c: Likewise.
26081 * setjmp/setjmp.c: Likewise.
26082 * signal/kill.c: Likewise.
26083 * signal/killpg.c: Likewise.
26084 * signal/raise.c: Likewise.
26085 * signal/sigaction.c: Likewise.
26086 * signal/sigaltstack.c: Likewise.
26087 * signal/sigblock.c: Likewise.
26088 * signal/sigignore.c: Likewise.
26089 * signal/sigintr.c: Likewise.
26090 * signal/signal.c: Likewise.
26091 * signal/sigpause.c: Likewise.
26092 * signal/sigpending.c: Likewise.
26093 * signal/sigqueue.c: Likewise.
26094 * signal/sigreturn.c: Likewise.
26095 * signal/sigset.c: Likewise.
26096 * signal/sigsetmask.c: Likewise.
26097 * signal/sigstack.c: Likewise.
26098 * signal/sigsuspend.c: Likewise.
26099 * signal/sigtimedwait.c: Likewise.
26100 * signal/sigvec.c: Likewise.
26101 * signal/sigwait.c: Likewise.
26102 * signal/sigwaitinfo.c: Likewise.
26103 * signal/sysv_signal.c: Likewise.
26104 * socket/accept.c: Likewise.
26105 * socket/accept4.c: Likewise.
26106 * socket/bind.c: Likewise.
26107 * socket/connect.c: Likewise.
26108 * socket/getpeername.c: Likewise.
26109 * socket/getsockname.c: Likewise.
26110 * socket/getsockopt.c: Likewise.
26111 * socket/isfdtype.c: Likewise.
26112 * socket/listen.c: Likewise.
26113 * socket/recv.c: Likewise.
26114 * socket/recvfrom.c: Likewise.
26115 * socket/recvmsg.c: Likewise.
26116 * socket/send.c: Likewise.
26117 * socket/sendmsg.c: Likewise.
26118 * socket/sendto.c: Likewise.
26119 * socket/setsockopt.c: Likewise.
26120 * socket/shutdown.c: Likewise.
26121 * socket/sockatmark.c: Likewise.
26122 * socket/socket.c: Likewise.
26123 * socket/socketpair.c: Likewise.
26124 * stdio-common/ctermid.c: Likewise.
26125 * stdio-common/cuserid.c: Likewise.
26126 * stdio-common/remove.c: Likewise.
26127 * stdio-common/rename.c: Likewise.
26128 * stdio-common/renameat.c: Likewise.
26129 * stdio-common/tempname.c: Likewise.
26130 * stdlib/getcontext.c: Likewise.
26131 * stdlib/makecontext.c: Likewise.
26132 * stdlib/setcontext.c: Likewise.
26133 * stdlib/swapcontext.c: Likewise.
26134 * stdlib/system.c: Likewise.
26135 * streams/fattach.c: Likewise.
26136 * streams/fdetach.c: Likewise.
26137 * streams/getmsg.c: Likewise.
26138 * streams/getpmsg.c: Likewise.
26139 * streams/putmsg.c: Likewise.
26140 * streams/putpmsg.c: Likewise.
26141 * sysdeps/unix/bsd/getpt.c: Likewise.
26142 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26143 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26144 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26147 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26148 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26149 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26150 * sysvipc/msgctl.c: Likewise.
26151 * sysvipc/msgget.c: Likewise.
26152 * sysvipc/msgrcv.c: Likewise.
26153 * sysvipc/msgsnd.c: Likewise.
26154 * sysvipc/semctl.c: Likewise.
26155 * sysvipc/semget.c: Likewise.
26156 * sysvipc/semop.c: Likewise.
26157 * sysvipc/semtimedop.c: Likewise.
26158 * sysvipc/shmat.c: Likewise.
26159 * sysvipc/shmctl.c: Likewise.
26160 * sysvipc/shmdt.c: Likewise.
26161 * sysvipc/shmget.c: Likewise.
26162 * termios/tcdrain.c: Likewise.
26163 * termios/tcflow.c: Likewise.
26164 * termios/tcflush.c: Likewise.
26165 * termios/tcgetattr.c: Likewise.
26166 * termios/tcgetpgrp.c: Likewise.
26167 * termios/tcsendbrk.c: Likewise.
26168 * termios/tcsetattr.c: Likewise.
26169 * termios/tcsetpgrp.c: Likewise.
26170 * time/adjtime.c: Likewise.
26171 * time/clock.c: Likewise.
26172 * time/getitimer.c: Likewise.
26173 * time/gettimeofday.c: Likewise.
26174 * time/setitimer.c: Likewise.
26175 * time/settimeofday.c: Likewise.
26176 * time/stime.c: Likewise.
26177 * time/time.c: Likewise.
26179 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26181 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26184 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26186 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26188 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26192 FE_TONEAREST before applying Dekker multiplication and Knuth
26193 addition. Clear inexact exceptions and check for exact zero
26194 results afterwards.
26195 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26196 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26198 * math/libm-test.inc (fma_test): Add more tests.
26199 (fma_test_towardzero): Likewise.
26200 (fma_test_downward): Likewise.
26201 (fma_test_upward): Likewise.
26202 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26204 (libc_fesetround): New macro.
26205 (libc_fesetroundf): Likewise.
26206 (libc_fesetroundl): Likewise.
26207 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26209 (libc_fesetround_387): Likewise.
26210 (libc_fesetroundf): New macro.
26211 (libc_fesetround): Likewise.
26212 (libc_fesetroundl): Likewise.
26213 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26215 (libc_fesetroundf): New macro.
26216 (libc_fesetround): Likewise.
26217 (libc_fesetroundl): Likewise.
26218 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26219 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26220 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26222 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26223 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26225 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26226 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26228 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26232 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26233 integer constant usable in #if and use that to give value to enum
26235 (FE_DIVBYZERO): Likewise.
26236 (FE_UNDERFLOW): Likewise.
26237 (FE_OVERFLOW): Likewise.
26238 (FE_INVALID): Likewise.
26239 (FE_INVALID_SNAN): Likewise.
26240 (FE_INVALID_ISI): Likewise.
26241 (FE_INVALID_IDI): Likewise.
26242 (FE_INVALID_ZDZ): Likewise.
26243 (FE_INVALID_IMZ): Likewise.
26244 (FE_INVALID_COMPARE): Likewise.
26245 (FE_INVALID_SOFTWARE): Likewise.
26246 (FE_INVALID_SQRT): Likewise.
26247 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26248 (FE_TONEAREST): Likewise.
26249 (FE_TOWARDZERO): Likewise.
26250 (FE_UPWARD): Likewise.
26251 (FE_DOWNWARD): Likewise.
26252 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26253 (FE_DIVBYZERO): Likewise.
26254 (FE_OVERFLOW): Likewise.
26255 (FE_UNDERFLOW): Likewise.
26256 (FE_INEXACT): Likewise.
26257 (FE_TONEAREST): Likewise.
26258 (FE_DOWNWARD): Likewise.
26259 (FE_UPWARD): Likewise.
26260 (FE_TOWARDZERO): Likewise.
26261 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26262 (FE_UNDERFLOW): Likewise.
26263 (FE_OVERFLOW): Likewise.
26264 (FE_DIVBYZERO): Likewise.
26265 (FE_INVALID): Likewise.
26266 (FE_TONEAREST): Likewise.
26267 (FE_TOWARDZERO): Likewise.
26268 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26269 (FE_OVERFLOW): Likewise.
26270 (FE_UNDERFLOW): Likewise.
26271 (FE_DIVBYZERO): Likewise.
26272 (FE_INEXACT): Likewise.
26273 (FE_TONEAREST): Likewise.
26274 (FE_TOWARDZERO): Likewise.
26275 (FE_UPWARD): Likewise.
26276 (FE_DOWNWARD): Likewise.
26277 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26278 (FE_DIVBYZERO): Likewise.
26279 (FE_OVERFLOW): Likewise.
26280 (FE_UNDERFLOW): Likewise.
26281 (FE_INEXACT): Likewise.
26282 (FE_TONEAREST): Likewise.
26283 (FE_DOWNWARD): Likewise.
26284 (FE_UPWARD): Likewise.
26285 (FE_TOWARDZERO): Likewise.
26287 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26289 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26291 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26293 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26294 commands. Quote $PWD.
26295 (blacklist_exports): Don't use remove_newlines. Replace "declare
26297 (remove_newlines): Remove.
26299 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26301 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26302 * stdlib/stdlib.h (atof): Moved to ...
26303 * include/bits/stdlib-float.h: Here. New file.
26304 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26305 * stdlib/bits/stdlib-float.h: New file.
26306 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26308 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26311 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26313 * conform/conformtest.pl (@headers): Add fenv.h.
26314 * conform/data/fenv.h-data: New file.
26315 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26316 include of <math/fenv.h>.
26318 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26319 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26320 && !UNIX98]. Enables tests for XOPEN2K8.
26321 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26322 POSIX2008]: Likewise.
26324 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26325 (struct rusage): Do not expect type or its members.
26328 * math/math.h (FP_NAN): Define macro to integer constant usable in
26329 #if and use that to give value to enum constant.
26330 (FP_INFINITE): Likewise.
26331 (FP_ZERO): Likewise.
26332 (FP_SUBNORMAL): Likewise.
26333 (FP_NORMAL): Likewise.
26335 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26337 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26338 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26341 2012-11-02 Roland McGrath <roland@hack.frob.com>
26343 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26344 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26345 autoconf-time if not.
26346 * configure.in: Remove AC_PREREQ.
26348 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26350 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26351 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26352 of the internal implementation.
26354 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26356 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26357 except include of <misc/sys/syslog.h>.
26359 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26362 function returns with a NULL context exit with zero.
26364 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26366 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26368 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26370 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26371 (run_program_cmd): This.
26372 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26373 (tst_langinfo): New variable. Use it.
26375 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26377 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26378 floating point opcodes.
26380 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26382 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26385 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26387 * sysdeps/mach/hurd/powerpc: Remove directory.
26388 * sysdeps/mach/powerpc: Likewise.
26390 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26392 * scripts/check-local-headers.sh: Ignore c++ headers.
26394 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26396 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26397 __libc_cleanup_region_start argument.
26399 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26404 x * y using scaling, not as x * y + z.
26405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26407 * math/libm-test.inc (fma_test): Add more tests.
26408 (fma_test_towardzero): Likewise.
26409 (fma_test_downward): Likewise.
26410 (fma_test_upward): Likewise.
26412 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26414 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26416 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26418 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26421 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26423 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26425 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26432 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26435 Fix the order of the list for glibc 2.17.
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26439 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26443 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26446 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26447 for low part of x being zero before using __atanl (y).
26448 * math/libm-test.inc (atan2_test): Add another test.
26450 * manual/install.texi (Configuring and compiling): Document
26451 general use of test-wrapper and test-wrapper-env.
26452 * INSTALL: Regenerated.
26454 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26455 (__fma): Do not extract and scale down low bits on after-rounding
26456 systems when result rounded to normal precision would have normal
26458 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26459 (__fmal): Do not extract and scale down low bits on after-rounding
26460 systems when result rounded to normal precision would have normal
26462 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26463 (__fmal): Do not extract and scale down low bits on after-rounding
26464 systems when result rounded to normal precision would have normal
26466 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26468 (fma_test): Add more tests.
26469 (fma_test_towardzero): Likewise.
26470 (fma_test_downward): Likewise.
26471 (fma_test_upward): Likewise.
26473 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26475 * sysdeps/i386/tininess.h: Renamed to ...
26476 * sysdeps/x86/tininess.h: This.
26477 * sysdeps/x86_64/tininess.h: Removed.
26479 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26481 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26482 input. Use $(build-program-cmd).
26483 ($(objpfx)tst-array1-static.out): Likewise.
26484 ($(objpfx)tst-array2.out): Likewise.
26485 ($(objpfx)tst-array3.out): Likewise.
26486 ($(objpfx)tst-array4.out): Likewise.
26487 ($(objpfx)tst-array5.out): Likewise.
26488 ($(objpfx)tst-array5-static.out): Likewise.
26490 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26492 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26495 * nss/nsswitch.h (nss_interface_function): Provide new
26496 macro for use with NSS functions.
26497 * grp/initgroups.c: Use new macro.
26498 * nss/getXXbyYY.c: Likewise.
26499 * nss/getXXbyYY_r.c: Likewise.
26500 * nss/getXXent.c: Likewise.
26501 * nss/getXXent_r.c: Likewise.
26502 * sysdeps/posix/getaddrinfo.c: Likewise.
26504 2012-10-30 Andreas Jaeger <aj@suse.de>
26506 * po/ru.po: Update Russion translation from translation project.
26508 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26513 result and shift together with sticky bit instead of replicating
26514 round-to-nearest rounding.
26515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26517 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26518 missing underflow exceptions.
26519 (fma_test_towardzero): Add more tests.
26520 (fma_test_downward): Likewise.
26521 (fma_test_upward): Likewise.
26524 * sysdeps/generic/tininess.h: New file.
26525 * sysdeps/i386/tininess.h: Likewise.
26526 * sysdeps/sh/tininess.h: Likewise.
26527 * sysdeps/x86_64/tininess.h: Likewise.
26528 * stdlib/tst-strtod-underflow.c: Likewise.
26529 * stdlib/tst-tininess.c: Likewise.
26530 * stdlib/strtod_l.c: Include <tininess.h>.
26531 (round_and_return): Do not set errno for exact underflow cases.
26532 Force an underflow exception when setting errno for underflow.
26533 Determine underflow based on rounding to normal precision if
26534 TININESS_AFTER_ROUNDING.
26535 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26536 ERANGE for exact underflow cases.
26537 * stdlib/Makefile (tests): Add tst-tininess and
26538 tst-strtod-underflow.
26539 ($(objpfx)tst-tininess): Use $(link-libm).
26540 ($(objpfx)tst-strtod-underflow): Likewise.
26542 2012-10-30 Andreas Jaeger <aj@suse.de>
26545 * elf/Makefile (tests): Remove conditional for have-initfini-array
26546 since this is now always required and the variable does not exist
26548 (tests-static): Likewise.
26549 (modules-names): Likewise.
26551 * po/eo.po: Add Esperanto translation from translation project.
26553 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26554 merged with constructor/destructor.
26555 (init_array): Likewise.
26556 * elf/tst-array2dep.c (fini_array): Likewise.
26557 (init_array): Likewise.
26559 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26561 * manual/message.texi: Delete @cartouche tags.
26563 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26565 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26567 * sysdeps/mach/hurd/fsync.c: Likewise.
26569 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26570 [_POSIX_REALTIME_SIGNALS]: Change condition to
26571 [_POSIX_REALTIME_SIGNALS > 0].
26573 2012-10-27 Andreas Jaeger <aj@suse.de>
26575 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26576 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26578 [__WORDSIZE != 64]: Likewise.
26580 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26582 * iconvdata/tst-table.sh: Remove ${SHELL}.
26583 * iconvdata/tst-tables.sh: Likewise.
26585 2012-10-25 David S. Miller <davem@davemloft.net>
26587 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26588 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26593 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26594 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26595 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26598 2012-10-25 Roland McGrath <roland@hack.frob.com>
26600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26601 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26604 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26605 Jim Blandy <jimb@codesourcery.com>
26607 * scripts/cross-test-ssh.sh: New file.
26608 * manual/install.texi (Configuring and compiling): Document use of
26610 * INSTALL: Regenerated.
26612 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26614 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26617 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26619 * Makeconfig (run-program-prefix): Fix comment.
26621 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26622 Jim Blandy <jimb@codesourcery.com>
26624 * Makeconfig (test-wrapper): New variable,
26625 (test-wrapper-env): Likewise.
26626 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26627 (run-built-tests): Define to yes.
26628 (run-program-prefix): Use $(test-wrapper).
26629 (built-program-cmd): Likewise.
26630 * Rules (make-test-out): Use $(test-wrapper-env) and
26631 $(host-built-program-cmd).
26632 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26633 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26635 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26636 $(test-wrapper-env) to tst-rtld-load-self.sh.
26637 ($(objpfx)order2.out): Use $(test-wrapper).
26638 ($(objpfx)tst-initorder.out): Likewise.
26639 ($(objpfx)tst-initorder2.out): Likewise.
26640 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26641 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26642 (test_wrapper_env): New variable. Use it to run ld.so.
26643 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26644 Use it to run ld.so.
26645 (test_wrapper_env): Likewise.
26646 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26647 $(test-wrapper) to run-iconv-test.sh.
26648 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26649 (ICONV): Use $test_wrapper.
26650 * posix/Makefile ($(objpfx)globtest.out): Pass
26651 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26652 globtest.sh, not $(run-program-prefix).
26653 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26654 (test_wrapper): Likewise.
26655 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26656 set together with run_via_rtld_prefix.
26657 (run_program_prefix): Define in terms of test_wrapper and
26658 run_via_rtld_prefix.
26660 2012-10-24 Roland McGrath <roland@hack.frob.com>
26662 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26663 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26667 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26668 Declare __clock_getres, __clock_gettime, __clock_settime,
26669 __clock_nanosleep, and __clock_getcpuclockid.
26670 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26671 Remove librt_hidden_def (clock_gettime).
26672 * sysdeps/unix/clock_gettime.c: Likewise.
26673 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26675 * rt/clock_getres.c: Define __clock_getres as an alias.
26676 * sysdeps/posix/clock_getres.c: Likewise.
26677 * rt/clock_settime.c: Define __clock_settime as an alias.
26678 * sysdeps/unix/clock_settime.c: Likewise.
26679 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26680 * sysdeps/unix/clock_nanosleep.c: Likewise.
26681 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26682 * rt/clock-compat.c: New file.
26683 * rt/Makefile (librt-routines): Add clock-compat and move
26684 $(clock-routines) to ...
26685 (routines): ... here, new variable.
26686 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26687 Don't add get_clockfreq here.
26688 * rt/Versions (libc: GLIBC_2.17): New version set.
26689 Add clock_* symbols here.
26690 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26692 (GLIBC_2.17): Add clock_* symbols.
26693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26704 * NEWS: Mention the move.
26706 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26707 Use __open, __read, __close rather than their public counterparts.
26708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26709 (__get_clockfreq_via_cpuinfo): Likewise.
26710 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26711 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26713 * config.h.in (HAVE_IFUNC): New #undef.
26714 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26716 * configure: Regenerated.
26718 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26720 * configure.in: Move READELF check to start of file.
26721 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26722 libc_cv_asm_gnu_indirect_function in the process.
26723 * configure: Regenerated.
26725 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26727 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26728 send the output to /dev/null.
26729 (libc_cv_cc_with_libunwind): Likewise.
26730 (libc_cv_as_noexecstack): Likewise.
26731 * configure: Regenerate.
26733 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26735 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26737 * posix/globtest.sh (TMPDIR): Do not set.
26738 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26739 (testout): Likewise.
26741 2012-10-24 Andreas Jaeger <aj@suse.de>
26743 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26744 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26745 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26746 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26747 posix_fadvise64, posix_fallocate64.
26749 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26750 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26751 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26753 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26755 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26758 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26759 <bits/fcntl-linux.h>.
26760 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26763 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26764 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26765 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26766 [__WORDSIZE != 64]: Likewise.
26768 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26770 * Makeconfig (run-built-tests): New variable.
26771 * Rules [$(cross-compiling) = yes]: Change condition to
26772 [$(run-built-tests) = no].
26773 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26774 to [$(run-built-tests) = yes].
26775 * elf/Makefile [$(cross-compiling) = no]: Likewise
26776 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26777 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26778 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26779 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26780 * io/Makefile [$(cross-compiling) = no]: Likewise.
26781 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26782 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26783 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26784 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26785 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26786 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26787 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26788 * string/Makefile [$(cross-compiling) = no]: Likewise.
26790 * posix/Makefile ($(objpfx)globtest.out): Pass
26791 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26792 $(rtld-installed-name).
26793 * posix/globtest.sh (elf_objpfx): Remove variable.
26794 (rtld_installed_name): Likewise.
26795 (library_path): Likewise.
26796 (run_program_prefix): New variable. Use for running globtest
26799 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26800 Joseph Myers <joseph@codesourcery.com>
26802 * Makeconfig (host-built-program-cmd): New variable.
26803 * elf/Makefile (tst-stackguard1-ARGS): Use
26804 $(host-built-program-cmd).
26805 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26806 (tst-spawn-ARGS): Likewise.
26807 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26809 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26810 Jim Blandy <jimb@codesourcery.com>
26812 * Makeconfig (run-via-rtld-prefix): New variable.
26813 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26814 (built-program-cmd): Likewise.
26816 2012-10-22 Andreas Jaeger <aj@suse.de>
26818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26819 __O_RSYNC if it exists, otherwise to O_SYNC.
26821 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26822 Joseph Myers <joseph@codesourcery.com>
26824 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26826 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26828 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26831 2012-10-22 Andreas Jaeger <aj@suse.de>
26833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26838 bits/fcntl-linux.h.
26840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26841 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26848 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26849 Joseph Myers <joseph@codesourcery.com>
26851 * config.make.in (NM): New variable.
26853 2012-10-21 Andreas Jaeger <aj@suse.de>
26855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26856 definitions and declarations that are provided by
26857 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26859 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26862 * elf/Makefile (tests-static): Add tst-leaks1-static.
26863 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26864 ($(objpfx)tst-leaks1-static): New rule.
26865 ($(objpfx)tst-leaks1-static-mem): Likewise.
26866 (tst-leaks1-static-ENV): New macro.
26867 * elf/dl-open.c (dl_open_worker): Check the main application
26868 only if SHARED is defined.
26869 * elf/tst-leaks1-static.c: New file.
26871 2012-10-20 Andreas Jaeger <aj@suse.de>
26873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26874 generic values for Linux.
26875 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26876 and declarations that are provided by <bits/fcntl-linux.h> and
26877 include <bits/fcntl-linux.h>.
26878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26881 2012-10-20 Roland McGrath <roland@hack.frob.com>
26883 * io/fcntl.h: Move include of <bits/types.h> to the top and
26884 include it unconditionally.
26886 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26888 * wcsmbs/Makefile (tests-ifunc): New variable.
26889 (tests): Add $(tests-ifunc).
26890 * wcsmbs/test-wcschr-ifunc.c: New file.
26891 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26892 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26893 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26894 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26895 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26897 * string/Makefile (tests-ifunc): New variable.
26898 (tests): Add $(tests-ifunc).
26899 * string/test-memccpy.c (TEST_NAME): New macro.
26900 * string/test-memchr.c (TEST_NAME): Likewise.
26901 * string/test-memcmp.c (TEST_NAME): Likewise.
26902 * string/test-memcpy.c (TEST_NAME): Likewise.
26903 * string/test-memmem.c (TEST_NAME): Likewise.
26904 * string/test-memmove.c (TEST_NAME): Likewise.
26905 * string/test-memset.c (TEST_NAME): Likewise.
26906 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26907 * string/test-stpcpy.c (TEST_NAME): Likewise.
26908 * string/test-stpncpy.c (TEST_NAME): Likewise.
26909 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26910 * string/test-strcasestr.c (TEST_NAME): Likewise.
26911 * string/test-strcat.c (TEST_NAME): Likewise.
26912 * string/test-strchr.c (TEST_NAME): Likewise.
26913 * string/test-strcmp.c(TEST_NAME): Likewise.
26914 * string/test-strcpy.c (TEST_NAME): Likewise.
26915 * string/test-strcspn.c (TEST_NAME): Likewise.
26916 * string/test-strlen.c (TEST_NAME): Likewise.
26917 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26918 * string/test-strncmp.c (TEST_NAME): Likewise.
26919 * string/test-strncpy.c (TEST_NAME): Likewise.
26920 * string/test-strnlen.c (TEST_NAME): Likewise.
26921 * string/test-strpbrk.c (TEST_NAME): Likewise.
26922 * string/test-strrchr.c (TEST_NAME): Likewise.
26923 * string/test-strspn.c (TEST_NAME): Likewise.
26924 * string/test-strstr.c (TEST_NAME): Likewise.
26925 * string/test-bcopy-ifunc.c: New file.
26926 * string/test-bzero-ifunc.c: Likewise.
26927 * string/test-memccpy-ifunc.c: Likewise.
26928 * string/test-memchr-ifunc.c: Likewise.
26929 * string/test-memcmp-ifunc.c: Likewise.
26930 * string/test-memcpy-ifunc.c: Likewise.
26931 * string/test-memmem-ifunc.c: Likewise.
26932 * string/test-memmove-ifunc.c: Likewise.
26933 * string/test-mempcpy-ifunc.c: Likewise.
26934 * string/test-memset-ifunc.c: Likewise.
26935 * string/test-rawmemchr-ifunc.c: Likewise.
26936 * string/test-stpcpy-ifunc.c: Likewise.
26937 * string/test-stpncpy-ifunc.c: Likewise.
26938 * string/test-strcasecmp-ifunc.c: Likewise.
26939 * string/test-strcasestr-ifunc.c: Likewise.
26940 * string/test-strcat-ifunc.c: Likewise.
26941 * string/test-strchr-ifunc.c: Likewise.
26942 * string/test-strchrnul-ifunc.c: Likewise.
26943 * string/test-strcmp-ifunc.c: Likewise.
26944 * string/test-strcpy-ifunc.c: Likewise.
26945 * string/test-strcspn-ifunc.c: Likewise.
26946 * string/test-strlen-ifunc.c: Likewise.
26947 * string/test-strncasecmp-ifunc.c: Likewise.
26948 * string/test-strncat-ifunc.c: Likewise.
26949 * string/test-strncmp-ifunc.c: Likewise.
26950 * string/test-strncpy-ifunc.c: Likewise.
26951 * string/test-strnlen-ifunc.c: Likewise.
26952 * string/test-strpbrk-ifunc.c: Likewise.
26953 * string/test-strrchr-ifunc.c: Likewise.
26954 * string/test-strspn-ifunc.c: Likewise.
26955 * string/test-strstr-ifunc.c: Likewise.
26957 * debug/Makefile (tests-ifunc): New variable.
26958 (tests): Add $(tests-ifunc).
26959 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26960 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26961 * debug/test-stpcpy_chk-ifunc.c: New file.
26962 * debug/test-strcpy_chk-ifunc.c: Likewise.
26964 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26967 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26968 header is not read in.
26970 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26972 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26973 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26974 directly. Pass built executable to script as
26975 $(built-program-cmd).
26976 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26977 $testprogram without using LD_LIBRARY_PATH and $ldso.
26979 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26980 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26981 $(rtld-installed-name).
26982 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26983 (rtld_installed_name): Likewise.
26984 (library_path): Likewise.
26985 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26986 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26987 $(run-program-prefix) to tst-tables.sh.
26988 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26989 it to run tst-table-from and tst-table-to.
26990 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26991 Pass it to tst-table.sh.
26992 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26993 $(run-program-prefix) to tst-gettext.sh.
26994 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26996 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26998 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26999 to run tst-gettext.
27000 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27001 to run tst-gettext2.
27002 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27003 to run tst-translit.
27004 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27005 $(run-program-prefix) to tst-mtrace.sh.
27006 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27008 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27009 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27010 $(rtld-installed-name).
27011 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27012 (rtld_installed_name): Likewise.
27013 (run_program_prefix): New variable. Use it to run wordexp-test.
27015 * Makeconfig (ARCH): Remove all definitions.
27016 (machine): Likewise.
27017 [ARCH]: Remove conditional code.
27018 [!objdir]: Give error.
27019 [!objdir] (objpfx): Remove.
27020 [!objdir] (common-objpfx): Likewise.
27021 [!objdir] (common-objdir): Likewise.
27022 * configure.in (config_makefile): Remove. Hardcode Makefile in
27023 AC_CONFIG_FILES call.
27024 * configure: Regenerated.
27027 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27029 (testout): Likewise.
27031 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27032 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27033 $(rtld-installed-name).
27034 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27035 (rtld_installed_name): Likwise.
27036 (runit): Remove function.
27037 (run_getconf): New variable, Use it for running getconf binary.
27039 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27042 * string/test-memmem.c (check_result): New function.
27043 (do_one_test): Use it.
27044 (check1): New function.
27045 (test_main): Use it.
27047 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27049 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27051 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27053 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27054 (_G_LSEEK64): Likewise.
27055 (_G_MMAP64): Likewise.
27056 (_G_FSTAT64): Likewise.
27057 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27058 (_G_LSEEK64): Likewise.
27059 (_G_MMAP64): Likewise.
27060 (_G_FSTAT64): Likewise.
27061 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27062 unconditional. Call __mmap64 directly.
27063 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27064 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27065 __lseek64 directly.
27066 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27067 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27069 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27070 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27071 __lseek64 directly.
27072 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27073 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27074 __lseek64 directly.
27075 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27076 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27077 __lseek64 directly.
27078 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27079 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27080 __fxstat64 directly.
27081 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27082 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27084 (freopen64) [!_G_OPEN64]: Remove conditional code.
27085 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27087 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27088 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27090 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27091 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27093 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27094 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27096 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27097 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27099 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27100 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27102 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27103 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27105 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27107 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27110 * manual/memory.texi (Malloc Tunable Parameters): Add note
27111 about free list pointers overwriting some perturb bytes.
27112 Wording suggested by Roland McGrath.
27114 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27116 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27117 (lgamma_test): Likewise.
27118 (tgamma_test): Likewise.
27120 2012-10-16 Florian Weimer <fweimer@redhat.com>
27123 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27124 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27126 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27128 * NEWS: Mention BZ #14716.
27129 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27130 when removing AVAILABLE1_USES_J macro.
27132 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27134 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27135 (__bswap_64): __uint64_t for unsigned 64-bit int.
27137 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27139 * include/string.h (memmem): Declare libc hidden alias.
27140 * string/memmem.c (memmem): Define libc hidden alias.
27141 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27142 __read, __close instead of open, read, close.
27144 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27147 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27149 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27150 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27151 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27153 (__rawmemchr_sse2): Likewise.
27154 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27155 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27156 (__strchr_sse2): Likewise.
27157 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27158 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27159 (__strcasecmp_sse2): Likewise.
27160 (__strncasecmp_sse2): Likewise.
27161 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27162 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27163 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27164 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27165 (__strrchr_sse2): Likewise.
27166 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27168 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27169 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27170 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27171 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27172 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27173 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27174 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27175 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27176 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27177 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27178 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27179 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27180 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27181 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27182 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27183 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27184 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27185 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27186 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27187 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27188 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27189 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27190 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27191 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27192 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27193 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27194 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27195 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27196 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27197 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27199 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27201 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27202 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27203 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27204 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27206 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27208 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27209 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27210 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27211 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27213 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27214 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27215 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27216 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27217 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27218 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27219 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27220 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27221 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27222 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27223 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27224 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27225 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27226 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27227 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27228 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27229 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27230 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27231 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27232 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27233 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27234 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27235 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27236 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27237 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27238 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27239 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27240 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27241 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27242 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27243 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27244 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27245 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27246 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27247 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27248 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27249 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27250 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27251 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27252 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27253 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27255 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27256 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27257 * include/ifunc-impl-list.h: New file.
27258 * misc/ifunc-impl-list.c: Likewise.
27259 * misc/Makefile (routines): Add ifunc-impl-list.
27260 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27261 * string/test-string.h: Include <ifunc-impl-list.h>.
27262 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27263 TEST_NAME]: New variables.
27264 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27266 (test_init): Call __libc_ifunc_impl_list to initialize
27267 func_list if TEST_IFUNC and TEST_NAME are defined.
27269 * string/Makefile (strop-tests): Add bcopy and bzero.
27270 * string/test-bcopy.c: New file.
27271 * string/test-bzero.c: Likewise.
27272 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27274 * string/test-memset.c: Support bzero test if TEST_BZERO is
27276 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27278 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27280 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27283 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27285 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27286 * configure: Regenerated.
27288 * Makeconfig (+link-static-before-libc): Don't include
27289 $(link-static-libc).
27291 * libio/libio.h (_IO_pos_t): Remove.
27293 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27295 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27298 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27300 * crypt/crypt-entry.c: Include fips-private.h.
27301 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27302 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27303 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27304 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27306 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27308 * crypt/crypt-private.h: Include stdbool.h.
27309 (_ufc_setup_salt_r): Return bool.
27310 * crypt/crypt-entry.c: Include errno.h.
27311 (__crypt_r): Return NULL with EINVAL for bad salt.
27312 * crypt/crypt_util.c (bad_for_salt): New.
27313 (_ufc_setup_salt_r): Check that salt is long enough and within
27314 the specified alphabet.
27315 * crypt/badsalttest.c: New file.
27316 * crypt/Makefile (tests): Add it.
27317 ($(objpfx)badsalttest): New.
27319 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27321 * NEWS: Add entry for BZ #14602.
27323 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27325 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27327 * math/libm-test.inc: Update comment listing what functions and
27329 (isgreater_test): New function.
27330 (isgreaterequal_test): Likewise.
27331 (isless_test): Likewise.
27332 (islessequal_test): Likewise.
27333 (islessgreater_test): Likewise.
27334 (isunordered_test): Likewise.
27335 (main): Call the new functions.
27337 2012-10-09 Roland McGrath <roland@hack.frob.com>
27339 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27340 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27341 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27342 * sysdeps/i386/configure: Regenerated.
27343 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27344 * sysdeps/mach/configure: Regenerated.
27345 * sysdeps/mach/hurd/configure: Regenerated.
27346 * sysdeps/powerpc/configure: Regenerated.
27347 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27348 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27349 * sysdeps/s390/s390-32/configure: Regenerated.
27350 * sysdeps/s390/s390-64/configure: Regenerated.
27351 * sysdeps/sh/configure: Regenerated.
27352 * sysdeps/sparc/configure: Regenerated.
27353 * sysdeps/unix/sysv/linux/configure: Regenerated.
27354 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27355 * sysdeps/x86_64/configure: Regenerated.
27357 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27358 defined. Don't check if MAP is NULL.
27360 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27362 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27363 (_G_stat64): Likewise.
27364 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27365 (_G_stat64): Likewise.
27366 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27367 instead of struct _G_stat64.
27368 * libio/fileops.c (mmap_remap_check): Likewise.
27369 (decide_maybe_mmap): Likewise.
27370 (_IO_new_file_seekoff): Likewise.
27371 (_IO_file_stat): Likewise.
27372 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27374 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27375 instead of struct _G_stat64.
27376 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27378 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27381 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27383 (CHECK_EOL): New macro.
27384 (two_way_short_needle): Check beginning of haystack for EOL. Use
27386 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27387 Replace with CHECK_EOL.
27388 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27389 Replace with CHECK_EOL.
27391 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27393 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27395 * math/libm-test.inc: Update comment listing what functions and
27397 (finite_test): New function.
27398 (isinf_test): Likewise.
27399 (isnan_test): Likewise.
27400 (fpclassify_test): Test subnormal input.
27401 (isfinite_test): Likewise.
27402 (isnormal_test): Likewise.
27403 (main): Call the new functions.
27405 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27408 * Makerules (%.dynsym): Force C locale when running
27409 $(OBJDUMP) --dynamic-syms.
27411 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27413 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27416 2012-10-06 David S. Miller <davem@davemloft.net>
27418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27419 upper 32-bits of the length value in %o2 since we use branch-on-register
27420 tests which consider the entire 64-bit register.
27422 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27424 * string/test-strstr.c (check2): Add a test for page boundary.
27426 2012-10-05 David S. Miller <davem@davemloft.net>
27428 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27429 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27431 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27433 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27434 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27435 and bzero when HWCAP_SPARC_CRYPTO is present.
27437 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27440 * string/test-strstr.c (check2): New function.
27441 (test_main): Call check2.
27443 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27445 * string/bug-strcasestr1.c (do_test): Moved to ...
27446 * string/test-strcasestr.c (check1): Here. New function.
27447 (do_one_test): Break out result checking code into ...
27448 (check_result): This. New function.
27449 (do_one_test): Call check_result.
27450 (test_main): Call check1.
27451 * string/bug-strchr1.c (do_test): Moved to ...
27452 * string/test-strchr.c (check1): Here. New function.
27453 (do_one_test): Break out result checking code into ...
27454 (check_result): This. New function.
27455 (do_one_test): Call check_result.
27456 (test_main): Call check1.
27457 * string/bug-strstr1.c (main): Moved to ...
27458 * string/test-strstr.c (check1): Here. New function.
27459 (do_one_test): Break out result checking code into ...
27460 (check_result): This. New function.
27461 (do_one_test): Call check_result.
27462 (test_main): Call check1.
27463 * string/bug-strcasestr1.c: Removed.
27464 * string/bug-strchr1.c: Likewise.
27465 * string/bug-strstr1.c: Likewise.
27467 * elf/Makefile (dl-routines): Add hwcaps.
27468 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27469 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27470 (_dl_important_hwcaps): Moved to ...
27471 * elf/dl-hwcaps.c: Here. New file.
27472 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27475 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27476 if IS_IN_rtld isn't defined.
27478 * elf/dl-support.c (_dl_sysinfo_map): New.
27479 Include "get-dynamic-info.h" and "setup-vdso.h".
27480 (_dl_non_dynamic_init): Call setup_vdso.
27481 * elf/dynamic-link.h: Don't include <assert.h>.
27482 (elf_get_dynamic_info): Moved to ...
27483 * elf/get-dynamic-info.h: Here. New file.
27484 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27485 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27486 * elf/setup-vdso.h: Here. New file.
27487 * elf/rtld.c: Include "setup-vdso.h".
27488 (dl_main): Call setup_vdso.
27490 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27492 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27493 creal in comment listing functions tested. List finite, isinf,
27494 isnan, isless, islessequal, isgreater, isgreaterequal,
27495 islessgreater, isunordered, lgamma_r and pow10 as functions and
27496 macros not tested. Mention which functions not tested are aliases
27497 for other functions. Fix typo. Note that signs of NaNs are not
27500 * scripts/config.guess: Update from config.git.
27501 * scripts/config.sub: Likewise.
27503 2012-10-04 Roland McGrath <roland@hack.frob.com>
27505 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27506 * misc/madvise.c (madvise): Renamed to __madvise.
27507 Make madvise a weak alias.
27508 * include/sys/mman.h: Declare __madvise.
27509 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27510 * sysdeps/unix/syscalls.list
27511 (madvise): Make __madvise the strong name, and madvise a weak alias.
27512 * sysdeps/unix/sysv/linux/syscalls.list
27513 (madvise, mmap): Remove redundant entries.
27514 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27515 * malloc/malloc.c (mtrim): Likewise.
27516 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27518 2012-10-03 Roland McGrath <roland@hack.frob.com>
27520 * sysdeps/mach/hurd/dl-cache.c: File removed.
27521 * config.h.in (USE_LDCONFIG): New #undef.
27522 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27523 * configure: Regenerated.
27524 * elf/Makefile (dl-routines): Add dl-cache only under
27525 [$(use-ldconfig) = yes].
27526 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27527 cache on [USE_LDCONFIG].
27528 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27530 * elf/rtld.c (dl_main): Likewise.
27532 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27534 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27535 _SC_LEVEL4_CACHE_LINESIZE.
27537 2012-10-03 Roland McGrath <roland@hack.frob.com>
27539 * sysdeps/unix/bsd/confstr.h: File removed.
27541 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27543 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27546 2012-10-02 Roland McGrath <roland@hack.frob.com>
27548 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27549 Make 'mapoff' field ElfW(Off) rather than off_t.
27551 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27553 * nscd/Makefile: Remove nscd-cflags and all its users.
27554 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27555 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27558 * malloc.c (malloc_printerr): Clarify error message.
27560 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27564 Set bit_FMA_Usable if FMA is supported.
27565 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27567 (bit_FMA4_Usable): Updated.
27568 (index_FMA_Usable): New macro.
27569 (CPUID_FMA): Likewise
27570 (HAS_FMA): Defined with bit_FMA_Usable.
27572 2012-10-01 Roland McGrath <roland@hack.frob.com>
27574 * bits/types.h (__swblk_t): Type removed.
27575 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27576 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27578 (__SWBLK_T_TYPE): Likewise.
27579 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27580 (__SWBLK_T_TYPE): Likewise.
27581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27582 (__SWBLK_T_TYPE): Likewise.
27583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27584 (__SWBLK_T_TYPE): Likewise.
27586 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27587 Honza Horak <hhorak@redhat.com>
27589 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27590 (xdr_mapname): Use YPMAXMAP as maxsize.
27591 (xdr_peername): Use YPMAXPEER as maxsize.
27592 (xdr_keydat): Use YPAXRECORD as maxsize.
27593 (xdr_valdat): Use YPMAXRECORD as maxsize.
27595 2012-10-01 Roland McGrath <roland@hack.frob.com>
27597 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27599 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27600 * csu/init-first.c: ... here.
27601 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27602 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27603 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27604 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27605 * sysdeps/i386/init-first.c: File removed.
27606 * sysdeps/sh/init-first.c: File removed.
27608 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27612 if x * y might underflow to zero and z is zero.
27613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27615 * math/libm-test.inc (min_subnorm_value): New variable.
27616 (fma_test): Add more tests.
27617 (fma_test_towardzero): Likewise.
27618 (fma_test_downward): Likewise
27619 (fma_test_upward): Likewise.
27620 (initialize): Set min_subnorm_value.
27622 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27627 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27628 mode for addition resulting in exact zero.
27629 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27632 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27634 * math/libm-test.inc (fma_test): Add more tests.
27635 (fma_test_towardzero): New function.
27636 (fma_test_downward): Likewise.
27637 (fma_test_upward): Likewise.
27638 (main): Call the new functions.
27640 2012-09-28 David S. Miller <davem@davemloft.net>
27642 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27644 2012-09-28 Roland McGrath <roland@hack.frob.com>
27646 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27647 instead of SIGALRM.
27649 * sysdeps/gnu/_G_config.h: Moved to ...
27650 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27651 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27652 * sysdeps/generic/_G_config.h: ... here.
27654 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27656 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27658 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27659 Conditionalize target on [libnss_test1.so-version].
27661 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27663 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27664 (elfobjdir): Move out of conditionals.
27666 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27667 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27668 (__nss_lookup_function): Conditionalize label remove_from_tree on
27669 [!DO_STATIC_NSS || SHARED], matching its only use.
27671 2012-09-28 David S. Miller <davem@davemloft.net>
27673 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27674 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27676 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27678 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27680 when HWCAP_SPARC_CRYPTO is present.
27682 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27684 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27686 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27689 * stdio-common/vfprintf.c (process_string_arg): Revert
27692 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27694 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27696 * stdio-common/tst-sprintf.c: Include <locale.h>
27697 (main): Test sprintf's handling of incomplete multibyte
27700 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27702 * elf/dl-runtime.c (VERSYMIDX): Removed.
27703 * elf/dl-version.c (VERSYMIDX): Likewise.
27704 * elf/do-rel.h (VERSYMIDX): Likewise.
27705 (VALIDX): Likewise.
27706 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27707 * elf/rtld.c (VALIDX): Likewise.
27708 (ADDRIDX): Likewise.
27709 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27710 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27711 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27712 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27713 (VALIDX): Likewise.
27714 (ADDRIDX): Likewise.
27716 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27718 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27720 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27723 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27725 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27726 addresses are in the same scope as 192.0.2/24.
27727 * posix/gai.conf: Document new scope table defaults.
27729 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27732 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27733 for ftell. Compute offsets from write pointers instead.
27734 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27736 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27739 * libio/Makefile (tests): New test case tst-fseek.
27740 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27741 combination works in wide mode.
27742 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27743 state when the external buffer state changes.
27745 2012-09-27 David S. Miller <davem@davemloft.net>
27748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27749 pass reloc->r_addend in as the 'high' argument to
27750 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27754 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27756 * rt/tst-aio2.c: Include <pthread.h>.
27757 * rt/tst-aio3.c: Likewise.
27759 2012-09-27 Steve Ellcey <sellcey@mips.com>
27761 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27763 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27765 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27766 contents on [SHARED].
27768 2012-09-26 Marek Polacek <polacek@redhat.com>
27772 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27773 for C++ and GCC <4.3 as well as for non GCC compilers.
27775 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27779 2012-09-25 Roland McGrath <roland@hack.frob.com>
27781 * Makefile.in (all, install): Declare with .PHONY.
27782 Reported by Michael Hope <michael.hope@linaro.org>.
27784 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27786 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27787 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27789 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27791 (sydep_routines): Add the new and the internal functions.
27792 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27793 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27795 (GLIBC_2.17): Add the new function.
27796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27797 (GLIBC_2.17): Likewise.
27798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27799 (GLIBC_2.17): Likewise.
27800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27801 (GLIBC_2.17): Likewise.
27802 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27804 2012-09-25 Alan Modra <amodra@gmail.com>
27806 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27807 Add release barrier before setting once_control to say
27808 initialisation is done. Add hints on lwarx. Use macro in
27810 (clear_once_control): Add release barrier.
27812 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27815 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27817 * math/s_clog10.c (__clog10): Likewise.
27818 * math/s_clog10f.c (__clog10f): Likewise.
27819 * math/s_clog10l.c (__clog10l): Likewise.
27820 * math/s_clogf.c (__clogf): Likewise.
27821 * math/s_clogl.c (__clogl): Likewise.
27822 * math/Makefile (libm-calls): Add x2y2m1.
27823 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27824 (__x2y2m1): Likewise.
27825 (__x2y2m1l): Likewise.
27826 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27827 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27830 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27832 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27833 * sysdeps/i386/fpu/libm-test-ulps: Update.
27834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27837 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27838 int as type of variable DEPTH.
27839 (glob): Use size_t instead of int as type of variables NEWCOUNT
27842 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27844 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27845 Add s_sincosf-sse2.
27846 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27847 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27848 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27849 macros for using routine as __sincosf_ia32.
27850 Use macro for function declaration and weak_alias.
27851 * sysdeps/i386/fpu/libm-test-ulps: Update.
27853 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27856 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27857 subnormal argument.
27858 * math/s_cexpf.c (__cexpf): Likewise.
27859 * math/s_csinf.c (__csinf): Likewise.
27860 * math/s_csinhf.c (__csinhf): Likewise.
27861 * math/s_ctanf.c (__ctanf): Likewise.
27862 * math/s_ctanhf.c (__ctanhf): Likewise.
27863 * math/s_ccosh.c (__ccoshf): Likewise.
27864 * math/s_cexp.c (__cexpl): Likewise.
27865 * math/s_csin.c (__csin): Likewise.
27866 * math/s_csinh.c (__csinh): Likewise.
27867 * math/s_ctan.c (__ctan): Likewise.
27868 * math/s_ctanh.c (ctanh): Likewise.
27869 * math/s_ccoshl.c (__ccoshl): Likewise.
27870 * math/s_cexpl.c (__cexpl): Likewise.
27871 * math/s_csinl.c (__csinl): Likewise.
27872 * math/s_csinhl.c (__csinhl): Likewise.
27873 * math/s_ctanl.c (__ctanl): Likewise.
27874 * math/s_ctanhl.c (__ctanhl): Likewise.
27876 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27878 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27879 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27880 (_IO_off_t): Define to __off_t, not _G_off_t.
27881 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27882 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27883 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27884 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27885 type of __dummy and __dummy2 fields.
27886 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27887 (_G_ssize_t): Likewise.
27888 (_G_off_t): Likewise.
27889 (_G_pid_t): Likewise.
27890 (_G_uid_t): Likewise.
27891 (_G_wchar_t): Likewise.
27892 (_G_wint_t): Likewise.
27893 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27894 (_G_ssize_t): Likewise.
27895 (_G_off_t): Likewise.
27896 (_G_pid_t): Likewise.
27897 (_G_uid_t): Likewise.
27898 (_G_wchar_t): Likewise.
27899 (_G_wint_t): Likewise.
27900 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27901 (_G_ssize_t): Likewise.
27902 (_G_off_t): Likewise.
27903 (_G_pid_t): Likewise.
27904 (_G_uid_t): Likewise.
27905 (_G_wchar_t): Likewise.
27906 (_G_wint_t): Likewise.
27908 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27910 * malloc/arena.c: Include malloc-sysdep.h.
27911 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27912 is sufficient to shrink the heap or an unmap is needed.
27913 * sysdeps/generic/malloc-sysdep.h: New file. Define
27914 new function check_may_shrink_heap.
27915 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27916 new function check_may_shrink_heap.
27918 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27920 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27923 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27925 * catgets/test-gencat.sh: Add "set -e".
27926 * elf/tst-pathopt.sh: Likewise.
27927 * grp/tst_fgetgrent.sh: Likewise.
27928 * iconvdata/run-iconv-test.sh: Likewise.
27929 * intl/tst-gettext.sh: Likewise.
27930 * intl/tst-gettext2.sh: Likewise.
27931 * intl/tst-gettext4.sh: Likewise.
27932 * intl/tst-gettext6.sh: Likewise.
27933 * intl/tst-translit.sh: Likewise.
27934 * io/ftwtest-sh: Likewise.
27935 * libio/test-freopen.sh: Likewise.
27936 * malloc/tst-mtrace.sh: Likewise.
27937 * posix/globtest.sh: Likewise.
27938 * posix/tst-getconf.sh: Likewise.
27939 * posix/wordexp-tst.sh: Likewise.
27940 * stdio-common/tst-printf.sh: Likewise.
27941 * stdio-common/tst-unbputc.sh: Likewise.
27942 * stdlib/tst-fmtmsg.sh: Likewise.
27943 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27944 * catgets/Makefile: Do not specify -e option when running
27945 testsuite shell scripts.
27946 * elf/Makefile: Likewise.
27947 * grp/Makefile: Likewise.
27948 * iconvdata/Makefile: Likewise.
27949 * intl/Makefile: Likewise.
27950 * io/Makefile: Likewise.
27951 * libio/Makefile: Likewise.
27952 * malloc/Makefile: Likewise.
27953 * posix/Makefile: Likewise.
27954 * stdio-common/Makefile: Likewise.
27955 * stdlib/Makefile: Likewise.
27956 * sysdeps/x86_64/Makefile: Likewise.
27958 * io/ftwtest-sh: Add copyright header.
27959 * posix/globtest.sh: Likewise.
27960 * posix/tst-getconf.sh: Likewise.
27961 * posix/wordexp-tst.sh: Likewise.
27962 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27964 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27967 * Makeconfig (+link): Defined as $(+link-static) if
27968 $(build-shared) isn't yes.
27969 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27971 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27973 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27976 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27977 new chunk size with MALLOC_ALIGN_MASK.
27979 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27982 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27984 (__printf_fphex): Determine rounding using get_rounding_mode and
27986 * stdio-common/tst-printf-round.c (struct hex_test): New
27988 (hex_tests): New variable.
27989 (test_hex_in_one_mode): New function.
27990 (do_test): Also run tests for hex float output.
27992 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27994 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27995 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27996 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27997 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27998 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27999 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28000 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28001 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28003 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28005 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28006 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28007 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28008 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28010 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28013 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28015 * elf/tst-rtld-load-self.sh: New test.
28016 * elf/Makefile: Run it.
28018 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28020 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28021 (tst-writev-ENV): Remove.
28022 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28024 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28026 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28028 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28030 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28032 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28034 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28035 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28036 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28039 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28042 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28043 * config.make.in (have-cpp-asm-debuginfo): Removed.
28044 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28045 * configure: Regenerated.
28047 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28050 * stdio-common/printf_fp.c: Include <stdbool.h> and
28052 (___printf_fp): Determine rounding using get_rounding_mode and
28054 * stdio-common/tst-printf-round.c: New file.
28055 * stdio-common/Makefile (tests): Add tst-printf-round.
28056 (link-libm): New variable.
28057 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28059 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28062 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28063 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28065 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28068 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28070 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28071 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28072 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28073 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28075 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28078 * include/rounding-mode.h: New file.
28079 * sysdeps/generic/get-rounding-mode.h: Likewise.
28080 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28081 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28082 (MAX_VALUE): New macro.
28083 (MIN_VALUE): Likewise.
28084 (overflow_value): New function.
28085 (underflow_value): Likewise.
28086 (round_and_return): Use overflow_value and underflow_value to
28087 determine return values in overflow and underflow cases. Use
28088 round_away to determine rounding depending on rounding mode.
28089 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28090 determine return values in overflow and underflow cases.
28091 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28092 (struct test_results): New structure.
28093 (struct test): Use struct test_results to store expected results
28094 for all rounding modes.
28095 (TEST): Include expected results for all rounding modes.
28096 (test_in_one_mode): New function.
28097 (do_test): Use test_in_one_mode to compute and check results.
28098 Check results for all rounding modes.
28099 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28102 2012-12-09 Allan McRae <allan@archlinux.org>
28104 * sysdeps/i386/fpu/libm-test-ulps: Update
28106 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28108 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28109 (_G_int32_t): Likewise.
28110 (_G_uint16_t): Likewise.
28111 (_G_uint32_t): Likewise.
28112 (_G_HAVE_BOOL): Likewise.
28113 (_G_HAVE_ATEXIT): Likewise.
28114 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28115 (_G_HAVE_IO_FILE_OPEN): Likewise.
28116 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28117 (_G_int32_t): Likewise.
28118 (_G_uint16_t): Likewise.
28119 (_G_uint32_t): Likewise.
28120 (_G_HAVE_BOOL): Likewise.
28121 (_G_HAVE_ATEXIT): Likewise.
28122 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28123 (_G_HAVE_IO_FILE_OPEN): Likewise.
28124 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28125 (_G_int32_t): Likewise.
28126 (_G_uint16_t): Likewise.
28127 (_G_uint32_t): Likewise.
28128 (_G_HAVE_BOOL): Likewise.
28129 (_G_HAVE_ATEXIT): Likewise.
28130 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28131 (_G_HAVE_IO_FILE_OPEN): Likewise.
28133 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28135 * csu/libc-tls.c: Update copyright years.
28137 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28139 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28140 [!_G_USING_THUNKS]: Remove conditional code.
28141 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28142 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28144 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28145 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28146 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28147 (_G_VTABLE_LABEL_PREFIX): Likewise.
28148 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28149 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28150 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28151 (_G_VTABLE_LABEL_PREFIX): Likewise.
28152 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28153 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28154 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28155 (_G_VTABLE_LABEL_PREFIX): Likewise.
28156 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28158 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28160 * libio/Makefile: Include ../Makeconfig before tests.
28161 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28162 only if $(build-shared) is yes.
28164 * iconv/gconv_db.c: Update copyright years.
28166 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28168 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28169 unwind info if defined PIC. Fix special cases description.
28170 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28172 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28174 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28176 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28178 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28180 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28183 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28184 (LDLIBS-tst-chk4): This.
28185 (LDFLAGS-tst-chk5): Renamed to ...
28186 (LDLIBS-tst-chk5): This.
28187 (LDFLAGS-tst-chk6): Renamed to ...
28188 (LDLIBS-tst-chk6): This.
28189 (LDFLAGS-tst-lfschk4): Renamed to ...
28190 (LDLIBS-tst-lfschk4): This.
28191 (LDFLAGS-tst-lfschk5): Renamed to ...
28192 (LDLIBS-tst-lfschk5): This.
28193 (LDFLAGS-tst-lfschk6): Renamed to ...
28194 (LDLIBS-tst-lfschk6): This.
28196 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28197 on $(common-objpfx)soversions.mk.
28199 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28202 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28205 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28207 * malloc/arena.c (arena_get_retry): New function that gets
28208 another arena for the caller to try its request on.
28209 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28210 current arena cannot fulfill the request.
28211 (__libc_memalign): Likewise.
28212 (__libc_memalign): Likewise.
28213 (__libc_pvalloc): Likewise.
28214 (__libc_calloc): Likewise.
28216 2012-09-05 John Tobey <john.tobey@gmail.com>
28219 * manual/arith.texi (Operations on Complex): Fix description
28220 of carg branch cut.
28222 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28225 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28229 * manual/memory.texi (Memory): Make order of menu items match
28232 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28234 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28235 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28236 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28238 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28240 * csu/libc-tls.c (static_dtv): Renamed to ...
28241 (_dl_static_dtv): This. Make it global.
28242 (_dl_initial_dtv): Removed.
28243 (__libc_setup_tls): Updated.
28244 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28245 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28248 2012-09-06 Petr Machata <pmachata@redhat.com>
28250 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28251 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28252 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28253 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28255 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28258 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28259 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28262 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28265 * Makeconfig (link-static-before-libc): Replace $(+prector)
28267 (link-static-after-libc): Replace $(+postctor) with
28269 (link-bounded): Replace $(+prector)/$(+postctor) with
28270 $(+prectorT)/$(+postctorT).
28271 (+prectorT): New macro.
28272 (+postctorT): Likewise.
28274 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28276 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28277 (round_str): Handle values above the maximum for IBM long double
28279 * stdlib/tst-strtod-round.c (tests): Regenerated.
28281 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28283 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28285 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28286 zarch_nohighgprs around the zarch optimized routines.
28287 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28288 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28289 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28292 2012-09-05 David S. Miller <davem@davemloft.net>
28294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28296 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28297 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28298 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28299 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28304 * malloc/arena.c: Fold copyright years.
28305 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28307 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28309 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28311 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28313 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28315 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28317 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28318 change internal state upon failure.
28320 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28322 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28323 * malloc/memusage.c (mmap): Likewise.
28324 (mmap64, mremap): Likewise. Adjust name in comment.
28326 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28328 * libio/fileops.c: Fix typos in comments.
28329 * libio/oldfileops.c: Likewise.
28330 * libio/wfileops.c: Likewise.
28332 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28335 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28336 (tst-malloc-usable-ENV): Set environment for test case.
28337 * malloc/hooks.c (malloc_check_get_size): New function to get
28339 * malloc/malloc.c (musable): Use malloc_check_get_size.
28340 * malloc/tst-malloc-usable.c: New test case.
28342 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28344 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28346 2012-09-05 Allan McRae <allan@archlinux.org>
28349 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28350 determine header location.
28351 * configure: Regenerated.
28353 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28355 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28357 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28358 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28360 (test): Regenerate.
28362 2012-09-04 David S. Miller <davem@davemloft.net>
28364 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28365 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28368 2012-09-04 Florian Weimer <fweimer@redhat.com>
28370 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28373 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28375 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28378 * libio/iogetdelim.c: Include <limits.h>.
28379 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28380 + len + 1 would overflow.
28382 2012-09-03 Andreas Jaeger <aj@suse.de>
28384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28385 * sysdeps/i386/fpu/libm-test-ulps: Update.
28387 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28389 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28390 Add s_sinf-sse2, s_conf-sse2.
28392 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28393 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28394 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28395 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28397 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28398 for using routine as __sinf_ia32.
28399 Use macro for function declaration and weak_alias.
28400 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28401 for using routine as __cosf_ia32.
28402 Use macro for function declaration and weak_alias.
28404 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28405 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28407 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28408 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28411 * math/libm-test.inc (cos_test): Add more test cases.
28412 (sin_test): Likewise.
28413 (sincos_test): Likewise.
28415 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28418 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28420 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28422 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28425 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28426 first element of the GOT.
28427 (elf_machine_load_address): Return the difference between
28428 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28430 2012-09-01 Allan McRae <allan@archlinux.org>
28433 * configure.in (AWK): Require gawk version 3.0 or later.
28434 * configure: Regenerated.
28436 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28438 * sysdeps/unix/sysv/linux/kernel-features.h
28439 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28441 [__NR_clock_getres]: Make code unconditional.
28442 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28443 (clock_getcpuclockid): Remove code left unreachable by removal of
28445 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28446 code unconditional.
28447 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28448 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28449 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28450 Make code unconditional.
28451 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28452 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28453 * sysdeps/unix/sysv/linux/clock_settime.c
28454 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28456 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28457 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28459 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28462 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28463 scripts/test-installation.pl.
28465 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28466 and $ld_so_version if it is set.
28468 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28472 failure if reading from procfs failed.
28473 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28475 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28477 * sysdeps/unix/sysv/linux/kernel-features.h
28478 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28479 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28480 Remove conditional code.
28481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28482 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28483 Remove conditional code.
28484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28485 * sysdeps/unix/sysv/linux/i386/fxstat.c
28486 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28488 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28489 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28491 * sysdeps/unix/sysv/linux/i386/lxstat.c
28492 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28494 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28495 Remove conditional code.
28496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28497 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28498 Remove conditional code.
28499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28500 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28501 <kernel-features.h>.
28502 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28504 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28505 Remove conditional code.
28506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28507 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28508 Remove conditional.
28510 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28513 * NEWS: Add fixed bug number.
28515 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28518 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28519 underflowing exponent in case of negative sign.
28520 * stdlib/tst-strtod-round-data: Add more tests.
28521 * stdlib/tst-strtod-round.c (tests): Regenerated.
28524 * stdlib/strtod_l.c (NDIG): Remove.
28525 (HEXNDIG): Likewise.
28526 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28527 smallest representable value.
28528 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28529 lie within an exact representation of 1/2 ulp of the result.
28530 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28532 (TENS_P9_IDX): Define unconditionally.
28533 (TENS_P9_SIZE): Likewise.
28534 (TENS_P10_IDX): Likewise.
28535 (TENS_P10_SIZE): Likewise.
28536 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28537 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28538 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28539 entries for 10^2^13 and 10^2^14.
28540 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28541 (TENS_P13_IDX): Define.
28542 (TENS_P13_SIZE): Likewise.
28543 (TENS_P14_IDX): Likewise.
28544 (TENS_P14_SIZE): Likewise.
28545 (_fpioconst_pow10): Change array size to
28546 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28548 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28549 1024]: Add entries for 10^2^13 and 10^2^14.
28550 [LAST_POW10 > _LAST_POW10]: Remove #error.
28551 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28552 (_fpioconst_pow10): Change array size to
28553 FPIOCONST_POW10_ARRAY_SIZE.
28554 * stdlib/gen-fpioconst.c: New file.
28555 * stdlib/gen-tst-strtod-round.c: Likewise.
28556 * stdlib/tst-strtod-round-data: Likewise.
28557 * stdlib/tst-strtod-round.c: Likewise.
28558 * stdlib/Makefile (tests): Add tst-strtod-round.
28561 * stdlib/strtod_l.c: Include <stdint.h>.
28562 (NDEBUG): Do not define.
28563 (round_and_return): Change EXPONENT parameter to type intmax_t.
28564 Rearrange calculations to avoid internal overflow possibilities.
28565 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28566 Rearrange calculations to avoid internal overflow possibilities.
28567 Assert that number fits inside MPNSIZE limbs.
28568 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28569 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28570 calculations and add assertions to avoid internal overflow
28571 possibilities. Add casts to avoid signed/unsigned operations.
28572 * stdlib/tst-strtod-overflow.c: New file.
28573 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28575 2012-08-25 Marek Polacek <polacek@redhat.com>
28577 * time/time.h: Fix some typos in comments.
28579 2012-08-23 Roland McGrath <roland@hack.frob.com>
28581 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28582 * posix/tst-rfc3484-2.c: Likewise.
28583 * posix/tst-rfc3484-3.c: Likewise.
28585 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28587 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28588 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28590 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28592 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28593 #include of fxstatat64.c.
28595 2012-08-22 Roland McGrath <roland@hack.frob.com>
28597 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28598 * shadow/getspent_r.c: Likewise.
28599 * shadow/getspnam.c: Likewise.
28600 * shadow/getspnam_r.c: Likewise.
28601 * gshadow/getsgent.c: Likewise.
28602 * gshadow/getsgent_r.c: Likewise.
28603 * gshadow/getsgnam.c: Likewise.
28604 * gshadow/getsgnam_r.c: Likewise.
28605 * inet/getnetbyad.c: Likewise.
28606 * inet/getnetbyad_r.c: Likewise.
28607 * inet/getnetbynm.c: Likewise.
28608 * inet/getnetbynm_r.c: Likewise.
28609 * inet/getnetent.c: Likewise.
28610 * inet/getnetent_r.c: Likewise.
28611 * inet/getproto.c: Likewise.
28612 * inet/getproto_r.c: Likewise.
28613 * inet/getprtent.c: Likewise.
28614 * inet/getprtent_r.c: Likewise.
28615 * inet/getprtname.c: Likewise.
28616 * inet/getprtname_r.c: Likewise.
28617 * inet/getrpcbyname.c: Likewise.
28618 * inet/getrpcbyname_r.c: Likewise.
28619 * inet/getrpcbynumber.c: Likewise.
28620 * inet/getrpcbynumber_r.c: Likewise.
28621 * inet/getrpcent.c: Likewise.
28622 * inet/getrpcent_r.c: Likewise.
28623 * inet/getaliasent.c: Likewise.
28624 * inet/getaliasent_r.c: Likewise.
28625 * inet/getaliasname.c: Likewise.
28626 * inet/getaliasname_r.c: Likewise.
28627 * nscd/getgrgid_r.c: Likewise.
28628 * nscd/getgrnam_r.c: Likewise.
28629 * nscd/gethstbyad_r.c: Likewise.
28630 * nscd/gethstbynm3_r.c: Likewise.
28631 * nscd/getpwnam_r.c: Likewise.
28632 * nscd/getpwuid_r.c: Likewise.
28633 * nscd/getsrvbynm_r.c: Likewise.
28634 * nscd/getsrvbypt_r.c: Likewise.
28635 * nscd/gai.c: Likewise.
28637 * configure.in (build_nscd): New substituted variable, set
28638 by --disable-build-nscd and defaults to $use_nscd.
28639 * configure: Regenerated.
28640 * config.make.in (build-nscd): New substituted variable.
28641 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28642 Change conditional to require [$(build-nscd) = yes] as well.
28643 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28646 * configure.in (use_nscd): New substituted variable, set by
28647 --disable-nscd. If enabled, define USE_NSCD.
28648 * configure: Regenerated.
28649 * config.h.in: Add USE_NSCD.
28650 * config.make.in (use-nscd): New substituted variable.
28651 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28652 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28653 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28654 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28655 (CFLAGS-getgrnam_r.c): Likewise.
28656 (CFLAGS-initgroups.c): Likewise.
28657 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28658 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28660 * inet/getnetgrent_r.c
28661 (nscd_setnetgrent): New function, broken out of ...
28662 (setnetgrent): ... here. Call it.
28663 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28664 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28665 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28666 * nscd/Makefile (routines, aux): Move definitions after include of
28667 Makeconfig. Conditionalize on [$(use-nscd) != no].
28668 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28669 Conditionalize on [USE_NSCD].
28670 (is_nscd, nscd_init_cb): Likewise.
28671 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28672 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28673 * nss/nss_db/db-init.c: Likewise.
28674 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28676 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28677 (make_request): Use it.
28678 (cache_valid_p): New function.
28679 (__check_pf): Use it.
28680 * NEWS: Add item for --disable-nscd.
28682 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28684 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28685 to support sed >= 4.2.1-20-ga9bf076.
28686 * configure: Regenerated.
28688 2012-08-22 Roland McGrath <roland@hack.frob.com>
28690 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28691 Conditionalize whole body on [IREL].
28693 2012-08-22 Jeff Law <law@redhat.com>
28696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28697 if the family is PF_UNSPEC.
28699 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28701 * Makerules (lib-version): Rename from V.
28702 (install-lib-nosubdir): Change V to lib-version.
28704 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28707 * powerpc32/power6/wcschr.c: New file.
28708 * powerpc32/power6/wcscpy.c: New file.
28709 * powerpc32/power6/wcsrchr.c: New file.
28710 * powerpc64/power6/wcschr.c: New file.
28711 * powerpc64/power6/wcscpy.c: New file.
28712 * powerpc64/power6/wcsrchr.c: New file.
28714 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28716 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28717 (two_way_short_needle): Use it.
28718 * string/strstr.c (AVAILABLE1_USES_J): Define.
28719 * string/strcasestr.c: Likewise.
28721 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28723 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28726 * NEWS: Add an entry.
28727 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28728 define their defaults.
28729 (two_way_short_needle): Detect end-of-string on-the-fly.
28730 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28731 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28732 * string/bug-strcasestr1.c: New test.
28733 * string/Makefile: Run it.
28735 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28738 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28739 the first character.
28741 2012-08-21 Roland McGrath <roland@hack.frob.com>
28743 * csu/elf-init.c (__libc_csu_irel): Function removed.
28744 * csu/libc-start.c (apply_irel): New function.
28745 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28747 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28749 * sysdeps/unix/sysv/linux/kernel-features.h
28750 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28751 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28752 <kernel-features.h>.
28753 [__NR_fadvise64_64]: Make code unconditional.
28754 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28755 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28756 !__NR_fadvise64_64)]: Likewise.
28757 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28758 !__NR_fadvise64_64))]: Likewise.
28759 [__NR_fadvise64]: Make code unconditional.
28760 [!__NR_fadvise64]: Remove conditional code.
28761 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28762 <kernel-features.h>.
28763 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28765 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28768 not include <kernel-features.h>.
28769 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28771 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28773 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28774 include <kernel-features.h>.
28775 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28777 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28780 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28783 slight instruction rearrangements per scrollpipe analysis.
28784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28786 2012-08-20 Roland McGrath <roland@hack.frob.com>
28788 * manual/syslog.texi (syslog; vsyslog, closelog):
28789 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28790 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28792 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28793 DSOCAPS to match condition on defining it.
28795 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28797 * sysdeps/unix/sysv/linux/kernel-features.h
28798 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28800 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28801 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28803 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28804 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28806 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28807 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28809 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28810 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28812 * sysdeps/unix/sysv/linux/kernel-features.h
28813 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28814 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28816 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28817 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28818 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28819 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28820 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28821 Make code unconditional.
28822 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28823 (__mmap64) [!__NR_mmap2]: Likewise.
28824 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28825 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28826 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28827 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28828 [__NR_mmap2]: Make code unconditional.
28829 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28830 (__mmap64) [!__NR_mmap2]: Likewise.
28832 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28834 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28836 2012-08-18 Andreas Jaeger <aj@suse.de>
28838 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28840 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28842 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28843 * include/unistd.h (__have_sock_cloexec): Likewise.
28844 (__have_pipe2): Likewise.
28845 (__have_dup3): Likewise.
28847 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28850 * include/unistd.h (__have_pipe2): Change define into an extern int.
28851 (__have_dup3): Likewise.
28852 * socket/have_sock_cloexec.c: Include fcntl.h.
28853 (__have_pipe2): New variable.
28854 (__have_dup3): Likewise.
28856 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28858 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28860 2012-08-17 Marek Polacek <polacek@redhat.com>
28862 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28863 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28865 2012-08-17 Roland McGrath <roland@hack.frob.com>
28867 * configure.in: Add AC_SUBST for sysheaders.
28868 * configure: Regenerated.
28869 * config.make.in (sysheaders): New substituted variable.
28871 * sysdeps/unix/mkfifo.c: Moved ...
28872 * sysdeps/posix/mkfifo.c: ... here.
28873 * sysdeps/unix/mkfifoat.c: Moved ...
28874 * sysdeps/posix/mkfifoat.c: ... here.
28876 * sysdeps/unix/utime.c: Moved ...
28877 * sysdeps/posix/utime.c: ... here.
28879 * sysdeps/unix/time.c: Moved ...
28880 * sysdeps/posix/time.c: ... here.
28881 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28882 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28884 * sysdeps/unix/nice.c: Moved ...
28885 * sysdeps/posix/nice.c: ... here.
28887 * sysdeps/unix/alarm.c: Moved ...
28888 * sysdeps/posix/alarm.c: ... here.
28890 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28892 2012-08-17 Jeff Law <law@redhat.com>
28894 * intl/Makefile (codeset_mo): New variable.
28895 ($(codeset_mo)): New target.
28896 (tst-codeset.out): Depend on that. Remove explicit rule.
28897 (tst-gettext3.out, tst-gettext5.out): Likewise.
28898 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28899 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28900 * intl/tst-codeset.sh: Remove.
28901 * intl/tst-gettext3.sh: Likewise.
28902 * intl/tst-gettext5.sh: Likewise.
28904 2012-08-17 Roland McGrath <roland@hack.frob.com>
28906 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28907 * sysdeps/unix/syscalls.list: ... here.
28909 * sysdeps/posix/getaddrinfo.c
28910 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28911 (gaiconf_init, gaiconf_reload): Use them.
28912 [!_STATBUF_ST_NSEC]
28913 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28914 Define using time_t rather than struct timespec.
28916 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28917 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28919 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28921 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28922 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28925 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28926 __libc_cleanup_push argument.
28928 * bits/param.h: New file.
28929 * misc/sys/param.h: New file.
28930 * include/sys/param.h: New file.
28931 * misc/Makefile (headers): Add bits/param.h.
28932 * sysdeps/generic/sys/param.h: File removed.
28933 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28934 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28935 * sysdeps/mach/hurd/bits/param.h: New file.
28936 * sysdeps/mach/hurd/sys/param.h: File removed.
28938 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28941 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28943 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28944 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28947 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28948 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28949 rather than -D_IO_MTSAFE_IO conditionally.
28950 * stdio-common/Makefile (CPPFLAGS): Likewise.
28951 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28952 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28953 Use $(libio-mtsafe).
28954 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28955 of -D_IO_MTSAFE_IO.
28956 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28957 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28958 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28959 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28960 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28961 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28962 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28963 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28964 (CFLAGS-fread_u_chk.c): Likewise.
28965 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28966 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28967 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28968 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28969 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28970 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28971 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28972 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28973 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28975 * libio/Makefile: Test [$(libc-reentrant) = yes]
28976 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28979 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28980 * sysdeps/pthread/configure: File removed.
28981 * sysdeps/pthread/Makeconfig: New file.
28982 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28983 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28985 2012-08-16 Gary Benson <gbenson@redhat.com>
28987 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28988 unmapping the first object in a namespace.
28990 2012-08-16 Roland McGrath <roland@hack.frob.com>
28992 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28993 (__internal_setnetgrent): ... this. Add internal_function to
28994 definition. Add libc_hidden_def.
28995 (setnetgrent): Update caller.
28996 (internal_endnetgrent): Renamed to ...
28997 (__internal_endnetgrent): ... this. Add internal_function to
28998 definition. Add libc_hidden_def.
28999 (endnetgrent): Update caller.
29000 (internal_getnetgrent_r): Renamed to ...
29001 (__internal_getnetgrent_r): ... this. Add internal_function to
29002 definition. Add libc_hidden_def.
29003 (__getnetgrent_r): Update caller.
29004 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29006 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29008 * stdlib/longlong.h: Update from GCC.
29010 2012-08-16 Roland McGrath <roland@hack.frob.com>
29012 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29013 on _QL, which is set by umul_ppmm but never used.
29014 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29015 variables, which are set by GMP macros but never used.
29016 * stdio-common/_itowa.c (_itowa): Likewise.
29017 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29018 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29020 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29022 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29023 struct La_sh_regs is not constant.
29024 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29025 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29026 and struct La_sparc64_regs are not constant.
29028 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29030 * sysdeps/unix/sysv/linux/kernel-features.h
29031 (__ASSUME_POSIX_TIMERS): Remove.
29032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29034 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29035 Make code unconditional.
29036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29037 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29038 Make code unconditional.
29039 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29041 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29042 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29043 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29044 Make code unconditional.
29045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29046 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29047 (__libc_missing_posix_timers): Remove.
29049 2012-08-15 Roland McGrath <roland@hack.frob.com>
29051 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29052 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29054 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29056 * elf/dl-sym.c: Include <stdlib.h>.
29058 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29059 constants, which avoids warnings in 32-bit builds.
29061 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29062 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29064 * misc/lseek.c: File moved to ...
29065 * io/lseek.c: ... here.
29067 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29069 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29070 shifting LEN more than 31 bits at once.
29072 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29075 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29076 segmentation fault for a case of two empty input strings.
29077 * string/test-strncasecmp.c (check1): Renamed to...
29078 (bz12205): ...this.
29079 (bz14195): Add new testcase for two empty input strings and N > 0.
29080 (test_main): Call new testcase, adapt for renamed function.
29082 2012-08-15 Andreas Jaeger <aj@suse.de>
29085 * crypt/md5test2.c: New test, based on test supplied by Serge
29086 Belyshev <belyshev@depni.sinp.msu.ru>.
29087 * crypt/Makefile (xtests): Add md5test-giant..
29088 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29090 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29093 * crypt/md5.c (md5_process_block): Don't assume the buffer
29094 length is less than 2**32.
29095 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29096 length is less than 2**64.
29098 2012-08-15 Roland McGrath <roland@hack.frob.com>
29100 * string/str-two-way.h: Include <sys/param.h>.
29101 (MAX): Macro removed.
29103 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29104 Move #define and #undef of memmove to just before and after
29105 including <string.h>.
29107 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29108 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29109 and after including <string.h>. Move declarations of
29110 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29111 to before #include "string/memmove.c".
29113 * include/dirent.h: Declare __getdirentries.
29115 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29116 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29118 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29120 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29121 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29122 * sysdeps/i386/configure: Regenerated.
29123 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29124 STABS_CURRENT_FILE, and STABS_FUN.
29125 (END): Remove call to STABS_FUN_END.
29126 (STABS_CURRENT_FILE1): Delete.
29127 (STABS_CURRENT_FILE): Likewise.
29128 (STABS_FUN): Likewise.
29129 (STABS_FUN_END): Likewise.
29130 (STABS_FUN2): Likewise.
29131 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29132 * sysdeps/x86_64/configure: Regenerated.
29134 2012-08-14 Roland McGrath <roland@hack.frob.com>
29136 * elf/dl-open.c: Include <atomic.h>.
29137 * elf/dl-lookup.c: Likewise.
29139 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29141 * sysdeps/unix/sysv/linux/kernel-features.h
29142 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29143 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29145 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29147 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29148 condition on __ASSUME_CLONE_THREAD_FLAGS.
29150 2012-08-14 Andreas Jaeger <aj@suse.de>
29152 * sysdeps/i386/fpu/libm-test-ulps: Update.
29154 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29156 * include/atomic.h (atomic_exchange_and_add): Split into ...
29157 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29160 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29164 2012-08-13 Jeff Law <law@redhat.com>
29166 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29167 null byte in the output string.
29169 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29171 * sysdeps/unix/sysv/linux/kernel-features.h
29172 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29173 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29174 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29175 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29176 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29177 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29178 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29180 2012-08-09 Jeff Law <law@redhat.com>
29183 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29184 When avoid_arena is set, don't retry in the that arena. Pick the
29185 next one, whatever it might be.
29186 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29187 (arena_lock): Pass in new parameter to arena_get2.
29188 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29190 (__libc_malloc): Unify retrying after main arena failure with
29191 __libc_memalign version.
29192 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29194 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29197 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29198 to __redirect_strstr.
29199 (__strstr_sse42): Use typeof __redirect_strstr.
29200 (__strstr_ia32): Likewise.
29201 (__libc_strstr): New prototype.
29202 (strstr): Renamed to ...
29203 (__libc_strstr): This.
29204 (strstr): New strong alias of __libc_strstr.
29205 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29209 (__libc_time): New prototype.
29210 (time_ifunc): Replace time with __libc_time.
29211 (time): New strong alias and hidden definition of __libc_time.
29212 (__GI_time): Remove strong alias.
29213 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29214 Include <stddef.h>.
29215 (memmove): Redefined to __redirect_memmove.
29216 (__memmove_sse2): Use typeof __redirect_memmove.
29217 (__memmove_ssse3): Likewise.
29218 (__memmove_ssse3_back): Likewise.
29219 (__libc_memmove): New prototype.
29220 (memmove): Renamed to ...
29221 (__libc_memmove): This.
29222 (memmove): New strong alias of __libc_memmove.
29224 2012-08-08 Mark Salter <msalter@redhat.com>
29227 (R_MN10300_TLS_GD): Define.
29228 (R_MN10300_TLS_LD): Likewise.
29229 (R_MN10300_TLS_LDO): Likewise.
29230 (R_MN10300_TLS_GOTIE): Likewise.
29231 (R_MN10300_TLS_IE): Likewise.
29232 (R_MN10300_TLS_LE): Likewise.
29233 (R_MN10300_TLS_DTPMOD): Likewise.
29234 (R_MN10300_TLS_DTPOFF): Likewise.
29235 (R_MN10300_TLS_TPOFF): Likewise.
29236 (R_MN10300_SYM_DIFF): Likewise.
29237 (R_MN10300_ALIGN): Likewise.
29238 (R_MN10300_NUM): Update.
29240 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29245 2012-08-08 Roland McGrath <roland@hack.frob.com>
29247 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29249 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29250 sysdeps/unix -> sysdeps/posix move.
29251 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29253 2012-08-07 Allan McRae <allan@archlinux.org>
29256 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29257 (SUNOS_CPP): Likewise.
29258 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29260 (open_input): Call CPP using execvp.
29262 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29264 * sysdeps/unix/sysv/linux/kernel-features.h
29265 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29266 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29267 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29268 (__ASSUME_WAITID_SYSCALL): Likewise.
29269 * sysdeps/unix/sysv/linux/dl-execstack.c
29270 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29271 code unconditional.
29272 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29274 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29275 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29276 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29278 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29280 [__ASSUME_WAITID_SYSCALL]: Likewise.
29281 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29283 2012-08-07 Roland McGrath <roland@hack.frob.com>
29285 * sysdeps/unix/closedir.c: Renamed to ...
29286 * sysdeps/posix/closedir.c: ... here.
29287 * sysdeps/unix/dirfd.c: Renamed to ...
29288 * sysdeps/posix/dirfd.c: ... here.
29289 * sysdeps/unix/dirstream.h: Renamed to ...
29290 * sysdeps/posix/dirstream.h: ... here.
29291 * sysdeps/unix/fdopendir.c: Renamed to ...
29292 * sysdeps/posix/fdopendir.c: ... here.
29293 * sysdeps/unix/opendir.c: Renamed to ...
29294 * sysdeps/posix/opendir.c: ... here.
29295 * sysdeps/unix/readdir.c: Renamed to ...
29296 * sysdeps/posix/readdir.c: ... here.
29297 * sysdeps/unix/readdir_r.c: Renamed to ...
29298 * sysdeps/posix/readdir_r.c: ... here.
29299 * sysdeps/unix/rewinddir.c: Renamed to ...
29300 * sysdeps/posix/rewinddir.c: ... here.
29301 * sysdeps/unix/seekdir.c: Renamed to ...
29302 * sysdeps/posix/seekdir.c: ... here.
29303 * sysdeps/unix/telldir.c: Renamed to ...
29304 * sysdeps/posix/telldir.c: ... here.
29305 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29306 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29307 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29308 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29310 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29311 * bits/fcntl.h: ... here.
29313 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29315 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29316 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29317 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29318 (struct flock): Move l_start, l_len to the beginning.
29319 Use __pid_t for l_pid.
29320 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29321 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29322 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29323 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29324 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29325 [__USE_LARGEFILE64] (struct flock64): New type.
29326 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29328 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29329 * bits/dirent.h: ... here.
29331 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29332 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29334 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29337 Change from 2.6.0 to 2.6.16.
29338 * sysdeps/unix/sysv/linux/configure: Regenerated.
29339 * sysdeps/unix/sysv/linux/kernel-features.h
29340 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29341 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29343 (__ASSUME_UTIMES): Likewise.
29344 (__ASSUME_CLONE_STOPPED): Remove.
29345 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29346 architectures, not kernel version.
29347 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29348 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29349 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29350 (__ASSUME_WAITID_SYSCALL): Likewise.
29351 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29352 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29353 * README: State 2.6.16 as minimum Linux kernel version. Do not
29354 refer to older versions.
29356 2012-08-06 Roland McGrath <roland@hack.frob.com>
29358 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29359 Define alphasort64 as an alias.
29360 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29361 Define versionsort64 as an alias.
29362 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29363 Define scandir64 as an alias.
29364 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29365 Define scandirat64 as an alias.
29366 * dirent/alphasort64.c (alphasort64):
29367 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29368 * dirent/versionsort64.c: Likewise.
29369 * dirent/scandir64.c: Likewise.
29370 * dirent/scandirat64.c: Likewise.
29371 * sysdeps/wordsize-64/alphasort.c: File removed.
29372 * sysdeps/wordsize-64/alphasort64.c: File removed.
29373 * sysdeps/wordsize-64/scandir.c: File removed.
29374 * sysdeps/wordsize-64/scandir64.c: File removed.
29375 * sysdeps/wordsize-64/scandirat.c: File removed.
29376 * sysdeps/wordsize-64/scandirat64.c: File removed.
29377 * sysdeps/wordsize-64/versionsort.c: File removed.
29378 * sysdeps/wordsize-64/versionsort64.c: File removed.
29379 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29380 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29385 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29388 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29390 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29391 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29392 [defined __arch64__ || defined __sparcv9]
29393 (__INO_T_MATCHES_INO64_T): New macro.
29394 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29395 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29396 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29397 * sysdeps/unix/sysv/linux/bits/dirent.h
29398 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29399 (_DIRENT_MATCHES_DIRENT64): New macro.
29401 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29402 Define lockf64 as an alias.
29403 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29404 Define fseeko64 as an alias.
29405 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29406 Define ftello64 as an alias.
29407 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29408 Define _IO_fgetpos64 and fgetpos64 as aliases.
29409 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29410 Define _IO_fsetpos64 and fsetpos64 as aliases.
29411 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29412 Conditionalize body on this.
29413 * libio/fseeko64.c: Likewise.
29414 * libio/ftello64.c: Likewise.
29415 * libio/iofgetpos64.c: Likewise.
29416 * libio/iofsetpos64.c: Likewise.
29417 * sysdeps/wordsize-64/lockf.c: File removed.
29418 * sysdeps/wordsize-64/lockf64.c: File removed.
29419 * sysdeps/wordsize-64/fseeko.c: File removed.
29420 * sysdeps/wordsize-64/fseeko64.c: File removed.
29421 * sysdeps/wordsize-64/ftello.c: File removed.
29422 * sysdeps/wordsize-64/ftello64.c: File removed.
29423 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29424 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29425 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29426 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29429 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29430 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29431 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29432 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29433 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29434 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29435 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29436 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29438 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29440 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29442 [defined __arch64__ || defined __sparcv9]
29443 (__OFF_T_MATCHES_OFF64_T): New macro.
29444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29445 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29446 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29447 (__OFF_T_MATCHES_OFF64_T): New macro.
29449 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29451 * stdlib/secure-getenv.c (__secure_getenv): Replace
29452 GLIBC_2_16 with GLIBC_2_17.
29454 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29456 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29457 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29459 2012-08-03 David S. Miller <davem@davemloft.net>
29461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29463 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29465 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29467 (__ASSUME_CORRECT_SI_PID): Likewise.
29468 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29469 (__ASSUME_TMPFS_NAME): Likewise.
29470 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29471 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29472 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29473 (HAVE_AUX_SECURE): Make definition unconditional.
29474 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29475 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29477 2012-08-03 Roland McGrath <roland@hack.frob.com>
29479 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29480 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29481 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29482 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29483 __eloop_threshold instead of SYMLOOP_MAX.
29485 * sysdeps/generic/eloop-threshold.h: New file.
29486 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29488 * elf/chroot_canon.c (chroot_canon): Likewise.
29490 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29493 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29494 Change to 2.6.0 everywhere.
29495 * sysdeps/unix/sysv/linux/configure: Regenerated.
29496 * sysdeps/unix/sysv/linux/kernel-features.h
29497 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29498 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29500 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29501 (__ASSUME_FUTEX_REQUEUE): Remove.
29502 (__ASSUME_STATFS64): Define unconditionally.
29503 (__ASSUME_AT_SECURE): Likewise.
29504 (__ASSUME_CORRECT_SI_PID): Likewise.
29505 (__ASSUME_TGKILL): Define without depending on kernel version for
29507 (__ASSUME_UTIMES): Likewise.
29508 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29510 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29511 (__ASSUME_TMPFS_NAME): Likewise.
29512 * README: Update reference to Linux kernel versions.
29514 2012-08-02 Marek Polacek <polacek@redhat.com>
29517 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29518 libc_cv_asm_type_prefix with %.
29519 * configure: Regenerated.
29520 * include/libc-symbols.h: Remove comment about
29521 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29522 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29523 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29524 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29525 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29526 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29527 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29528 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29529 * elf/tst-unique2mod1.c: Likewise.
29530 * elf/tst-unique1mod2.c: Likewise.
29531 * elf/tst-unique1mod1.c: Likewise.
29532 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29533 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29534 Replace ASM_TYPE_DIRECTIVE with .type.
29535 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29536 * sysdeps/i386/sysdep.h: Likewise.
29537 * sysdeps/x86_64/sysdep.h: Likewise.
29538 * sysdeps/sh/sysdep.h: Likewise.
29539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29540 Do not define ASM_TYPE_DIRECTIVE.
29541 * sysdeps/powerpc/sysdep.h: Likewise.
29542 * sysdeps/powerpc/powerpc32/sysdep.h:
29543 Replace ASM_TYPE_DIRECTIVE with .type.
29544 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29545 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29546 * sysdeps/i386/fpu/e_powf.S: Likewise.
29547 * sysdeps/i386/fpu/e_expl.S: Likewise.
29548 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29549 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29550 * sysdeps/i386/fpu/e_pow.S: Likewise.
29551 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29552 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29553 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29554 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29555 * sysdeps/i386/fpu/e_log2.S: Likewise.
29556 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29557 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29558 * sysdeps/i386/fpu/e_powl.S: Likewise.
29559 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29560 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29561 * sysdeps/i386/fpu/e_logl.S: Likewise.
29562 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29563 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29564 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29565 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29566 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29567 * sysdeps/i386/fpu/e_log.S: Likewise.
29568 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29569 * sysdeps/i386/fpu/e_logf.S: Likewise.
29570 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29571 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29572 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29573 * sysdeps/i386/fpu/e_log10.S: Likewise.
29574 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29575 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29576 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29577 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29578 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29579 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29580 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29581 * sysdeps/i386/i686/strtok.S: Likewise.
29582 * sysdeps/i386/i386-mcount.S: Likewise.
29583 * sysdeps/i386/strtok.S: Likewise.
29584 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29585 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29586 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29587 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29588 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29589 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29590 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29591 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29592 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29593 * sysdeps/x86_64/_mcount.S: Likewise.
29594 * sysdeps/x86_64/strtok.S: Likewise.
29595 * sysdeps/sh/_mcount.S: Likewise.
29597 2012-08-01 Roland McGrath <roland@hack.frob.com>
29599 * libio/iofopen.c: Include <fcntl.h>.
29600 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29601 (_IO_fopen64, fopen64): Define as aliases.
29602 * libio/iofopen64.c: Include <fcntl.h>.
29603 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29604 Conditionalize body on this.
29605 * sysdeps/wordsize-64/iofopen.c: File removed.
29606 * sysdeps/wordsize-64/iofopen64.c: File removed.
29608 2012-08-01 Marek Polacek <polacek@redhat.com>
29610 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29611 Use dlfcn directly instead of a variable.
29612 (binfmt-subdir): Do not define.
29615 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29618 Remove all definitions.
29619 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29620 <kernel-features.h>.
29621 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29622 (miss_F_GETOWN_EX): Remove all definitions.
29623 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29625 [!__ASSUME_FCNTL64]: Remove conditional code.
29626 [__ASSUME_FCNTL64]: Make code unconditional.
29627 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29628 <kernel-features.h>.
29629 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29630 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29631 (lockf64) [__NR_fcntl64]: Make code unconditional.
29632 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29634 * sysdeps/unix/sysv/linux/kernel-features.h
29635 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29636 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29637 Make code unconditional.
29638 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29639 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29641 [__NR_vfork]: Make code unconditional.
29642 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29643 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29645 [__NR_vfork]: Make code unconditional.
29646 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29647 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29649 2012-08-01 Roland McGrath <roland@hack.frob.com>
29651 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29652 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29654 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29655 Define mkstemp64 as an alias.
29656 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29657 Define mkstemps64 as an alias.
29658 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29659 Define mkostemp64 as an alias.
29660 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29661 Define mkostemps64 as an alias.
29662 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29663 Conditionalize body on this.
29664 * misc/mkostemp64.c: Likewise.
29665 * misc/mkostemps64.c: Likewise.
29666 * misc/mkstemps64.c: Likewise.
29667 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29668 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29669 * sysdeps/wordsize-64/mkostemp.c: File removed.
29670 * sysdeps/wordsize-64/mkstemp.c: File removed.
29671 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29673 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29674 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29677 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29678 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29679 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29680 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29682 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29683 compat_symbol macros from <shlib-compat.h> rather than the underlying
29684 default_symbol_version and symbol_version macros, so that DEFAULT
29685 lines in shlib-versions are respected.
29686 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29688 2012-08-01 Florian Weimer <fweimer@redhat.com>
29690 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29691 Declare with warn_unused_result.
29692 (setgid, setregid, setegid, setresgid): Likewise.
29693 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29695 * WUR-REPORT: Remove set*id functions.
29697 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29699 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29701 2012-07-31 Roland McGrath <roland@hack.frob.com>
29704 * include/sys/socket.h (__libc_accept, __libc_accept4):
29705 Add attribute_hidden.
29706 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29708 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29710 * inet/getnetgrent_r.c (setup): Likewise.
29712 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29714 2012-07-31 David S. Miller <davem@davemloft.net>
29716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29718 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29721 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29722 value between 1.0 and 2.0 and smaller part has absolute value less
29724 * math/s_clog10.c (__clog10): Likewise.
29725 * math/s_clog10f.c (__clog10f): Likewise.
29726 * math/s_clog10l.c (__clog10l): Likewise.
29727 * math/s_clogf.c (__clogf): Likewise.
29728 * math/s_clogl.c (__clogl): Likewise.
29729 * math/libm-test.inc (clog_test): Add more tests.
29730 (clog10_test): Likewise.
29731 * sysdeps/i386/fpu/libm-test-ulps: Update.
29732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29734 2012-07-31 Florian Weimer <fweimer@redhat.com>
29736 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29737 Exit with zero in case no suitable GID is found, and write a
29738 message to standard error.
29740 2012-07-30 Roland McGrath <roland@hack.frob.com>
29742 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29744 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29745 (MAXPATHLEN): Removed.
29746 (NOGROUP, NODEV): New macros.
29747 (setbit, clrbit, isset, isclr): New macros.
29748 (howmany, roundup, powerof2): New macros.
29749 (DEV_BSIZE): New macro.
29751 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29752 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29754 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29755 definition on [!__NO_LONG_DOUBLE_MATH].
29757 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29758 PTR_MANGLE and PTR_DEMANGLE.
29760 * socket/accept4.c (accept4): Rename to __libc_accept4.
29761 Define accept4 as a weak alias.
29763 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29764 on [_DIRENT_HAVE_D_TYPE].
29765 * io/ftw.c (ftw_dir): Likewise.
29767 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29769 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29771 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29772 Use the BSD numbers rather than the arbitrary ones we had.
29773 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29774 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29775 (SIGXCPU, SIGXFSZ): New macros.
29778 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29779 initializer on [_LIBC_REENTRANT].
29781 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29782 definitions inside [_POSIX_MAPPED_FILES].
29784 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29786 * dirent/opendir.c: Include <fcntl.h>.
29788 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29789 (__libc_getspecific): Likewise.
29790 (__libc_key_create): Likewise.
29792 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29793 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29794 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29795 (tmpfile64): Define as alias.
29796 * sysdeps/wordsize-64/tmpfile.c: File removed.
29797 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29799 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29801 * stdio-common/vfscanf.c: Include <stdbool.h>.
29802 * nss/makedb.c: Likewise.
29803 * stdio-common/_i18n_number.h: Likewise.
29804 * argp/argp-help.c: Likewise.
29805 * posix/wordexp.c: Likewise.
29806 * sysdeps/posix/spawni.c: Likewise.
29807 * nss/nss_files/files-initgroups.c: Likewise.
29808 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29809 * nss/nss_files/files-initgroups.c: Likewise.
29810 * nss/nss_db/db-netgrp.c: Likewise.
29811 * nss/nss_db/db-initgroups.c: Likewise.
29812 * io/fchmodat.c: Include <sys/stat.h>.
29814 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29815 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29817 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29820 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29821 Add multiple inclusion protection.
29823 2012-07-27 David S. Miller <davem@davemloft.net>
29825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29827 2012-07-27 Gary Benson <gbenson@redhat.com>
29830 * elf/rtld.c: Include <stap-probe.h>.
29831 (dl_main): Added static probes "init_start" and "init_complete".
29832 * elf/dl-load.c: Include <stap-probe.h>.
29833 (lose): Take new parameter "nsid".
29834 Added static probe "map_failed".
29835 (_dl_map_object_from_fd): Pass namespace id to lose.
29836 Added static probe "map_start".
29837 (open_verify): Pass namespace id to lose.
29838 * elf/dl-open.c: Include <stap-probe.h>.
29839 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29840 and "reloc_complete".
29841 * elf/dl-close.c: Include <stap-probe.h>.
29842 (_dl_close_worker): Added static probes "unmap_start" and
29844 * elf/rtld-debugger-interface.txt: New file documenting the above.
29846 2012-07-26 Roland McGrath <roland@hack.frob.com>
29848 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29849 rather than a string variable.
29850 * sunrpc/rpc_main.c (h_output): Likewise.
29851 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29853 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29855 * inet/check_native.c: New file.
29857 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29860 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29861 if larger part has absolute value 1.0.
29862 * math/s_clog10.c (__clog10): Likewise.
29863 * math/s_clog10f.c (__clog10f): Likewise.
29864 * math/s_clog10l.c (__clog10l): Likewise.
29865 * math/s_clogf.c (__clogf): Likewise.
29866 * math/s_clogl.c (__clogl): Likewise.
29867 * math/libm-test.inc (clog_test): Add more tests.
29868 (clog10_test): Likewise.
29869 * sysdeps/i386/fpu/libm-test-ulps: Update.
29870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29872 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29873 (pltexit): Likewise.
29874 (La_regs): Likewise.
29875 (La_retval): Likewise.
29876 (int_retval): Likewise.
29877 Update #error for removed macros to refer only to definitions in
29879 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29881 (pltexit): Likewise.
29882 (La_regs): Likewise.
29883 (La_retval): Likewise.
29884 (int_retval): Likewise.
29885 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29887 (pltexit): Likewise.
29888 (La_regs): Likewise.
29889 (La_retval): Likewise.
29890 (int_retval): Likewise.
29891 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29893 (pltexit): Likewise.
29894 (La_regs): Likewise.
29895 (La_retval): Likewise.
29896 (int_retval): Likewise.
29897 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29899 (pltexit): Likewise.
29900 (La_regs): Likewise.
29901 (La_retval): Likewise.
29902 (int_retval): Likewise.
29903 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29905 (pltexit): Likewise.
29906 (La_regs): Likewise.
29907 (La_retval): Likewise.
29908 (int_retval): Likewise.
29909 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29911 (pltexit): Likewise.
29912 (La_regs): Likewise.
29913 (La_retval): Likewise.
29914 (int_retval): Likewise.
29915 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29916 macro definitions in tst-audit.h.
29917 * sysdeps/i386/tst-audit.h: New file.
29918 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29919 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29920 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29921 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29922 * sysdeps/sh/tst-audit.h: Likewise.
29923 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29924 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29925 * sysdeps/x86_64/tst-audit.h: Likewise.
29927 2012-07-26 Andreas Jaeger <aj@suse.de>
29929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29932 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29933 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29934 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29936 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29937 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29938 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29940 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29943 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29945 (si_call_addr, si_syscall, si_arch): Define new macro.
29946 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29948 (si_call_addr, si_syscall, si_arch): Define new marcro.
29949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29951 (si_call_addr, si_syscall, si_arch): Define new macro.
29952 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29954 (si_call_addr, si_syscall, si_arch): Define new macro.
29956 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29960 Change to 2.4.21 where previously 2.4.1.
29961 * sysdeps/unix/sysv/linux/configure: Regenerated.
29962 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29963 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29964 Linux kernel version.
29965 (__ASSUME_STD_AUXV): Remove.
29966 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29968 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29969 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29970 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29971 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29972 (__ASSUME_NETLINK_SUPPORT): Likewise.
29973 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29974 (__no_netlink_support): Remove conditional definition.
29975 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29977 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29978 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29979 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29980 (if_nameindex_ioctl): Remove.
29981 (if_nameindex_netlink): Do not handle __no_netlink_support.
29982 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29984 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29985 Remove conditional code.
29986 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29988 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29990 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29991 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29992 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29994 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29995 [!__ASSUME_STD_AUXV]: Remove conditional code.
29996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29997 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29998 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30000 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30001 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30003 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30005 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30006 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30008 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30010 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30013 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30016 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30017 code unconditional.
30018 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30020 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30022 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30025 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30027 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30030 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30031 code unconditional.
30032 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30034 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30036 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30039 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30040 code unconditional.
30041 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30043 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30045 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30048 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30050 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30051 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30052 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30053 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30054 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30055 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30056 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30057 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30058 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30059 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30060 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30061 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30062 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30063 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30064 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30065 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30066 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30068 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30070 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30071 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30072 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30074 2012-07-25 Florian Weimer <fweimer@redhat.com>
30076 * Versions.def: Add GLIBC_2.17.
30077 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30078 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30079 Introduce __libc_secure_getenv.
30080 * stdlib/Versions (2.17): Add secure_getenv
30081 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30082 * stdlib/secure-getenv.c: Rename __secure_getenv to
30083 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30084 symbol __secure_getenv for GLIBC_2.0.
30085 * stdlib/tst-secure-getenv.c: New.
30086 * stdlib/Makefile (tests): Add testcase.
30087 * manual/startup.texi (Environment Access): Document
30089 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30090 __libc_secure_getenv.
30091 * inet/ruserpass.c (ruserpass): Likewise.
30092 * malloc/mtrace.c (mtrace): Likewise.
30093 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30094 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30095 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30096 * sysdeps/posix/tempname.c: Likewise. Evaluate
30097 HAVE_SECURE_GETENV.
30098 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30099 __secure_getenv to __libc_secure_getenv.
30100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30113 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30115 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30116 (struct La_i86_retval): Likewise.
30117 (struct La_x86_64_regs): Likewise.
30118 (struct La_x86_64_retval): Likewise.
30119 (struct La_x32_regs): Likewise.
30120 (struct La_x32_retval): Likewise.
30121 (struct La_ppc32_regs): Likewise.
30122 (struct La_ppc32_retval): Likewise.
30123 (struct La_ppc64_regs): Likewise.
30124 (struct La_ppc64_retval): Likewise.
30125 (struct La_sh_regs): Likewise.
30126 (struct La_sh_retval): Likewise.
30127 (struct La_s390_32_regs): Likewise.
30128 (struct La_s390_32_retval): Likewise.
30129 (struct La_s390_64_regs): Likewise.
30130 (struct La_s390_64_retval): Likewise.
30131 (struct La_sparc32_regs): Likewise.
30132 (struct La_sparc32_retval): Likewise.
30133 (struct La_sparc64_regs): Likewise.
30134 (struct La_sparc64_retval): Likewise.
30135 (struct audit_ifaces): Remove architecture-specific pltenter and
30137 * sysdeps/i386/ldsodefs.h: New file.
30138 * sysdeps/powerpc/ldsodefs.h: Likewise.
30139 * sysdeps/s390/ldsodefs.h: Likewise.
30140 * sysdeps/sh/ldsodefs.h: Likewise.
30141 * sysdeps/sparc/ldsodefs.h: Likewise.
30142 * sysdeps/x86_64/ldsodefs.h: Likewise.
30144 2012-07-25 Marek Polacek <polacek@redhat.com>
30147 * math/libm-test.inc (yn_test): Add another test.
30148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30149 to ERANGE when the result is +-Inf.
30150 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30151 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30152 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30153 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30155 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30157 * conform/data/time.h-data (NULL): Use macro-constant. Require
30159 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30161 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30163 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30165 * configure.in <sysdeps resolving>: Correct printing
30167 * configure: Regenerate.
30169 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30171 * math/w_ilogb.c: Include <limits.h>.
30172 * math/w_ilogbl.c: Likewise.
30174 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30176 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30177 va_copy. Document allowing for unavailable va_copy only as
30178 pre-C99 compatibility.
30179 * manual/string.texi (Copying and Concatenation): Use va_copy
30180 instead of __va_copy in concat example.
30182 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30184 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30185 (__sendto): Use create_address_port. Initialize APORT and deallocate
30188 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30189 with O_NOLINK passed to __file_name_lookup.
30191 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30192 with O_NOLINK passed to __file_name_lookup.
30194 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30195 negative N or less than NGIDS.
30197 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30198 type to string_t. Set ERANGE as errno and return it if NAME is not big
30199 enough. Use memcpy instead of strncpy.
30201 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30203 * elf/Makefile (check-data): Remove.
30204 (localplt.data): New vpath directive.
30205 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30206 instead of $(check-data).
30207 * scripts/data/localplt-generic.data: Move to ...
30208 * sysdeps/generic/localplt.data: ... here.
30209 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30210 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30211 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30214 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30217 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30220 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30223 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30226 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30230 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30232 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30233 PPC32 and PPC64 files.
30234 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30235 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30237 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30239 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30240 __makecontext_ret to ...
30241 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30242 ... here and call exit if uc_link is NULL. New file.
30243 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30244 __makecontext_ret.S.
30245 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30246 __makecontext_ret to ...
30247 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30248 ... here and call exit if uc_link is NULL. New file.
30249 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30250 __makecontext_ret.S.
30252 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30254 * elf/elf.h (R_390_IRELATIVE): New definition.
30255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30256 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30257 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30258 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30259 (elf_machine_lazy_rel): Likewise.
30260 * sysdeps/s390/dl-irel.h: New file.
30261 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30262 * sysdeps/s390/s390-64/memset.S: New asm code.
30263 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30264 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30265 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30266 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30267 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30268 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30270 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30271 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30272 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30273 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30274 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30275 * sysdeps/s390/s390-32/memset.S: New asm code.
30276 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30278 2012-07-17 Marek Polacek <polacek@redhat.com>
30281 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30282 * sysdeps/s390/s390-64/configure.in: Likewise.
30283 * sysdeps/sparc/configure.in: Likewise.
30284 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30285 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30286 * sysdeps/i386/configure.in: Likewise.
30287 * sysdeps/x86_64/configure.in: Likewise.
30288 * sysdeps/sh/configure.in: Likewise.
30289 * sysdeps/s390/s390-32/configure: Regenerated.
30290 * sysdeps/s390/s390-64/configure: Likewise.
30291 * sysdeps/x86_64/configure: Likewise.
30292 * sysdeps/sh/configure: Likewise.
30293 * sysdeps/powerpc/powerpc64/configure: Likewise.
30294 * sysdeps/powerpc/powerpc32/configure: Likewise.
30295 * sysdeps/sparc/configure: Likwise.
30296 * sysdeps/i386/configure: Likewise.
30298 * elf/dl-open.c: Comment fixes.
30300 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30302 * Makefile [CXX] (check-data): Remove.
30303 [CXX] (c++-types.data): New vpath directive.
30304 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30305 vpath. Do not allow for C++ type data being missing.
30306 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30307 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30308 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30309 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30310 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30311 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30312 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30315 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30318 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30321 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30324 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30327 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30330 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30333 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30336 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30337 definitions to architecture-specific files.
30338 (TLS_IE): Likewise.
30339 (TLS_LD): Likewise.
30340 (TLS_GD): Likewise.
30341 * sysdeps/i386/tls-macros.h: New file.
30342 * sysdeps/powerpc/tls-macros.h: Likewise.
30343 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30344 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30345 * sysdeps/sh/tls-macros.h: Likewise.
30346 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30347 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30348 * sysdeps/x86_64/tls-macros.h: Likewise.
30350 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30352 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30353 zero value for regular exit case.
30355 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30356 (__start_context): Preserve zero value for regular exit case.
30358 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30359 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30361 * manual/setjmp.texi (setcontext): Clarify normal process
30362 termination when uc_link is the null pointer.
30363 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30366 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30368 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30369 preprocessor. Test for each exception mask separately.
30371 2012-07-16 Andreas Jaeger <aj@suse.de>
30373 * po/ru.po: Update from translation team.
30375 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30377 * conform/data/string.h-data (NULL): Use macro-constant. Require
30379 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30380 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30381 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30382 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30385 2012-07-13 Andreas Jaeger <aj@suse.de>
30387 * po/fr.po: Update from translation team.
30389 2012-07-12 Marek Polacek <polacek@redhat.com>
30392 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30393 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30396 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30399 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30400 Change to 2.4.1 where previously 2.4.0.
30401 * sysdeps/unix/sysv/linux/configure: Regenerated.
30402 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30403 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30405 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30406 (__ASSUME_AT_CLKTCK): Remove.
30407 (__ASSUME_AT_PAGESIZE): Likewise.
30408 (__ASSUME_AT_XID): Likewise.
30409 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30410 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30411 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30413 (HAVE_AUX_PAGESIZE): Likewise.
30414 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30415 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30416 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30418 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30422 the temporary buffer used to invoke __gethostbyname2_r,
30423 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30424 host_data / struct gaih_addrtuple.
30425 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30426 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30427 header file nss/nsswitch.h.
30428 * nss/nsswitch.h (global scope): Add definition of implementation
30429 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30430 resolv/nss_dns/dns-host.c).
30432 2012-07-11 Andreas Jaeger <aj@suse.de>
30434 * po/fr.po: Update from translation team.
30436 * po/sv.po: Update from translation team
30437 * po/fr.po: Another update from translation team.
30439 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30441 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30442 for subnormals or multiply small sinh result by itself.
30443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30446 2012-07-11 David S. Miller <davem@davemloft.net>
30448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30450 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30453 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30454 (INTERNAL_MARK): Shift it here.
30456 2012-07-10 Marek Polacek <polacek@redhat.com>
30459 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30460 libc_cv_asm_global_directive with .globl.
30461 * configure: Regenerated.
30462 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30464 * sysdeps/i386/configure: Regenerated.
30465 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30467 * sysdeps/x86_64/configure: Regenerated.
30468 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30469 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30470 * elf/tst-unique2mod2.c: Likewise.
30471 * elf/tst-unique2mod1.c: Likewise.
30472 * elf/tst-unique1mod2.c: Likewise.
30473 * elf/tst-unique1mod1.c: Likewise.
30474 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30475 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30476 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30477 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30478 * sysdeps/mach/sysdep.h: Likewise.
30479 * sysdeps/i386/sysdep.h: Likewise.
30480 * sysdeps/i386/i386-mcount.S: Likewise.
30481 * sysdeps/x86_64/_mcount.S: Likewise.
30482 * sysdeps/x86_64/sysdep.h: Likewise.
30483 * sysdeps/sh/_mcount.S: Likewise.
30484 * sysdeps/sh/sysdep.h: Likewise.
30485 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30486 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30487 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30488 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30489 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30490 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30491 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30492 * locale/localeinfo.h: Likewise.
30493 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30494 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30496 2012-07-09 Roland McGrath <roland@hack.frob.com>
30499 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30501 * manual/message.texi (The Uniforum approach): Likewise.
30502 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30503 (glibc iconv Implementation): Likewise.
30505 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30508 * math/s_clog.c (__clog): Avoid scaling a value down where that
30509 could result in underflow.
30510 * math/s_clog10.c (__clog10): Likewise.
30511 * math/s_clog10f.c (__clog10f): Likewise.
30512 * math/s_clog10l.c (__clog10l): Likewise.
30513 * math/s_clogf.c (__clogf): Likewise.
30514 * math/s_clogl.c (__clogl): Likewise.
30515 * math/libm-test.inc (clog_test): Add more tests.
30516 (clog10_test): Likewise.
30517 * sysdeps/i386/fpu/libm-test-ulps: Update.
30518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30520 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30523 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30524 by 7 not 8 to examine high bit of fractional part.
30527 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30528 for call to __mcount_internal.
30529 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30530 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30531 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30533 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30536 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30537 approximation for values within 0x1p-13f of an odd multiple of
30539 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30540 exception. Add more tests.
30541 * sysdeps/i386/fpu/libm-test-ulps: Update.
30544 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30545 inputs and return -1 for them. Do not check for +Inf in case not
30546 reachable for +Inf.
30547 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30548 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30549 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30550 and return -1 for them. Do not check for +Inf in case not
30551 reachable for +Inf.
30552 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30554 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30555 and return -1 for them. Do not check for +Inf in case not
30556 reachable for +Inf.
30557 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30558 spurious underflow.
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30562 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30564 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30566 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30570 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30571 could result in spurious underflow. Scale down values above
30572 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30573 * math/s_csqrtf.c (__csqrtf): Likewise.
30574 * math/s_csqrtl.c (__csqrtl): Likewise.
30575 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30576 spurious underflow.
30577 * sysdeps/i386/fpu/libm-test-ulps: Update.
30578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30580 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30582 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30584 * catgets/xopen-msg.awk: New file.
30585 * catgets/xopen-msg.sed: Removed.
30587 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30589 * intl/po2test.awk: New file.
30590 * intl/po2test.sed: Removed.
30592 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30595 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30596 or multiply small sinh result by itself.
30597 * math/s_ctanf.c (__ctanf): Likewise.
30598 * math/s_ctanh.c (__ctanh): Likewise.
30599 * math/s_ctanhf.c (__ctanhf): Likewise.
30600 * math/s_ctanhl.c (__ctanhl): Likewise.
30601 * math/s_ctanl.c (__ctanl): Likewise.
30602 * math/libm-test.inc (ctan_test_tonearest): New function.
30603 (ctan_test_towardzero): Likewise.
30604 (ctan_test_downward): Likewise.
30605 (ctan_test_upward): Likewise.
30606 (ctanh_test_tonearest): Likewise.
30607 (ctanh_test_towardzero): Likewise.
30608 (ctanh_test_downward): Likewise.
30609 (ctanh_test_upward): Likewise.
30610 (main): Call these new functions.
30611 * sysdeps/i386/fpu/libm-test-ulps: Update.
30612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30614 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30616 * .gitignore: Delete /ports entry.
30618 2012-07-03 Andreas Jaeger <aj@suse.de>
30620 * po/bg.po: Update from translation team.
30621 * po/cs.po: Likewise.
30622 * po/de.po: Likewise.
30623 * po/hr.po: Likewise.
30624 * po/nl.pl: Likewise.
30625 * po/pl.po: Likewise.
30626 * po/vi.po: Likewise.
30628 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30630 * Makeconfig [!+link] (+link-before-libc): New variable.
30631 [!+link] (+link-after-libc): Likewise.
30632 [!+link] (+link-tests): Likewise.
30633 [!+link] (+link): Define in terms of $(+link-before-libc) and
30634 $(+link-after-libc).
30635 [!+link-static] (+link-static-before-libc): New variable.
30636 [!+link-static] (+link-static-after-libc): Likewise.
30637 [!+link-static] (+link-static-tests): Likewise.
30638 [!+link-static] (+link-static): Define in terms of
30639 $(+link-static-before-libc) and $(+link-static-after-libc).
30640 [build-shared] (link-libc-before-gnulib): New variable.
30641 [build-shared] (link-libc-tests): Likewise.
30642 [build-shared] (link-libc): Define in terms of
30643 $(link-libc-before-gnulib).
30644 [!build-shared] (link-libc-tests): New variable.
30645 (link-libc-static-tests): New variable.
30646 [!gnulib] (gnulib-arch): New variable.
30647 [!gnulib] (gnulib-tests): Likewise.
30648 [!gnulib] (static-gnulib-arch): Likewise.
30649 [!gnulib] (static-gnulib-tests): Likewise.
30650 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30651 Define with "=" instead of ":=".
30652 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30653 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30654 * Rules (binaries-all-notests): New variable.
30655 (binaries-all-tests): Likewise.
30656 (binaries-static-notests): Likewise.
30657 (binaries-static-tests): Likewise.
30658 (binaries-all): Define using $(binaries-all-notests) and
30659 $(binaries-all-tests).
30660 (binaries-static): Define using $(binaries-static-notests) and
30661 $(binaries-static-tests).
30662 (binaries-shared-tests): New variable.
30663 (binaries-shared-notests): Likewise.
30664 (binaries-shared): Remove variable.
30665 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30666 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30667 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30668 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30669 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30670 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30671 * elf/Makefile (sln-modules): New variable.
30672 (extra-objs): Add $(sln-modules:=.o).
30673 (ldconfig-modules): Add static-stubs.
30674 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30675 * elf/static-stubs.c: New file.
30678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30679 by 7 not 8 to examine high bit of fractional part. Use volatile
30680 variables when splitting into final array of floats if
30681 __FLT_EVAL_METHOD__ != 0.
30682 * math/libm-test.inc (cos_test): Add another test.
30683 (sin_test): Likewise.
30684 * sysdeps/i386/fpu/libm-test-ulps: Update.
30687 * math/libm-test.inc (cosh_test): Add more tests.
30689 * version.h (RELEASE): Set to "development".
30690 (VERSION): Set to "2.16.90".
30692 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30694 * NEWS: Update copyright. Remove last-updated date.
30695 Mention math library bug fixes and timezone data changes.
30696 * README: Mention GNU/Hurd, x32, and HPPA support status.
30698 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30700 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30702 2012-06-27 Andreas Jaeger <aj@suse.de>
30704 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30706 2012-06-25 Andreas Jaeger <aj@suse.de>
30708 * sysdeps/s390/fpu/libm-test-ulps: Update.
30710 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30711 Thomas Schwinge <thomas@codesourcery.com>
30713 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30714 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30718 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30720 * sysdeps/mach/start.c: Remove file.
30721 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30722 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30723 * sysdeps/sh/init-first.c: Likewise.
30725 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30726 registers for frame unwinding purposes, add CFI directives.
30727 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30728 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30729 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30732 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30733 __fortify_fail returning.
30734 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30736 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30737 sysdeps/sh/____longjmp_chk.S.
30738 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30739 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30740 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30741 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30743 * sysdeps/sh/abort-instr.h: New file.
30744 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30745 process in case exit returns.
30747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30748 initialize the GOT register before use.
30750 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30751 calculation of ARGC > 4.
30753 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30754 meaningful names to some local labels.
30756 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30757 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30759 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30760 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30761 (__arch_compare_and_exchange_val_16_acq): Likewise.
30762 (__arch_compare_and_exchange_val_32_acq): Likewise.
30763 (atomic_exchange_and_add): Fix gUSA sequence.
30764 (atomic_add): Likewise.
30765 (atomic_add_negative): Likewise.
30766 (atomic_add_zero): Likewise.
30767 (atomic_bit_test_set): Likewise.
30769 2012-06-22 Andreas Schwab <schwab@redhat.com>
30772 * include/link.h (struct link_map): Add l_free_initfini.
30773 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30775 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30776 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30777 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30780 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30782 * configure.in: Use AC_LANG_SOURCE.
30783 * configure: Regenerate.
30785 2012-06-22 Roland McGrath <roland@hack.frob.com>
30787 * configure.in (libc_cv_localstatedir): New substituted variable.
30788 * configure: Regenerated.
30789 * config.make.in (localstatedir): New variable, substituted from
30790 libc_cv_localstatedir.
30791 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30792 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30793 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30794 * sysdeps/gnu/configure: Regenerated.
30796 2012-06-21 Jeff Law <law@redhat.com>
30799 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30800 free. Simplify list management for _LIBC case.
30802 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30806 Clear sign bit of 64-bit integer value before comparing against
30809 * sysdeps/mach/configure: Regenerated.
30811 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30814 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30816 2012-06-21 Jeff Law <law@redhat.com>
30819 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30820 uint16_t for elements in the "seen" array to avoid char overflows.
30821 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30822 * elf/dl-open.c (dl_open_worker): Likewise.
30824 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30826 * scripts/list-sources.sh: Scan PORTS for translations.
30827 * po/libc.pot: Regenerated.
30829 2012-06-21 Andreas Jaeger <aj@suse.de>
30832 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30834 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30835 * bits/byteswap-16.h (__bswap_16): Likewise.
30836 * bits/byteswap.h (__bswap_constant_16): Likewise.
30838 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30841 * sysdeps/i386/fpu_control.h: Removed.
30842 * sysdeps/x86_64/fpu_control.h: Moved to ...
30843 * sysdeps/x86/fpu_control.h: Here.
30845 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30846 (_FPU_SETCW): Likewise.
30848 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30851 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30852 * sysdeps/x86/fpu/bits/mathinline.h: This.
30853 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30857 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30858 functions if __x86_64__ is defined.
30860 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30862 * string/endian.h: Add !__ASSEMBLER__ condition for including
30863 conversion interfaces.
30865 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30869 of ABS(x) in calculating zero to negative powers other than odd
30871 * math/libm-test.inc (pow_test): Add more tests.
30873 2012-06-15 Andreas Jaeger <aj@suse.de>
30875 * manual/contrib.texi (Contributors): Update entry of Liubov
30876 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30879 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30881 * string/string.h: Add __wur to GNU version of strerror_r.
30883 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30886 * string/Makefile (tests): Add tst-strtok_r.
30887 * string/tst-strtok_r.c: New file.
30888 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30889 RAX_LP/RDX_LP on SAVE_PTR.
30891 2012-06-14 Roland McGrath <roland@hack.frob.com>
30893 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30895 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30897 * libm_test.inc (csqrt_test): Allow more spurious underflow
30899 (j0_test): Likewise.
30900 (j1_test): Likewise.
30901 (y0_test): Likewise.
30902 (y1_test): Likewise.
30904 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30906 * po/Makefile (libc.pot): Use UTF-8 charset.
30908 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30911 Suppress sign-conversion warning from FD_SET.
30912 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30913 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30914 not unsigned long int.
30915 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30917 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30921 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30922 __extern_always_inline instead of __extern_inline.
30923 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30924 (__signbit): Likewise.
30925 (__signbitl): Support C++ namespace.
30926 (lrintf): New inline function.
30928 (llrintf): Likewise.
30929 (llrint): Likewise.
30939 (floorf): Likewise.
30940 (nearbyint): Likewise.
30941 (nearbyintf): Likewise.
30943 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30946 non-default versions.
30948 2012-06-11 Roland McGrath <roland@hack.frob.com>
30951 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30953 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30955 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30956 (FE_UPWARD, FE_DOWNWARD): Don't define.
30957 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30962 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30963 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30965 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30967 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30969 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30970 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30972 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30975 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30976 * sysdeps/i386/fpu/Implies: New file.
30977 * sysdeps/x86_64/fpu/Implies: Likewise.
30978 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30979 * sysdeps/x86/fpu/bits/fenv.h: This.
30981 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30984 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30987 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30988 character 0xffff that matches the last element of the
30991 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30996 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30999 values higher than 25.6283.
31001 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31004 subnormal exponent extraction and add some __builtin_expect.
31005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31006 Fix for subnormal mantissa calculation.
31008 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31010 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31011 cpu2 is -1 and errno is not ENOSYS.
31013 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31016 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31017 * sysdeps/x86/bits/string.h: This.
31018 * sysdeps/x86_64/bits/string.h: Removed.
31020 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31021 if not compiling for x86-64, but compiling for >= i486.
31023 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31024 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31026 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31027 New macro from Linux kernel 3.4.0.
31028 (FP_XSTATE_MAGIC2): Likewise.
31029 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31030 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31031 (struct _fpx_sw_bytes): New struct.
31032 (struct _xsave_hdr): Likewise.
31033 (struct _ymmh_state): Likewise.
31034 (struct _xstate): Likewise.
31036 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31037 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31038 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31039 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31040 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31041 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31043 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31044 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31045 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31046 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31047 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31048 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31050 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31053 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31054 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31055 (sysdep_headers): Include sys/platform/ppc.h.
31056 * sysdeps/powerpc/test-gettimebase.c: Test for
31057 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31058 * manual/Makefile (appendices): Include platform.texi.
31059 * manual/contrib.texi (Contributors): Update @node pointers.
31060 * manual/maint.texi (Maintenance): Likewise.
31061 (Platform): New node.
31062 * manual/platform.texi: New file. Document the new features.
31064 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31065 Jakub Jelinek <jakub@redhat.com>
31068 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31069 where __builtin_expect is unavailable.
31071 2012-06-03 David S. Miller <davem@davemloft.net>
31073 * stdlib/longlong.h: Updated from GCC.
31075 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31078 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31079 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31082 (GLIBC_2.16): Likewise.
31084 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31086 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31088 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31091 (default-abi): New variable.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31099 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31102 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31103 definition. Document in comment.
31105 2012-06-01 David S. Miller <davem@davemloft.net>
31107 * stdlib/longlong.h: Updated from GCC.
31109 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31112 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31113 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31114 sys/debugreg.h sys/io.h here.
31115 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31116 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31118 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31119 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31120 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31121 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31122 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31123 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31125 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31126 Define only if __x86_64__ is defined.
31128 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31131 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31132 Use int64_t for variable i.
31133 * math/libm-test.inc (fmod_test): Add more tests.
31135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31136 z computation is not scheduled after fetestexcept.
31137 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31138 Use math_force_eval instead of asm to ensure calculation scheduled
31139 before exception test.
31140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31141 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31143 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31146 computation is not scheduled after fetestexcept.
31148 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31151 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31152 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31154 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31156 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31157 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31159 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31162 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31164 (__WCHAR_MIN): Support __WORDSIZE == 64.
31165 (__WCHAR_MAX): Likewise.
31167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31168 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31171 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31172 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31175 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31176 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31178 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31179 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31181 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31182 Defined to 1 if __x86_64__ isn't defined.
31183 (_STAT_VER_LINUX_OLD): New.
31184 (st_atime): Remove duplicate.
31185 (st_mtime): Likewise.
31186 (st_ctime): Likewise.
31188 2012-05-31 David S. Miller <davem@davemloft.net>
31190 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31193 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31195 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31199 * elf/dl-reloc.c: Include <_itoa.h>.
31200 (_dl_reloc_bad_type): Remove use of INTUSE.
31201 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31202 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31203 * stdio-common/psiginfo.c (psiginfo): Likewise.
31204 * stdio-common/psignal.c (psignal): Likewise.
31205 * string/strsignal.c (strsignal): Likewise.
31206 * include/signal.h (_sys_siglist): Declare hidden proto.
31207 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31208 INTVARDEF with libc_hidden_data_def.
31209 * stdio-common/itoa-udigits.c: Likewise.
31210 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31211 (_itoa_lower_digits_internal): Remove declaration.
31212 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31213 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31214 (_sys_sigabbrev_internal): Remove aliases.
31215 (_sys_siglist): Define hidden alias.
31217 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31222 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31225 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31226 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31228 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31229 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31230 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31231 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31233 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31235 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31236 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31237 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31239 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31248 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31249 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31251 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31252 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31254 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31255 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31256 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31258 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31259 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31261 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31262 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31268 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31269 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31271 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31273 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31274 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31275 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31277 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31279 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31281 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31283 * math/math.h (M_El): Use two more decimal places.
31284 (M_LOG2El): Likewise.
31285 (M_LOG10El): Likewise.
31286 (M_LN2l): Likewise.
31287 (M_LN10l): Likewise.
31289 (M_PI_2l): Likewise.
31290 (M_PI_4l): Likewise.
31291 (M_1_PIl): Likewise.
31292 (M_2_PIl): Likewise.
31293 (M_2_SQRTPIl): Likewise.
31294 (M_SQRT2l): Likewise.
31295 (M_SQRT1_2l): Likewise.
31297 2012-05-31 David S. Miller <davem@davemloft.net>
31299 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31300 values between float registers.
31301 * sysdeps/sparc/sparc64/memset.S: Likewise.
31302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31304 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31306 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31307 -D_FORTIFY_SOURCE=1.
31308 (CPPFLAGS-tst-longjmp_chk.c): Define.
31309 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31310 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31311 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31312 CFLAGS-tst-wchar-h.c.
31314 2012-05-31 Marek Polacek <polacek@redhat.com>
31317 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31318 __endmntent_internal): Remove declaration.
31319 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31320 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31321 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31323 2012-05-30 David S. Miller <davem@davemloft.net>
31325 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31326 (___Q_simulate_exceptions): Use real FP ops rather than writing
31328 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31331 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31334 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31335 * sysdeps/x86/bits/xtitypes.h: This.
31337 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31338 * sysdeps/x86/bits/wordsize.h: This.
31340 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31341 * sysdeps/x86/bits/huge_vall.h: This.
31343 * sysdeps/i386/bits/select.h: Removed.
31344 * sysdeps/x86_64/bits/select.h: Renamed to ...
31345 * sysdeps/x86/bits/select.h: This.
31347 * sysdeps/i386/bits/setjmp.h: Removed.
31348 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31349 * sysdeps/x86/bits/setjmp.h: This.
31351 * sysdeps/i386/bits/mathdef.h: Removed.
31352 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31353 * sysdeps/x86/bits/mathdef.h: This.
31355 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31358 * include/sys/socket.h (__connect_internal)
31359 (__libc_sa_len_internal): Remove declaration.
31360 (__connect, __libc_sa_len): Declare hidden_proto.
31361 (SA_LEN): Remove use of INTUSE.
31362 * socket/connect.c: Add libc_hidden_def.
31363 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31364 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31365 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31367 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31368 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31369 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31370 of adding _internal alias.
31372 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31375 * sysdeps/i386/bits/link.h: Removed.
31376 * sysdeps/i386/bits/linkmap.h: Likewise.
31377 * sysdeps/x86_64/bits/link.h: Renamed to ...
31378 * sysdeps/x86/bits/link.h: This.
31379 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31380 * sysdeps/x86/bits/linkmap.h: This.
31382 * sysdeps/i386/bits/endian.h: Removed.
31383 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31384 * sysdeps/x86/bits/endian.h: This.
31386 * sysdeps/i386/bits/byteswap.h: Removed.
31387 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31388 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31389 * sysdeps/x86/bits/byteswap.h: This.
31390 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31391 * sysdeps/x86/bits/byteswap-16.h: This.
31392 * sysdeps/i386/Implies: Add x86.
31393 * sysdeps/x86_64/Implies: Likewise.
31395 2012-05-30 David S. Miller <davem@davemloft.net>
31397 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31398 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31399 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31400 (FP_TRAPPING_EXCEPTIONS): Define.
31401 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31402 (FP_TRAPPING_EXCEPTIONS): Define.
31403 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31404 subnormals only when inexact has been signalled or underflow
31405 exceptions are enabled.
31406 (_FP_PACK_CANONICAL): Likewise.
31408 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31411 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31412 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31414 2012-05-30 Richard Henderson <rth@twiddle.net>
31416 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31417 with #ifndef NOT_IN_libc.
31419 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31420 marked to avoid plt entry.
31422 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31425 * Makeconfig (default-abi): New macro.
31426 (abi-includes): Likewise.
31427 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31428 $(abi-$(default-abi)-lib-soname) for soname if defined.
31429 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31431 * Makefile (installed-stubs): Likewise.
31432 * include/stubs-biarch.h: Removed.
31433 * scripts/lib-names.awk: Only handle one library at a time.
31434 * scripts/soversions.awk: Remove WORDSIZE support.
31435 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31437 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31439 (syscall-list-default-condition): Likewise.
31440 (syscall-list-default-condition): Likewise.
31441 (syscall-list-includes): Likewise.
31442 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31443 syscall-list-* with abi-*. Handle undefined abi-variants.
31444 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31445 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31446 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31447 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31448 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31449 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31451 (syscall-list-32-options): Likewise.
31452 (syscall-list-32-condition): Likewise.
31453 (syscall-list-64-options): Likewise.
31454 (syscall-list-64-condition): Likewise.
31455 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31457 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31460 (abi-64-ld-soname): New macro.
31461 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31462 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31465 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31466 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31468 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31470 * sysdeps/unix/sysv/linux/kernel-features.h
31471 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31472 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31473 include <kernel-features.h>.
31474 [!__NR_ftruncate64]: Remove conditional code.
31475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31476 [__NR_ftruncate64]: Make code unconditional.
31477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31478 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31479 include <kernel-features.h>.
31480 [!__NR_ftruncate64]: Remove conditional code.
31481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31482 [__NR_ftruncate64]: Make code unconditional.
31483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31485 include <kernel-features.h>.
31486 [!__NR_ftruncate64]: Remove conditional code.
31487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31488 [__NR_ftruncate64]: Make code unconditional.
31489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31491 include <kernel-features.h>.
31492 [!__NR_ftruncate64]: Remove conditional code.
31493 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31494 [__NR_ftruncate64]: Make code unconditional.
31495 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31497 * configure.in (libc_cv_fpie): Weaken to a compile test using
31498 LIBC_TRY_CC_OPTION.
31499 * configure: Regenerated.
31501 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31516 2012-05-27 David S. Miller <davem@davemloft.net>
31518 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31520 (__Q_simulate_exceptions): Return void. Change to simulate
31521 exceptions by writing into the %fsr.
31522 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31523 (__Qp_handle_exceptions): Likewise.
31525 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31526 __Qp_handle_exceptions.
31527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31528 __Qp_handle_exceptions.
31529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31530 as unused and give dummy FP_RND_NEAREST initializer.
31531 (FP_INHIBIT_RESULTS): Define.
31532 (___Q_simulate_exceptions): Update declaration.
31533 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31536 as unused and give dummy FP_RND_NEAREST initializer.
31537 (__Qp_handle_exceptions): Update declaration.
31538 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31541 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31543 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31544 the temporary FPU control word.
31545 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31546 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31547 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31548 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31549 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31550 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31551 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31552 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31553 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31554 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31557 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31559 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31562 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31564 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31565 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31566 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31567 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31569 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31570 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31573 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31575 * po/h.po: Update from translation team.
31577 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31579 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31581 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31582 handling of denormals.
31583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31584 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31585 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31586 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31592 2012-05-26 Marek Polacek <polacek@redhat.com>
31595 * math/libm-test.inc (fma_test): Don't always expect underflow
31598 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31601 * elf/tst-execstack.c: Include stackinfo.h.
31602 (do_test): Adjust test case to ensure that pthread_getattr_np
31603 behaviour remains the same after marking stack executable.
31605 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31607 * sysdeps/unix/sysv/linux/kernel-features.h
31608 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31609 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31611 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31612 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31613 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31615 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31616 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31618 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31620 * configure.in: Define the default includes to being none.
31621 * configure: Regenerated.
31623 2012-05-25 Roland McGrath <roland@hack.frob.com>
31625 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31626 * sysdeps/x86_64/setjmp.S: Likewise.
31627 * sysdeps/i386/bsd-setjmp.S: Likewise.
31628 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31629 * sysdeps/i386/setjmp.S: Likewise.
31630 * sysdeps/i386/__longjmp.S: Likewise.
31631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31632 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31634 * include/stap-probe.h: New file.
31635 * configure.in: Handle --enable-systemtap.
31636 * configure: Regenerated.
31637 * config.h.in (USE_STAP_PROBE): New #undef.
31638 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31639 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31640 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31642 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31645 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31646 to 2.4.0 where earlier.
31647 * sysdeps/unix/sysv/linux/configure: Regenerated.
31648 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31649 <kernel-features.h>.
31650 [__ASSUME_32BITUIDS]: Make code unconditional.
31651 [!__ASSUME_32BITUIDS]: Remove conditional code.
31652 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31653 <kernel-features.h>.
31654 [__ASSUME_32BITUIDS]: Make code unconditional.
31655 [!__ASSUME_32BITUIDS]: Remove conditional code.
31656 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31657 [__ASSUME_32BITUIDS]: Make code unconditional.
31658 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31659 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31660 <kernel-features.h>.
31661 [__ASSUME_32BITUIDS]: Make code unconditional.
31662 [!__ASSUME_32BITUIDS]: Remove conditional code.
31663 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31664 <kernel-features.h>.
31665 [__ASSUME_32BITUIDS]: Make code unconditional.
31666 [!__ASSUME_32BITUIDS]: Remove conditional code.
31667 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31668 <kernel-features.h>.
31669 [__ASSUME_32BITUIDS]: Make code unconditional.
31670 [!__ASSUME_32BITUIDS]: Remove conditional code.
31671 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31672 <kernel-features.h>.
31673 [__ASSUME_32BITUIDS]: Make code unconditional.
31674 [!__ASSUME_32BITUIDS]: Remove conditional code.
31675 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
31684 <kernel-features.h>.
31685 [__ASSUME_32BITUIDS]: Make code unconditional.
31686 [!__ASSUME_32BITUIDS]: Remove conditional code.
31687 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31688 <kernel-features.h>.
31689 [__ASSUME_32BITUIDS]: Make code unconditional.
31690 [!__ASSUME_32BITUIDS]: Remove conditional code.
31691 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31692 <kernel-features.h>.
31693 [__ASSUME_32BITUIDS]: Make code unconditional.
31694 [!__ASSUME_32BITUIDS]: Remove conditional code.
31695 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31696 <kernel-features.h>.
31697 [__ASSUME_32BITUIDS]: Make code unconditional.
31698 [!__ASSUME_32BITUIDS]: Remove conditional code.
31699 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31700 <kernel-features.h>.
31701 [__NR_setresgid] (__setresgid): Do not declare.
31702 [__ASSUME_32BITUIDS]: Make code unconditional.
31703 [!__ASSUME_32BITUIDS]: Remove conditional code.
31704 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31705 <kernel-features.h>.
31706 [__NR_setresuid] (__setresuid): Do not declare.
31707 [__ASSUME_32BITUIDS]: Make code unconditional.
31708 [!__ASSUME_32BITUIDS]: Remove conditional code.
31709 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31710 <kernel-features.h>.
31711 [__ASSUME_32BITUIDS]: Make code unconditional.
31712 [!__ASSUME_32BITUIDS]: Remove conditional code.
31713 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31714 <kernel-features.h>.
31715 [__ASSUME_32BITUIDS]: Make code unconditional.
31716 [!__ASSUME_32BITUIDS]: Remove conditional code.
31717 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31718 <kernel-features.h>.
31719 [__ASSUME_32BITUIDS]: Make code unconditional.
31720 [!__ASSUME_32BITUIDS]: Remove conditional code.
31721 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31722 <kernel-features.h>.
31723 [__ASSUME_32BITUIDS]: Make code unconditional.
31724 [!__ASSUME_32BITUIDS]: Remove conditional code.
31725 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31726 <kernel-features.h>.
31727 [__ASSUME_32BITUIDS]: Make code unconditional.
31728 [!__ASSUME_32BITUIDS]: Remove conditional code.
31729 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31730 <kernel-features.h>.
31731 [__ASSUME_32BITUIDS]: Make code unconditional.
31732 [!__ASSUME_32BITUIDS]: Remove conditional code.
31733 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31734 <kernel-features.h>.
31735 [__ASSUME_32BITUIDS]: Make code unconditional.
31736 [!__ASSUME_32BITUIDS]: Remove conditional code.
31737 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31738 <kernel-features.h>.
31739 [__ASSUME_32BITUIDS]: Make code unconditional.
31740 [!__ASSUME_32BITUIDS]: Remove conditional code.
31741 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31742 <kernel-features.h>.
31743 [__ASSUME_32BITUIDS]: Make code unconditional.
31744 [!__ASSUME_32BITUIDS]: Remove conditional code.
31745 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31746 <kernel-features.h>.
31747 [__ASSUME_32BITUIDS]: Make code unconditional.
31748 [!__ASSUME_32BITUIDS]: Remove conditional code.
31749 * sysdeps/unix/sysv/linux/kernel-features.h
31750 (__ASSUME_SETRESUID_SYSCALL): Remove.
31751 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31752 (__ASSUME_32BITUIDS): Likewise.
31753 (__ASSUME_LDT_WORKS): Likewise.
31754 (__ASSUME_O_DIRECTORY): Likewise.
31755 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31756 architecture but not kernel version.
31757 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31758 (__ASSUME_MMAP2_SYSCALL): Likewise.
31759 (__ASSUME_STAT64_SYSCALL): Likewise.
31760 (__ASSUME_IPC64): Likewise.
31761 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31762 <kernel-features.h>.
31763 [__ASSUME_32BITUIDS]: Make code unconditional.
31764 [!__ASSUME_32BITUIDS]: Remove conditional code.
31765 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31766 <kernel-features.h>.
31767 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31768 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31769 132096]: Remove conditional code.
31770 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31771 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31772 <kernel-features.h>.
31773 [__ASSUME_32BITUIDS]: Make code unconditional.
31774 [!__ASSUME_32BITUIDS]: Remove conditional code.
31775 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31776 <kernel-features.h>.
31777 [__ASSUME_32BITUIDS]: Make code unconditional.
31778 [!__ASSUME_32BITUIDS]: Remove conditional code.
31779 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31780 <kernel-features.h>.
31781 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31783 (__setresgid): Do not declare.
31784 [__ASSUME_32BITUIDS]: Make code unconditional.
31785 [!__ASSUME_32BITUIDS]: Remove conditional code.
31786 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31787 <kernel-features.h>.
31788 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31790 (__setresuid): Do not declare.
31791 [__ASSUME_32BITUIDS]: Make code unconditional.
31792 [!__ASSUME_32BITUIDS]: Remove conditional code.
31793 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31794 <kernel-features.h>.
31795 [__ASSUME_32BITUIDS]: Make code unconditional.
31796 [!__ASSUME_32BITUIDS]: Remove conditional code.
31797 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31798 <kernel-features.h>.
31799 [__ASSUME_32BITUIDS]: Make code unconditional.
31800 [!__ASSUME_32BITUIDS]: Remove conditional code.
31802 2012-05-25 Richard Henderson <rth@twiddle.net>
31804 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31805 dl_hwcap to ifunc resolver.
31806 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31808 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31809 dl_hwcap to ifunc resolver.
31810 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31812 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31815 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31816 for |x| <= 2**-26, not 2**-57.
31817 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31820 2012-05-24 Jeff Law <law@redhat.com>
31822 * stdio-common/Makefile (tests): Add bug25.
31823 * stdio-common/bug25.c: New test.
31825 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31828 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31829 multiple of MALLOC_ALIGNMENT in size.
31830 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31832 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31834 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31836 (FILENAME_MAX): Use macro-int-constant.
31837 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31838 (_IOFBF): Use macro-int-constant.
31839 (_IOLBF): Likewise.
31840 (_IONBF): Likewise.
31841 (SEEK_CUR): Likewise.
31842 (SEEK_END): Likewise.
31843 (SEEK_SET): Likewise.
31844 (TMP_MAX): Likewise.
31845 (EOF): Use macro-int-constant. Require < 0.
31846 (NULL): Use macro-constant. Require == 0.
31847 (stdin): Require type to be FILE *.
31848 (stdout): Likewise.
31849 (stderr): Likewise.
31850 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31851 macro-int-constant.
31852 (EXIT_SUCCESS): Likewise.
31853 (NULL): Use macro-constant. Require == 0.
31854 (RAND_MAX): Use macro-int-constant.
31855 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31856 [C99-based standards] (strtof): Require function.
31857 [C99-based standards] (strtold): Likewise.
31858 [C99-based standards] (strtoll): Likewise.
31859 [C99-based standards] (strtoull): Likewise.
31860 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31861 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31862 [ISO || ISO99 || ISO11] (math.h): Likewise.
31863 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31864 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31867 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31870 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31871 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31872 * intl/dgettext.c (DCGETTEXT): Likewise.
31873 * intl/gettext.c (DCGETTEXT): Likewise.
31874 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31875 * posix/regex_internal.h (gettext): Likewise.
31876 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31877 Remove declaration.
31878 * include/argz.h (__argz_count_internal)
31879 (__argz_stringify_internal): Remove declaration.
31880 (__argz_count, __argz_stringify): Declare hidden proto.
31881 * intl/dcgettext.c: Remove use of INTDEF.
31882 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31883 * string/argz-stringify.c: Likewise.
31884 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31885 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31886 Declare hidden proto.
31887 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31888 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31889 Declare hidden proto.
31890 * include/stdio.h (__asprintf_internal): Don't declare.
31891 (__asprintf): Don't define as macro. Declare hidden proto.
31892 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31893 (__fsetlocking): Declare hidden proto.
31894 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31895 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31897 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31898 (_IO_setlinebuf): Remove use of INTUSE.
31899 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31900 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31901 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31902 Remove declaration.
31903 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31904 (_IO_do_flush): Remove use of INTUSE.
31905 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31906 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31907 (_IO_adjust_column, _IO_least_wmarker)
31908 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31909 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31910 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31911 (_IO_default_doallocate, _IO_wdefault_doallocate)
31912 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31913 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31914 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31915 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31916 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31917 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31918 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31919 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31920 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31921 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31922 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31923 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31924 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31926 (_IO_flush_all_internal, _IO_adjust_column_internal)
31927 (_IO_default_uflow_internal, _IO_default_finish_internal)
31928 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31929 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31930 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31931 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31932 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31933 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31934 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31935 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31936 (_IO_file_close_internal, _IO_file_close_it_internal)
31937 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31938 (_IO_file_init_internal, _IO_file_attach_internal)
31939 (_IO_file_fopen_internal, _IO_file_read_internal)
31940 (_IO_file_sync_internal, _IO_file_seek_internal)
31941 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31942 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31943 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31944 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31945 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31946 (_IO_list_all_internal, _IO_link_in_internal)
31947 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31948 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31949 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31950 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31951 (_IO_do_write_internal, _IO_padn_internal)
31952 (_IO_getline_info_internal, _IO_getline_internal)
31953 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31954 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31955 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31956 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31957 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31958 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31959 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31960 with libc_hidden_ver, remove use of INTUSE.
31961 * libio/genops.c: Likewise.
31962 * libio/freopen.c: Likewise.
31963 * libio/freopen64.c: Likewise.
31964 * libio/iofclose.c: Likewise.
31965 * libio/iofdopen.c: Likewise.
31966 * libio/iofflush.c: Likewise.
31967 * libio/iofflush_u.c: Likewise.
31968 * libio/iofgets.c: Likewise.
31969 * libio/iofgets_u.c: Likewise.
31970 * libio/iofopen.c: Likewise.
31971 * libio/iofopncook.c: Likewise.
31972 * libio/iofread.c: Likewise.
31973 * libio/iofread_u.c: Likewise.
31974 * libio/ioftell.c: Likewise.
31975 * libio/iofwrite.c: Likewise.
31976 * libio/iogetline.c: Likewise.
31977 * libio/iogets.c: Likewise.
31978 * libio/iogetwline.c: Likewise.
31979 * libio/iopadn.c: Likewise.
31980 * libio/iopopen.c: Likewise.
31981 * libio/ioseekoff.c: Likewise.
31982 * libio/ioseekpos.c: Likewise.
31983 * libio/iosetbuffer.c: Likewise.
31984 * libio/iosetvbuf.c: Likewise.
31985 * libio/ioungetc.c: Likewise.
31986 * libio/ioungetwc.c: Likewise.
31987 * libio/iovdprintf.c: Likewise.
31988 * libio/iovsprintf.c: Likewise.
31989 * libio/iovsscanf.c: Likewise.
31990 * libio/memstream.c: Likewise.
31991 * libio/obprintf.c: Likewise.
31992 * libio/oldfileops.c: Likewise.
31993 * libio/oldiofclose.c: Likewise.
31994 * libio/oldiofdopen.c: Likewise.
31995 * libio/oldiofopen.c: Likewise.
31996 * libio/oldiopopen.c: Likewise.
31997 * libio/oldstdfiles.c: Likewise.
31998 * libio/putc.c: Likewise.
31999 * libio/setbuf.c: Likewise.
32000 * libio/setlinebuf.c: Likewise.
32001 * libio/stdfiles.c: Likewise.
32002 * libio/strops.c: Likewise.
32003 * libio/vasprintf.c: Likewise.
32004 * libio/vscanf.c: Likewise.
32005 * libio/vsnprintf.c: Likewise.
32006 * libio/vswprintf.c: Likewise.
32007 * libio/wfiledoalloc.c: Likewise.
32008 * libio/wfileops.c: Likewise.
32009 * libio/wgenops.c: Likewise.
32010 * libio/wmemstream.c: Likewise.
32011 * libio/wstrops.c: Likewise.
32012 * libio/__fpurge.c: Likewise.
32013 * libio/__fsetlocking.c: Likewise.
32014 * assert/assert.c: Likewise.
32015 * debug/fgets_chk.c: Likewise.
32016 * debug/fgets_u_chk.c: Likewise.
32017 * debug/fread_chk.c: Likewise.
32018 * debug/fread_u_chk.c: Likewise.
32019 * debug/gets_chk.c: Likewise.
32020 * debug/obprintf_chk.c: Likewise.
32021 * debug/vasprintf_chk.c: Likewise.
32022 * debug/vdprintf_chk.c: Likewise.
32023 * debug/vsnprintf_chk.c: Likewise.
32024 * debug/vsprintf_chk.c: Likewise.
32025 * malloc/mtrace.c: Likewise.
32026 * misc/error.c: Likewise.
32027 * misc/syslog.c: Likewise.
32028 * stdio-common/asprintf.c: Likewise.
32029 * stdio-common/fxprintf.c: Likewise.
32030 * stdio-common/getw.c: Likewise.
32031 * stdio-common/isoc99_fscanf.c: Likewise.
32032 * stdio-common/isoc99_scanf.c: Likewise.
32033 * stdio-common/isoc99_vfscanf.c: Likewise.
32034 * stdio-common/isoc99_vscanf.c: Likewise.
32035 * stdio-common/isoc99_vsscanf.c: Likewise.
32036 * stdio-common/printf-prs.c: Likewise.
32037 * stdio-common/printf_fp.c: Likewise.
32038 * stdio-common/printf_fphex.c: Likewise.
32039 * stdio-common/printf_size.c: Likewise.
32040 * stdio-common/putw.c: Likewise.
32041 * stdio-common/scanf.c: Likewise.
32042 * stdio-common/sprintf.c: Likewise.
32043 * stdio-common/tmpfile.c: Likewise.
32044 * stdio-common/vfprintf.c: Likewise.
32045 * stdio-common/vfscanf.c: Likewise.
32046 * stdlib/strfmon_l.c: Likewise.
32047 * sunrpc/openchild.c: Likewise.
32048 * sunrpc/xdr_stdio.c: Likewise.
32049 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32050 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32052 2012-05-24 Roland McGrath <roland@hack.frob.com>
32054 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32056 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32057 in the third column, to generate for the shared library an IFUNC
32058 that uses _dl_vdso_vsym.
32059 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32060 * Makeconfig (object-suffixes-noshared): New variable.
32062 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32063 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32064 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32065 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32068 * include/sys/time.h (__gettimeofday): Remove macro.
32069 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32070 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32072 (__gettimeofday): Add libc_hidden_def.
32073 (gettimeofday): Add libc_hidden_weak.
32074 * sysdeps/mach/gettimeofday.c: Likewise.
32075 * sysdeps/posix/gettimeofday.c: Likewise.
32076 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32077 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32079 (__gettimeofday_internal): Remove strong_alias.
32080 (__gettimeofday): Add libc_hidden_def.
32081 (gettimeofday): Add libc_hidden_weak.
32082 * sysdeps/unix/syscalls.list (gettimeofday):
32083 Remove __gettimeofday_internal alias.
32085 2012-05-24 Daniel Jacobowitz <drow@false.org>
32086 H.J. Lu <hongjiu.lu@intel.com>
32089 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32090 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32091 (largebin_index_32_big): New.
32092 (largebin_index): Use it for 16-byte alignment.
32093 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32094 correction with front_misalign.
32096 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32124 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32125 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32127 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32131 * math/libm-test.inc (exp_test): Add test from bug 14036.
32132 (pow_test): Add test from bug 10846.
32134 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32136 (special_function): Do not include flags in test name.
32137 (parse_args): Likewise.
32138 * sysdeps/i386/fpu/libm-test-ulps: Update.
32139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32140 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32144 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32146 * math/libm-test.inc ("Philosophy"): Update comment about
32148 (UNDERFLOW_EXCEPTION): New macro.
32149 (UNDERFLOW_EXCEPTION_OK): Likewise.
32150 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32151 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32152 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32153 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32154 (INVALID_EXCEPTION_OK): Update value.
32155 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32156 (OVERFLOW_EXCEPTION_OK): Likewise.
32157 (IGNORE_ZERO_INF_SIGN): Likewise.
32158 (test_exceptions): Handle underflow exceptions.
32159 (acos_test): Update for underflow exception expectations.
32160 (cexp_test): Likewise.
32161 (clog_test): Likewise.
32162 (clog10_test): Likewise.
32163 (csqrt_test): Likewise.
32164 (ctan_test): Likewise.
32165 (ctanh_test): Likewise.
32166 (exp_test): Likewise.
32167 (exp10_test): Likewise.
32168 (exp2_test): Likewise.
32169 (expm1_test): Likewise.
32170 (fma_test): Likewise.
32171 (j0_test): Likewise.
32172 (jn_test): Likewise.
32173 (nexttoward_test): Likewise.
32174 (pow_test): Likewise.
32175 (scalbn_test): Likewise.
32176 (scalbln_test): Likewise.
32177 (tan_test): Likewise.
32178 (y1_test): Likewise.
32179 * sysdeps/i386/fpu/libm-test-ulps: Update.
32180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32182 2012-05-23 David S. Miller <davem@davemloft.net>
32184 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32185 (__libc_sigaction): Remove unused local variables.
32187 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32189 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32191 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32193 mktime: avoid signed integer overflow
32194 * time/mktime.c (__mktime_internal): Do not mishandle the case
32195 where diff == INT_MIN.
32197 mktime: simplify computation of average
32198 * time/mktime.c (ranged_convert): Use new time_t_avg function
32199 instead of rolling our own (probably-slower) code.
32201 mktime: do not assume signed right shift propagates sign bit
32202 * time/mktime.c (isdst_differ): New static function.
32203 (__mktime_internal): No need to normalize tm_isdst now.
32204 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32207 mktime: merge another wrapv change from gnulib
32208 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32209 from some compilers.
32211 mktime: remove incorrect attempt at unusual arithmetics
32212 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32213 The code didn't really work on such machines anyway.
32214 (TYPE_MINIMUM): Assume two's complement.
32215 (twos_complement_arithmetic): Verify that long_int and time_t
32216 are two's complement (or unsigned, in the latter case).
32218 mktime: check signed shifts on long_int and time_t, too
32219 * time/mktime.c (SHR): Check that shifts work as desired
32220 on the types long_int and time_t too, as SHR is used on
32223 mktime: do not assume 'long' is wide enough
32224 * time/mktime.c (verify): Move decl up.
32225 (long_int): New type.
32226 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32227 to remove assumption in the code that 'long' is wide enough to
32228 store year values. This assumption is not true on x32 and on
32229 some non-glibc platforms.
32231 mktime: merge wrapv change from gnulib
32232 * time/mktime.c (WRAPV): New macro.
32233 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32234 (guess_time_tm, __mktime_internal): Do not assume that signed
32235 integer overflow wraps around; modern compilers generate code
32236 where this assumption is no longer valid.
32238 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32240 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32241 Replace "jmp L(pseudo_end)" with "ret".
32242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32245 2012-05-23 Andreas Jaeger <aj@suse.de>
32247 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32248 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32250 2012-05-23 Andreas Jaeger <aj@suse.de>
32251 Maximilian Attems <max@stro.at>
32253 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32256 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32258 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32259 code so that pseudo_end is just ret and the stack pointer is
32260 correct also for static library in error case.
32262 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32264 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32265 move to syscalls.list.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32271 * manual/install.texi (Running make install): Do not mention Linux
32272 kernel version for which pt_chown is not needed.
32273 (Linux): Do not mention problems with nscd with 2.0 kernels.
32274 * INSTALL: Regenerated.
32276 2012-05-23 Andreas Jaeger <aj@suse.de>
32278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32279 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32281 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32283 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32285 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32286 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32288 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32290 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32291 * sysdeps/unix/sysv/linux/bits/in.h
32292 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32294 2012-05-22 Roland McGrath <roland@hack.frob.com>
32296 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32297 (PREPARE_VERSION): Just use assert instead, it will be elided
32298 under [NDEBUG] anyway.
32300 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32302 * sysdeps/unix/sysv/linux/Makefile: Include
32303 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32304 (sysdep_routines): Remove sysctl.
32305 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32306 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32307 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32308 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32309 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32311 2012-05-22 Andreas Jaeger <aj@suse.de>
32313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32314 that pseudo_end is just ret and the stack pointer is correct also
32315 for static library in error case.
32317 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32320 * nss/nsswitch.c (defconfig_entries): New variable.
32321 (__nss_database_lookup): Don't leak defconfig entries.
32322 (nss_parse_service_list): Don't leak on error paths.
32323 (free_database_entries): New function.
32324 (free_defconfig): New function.
32325 (free_mem): Move common code to free_database_entries.
32327 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32331 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32333 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32334 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32337 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32338 (INTERNAL_SYSCALL_TYPES): Likewise.
32339 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32340 (LOAD_REGS_TYPES_[1-6]): Likewise.
32341 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32342 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32344 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32347 copysignl for GLIBC_2_0.
32348 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32349 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32351 logbl for GLIBC_2_0.
32352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32353 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32355 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32358 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32360 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32363 * time/mktime.c: Update copyright years.
32365 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32367 mktime: merge comment-quoting-style change from gnulib
32368 * time/mktime.c: Quote 'like this' in comments.
32369 The GNU coding standards suggest that we no longer quote `like this',
32370 as "`" and "'" are typically rendered asymmetrically nowadays.
32371 The typical gnulib style is to quote 'like this' when quoting
32372 code, and "like this" when quoting English.
32374 * time/mktime.c (compile-command): Add "-I.".
32376 mktime: merge mktime-internal.h change from gnulib
32377 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32379 mktime: merge time_r change from gnulib
32380 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32382 mktime: merge DEBUG change from gnulib
32383 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32384 case system <time.h> has a #define.
32386 mktime: merge <sys/types.h> change from gnulib
32387 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32388 since <time.t> is now guaranteed to define time_t.
32390 mktime: merge HAVE_CONFIG_H change from gnulib
32391 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32393 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32398 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32400 (struct rusage): Use anonymous union to pad each field to
32403 2012-05-21 David S. Miller <davem@davemloft.net>
32405 * Makefules (o-iterator): Remove .s cases.
32406 (compile-command.s): Delete.
32407 (COMPILE.s): Delete.
32408 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32410 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32412 * configure.in (libc_cv_predef_stack_protector): Only consider
32413 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32414 * configure: Regenerated.
32416 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32419 New macro. Use R*LP on int and pointer.
32420 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32421 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32422 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32423 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32425 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32426 [__WORDSIZE_TIME64_COMPAT32] instead of
32427 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32428 (struct utmp): Likewise.
32429 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32430 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32432 (__WORDSIZE_TIME64_COMPAT32): This.
32433 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32434 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32435 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32436 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32437 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32438 (__WORDSIZE_TIME64_COMPAT32): New macro.
32440 2012-05-21 Andreas Jaeger <aj@suse.de>
32442 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32443 only if [SHARED]. Add prototype for __wcschr_ia32.
32445 2012-05-21 Roland McGrath <roland@hack.frob.com>
32447 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32448 of %rbp unmolested in the jmp_buf while mangling the low bits.
32449 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32450 unmolested high bits of %rbp while demangling the low bits.
32451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32453 2012-05-21 Andreas Jaeger <aj@suse.de>
32455 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32456 * sunrpc/svc_simple.c: Use it for registerrpc.
32457 * sunrpc/xcrypt.c: Use it for passwd2des.
32459 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32461 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32463 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32464 Don't define if [__SYSCALL_WORDSIZE != 32].
32465 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32468 2012-05-21 Bruno Haible <bruno@clisp.org>
32469 Andreas Jaeger <aj@suse.de>
32471 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32472 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32473 inptr and inend for must_buffer_ch.
32474 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32475 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32476 * stdio-common/Makefile (tests): Remove bug15.
32477 (bug15-ENV): Remove macro.
32478 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32481 2012-05-19 Andreas Jaeger <aj@suse.de>
32482 Roland McGrath <roland@hack.frob.com>
32484 * manual/contrib.texi: Completely rewritten. It contains now an
32485 alphabetical list of contributors and their contributions.
32487 2012-05-21 Richard Henderson <rth@twiddle.net>
32489 * misc/getauxval.c (__getauxval): Use unsigned long int.
32490 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32491 (getauxval): Use unsigned long int.
32493 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32497 2012-05-21 Roland McGrath <roland@hack.frob.com>
32499 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32500 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32501 __alignof__ (long double).
32503 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32507 2012-05-20 Richard Henderson <rth@twiddle.net>
32509 * misc/getauxval.c: New file.
32510 * misc/sys/auxv.h: New file.
32511 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32512 (routines): Add getauxval.
32513 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32514 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32515 * elf/dl-sysdep.c (_dl_auxv): Remove.
32516 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32517 * elf/dl-support.c (_dl_auxv): New variable.
32518 (_dl_aux_init): Initialize it.
32519 * manual/startup.texi (Auxiliary Vector): New node.
32520 * sysdeps/generic/bits/hwcap.h: New file.
32521 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32522 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32523 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32524 * sysdeps/sparc/sysdep.h: ... here. Include it.
32525 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32526 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32538 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32542 2012-05-19 David S. Miller <davem@davemloft.net>
32544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32546 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32549 * math/s_ccosh.c: Include <float.h>
32550 (__ccosh): Avoid internal overflow calculating sinh and cosh
32551 values before multiplying by sin and cos values.
32552 * math/s_ccoshf.c: Likewise.
32553 * math/s_ccoshl.c: Likewise.
32554 * math/s_csin.c: Likewise.
32555 * math/s_csinf.c: Likewise.
32556 * math/s_csinl.c: Likewise.
32557 * math/s_csinh.c: Likewise.
32558 * math/s_csinhf.c: Likewise.
32559 * math/s_csinhl.c: Likewise.
32560 * math/libm-test.inc (ccos_test): Add more tests.
32561 (ccosh_test): Likewise.
32562 (csin_test): Likewise.
32563 (csinh_test): Likewise.
32564 * sysdeps/i386/fpu/libm-test-ulps: Update.
32565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32567 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32569 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32570 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32572 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32574 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32576 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32577 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32578 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32579 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32580 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32581 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32582 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32583 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32584 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32585 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32586 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32587 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32588 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32589 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32590 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32591 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32592 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32593 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32594 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32595 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32596 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32597 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32598 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32599 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32600 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32601 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32602 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32603 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32604 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32605 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32606 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32608 2012-05-18 Andreas Jaeger <aj@suse.de>
32610 * csu/.gitignore: Delete.
32612 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32614 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32615 (timex): Use __syscall_slong_t.
32617 2012-05-18 Andreas Jaeger <aj@suse.de>
32618 Carlos O'Donell <carlos_odonell@mentor.com>
32620 * manual/install.texi (Configuring and compiling): Update
32621 description about files modified in the source directory.
32622 * INSTALL: Regenerated.
32624 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32626 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32627 value. Use "or" to set return value to -1.
32628 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32629 negate return value.
32631 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32633 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32634 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32635 failure if the compiler has Graphite support disabled.
32636 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32638 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32639 (CFLAGS-memmove.c): Likewise.
32640 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32643 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32645 * sysdeps/x86_64/x32/_itoa.h: New file.
32647 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32648 getdents system call only if kernel and user dirents have the
32649 same d_ino and d_off.
32651 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32652 LLONG_MAX != LONG_MAX.
32653 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32654 (_fitoa_word): Likewise.
32656 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32658 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32659 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32660 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32662 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32663 include <bits/wordsize.h>. Check __x86_64__ instead of
32665 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32666 if __x86_64__ is defined. Use anonymous union on fpstate.
32668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32671 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32673 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32674 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32675 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32676 Refer to _rtld_local_ro instead of _rtld_global_ro.
32677 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32679 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32681 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32683 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32684 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32685 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32687 * sysdeps/powerpc/powerpc32/dl-machine.c
32688 (__elf_machine_runtime_setup) [PROF]: Don't reference
32691 2012-05-18 Andreas Jaeger <aj@suse.de>
32693 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32694 function only available for GCCs before 3.4 since GCC 3.4
32695 introduced a builtin.
32697 (llrintf): Likewise.
32698 (llrint): Likewise.
32705 (nearbyint): Likewise.
32706 (nearbyintf): Likewise.
32710 (floorf): Likewise.
32712 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32714 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32715 on both fields and cast pointer to __syscall_ulong_t.
32717 * bits/types.h (__fsword_t): New type.
32718 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32719 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32721 (__FSWORD_T_TYPE): Likewise.
32722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32723 (__FSWORD_T_TYPE): Likewise.
32724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32725 (__FSWORD_T_TYPE): Likewise.
32726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32727 (__FSWORD_T_TYPE): Likewise.
32728 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32729 __SWORD_TYPE with __fsword_t.
32730 (statfs64): Likewise.
32732 2012-05-17 David S. Miller <davem@davemloft.net>
32734 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32736 2012-05-17 Andreas Jaeger <aj@suse.de>
32738 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32741 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32743 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32745 2012-05-17 Andreas Jaeger <aj@suse.de>
32747 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32750 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32752 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32754 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32756 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32757 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32759 2012-05-17 Andreas Jaeger <aj@suse.de>
32760 Carlos O'Donell <carlos_odonell@mentor.com>
32763 * sysdeps/x86_64/multiarch/init-arch.h
32764 (bit_YMM_Usable): Rename to...
32765 (bit_AVX_Usable): ... this.
32766 (bit_FMA4_Usable): New macro.
32767 (bit_XMM_state): New macro.
32768 (bit_YMM_state): New macro.
32769 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32770 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32771 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32772 (CPUID_OSXSAVE): New macro.
32773 (CPUID_AVX): New macro.
32774 (CPUID_FMA4): New macro.
32775 (index_YMM_Usable): Rename to...
32776 (index_AVX_Usable): ... this.
32777 (HAS_AVX): Use HAS_ARCH_FEATURE.
32778 (HAS_FMA4): Likewise.
32779 (HAS_YMM_USABLE): Remove.
32780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32781 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32783 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32784 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32785 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32786 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32787 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32789 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32791 * math/libm-test.c: Support platforms without multiple rounding modes.
32792 * math/bug-nextafter.c: Support platforms without FP exceptions.
32793 * math/bug-nexttoward.c: Likewise.
32794 * math/test-fenv.c: Likewise.
32795 * math/test-misc.c: Likewise.
32796 * stdlib/bug-getcontext.c: Likewise.
32798 2012-05-17 Andreas Jaeger <aj@suse.de>
32800 * manual/examples/search.c (critter_cmp): Change signature to
32802 * manual/string.texi (Collation Functions): Likewise.
32804 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32806 * bits/types.h: Fold copyright years.
32807 * bits/typesizes.h: Likewise.
32808 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32812 * time/time.h: Likewise.
32814 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32817 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32818 in instead of returning them. Return void.
32819 (__libc_mallinfo): Accumulate over all arenas.
32820 (__malloc_stats): Adjust for change in int_mallinfo interface.
32822 2012-05-16 Roland McGrath <roland@hack.frob.com>
32825 * configure.in (NM): Add AC_CHECK_TOOL for it.
32826 (libc_extra_cflags): New substituted variable.
32827 Check for -fstack-protector being used implicitly.
32828 * configure: Regenerated.
32829 * config.make.in (config-extra-cflags): New variable,
32830 gets @libc_extra_cflags@.
32831 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32834 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32835 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32836 * configure: Regenerated.
32837 * config.make.in (CPPUNDEFS): New substituted variable.
32838 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32839 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32840 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32842 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32844 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32845 (mq_attr): Use __syscall_slong_t.
32847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32849 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32850 Check __x86_64__ instead of __WORDSIZE.
32851 (_STAT_VER_LINUX): Likewise.
32852 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32853 __syscall_ulong_t and __syscall_slong_t.
32854 (stat64): Likewise.
32856 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32860 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32862 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32864 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32866 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32869 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32870 include <bits/wordsize.h>. Check __x86_64__ instead of
32872 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32874 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32877 include <bits/wordsize.h>. Check __x86_64__ instead of
32879 (user_regs_struct): Use "__extension__ unsigned long long"
32880 instead of "unsigned long" if __x86_64__ is defined.
32881 (user): Likewise. Pad after pointer field if __ILP32__ is
32884 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32886 * configure.in (makeinfo): Require version 4.5 or later. Allow
32888 * configure: Regenerated.
32889 * manual/install.texi (texinfo): Increase version requirement to
32891 * INSTALL: Regenerated.
32893 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32895 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32897 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32899 * sysdeps/x86_64/x32/ffs.c: New file.
32901 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32903 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32904 defined. Use __syscall_ulong_t.
32905 (shminfo): Use __syscall_ulong_t.
32906 (shm_info): Likewise.
32908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32911 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32913 (msgqnum_t): Use __syscall_ulong_t.
32914 (msglen_t): Likewise.
32915 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32918 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32919 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32921 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32923 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32924 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32926 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32930 include <bits/wordsize.h>. Check __x86_64__ instead of
32933 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32934 "unsigned long long int" if __x86_64__ is defined.
32935 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32938 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32939 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32941 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32943 (GET_PC): Cast to uintptr_t first.
32944 (GET_FRAME): Likewise.
32945 (GET_STACK): Likewise.
32947 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32948 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32949 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32950 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32951 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32953 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32954 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32955 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32956 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32957 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32958 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32959 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32962 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32963 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32964 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32965 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32966 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32967 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32968 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32969 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32970 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32971 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32972 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32973 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32974 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32975 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32977 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32979 * Makerules (+depfiles): Also collect depfiles from .oS in
32981 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32982 .oS, $(libnldbl-routines)).
32984 * Makerules (native-compile-mkdep-flags): Define.
32985 * sunrpc/Makefile (extra-objs): Add $(addprefix
32986 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32987 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32988 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32989 calling $(make-target-directory).
32991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32993 * bits/types.h (__snseconds_t): Removed.
32994 * time/time.h (struct timespec): Replace __snseconds_t with
32996 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32997 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33000 (__SNSECONDS_T_TYPE): Likewise.
33001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33002 (__SNSECONDS_T_TYPE): Likewise.
33003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33004 (__SNSECONDS_T_TYPE): Likewise.
33006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33008 * sysdeps/mach/hurd/bits/typesizes.h
33009 (__SYSCALL_SLONG_TYPE): New macro.
33010 (__SYSCALL_ULONG_TYPE): Likewise.
33012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33014 * bits/types.h (__syscall_slong_t): New type.
33015 (__syscall_ulong_t): Likewise.
33017 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33018 (__SYSCALL_ULONG_TYPE): Likewise.
33019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33020 (__SYSCALL_SLONG_TYPE): Likewise.
33021 (__SYSCALL_ULONG_TYPE): Likewise.
33022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33023 (__SYSCALL_SLONG_TYPE): Likewise.
33024 (__SYSCALL_ULONG_TYPE): Likewise.
33025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33026 (__SYSCALL_SLONG_TYPE): Likewise.
33027 (__SYSCALL_ULONG_TYPE): Likewise.
33029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33032 Add sigaltstack-offsets.sym.
33033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33034 <sigaltstack-offsets.h>.
33035 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33036 longjmp_msg pointer.
33037 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33038 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33040 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33042 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33044 * elf/stackguard-macros.h: Remove file.
33045 * sysdeps/generic/stackguard-macros.h: New file.
33046 * sysdeps/i386/stackguard-macros.h: Likewise.
33047 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33048 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33049 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33050 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33051 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33052 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33053 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33054 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33055 <elf/stackguard-macros.h>.
33058 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33059 __aligned__ in attribute.
33060 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33061 (gregset_t): Likewise.
33063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33065 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33066 * sysdeps/x86_64/64/Implies-after: Here. New file.
33067 * sysdeps/x86_64/x32/Implies-after: New file.
33069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33071 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33072 and access return value for _dl_profile_fixup. Use R10_LP to
33075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33077 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33081 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33082 * sysdeps/x86_64/x32/sysdep.h: New file.
33084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33086 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33087 * sysdeps/x86_64/setjmp.S: Likewise.
33089 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33091 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33092 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33093 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33095 remove unused global constant.
33097 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33099 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33100 include of <not-cancel.h>.
33102 2012-05-15 Roland McGrath <roland@hack.frob.com>
33104 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33106 2012-05-15 Jeff Law <law@redhat.com>
33107 Andreas Jaeger <aj@suse.de>
33110 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33112 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33113 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33114 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33115 code changing __hst_map_handle.map.
33117 2012-05-15 Roland McGrath <roland@hack.frob.com>
33119 * configure.in (sysnames): Look for Implies-before and Implies-after
33121 * configure: Regenerated.
33123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33125 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33126 8-byte data alignment with LP_SIZE alignment.
33128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33130 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33135 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33139 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33141 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33143 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33147 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33148 (stackinfo_sub_sp): Likewise.
33150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33152 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33157 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33167 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33171 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33172 into R11_LP and load __x86_64_shared_cache_size_half into
33175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33177 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33180 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33186 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33188 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33189 powerpc32/power7/fpu/s_logb.c via #include.
33190 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33191 powerpc32/power7/fpu/s_logbf.c via #include.
33192 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33193 powerpc32/power7/fpu/s_logbl.c via #include.
33195 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33197 * README.libm: Remove file.
33199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33201 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33202 count for x32. Use R*_LP and omit operand-size suffix.
33204 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33206 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33207 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33208 * sysdeps/x86_64/x32/shlib-versions: New file.
33210 2012-05-14 Roland McGrath <roland@hack.frob.com>
33212 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33213 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33214 Use _dl_fatal_printf instead.
33216 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33218 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33219 set if not set by the user. Do not allow for being unset.
33220 * sysdeps/unix/sysv/linux/configure: Regenerated.
33222 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33224 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33225 the `q' suffix from lea and replace .quad with ASM_ADDR.
33227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33230 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33232 (PTR_DEMANGLE): Likewise.
33234 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33236 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33238 (ASM_ADDR): Likewise.
33239 (RAX_LP): Likewise.
33240 (RBP_LP): Likewise.
33241 (RBX_LP): Likewise.
33242 (RCX_LP): Likewise.
33243 (RDI_LP): Likewise.
33244 (RSI_LP): Likewise.
33245 (RSP_LP): Likewise.
33248 (R10_LP): Likewise.
33249 (R10_LP): Likewise.
33250 (R11_LP): Likewise.
33251 (R12_LP): Likewise.
33252 (R13_LP): Likewise.
33253 (R14_LP): Likewise.
33254 (R15_LP): Likewise.
33256 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33258 * sysdeps/x86_64/x32/dl-machine.h: New file.
33260 2012-05-14 Andreas Jaeger <aj@suse.de>
33262 * manual/Makefile (subdir): Remove export of subdir.
33263 (all): Remove target.
33264 (.PHONY): Remove all from list.
33265 (mkinstalldirs): Remove.
33266 (.PHONY): Remove installdirs from list.
33267 ($(inst_infodir)/libc.info): Use make-target-directory.
33268 (installdirs): Remove.
33269 (subdir_%): Remove.
33270 (glibc-targets): Remove.
33273 ($(objpfx)stubs ../po/manual.pot): Remove.
33274 ($(objpfx)stamp%): Remove.
33275 (make-target-directory): Remove.
33276 (subdir_install): Remove.
33277 (routines): Remove.
33284 * manual/.gitignore: Remove, it's not needed anymore.
33285 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33287 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33289 (texis): Renamed to $(objpfx)texis.
33290 (texis-path): New, contains path to generated files.
33291 (chapters.%): Use texis-path for complete path, add extra argument
33293 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33294 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33295 (summary,texi, stamp-summary): Use complete path of
33296 files. Generate files in build dir.
33297 (dir-add.texi): Build in build dir.
33298 (libm-err.texi,stamp-libm-err): Likewise.
33299 (version.texi, stamp-version): Likewise.
33300 (.%c.texi): Likewise.
33301 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33302 (mostlyclean): Remove target.
33303 (realclean): Remove target.
33304 (generated): Add new variable with contents from mostlyclean and
33305 realclean, remove entries duplicated in common-mostlyclean, add
33306 stamp-libm-err and stamp-version.
33307 (generated-dirs): Add libc directory.
33308 ($(inst_infodir)/libc.info): Install files from build dir.
33310 * manual/install.texi (Configuring and compiling): Adjust since
33311 the info files are not part of the tar ball anymore.
33313 2012-05-14 Andreas Jaeger <aj@suse.de>
33315 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33318 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33321 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33322 to 2.2.0 where earlier.
33323 * sysdeps/unix/sysv/linux/configure: Regenerated.
33324 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33325 Remove conditional code.
33326 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33327 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33328 Remove conditional code.
33329 [!__NR_lchown]: Likewise.
33330 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33331 [__NR_lchown]: Likewise.
33332 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33333 comment referencing __ASSUME_LCHOWN_SYSCALL.
33334 * sysdeps/unix/sysv/linux/i386/sigaction.c
33335 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33336 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33337 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33338 Remove conditional code.
33339 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33340 (__protocol_available): Remove #if 0 code.
33341 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33343 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33344 * sysdeps/unix/sysv/linux/kernel-features.h
33345 (__ASSUME_GETCWD_SYSCALL): Don't define.
33346 (__ASSUME_REALTIME_SIGNALS): Likewise.
33347 (__ASSUME_PREAD_SYSCALL): Likewise.
33348 (__ASSUME_PWRITE_SYSCALL): Likewise.
33349 (__ASSUME_POLL_SYSCALL): Likewise.
33350 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33351 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33353 (__ASSUME_SIOCGIFNAME): Don't define.
33354 (__ASSUME_MSG_NOSIGNAL): Likewise.
33355 (__ASSUME_SENDFILE): Define unconditionally.
33356 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33357 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33359 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33360 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33361 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33362 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33363 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33364 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33365 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33367 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33368 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33370 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33373 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33376 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33377 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33379 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33382 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33388 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33390 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33391 Remove conditional code.
33392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33393 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33394 Remove conditional code.
33395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33396 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33397 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33398 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33399 Remove conditional code.
33400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33401 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33402 Remove conditional code.
33403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33404 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33405 Remove conditional code.
33406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33407 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33408 Remove conditional code.
33409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33410 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33411 Remove conditional code.
33412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33413 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33416 * sysdeps/unix/sysv/linux/sigaction.c
33417 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33418 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33419 * sysdeps/unix/sysv/linux/sigpending.c
33420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33422 * sysdeps/unix/sysv/linux/sigprocmask.c
33423 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33424 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33425 * sysdeps/unix/sysv/linux/sigsuspend.c
33426 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33427 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33428 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33429 (__libc_missing_rt_sigs): Remove.
33430 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33431 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33432 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33433 Remove conditional code.
33434 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33435 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33438 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33439 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33440 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33442 2012-05-14 Andreas Jaeger <aj@suse.de>
33444 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33445 it's not used in glibc.
33446 (__coshm1): Likewise.
33447 (__acosh1p): Likewise.
33450 * manual/string.texi (Copying and Concatenation): Add missing
33451 variable in concat example.
33452 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33454 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33458 __builtin_clzl with __builtin_clzll.
33460 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33463 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33466 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33468 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33469 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33470 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33471 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33473 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33475 * NEWS: Update ia64 info.
33477 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33479 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33482 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33484 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33485 * sysdeps/unix/syscalls.list (dup3): Likewise.
33486 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33487 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33489 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33491 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33492 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33494 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33496 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33498 (TLS_IE): Use mov/add instead of movq/addq to load thread
33500 (TLS_GD_PREFIX): New.
33503 2012-05-11 David S. Miller <davem@davemloft.net>
33505 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33506 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33507 (_FPU_SETCW): Likewise.
33509 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33511 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33512 is 32-byte aligned.
33514 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33517 * iconvdata/gb18030.c: Update tables.
33518 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33519 characters specially.
33520 (BODY for TO_LOOP): Add encoding of missing ranges.
33522 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33525 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33526 * sysdeps/mach/hurd/dup3.c: Likewise.
33527 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33528 * sysdeps/powerpc/memmove.c:: Likewise.
33530 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33533 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33535 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33537 * elf/elf.h (R_X86_64_RELATIVE64): New.
33538 (R_X86_64_NUM): Updated.
33539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33540 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33541 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33542 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33543 tst-quad1pie tst-quad2pie
33544 (modules-names): Add tst-quadmod1 tst-quadmod2.
33545 ($(objpfx)tst-quad1): New dependency.
33546 ($(objpfx)tst-quad2): Likewise.
33547 ($(objpfx)tst-quad1pie): Likewise.
33548 ($(objpfx)tst-quad2pie): Likewise.
33549 * sysdeps/x86_64/tst-quad1.c: New file.
33550 * sysdeps/x86_64/tst-quad1pie.c: New file.
33551 * sysdeps/x86_64/tst-quad2.c: Likewise.
33552 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33553 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33554 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33555 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33556 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33558 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33560 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33561 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33562 * streams/stropts.h (t_scalar_t): Define type.
33564 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33565 (_PATH_PRESERVE): Set to "/var/lib".
33566 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33568 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33571 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33572 if __dir_mkfile succeeded.
33574 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33575 checking for _hurd_dtablesize. Unlock it right after having
33576 finished _hurd_dtable allocation.
33578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33580 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33581 * sysdeps/mach/hurd/configure: Regenerated.
33582 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33583 special-casing to...
33584 * sysdeps/gnu/configure.in: ... this new file.
33585 * sysdeps/unix/sysv/linux/configure: Regenerated.
33586 * sysdeps/gnu/configure: New generated file.
33588 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33589 for Linux: use nsec instead of usec, as well as:
33590 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33591 members of type struct timespec.
33592 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33594 (struct stat64): Likewise.
33595 (_STATBUF_ST_NSEC): New macro.
33596 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33598 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33599 __strtoul_internal rather than strtoul.
33601 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33603 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33608 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33609 which preserves existing values.
33610 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33612 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33614 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33615 TIMEOUT values. Return EINVAL for NFDS values either negative or
33616 greater than FD_SETSIZE.
33618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33620 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33621 allocated, call __vm_protect to finish enabling the existing space, and
33622 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33623 allocate the remainder.
33625 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33627 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33628 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33632 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33633 sysdeps/mach/hurd/readlink.c.
33635 * posix/tst-sysconf.c (posix_options): Only use
33636 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33637 _POSIX_SYNCHRONIZED_IO when they are defined
33638 * sysdeps/mach/hurd/bits/posix_opt.h:
33639 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33640 (_XOPEN_REALTIME): Undefine macro.
33641 (_XOPEN_REALTIME_THREADS): Undefine macro.
33642 (_XOPEN_SHM): Undefine macro.
33643 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33645 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33647 (_POSIX_ASYNC_IO): Undefine macro.
33648 (_POSIX_PRIORITIZED_IO): Undefine macro.
33649 (_POSIX_SPIN_LOCKS): Define macro to -1.
33651 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33652 SA_NODEFER, SA_RESETHAND.
33653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33654 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33657 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33659 * elf/Makefile (pldd-modules): Define unconditionally.
33661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33663 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33665 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33667 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33668 Return ENOENT when name is empty.
33669 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33673 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33675 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33679 Fix mlock in all cases except non-readable pages.
33680 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33681 instead of VM_PROT_ALL as parameter to __vm_wire function.
33683 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33684 (__mkdir): When path is `/', just fail with EEXIST.
33685 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33689 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33690 <sys/uio.h> (for writev).
33691 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33692 and <sys/param.h> (for MIN).
33694 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33696 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33697 REQUESTED_TIME. Properly set the remaining time and return EINTR
33700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33702 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33703 Depend on against $(link-rpcuserlibs).
33705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33707 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33708 (__libc_stack_end): Do not use attribute_relro.
33709 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33710 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33711 to libthread-provided value.
33712 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33715 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33718 * bits/libc-lock.h (__libc_once_get): New macro.
33719 * sysdeps/mach/bits/libc-lock.h: Likewise.
33720 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33721 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33722 instead of using implementation details.
33724 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33725 * libio/freopen.c: Likewise.
33726 * libio/freopen64.c: Likewise.
33727 * misc/syslog.c: Likewise.
33728 * nscd/connections.c: Likewise.
33729 * nscd/netgroupcache.c: Likewise.
33730 * sysdeps/posix/getcwd.c: Likewise.
33732 2012-05-10 Roland McGrath <roland@hack.frob.com>
33734 * math/w_ilogbf.c: Add #include <limits.h>.
33736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33738 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33739 path instead of returning without unlocking.
33741 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33742 immediate-write ioctls.
33743 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33745 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33747 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33748 __builtin_frame_address instead of making assumptions about the
33749 location of the return address relative to DATA. Force early load of
33750 the return address.
33751 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33752 __builtin_frame_address.
33755 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33756 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33757 implement dup3 and do some further code clean-ups.
33758 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33759 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33761 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33763 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33765 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33766 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33767 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33768 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33769 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33772 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33773 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33774 when handler == SIG_ERR, not when handler != SIG_ERR.
33776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33778 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33779 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33782 accept4 for GNU Hurd.
33783 * include/sys/socket.h (__libc_accept4): New prototype.
33784 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33785 to implement __libc_accept4.
33786 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33788 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33790 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33791 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33792 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33793 signal-defines.sym.
33795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33797 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33801 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33802 assertion on O_CLOEXEC flag.
33803 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33804 * hurd/intern-fd.c: Likewise.
33805 * hurd/port2fd.c: Likewise.
33807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33810 * bits/in.h (IPV6_PKTINFO): Define new macro.
33811 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33813 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33818 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33819 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33820 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33821 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33823 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33824 * math/libm-test.inc (logb_test) : Additional logb tests.
33826 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33827 Andreas Jaeger <aj@suse.de>
33829 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33830 * configure: Regenerated.
33831 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33832 * config.make.in (link-obsolete-rpc): New substituted variable.
33833 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33834 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33835 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33836 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33837 so that libc.a contains the symbols.
33838 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33839 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33840 * sunrpc/auth_none.c: Likewise.
33841 * sunrpc/auth_unix.c: Likewise.
33842 * sunrpc/authdes_prot.c: Likewise.
33843 * sunrpc/authuxprot.c: Likewise.
33844 * sunrpc/clnt_gen.c: Likewise.
33845 * sunrpc/clnt_perr.c: Likewise.
33846 * sunrpc/clnt_raw.c: Likewise.
33847 * sunrpc/clnt_simp.c: Likewise.
33848 * sunrpc/clnt_tcp.c: Likewise.
33849 * sunrpc/clnt_udp.c: Likewise.
33850 * sunrpc/clnt_unix.c: Likewise.
33851 * sunrpc/des_crypt.c: Likewise.
33852 * sunrpc/des_soft.c: Likewise.
33853 * sunrpc/get_myaddr.c: Likewise.
33854 * sunrpc/key_call.c: Likewise.
33855 * sunrpc/key_prot.c: Likewise.
33856 * sunrpc/netname.c: Likewise.
33857 * sunrpc/pm_getmaps.c: Likewise.
33858 * sunrpc/pm_getport.c: Likewise.
33859 * sunrpc/pmap_clnt.c: Likewise.
33860 * sunrpc/pmap_prot.c: Likewise.
33861 * sunrpc/pmap_prot2.c: Likewise.
33862 * sunrpc/pmap_rmt.c: Likewise.
33863 * sunrpc/publickey.c: Likewise.
33864 * sunrpc/rpc_cmsg.c: Likewise.
33865 * sunrpc/rpc_common.c: Likewise.
33866 * sunrpc/rpc_dtable.c: Likewise.
33867 * sunrpc/rpc_prot.c: Likewise.
33868 * sunrpc/rpc_thread.c: Likewise.
33869 * sunrpc/rtime.c: Likewise.
33870 * sunrpc/svc.c: Likewise.
33871 * sunrpc/svc_auth.c: Likewise.
33872 * sunrpc/svc_raw.c: Likewise.
33873 * sunrpc/svc_run.c: Likewise.
33874 * sunrpc/svc_tcp.c: Likewise.
33875 * sunrpc/svc_udp.c: Likewise.
33876 * sunrpc/svc_unix.c: Likewise.
33877 * sunrpc/svcauth_des.c: Likewise.
33878 * sunrpc/xcrypt.c: Likewise.
33879 * sunrpc/xdr.c: Likewise.
33880 * sunrpc/xdr_array.c: Likewise.
33881 * sunrpc/xdr_float.c: Likewise.
33882 * sunrpc/xdr_intXX_t.c: Likewise.
33883 * sunrpc/xdr_mem.c: Likewise.
33884 * sunrpc/xdr_rec.c: Likewise.
33885 * sunrpc/xdr_ref.c: Likewise.
33886 * sunrpc/xdr_sizeof.c: Likewise.
33887 * sunrpc/xdr_stdio.c: Likewise.
33889 2012-05-10 Roland McGrath <roland@hack.frob.com>
33891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33892 change. Update copyright years.
33894 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33896 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33898 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33899 Joseph Myers <joseph@codesourcery.com>
33900 Paul Pluzhnikov <ppluzhnikov@google.com>
33903 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33905 [cross-compiling] (extra-libs): Likewise.
33906 [cross-compiling] (extra-libs-others): Likewise.
33907 [cross-compiling] (librpcsvc-routines): Likewise.
33908 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33909 [cross-compiling] (omit-deps): Likewise.
33910 (sunrpc-CPPFLAGS): New variable.
33911 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33912 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33913 (cross-rpcgen-objs): New variable.
33914 (extra-objs): Append $(cross-rpcgen-objs).
33915 ($(cross-rpcgen-objs)): New rule.
33916 ($(objpfx)cross-rpcgen): Likewise.
33917 (rpcgen-cmd): Define to use $(built-program-file). Expand
33919 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33920 ($(objpfx)x%.stmp): Likewise.
33921 * sunrpc/proto.h [IS_IN_build] (_): Define.
33922 [IS_IN_build] (_libc_intl_domainname): Likewise.
33924 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33927 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33928 and R_X86_64_TPOFF64.
33930 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33932 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33933 sysdeps/unix/sysv/syscalls.list.
33936 * sysdeps/unix/sysv/syscalls.list: Remove file.
33938 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33941 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33942 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33943 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33944 (__LC_IDENTIFICATION): Make these macros useful in #if
33945 expressions, as required by C99.
33947 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33949 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33950 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33953 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33955 * stdlib/longlong.h: Updated from GCC.
33957 2012-05-09 Andreas Jaeger <aj@suse.de>
33959 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33960 default is first entry.
33961 (run_mode): Set type.
33962 (main): Remove informal message about syslog.
33963 (options): Fix typo.
33966 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33969 (llrintf): Likewise.
33970 (llrint): Likewise.
33973 (nearbyint): Likewise.
33974 (nearbyintf): Likewise.
33976 2012-05-09 Andreas Jaeger <aj@suse.de>
33977 Pedro Alves <palves@redhat.com>
33979 * nscd/nscd.c (run_mode): Use enum.
33980 (main): Cleanup coding style issue.
33982 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33983 Andreas Jaeger <aj@suse.de>
33985 * nscd/nscd.c (go_background): Replaced with...
33986 (run_mode): ... this.
33987 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33988 (options): Add -F --foreground.
33989 (main): Implement it.
33990 (parse_opt): Parse it.
33992 2012-05-09 Andreas Jaeger <aj@suse.de>
33995 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33996 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33997 -Wconversion warning.
33998 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34001 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34003 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34005 (LC_ALL): Use macro-int-constant.
34006 (LC_COLLATE): Likewise.
34007 (LC_CTYPE): Likewise.
34008 (LC_MESSAGES): Likewise.
34009 (LC_MONETARY): Likewise.
34010 (LC_NUMERIC): Likewise.
34011 (LC_TIME): Likewise.
34012 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34013 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34015 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34017 [C99-based standards] (float_t): Expect type.
34018 [C99-based standards] (double_t): Expect type.
34019 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34021 [C99-based standards] (HUGE_VALL): Likewise.
34022 [C99-based standards] (INFINITY): Likewise.
34023 [C99-based standards] (NAN): Likewise.
34024 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34025 [C99-based standards] (FP_NAN): Likewise.
34026 [C99-based standards] (FP_NORMAL): Likewise.
34027 [C99-based standards] (FP_SUBNORMAL): Likewise.
34028 [C99-based standards] (FP_ZERO): Likewise.
34029 [C99-based standards] (FP_FAST_FMA): Use
34030 optional-macro-int-constant. Specify type. Require == 1.
34031 [C99-based standards] (FP_FAST_FMAF): Likewise.
34032 [C99-based standards] (FP_FAST_FMAL): Likewise.
34033 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34034 [C99-based standards] (FP_ILOGBNAN): Likewise.
34035 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34037 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34038 [C99-based standards] (math_errhandling): Specify type.
34039 [ISO99 || ISO11] (signgam): Do not allow.
34040 [non-C99-based standards] (copysignf): Do not allow.
34041 [non-C99-based standards] (exp2f): Likewise.
34042 [non-C99-based standards] (log2f): Likewise.
34043 [non-C99-based standards] (modff): Allow.
34044 [non-C99-based standards] (erff): Do not allow.
34045 [non-C99-based standards] (erfcf): Likewise.
34046 [non-C99-based standards] (gammaf): Likewise.
34047 [non-C99-based standards] (hypotf): Likewise.
34048 [non-C99-based standards] (j0f): Likewise.
34049 [non-C99-based standards] (j1f): Likewise.
34050 [non-C99-based standards] (jnf): Likewise.
34051 [non-C99-based standards] (lgammaf): Likewise.
34052 [non-C99-based standards] (tgammaf): Likewise.
34053 [non-C99-based standards] (y0f): Likewise.
34054 [non-C99-based standards] (y1f): Likewise.
34055 [non-C99-based standards] (ynf): Likewise.
34056 [non-C99-based standards] (isnanf): Likewise.
34057 [non-C99-based standards] (acoshf): Likewise.
34058 [non-C99-based standards] (asinhf): Likewise.
34059 [non-C99-based standards] (atanhf): Likewise.
34060 [non-C99-based standards] (cbrtf): Likewise.
34061 [non-C99-based standards] (expm1f): Likewise.
34062 [non-C99-based standards] (ilogbf): Likewise.
34063 [non-C99-based standards] (log1pf): Likewise.
34064 [non-C99-based standards] (logbf): Likewise.
34065 [non-C99-based standards] (nextafterf): Likewise.
34066 [non-C99-based standards] (remainderf): Likewise.
34067 [non-C99-based standards] (rintf): Likewise.
34068 [non-C99-based standards] (scalbf): Likewise.
34069 [non-C99-based standards] (copysignl): Likewise.
34070 [non-C99-based standards] (exp2l): Likewise.
34071 [non-C99-based standards] (log2l): Likewise.
34072 [non-C99-based standards] (modfl): Allow.
34073 [non-C99-based standards] (erfl): Do not allow.
34074 [non-C99-based standards] (erfcl): Likewise.
34075 [non-C99-based standards] (gammal): Likewise.
34076 [non-C99-based standards] (hypotl): Likewise.
34077 [non-C99-based standards] (j0l): Likewise.
34078 [non-C99-based standards] (j1l): Likewise.
34079 [non-C99-based standards] (jnl): Likewise.
34080 [non-C99-based standards] (lgammal): Likewise.
34081 [non-C99-based standards] (tgammal): Likewise.
34082 [non-C99-based standards] (y0l): Likewise.
34083 [non-C99-based standards] (y1l): Likewise.
34084 [non-C99-based standards] (ynl): Likewise.
34085 [non-C99-based standards] (isnanl): Likewise.
34086 [non-C99-based standards] (acoshl): Likewise.
34087 [non-C99-based standards] (asinhl): Likewise.
34088 [non-C99-based standards] (atanhl): Likewise.
34089 [non-C99-based standards] (cbrtl): Likewise.
34090 [non-C99-based standards] (expm1l): Likewise.
34091 [non-C99-based standards] (ilogbl): Likewise.
34092 [non-C99-based standards] (log1pl): Likewise.
34093 [non-C99-based standards] (logbl): Likewise.
34094 [non-C99-based standards] (nextafterl): Likewise.
34095 [non-C99-based standards] (remainderl): Likewise.
34096 [non-C99-based standards] (rintl): Likewise.
34097 [non-C99-based standards] (scalbl): Likewise.
34098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34099 [non-C99-based standards] (FP_*): Do not allow.
34100 [C99-based standards] (FP_*): Change to
34101 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34102 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34104 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34105 (SIG_ERR): Likewise.
34106 [X/Open-based standards] (SIG_HOLD): Likewise.
34107 (SIG_IGN): Likewise.
34108 (SIGABRT): Use macro-int-constant. Specify type. Require
34110 (SIGFPE): Likewise.
34111 (SIGILL): Likewise.
34112 (SIGINT): Likewise.
34113 (SIGSEGV): Likewise.
34114 (SIGTER): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34116 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34117 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34118 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34119 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34123 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34124 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34125 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34126 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34129 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34130 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34131 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34132 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34133 [X/Open-based standards] (SIGTRAP): Likewise.
34134 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34135 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34136 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34137 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34138 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34141 2012-05-08 Ian Wienand <ianw@vmware.com>
34144 * time/tzset.c (__tzset_parse_tz): Update default rules for
34145 daylight time changes in the Energy Policy Act of 2005.
34147 2012-05-09 Andreas Jaeger <aj@suse.de>
34150 * elf/ldconfig.c (parse_conf): Change string to make clear that
34151 ldconfig only issued a warning if ld.so.conf does not exist.
34153 2012-05-08 David S. Miller <davem@davemloft.net>
34155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34156 movxtod instead of popping the value on the stack.
34158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34160 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34162 * config.h.in: Add HAVE_ARM_PCS_VFP.
34164 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34167 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34168 checking but the checks are disabled for any reason.
34170 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34172 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34173 and ELF64_R_TYPE with ELFW(R_TYPE).
34175 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34177 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34178 (ulimit): Likewise.
34180 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34181 (settimeofday): Likewise.
34183 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34185 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34186 a struct th_u2 inside the union, and move tu_block/tu_code into
34187 a new th_u3 union of tu_block/tu_code inside of that. Move
34188 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34189 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34190 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34191 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34192 (th_stuff): Change to th_u1.tu_stuff.
34194 (th_msg): Change to th_u1.th_u2.tu_data.
34196 2012-05-07 David S. Miller <davem@davemloft.net>
34198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34201 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34202 (SETUP_PIC_REG): Use it.
34203 (SETUP_PIC_REG_LEAF): Use it.
34205 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34209 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34211 (EXPL_FINITE): Likewise.
34212 (FLDLOG): Likewise.
34213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34214 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34216 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34218 (EXPL_FINITE): Likewise.
34219 (FLDLOG): Likewise.
34220 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34221 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34223 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34224 test of -max_value argument for long double.
34225 * sysdeps/i386/fpu/libm-test-ulps: Update.
34226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34228 2012-05-06 David S. Miller <davem@davemloft.net>
34230 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34231 quad soft-float symbols whose references which are compiler
34233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34235 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34239 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34241 (EXPL_FINITE): Likewise.
34242 (FLDLOG): Likewise.
34245 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34246 Adjust comments for base varying.
34247 (__expl_finite): Change alias to EXPL_FINITE.
34248 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34250 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34251 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34253 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34254 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34256 (EXPL_FINITE): Likewise.
34257 (FLDLOG): Likewise.
34260 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34261 Adjust comments for base varying.
34262 (__expl_finite): Change alias to EXPL_FINITE.
34263 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34268 * math/libm-test.inc (check_float_internal): Correct ulp
34269 calculation for subnormal expected results.
34271 2012-05-06 Andreas Jaeger <aj@suse.de>
34273 * Makeconfig (+math-flags): New, set to -frounding-math.
34274 (+cflags): Add +math-flags so that all of glibc gets compiled with
34277 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34279 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34281 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34287 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34288 (__ieee754_expl): Allow for and saturate large arguments.
34289 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34290 (u_threshold): Likewise.
34291 (__exp): Call __ieee754_exp before checking for overflow and
34293 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34294 (u_threshold): Likewise.
34295 (__expf): Call __ieee754_expf before checking for overflow and
34297 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34298 (u_threshold): Likewise.
34299 (__expl): Call __ieee754_expl before checking for overflow and
34301 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34302 (__ieee754_expl): Allow for and saturate large arguments.
34303 * math/libm-test.inc (exp_test): Add another test. Do not allow
34304 missing overflow exception on overflow.
34305 (expm1_test): Do not allow missing overflow exception on overflow.
34307 * sysdeps/i386/fpu/e_expl.c: Move to ...
34308 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34309 rather than using inline asm.
34310 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34311 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34312 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34314 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34317 (signal): Likewise.
34321 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34323 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34324 sysdeps/unix/common/syscalls.list.
34325 (fchmod): Likewise.
34326 (fchown): Likewise.
34327 (ftruncate): Likewise.
34328 (getrusage): Likewise.
34329 (gettimeofday): Likewise.
34330 (setpgid): Likewise.
34331 (setregid): Likewise.
34332 (setreuid): Likewise.
34333 (sigaction): Likewise.
34334 (truncate): Likewise.
34335 (vhangup): Likewise.
34336 * sysdeps/unix/common/syscalls.list: Remove file.
34337 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34338 * sysdeps/unix/sysv/linux/Implies: Likewise.
34340 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34342 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34344 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34348 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34351 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34354 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34360 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34363 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34366 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34370 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34374 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34377 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34381 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34385 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34387 * sysdeps/unix/common/bits/dirent.h: Remove file.
34388 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34390 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34391 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34392 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34393 * sysdeps/unix/bsd/isatty.c: Likewise.
34394 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34395 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34396 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34398 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34402 long double comparison inaccuracies.
34403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34406 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34408 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34411 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34414 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34415 nonzero digits before rounding a hex value.
34416 * stdlib/tst-strtod.c (tests): Add another test.
34418 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34420 * sysdeps/s390/fpu/libm-test-ulps: Update.
34422 2012-05-03 Andreas Jaeger <aj@suse.de>
34424 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34425 does not get optimized out.
34426 (malloc_opt_barrier): New.
34428 2012-05-03 Andreas Jaeger <aj@suse.de>
34429 Roland McGrath <roland@hack.frob.com>
34431 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34432 intermediate file deletion.
34433 (generated): Add .symlist files.
34435 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34438 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34439 Redirect under this condition.
34440 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34441 [__USE_GNU] (__dprintf_chk): Not under this condition.
34442 [__USE_GNU] (__vdprintf_chk): Likewise.
34443 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34444 under this condition.
34445 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34446 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34447 [__USE_XOPEN2K8] (vdprintf): Likewise.
34448 [__USE_GNU] (__dprintf_chk): Not under this condition.
34449 [__USE_GNU] (__vdprintf_chk): Likewise.
34450 [__USE_GNU] (dprintf): Likewise.
34451 [__USE_GNU] (vdprintf): Likewise.
34453 2012-05-03 Roland McGrath <roland@hack.frob.com>
34455 * elf/Makefile (common-generated): Set this instead of generated for
34456 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34457 $(all-built-dso)-derived lists.
34459 2012-05-03 Andreas Jaeger <aj@suse.de>
34461 * sysdeps/i386/fpu/libm-test-ulps: Update.
34464 * FAQ.in: Likewise.
34465 * scripts/gen-FAQ.pl: Likewise.
34466 * manual/install.texi (Installation): Point to online location of
34468 * Makefile (files-for-dist): Remove FAQ.
34471 2012-05-02 Allan McRae <allan@archlinux.org>
34473 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34474 (LDFLAGS-reldepmod5.so): Likewise.
34475 (LDFLAGS-reldep6mod1.so): Likewise.
34476 (LDFLAGS-reldep6mod4.so): Likewise.
34477 (LDFLAGS-reldep8mod3.so): Likewise.
34478 (LDFLAGS-unload4mod1.so): Likewise.
34479 (LDFLAGS-unload4mod2.so): Likewise.
34480 (LDFLAGS-tst-initorder): Likewise.
34481 (LDFLAGS-tst-initordera2.so): Likewise.
34482 (LDFLAGS-tst-initordera3.so): Likewise.
34483 (LDFLAGS-tst-initordera4.so): Likewise.
34484 (LDFLAGS-tst-initorderb2.so): Likewise.
34485 (LDFLAGS-noload): Likewise.
34486 (LDFLAGS-next): Likewise.
34487 (LDFLAGS-order2mod1.so): Likewise.
34488 (LDFLAGS-order2mod2.so): Likewise.
34489 (LDFLAGS-tst-initorder2): Likewise.
34490 (LDFLAGS-tst-initorder2a.so): Likewise.
34491 (LDFLAGS-tst-initorder2b.so): Likewise.
34492 (LDFLAGS-tst-initorder2c.so): Likewise.
34493 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34495 2012-05-02 David S. Miller <davem@davemloft.net>
34497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34499 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34502 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34504 2012-05-02 Andreas Jaeger <aj@suse.de>
34506 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34507 since we manipulate rounding mode.
34508 (CPPFLAGS-test-idouble.c): Likewise.
34509 (CPPFLAGS-test-ifloat.c): Likewise.
34510 (CFLAGS-test-ldouble.c): Likewise.
34511 (CFLAGS-test-double.c): Likewise.
34512 (CFLAGS-test-float.c): Likewise.
34513 (CFLAGS-test-misc.c): Likewise.
34514 (CFLAGS-test-test-fenv.c): Likewise.
34516 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34520 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34521 comparisons to determine direction to adjust input.
34523 2012-05-01 Roland McGrath <roland@hack.frob.com>
34525 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34526 output to the target.
34528 * scripts/localplt.awk: New file.
34529 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34530 (check-localplt-CFLAGS): Variable removed.
34531 ($(all-built-dso:=.jmprel)): New static pattern rule.
34532 (generated): Add those targets.
34533 (localplt-built-dso): New variable.
34534 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34536 * elf/check-localplt.c: File removed.
34538 * scripts/check-execstack.awk: New file.
34539 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34540 (check-execstack-CFLAGS): Variable removed.
34541 ($(objpfx)check-execstack.h): Target removed.
34542 ($(objpfx)execstack-default): New target.
34543 (generated): Add that instead of check-execstack.h.
34544 ($(all-built-dso:=.phdr)): New static pattern rule.
34545 (generated): Add those targets.
34546 * elf/check-execstack.c: File removed.
34548 * scripts/check-textrel.awk: New file.
34549 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34550 (check-textrel-CFLAGS): Variable removed.
34551 (all-built-dso): Use := to define.o
34552 ($(all-built-dso:=.dyn)): New static pattern rule.
34553 (generated): Add those targets.
34554 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34555 * config.make.in (READELF): New substituted variable.
34556 * elf/check-textrel.c: File removed.
34558 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34560 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34562 * conform/data/ctype.h-data [C99-based standards] (isblank):
34564 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34565 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34567 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34568 Specify type. Require positive value.
34569 (EILSEQ): Likewise.
34570 (ERANGE): Likewise.
34571 [ISO || POSIX] (EILSEQ): Do not expect.
34572 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34573 Specify type. Require positive value.
34574 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34575 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34576 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34577 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34578 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34579 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34580 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34581 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34582 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34583 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34584 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34585 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34586 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34587 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34588 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34589 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34590 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34591 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34592 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34593 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34594 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34595 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34596 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34597 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34598 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34599 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34601 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34604 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34605 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34606 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34607 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34608 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34609 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34610 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34611 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34612 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34613 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34616 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34617 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34618 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34619 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34620 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34621 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34622 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34623 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34624 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34625 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34626 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34627 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34628 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34629 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34630 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34631 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34632 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34633 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34634 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34635 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34636 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34637 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34638 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34639 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34640 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34641 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34642 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34644 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34645 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34646 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34647 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34648 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34649 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34650 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34652 (FLT_ROUNDS): Expect as macro, not constant.
34653 (FLT_MANT_DIG): Use macro-int-constant.
34654 (DBL_MANT_DIG): Likewise.
34655 (LDBL_MANT_DIG): Likewise.
34656 (FLT_DIG): Likewise.
34657 (DBL_DIG): Likewise.
34658 (LDBL_DIG): Likewise.
34659 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34660 (DBL_MIN_EXP): Likewise.
34661 (LDBL_MIN_EXP): Likewise.
34662 (FLT_MAX_EXP): Use macro-int-constant.
34663 (DBL_MAX_EXP): Likewise.
34664 (LDBL_MAX_EXP): Likewise.
34665 (FLT_MAX_10_EXP): Likewise.
34666 (DBL_MAX_10_EXP): Likewise.
34667 (LDBL_MAX_10_EXP): Likewise.
34668 (FLT_MAX): Use macro-constant.
34669 (DBL_MAX): Likewise.
34670 (LDBL_MAX): Likewise.
34671 (FLT_EPSILON): Use macro-constant. Give upper bound.
34672 (DBL_EPSILON): Likewise.
34673 (LDBL_EPSILON): Likewise.
34674 (FLT_MIN): Likewise.
34675 (DBL_MIN): Likewise.
34676 (LDBL_MIN): Likewise.
34677 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34678 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34679 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34680 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34681 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34682 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34683 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34684 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34685 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34686 [ISO11] (FLT_TRUE_MIN): Likewise.
34687 [ISO11] (LDBL_TRUE_MIN): Likewise.
34688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34689 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34690 (SCHAR_MIN): Use macro-int-constant. Specify type.
34691 (SCHAR_MAX): Likewise.
34692 (UCHAR_MAX): Likewise.
34693 (CHAR_MIN): Likewise.
34694 (CHAR_MAX): Likewise.
34695 (MB_LEN_MAX): Use macro-int-constant.
34696 (SHRT_MIN): Use macro-int-constant. Specify type.
34697 (SHRT_MAX): Likewise.
34698 (USHRT_MAX): Likewise.
34699 (INT_MAX): Likewise.
34700 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34702 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34704 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34706 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34707 bound negative. Suffix upper bound with "L".
34708 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34710 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34712 [C99-based standards] (LLONG_MAX): Likewise.
34713 [C99-based standards] (ULLONG_MAX): Likewise.
34714 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34716 [ISO11] (max_align_t): Require type.
34717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34719 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34720 from $CFLAGS, without defining away __attribute__ calls.
34721 (checknamespace): Use $CFLAGS_namespace.
34723 * conform/conformtest.pl (@keywords): Only include C99 keywords
34724 for standards based on C99 or C11.
34726 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34728 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34731 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34732 usability of symbols in #if.
34734 * conform/conformtest.pl: If macro or constant types start
34735 "promoted:", expect the symbol to be of the following type
34736 promoted by the integer promotions.
34738 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34739 in one place. Also handle "macro-constant".
34741 * conform/conformtest.pl: Only accept expected macro values with
34742 "==". Parse all "macro" lines in one place.
34743 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34745 * conform/conformtest.pl: Handle braced types on "constant" lines
34746 instead of handling "typed-constant".
34747 * conform/data/signal.h-data: Use "constant" instead of
34750 * conform/conformtest.pl: Handle "optional-" at start of lines in
34751 one place rather than duplicating several cases. Handle each
34752 format of "macro" line with initial "optional-".
34754 * conform/conformtest.pl: Only accept expected constant or
34755 optional-constant values with "==". Parse all "constant" lines in
34756 one place. Parse all "optional-constant" lines in one place.
34757 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34758 * conform/data/fmtmsg.h-data: Likewise.
34759 * conform/data/netinet/in.h-data: Likewise.
34760 * conform/data/tar.h-data: Likewise.
34761 * conform/data/limits.h-data: Use "==" form on "constant" and
34762 "optional-constant" lines.
34764 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34765 Use -std=c99 for XOPEN2K.
34766 (@knownproblems): Remove.
34767 (newtoken): Don't check %isknown.
34769 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34770 Do not expect macro.
34771 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34783 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34784 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34801 [XPG3] (acosh): Likewise.
34802 [XPG3] (asinh): Likewise.
34803 [XPG3] (atanh): Likewise.
34804 [XPG3] (cbrt): Likewise.
34805 [XPG3] (expm1): Likewise.
34806 [XPG3] (ilogb): Likewise.
34807 [XPG3] (log1p): Likewise.
34808 [XPG3] (logb): Likewise.
34809 [XPG3] (nextafter): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34812 [XPG3] (remainder): Likewise.
34813 [XPG3] (rint): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34821 [UNIX98 || XOPEN2K] (scalb): Expect.
34822 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34823 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34865 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34866 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34867 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34868 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34869 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34870 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34871 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34872 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34873 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34874 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34875 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34876 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34877 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34878 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34879 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34880 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34881 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34882 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34883 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34884 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34885 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34886 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34887 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34888 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34889 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34890 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34891 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34892 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34893 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34894 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34895 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34896 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34897 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34898 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34899 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34900 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34901 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34902 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34903 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34904 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34905 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34906 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34907 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34908 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34909 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34910 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34911 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34912 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34913 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34914 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34915 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34916 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34917 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34918 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34919 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34920 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34921 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34922 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34923 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34924 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34925 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34926 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34927 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34928 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34929 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34930 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34931 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34932 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34933 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34934 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34935 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34936 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34937 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34938 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34939 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34940 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34941 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34942 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34943 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34944 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34945 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34946 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34947 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34948 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34949 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34950 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34951 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34952 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34953 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34954 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34960 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34961 _XOPEN_SOURCE_EXTENDED for XPG4.
34963 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34965 * Makeconfig (localtime): Remove variable.
34966 (inst_localtime-file): Likewise.
34968 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34989 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34993 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34994 comparisons to determine direction to adjust input.
34995 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34996 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35001 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35003 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35004 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35006 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35008 * math/libm-test.inc (nexttoward_test): Add more tests.
35010 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35014 in version GLIBC_2.1, not GLIBC_2.0.
35015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35018 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35021 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35023 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35024 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35025 * math/libm-test.inc (acos_test): Add more tests.
35026 (asin_test): Likewise.
35027 * sysdeps/i386/fpu/libm-test-ulps: Update.
35028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35031 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35033 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35034 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35035 * math/libm-test.inc (acos_test_tonearest): New function.
35036 (acos_test_towardzero): Likewise.
35037 (acos_test_downward): Likewise.
35038 (acos_test_upward): Likewise.
35039 (asin_test_tonearest): Likewise.
35040 (asin_test_towardzero): Likewise.
35041 (asin_test_downward): Likewise.
35042 (asin_test_upward): Likewise.
35043 (main): Call the new functions.
35044 * sysdeps/i386/fpu/libm-test-ulps: Update.
35045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35049 * math/e_exp10.c: Include <float.h>.
35050 (__ieee754_exp10): Handle underflow here rather than multiplying
35051 large negative argument by M_LN10.
35052 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35054 * math/e_exp10l.c: Include <float.h>.
35055 (__ieee754_exp10l): Handle underflow here rather than multiplying
35056 large negative argument by M_LN10l.
35057 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35058 spurious overflow exception on underflow.
35060 2012-04-29 Marek Polacek <polacek@redhat.com>
35062 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35063 (__fortify_function): New macro.
35064 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35065 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35066 __extern_always_inline.
35067 * libio/bits/stdio2.h: Likewise.
35068 * libio/bits/stdio.h: Likewise.
35069 * string/string.h: Likewise.
35070 * string/bits/string3.h: Likewise.
35071 * include/stdio.h: Likewise.
35072 * stdlib/bits/stdlib.h: Likewise.
35073 * stdlib/stdlib.h: Likewise.
35074 * rt/bits/mqueue2.h: Likewise.
35075 * rt/mqueue.h: Likewise.
35076 * posix/bits/unistd.h: Likewise.
35077 * posix/unistd.h: Likewise.
35078 * io/bits/poll2.h: Likewise.
35079 * io/bits/fcntl2.h: Likewise.
35080 * io/fcntl.h: Likewise.
35081 * io/sys/poll.h: Likewise.
35082 * misc/bits/syslog.h: Likewise.
35083 * misc/bits/syslog-ldbl.h: Likewise.
35084 * misc/sys/syslog.h: Likewise.
35085 * socket/bits/socket2.h: Likewise.
35086 * socket/sys/socket.h: Likewise.
35087 * debug/tst-chk1.c: Likewise.
35088 * wcsmbs/bits/wchar2.h: Likewise.
35089 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35090 * wcsmbs/wchar.h: Likewise.
35092 2012-04-29 Andreas Jaeger <aj@suse.de>
35094 * Makerules (tests): Remove enable-check-abi protection.
35095 (check-abi-warn): Remove.
35096 (check-abi-%): Remove check-abi-warn usage.
35098 * configure.in: Remove check-abi configure option.
35099 * configure: Regenerated.
35100 * config.make.in (enable-check-abi): Remove.
35102 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35105 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35106 double functions to double *_finite functions.
35109 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35110 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35112 * stdio-common/Makefile (tests): Add tst-sprintf3.
35113 * stdio-common/tst-sprintf3.c: New file.
35115 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35116 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35118 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35120 * conform/conformtest.pl: Remove duplicate typed-constant
35123 2012-04-28 David S. Miller <davem@davemloft.net>
35125 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35126 (check-abi-%): Remove AWK script prerequisite and explicit
35128 (check-abi): Rewrite to just diff the symlist with the abilist.
35129 (config-tls, config-abi-config): Delete, no longer used.
35130 (update-abi-%): Remove AWK script and explicit abilist directory.
35131 (update-abi): Rewrite to simply compare and conditionally copy the
35132 symlist and the sysdep abilist file. Remove update-abi-config
35134 * abilist/ld.abilist: Remove.
35135 * abilist/libBrokenLocale.abilist: Remove.
35136 * abilist/libanl.abilist: Remove.
35137 * abilist/libcrypt.abilist: Remove.
35138 * abilist/libdl.abilist: Remove.
35139 * abilist/librt.abilist: Remove.
35140 * abilist/libthread_db.abilist: Remove.
35141 * abilist/libutil.abilist: Remove.
35142 * scripts/extract-abilist.awk: Remove.
35143 * scripts/merge-abilist.awk: Remove.
35144 * sysdeps/generic/libcidn.abilist: New file.
35145 * sysdeps/generic/libnss_compat.abilist: New file.
35146 * sysdeps/generic/libnss_db.abilist: New file.
35147 * sysdeps/generic/libnss_dns.abilist: New file.
35148 * sysdeps/generic/libnss_files.abilist: New file.
35149 * sysdeps/generic/libnss_hesiod.abilist: New file.
35150 * sysdeps/generic/libnss_nis.abilist: New file.
35151 * sysdeps/generic/libnss_nisplus.abilist: New file.
35152 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35153 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35154 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35157 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35158 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35159 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35160 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35161 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35162 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35163 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35164 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35166 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35167 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35168 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35169 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35171 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35172 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35173 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35174 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35175 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35176 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35178 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35179 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35182 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35286 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35287 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35290 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35291 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35292 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35293 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35294 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35295 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35297 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35298 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35350 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35352 * conform/conformtest.pl: Fix typo in handling typed-constant from
35355 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35357 * README: Cut down references to pre-2.6 Linux kernels and
35358 Linuxthreads. Update lists of configurations in libc and ports
35359 and sort alphabetically. Say "or newer" with Linux kernel version
35362 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35364 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35367 * math/libm-test.inc (logb_test_downward): New test to expose
35368 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35371 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35374 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35376 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35377 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35379 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35381 * sysdeps/unix/i386/brk.S: Remove file.
35382 * sysdeps/unix/i386/dl-brk.S: Likewise.
35383 * sysdeps/unix/i386/pipe.S: Likewise.
35384 * sysdeps/unix/i386/sigreturn.S: Likewise.
35385 * sysdeps/unix/i386/syscall.S: Likewise.
35386 * sysdeps/unix/i386/vfork.S: Likewise.
35387 * sysdeps/unix/i386/wait.S: Likewise.
35389 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35390 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35392 * configure.in (arm*-none*): Do not allow without
35393 --enable-hacker-mode.
35394 (netbsd*): Remove case setting base_os.
35395 (386bsd*): Likewise.
35396 (freebsd*): Likewise.
35399 (sunos*): Likewise.
35400 (ultrix*): Likewise.
35401 (newsos*): Likewise.
35402 (dynix*): Likewise.
35408 (minix*): Likewise.
35409 (irix4*): Likewise.
35410 (irix6*): Likewise.
35411 (solaris[2-9]*): Likewise.
35413 * configure: Regenerated.
35415 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35418 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35419 overflow or cancellation in calculating denominator.
35420 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35422 down expression to avoid unexpected rounding in newer GCCs.
35423 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35425 2012-04-26 David S. Miller <davem@davemloft.net>
35427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35428 long-double compat symbols.
35429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35443 2012-04-25 David S. Miller <davem@davemloft.net>
35445 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35446 HWCAP_* values only after the memory barriers have been defined.
35447 (atomic_full_barrier): Define.
35448 (atomic_read_barrier): Define.
35449 (atomic_write_barrier): Define.
35451 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35453 * shlib-versions: Add libgcc_s version information.
35454 * sysdeps/generic/libgcc_s.h: Remove.
35455 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35457 * sysdeps/gnu/unwind-resume.c: Likewise.
35458 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35460 2012-04-25 David S. Miller <davem@davemloft.net>
35462 * sysdeps/unix/sparc/brk.S: Delete.
35463 * sysdeps/unix/sparc/dl-brk.S: Delete.
35464 * sysdeps/unix/sparc/pipe.S: Delete.
35465 * sysdeps/unix/sparc/sysdep.S: Delete.
35466 * sysdeps/unix/sparc/sysdep.h: Delete.
35467 * sysdeps/unix/sparc/vfork.S: Delete.
35468 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35469 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35471 (ret_ERRVAL, r0, r1, MOVE): Define.
35472 (JUMPTARGET): Remove.
35473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35474 sysdeps/unix/sparc/sysdep.h
35475 (ENTRY, END): Remove.
35476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35478 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35480 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35481 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35484 * timezone/README: Update upstream location and email address for
35486 * timezone/zdump.c: Update from tzcode 2012b.
35487 * timezone/zic.c: Likewise.
35489 * configure.in (libc_cv_as_needed): Remove test.
35490 * configure: Regenerated.
35491 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35492 conditional definition.
35493 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35494 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35495 * config.make.in (have-as-needed): Remove variable.
35497 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35498 Paul Pluzhnikov <ppluzhnikov@google.com>
35500 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35503 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35505 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35506 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35507 * sysdeps/sh/strlen.S: Likewise.
35509 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35511 * sysdeps/unix/fork.S: Remove file.
35512 * sysdeps/unix/i386/fork.S: Likewise.
35513 * sysdeps/unix/sparc/fork.S: Likewise.
35515 * sysdeps/unix/system.c: Remove file.
35516 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35518 * sysdeps/unix/getegid.S: Remove file.
35519 * sysdeps/unix/geteuid.S: Likewise.
35521 2012-04-24 Roland McGrath <roland@hack.frob.com>
35523 * scripts/check-localplt.awk: New file.
35524 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35526 * scripts/data/localplt-generic.data: Add a comment.
35528 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35529 NODE when __dir_mkfile failed.
35530 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35531 Reported by Ludovic Courtès <ludo@gnu.org>.
35533 2012-04-24 Andreas Jaeger <aj@suse.de>
35535 * Makerules (common-clean): Also remove gen-as-const-headers
35538 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35540 * Makerules (native-compile): Do not change working directory for
35541 build. Use $(OUTPUT_OPTION) in command.
35542 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35544 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35547 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35548 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35549 * math/libm-test.inc (floor_test): Add more tests.
35550 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35552 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35554 * sysdeps/unix/getdents.c: Remove file.
35555 * sysdeps/unix/sysv/getdents.c: Likewise.
35556 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35558 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35559 sysdeps/unix/mman/syscalls.list.
35561 (mprotect): Likewise.
35563 (munmap): Likewise.
35564 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35565 * sysdeps/unix/mman/syscalls.list: Remove.
35566 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35568 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35569 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35570 * configure: Regenerated.
35571 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35572 $(libgcc_s_suffix).
35573 * config.make.in (libgcc_s_suffix): Remove variable.
35575 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35577 * sysdeps/unix/sysv/gethostname.c: Move to ...
35578 * sysdeps/posix/gethostname.c: ... here.
35580 * sysdeps/unix/execve.S: Remove file.
35582 * sysdeps/unix/_exit.S: Remove file.
35584 2012-04-23 Andreas Jaeger <aj@suse.de>
35587 * manual/Makefile: Remove make dist support, there's no
35588 need for a stand-alone documentation tar ball.
35589 (TEXI2DVI): Define always, it's not in Makeconfig.
35592 (edition): Removed.
35593 (glibc-doc-$(edition).tar): Removed
35597 (ETAGS): Remove, it's in Makeconfig.
35598 (move-if-change): Remove, it's in Makeconfig.
35600 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35603 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35604 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35605 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35606 (strtod_l, strtof_l, strtold_l): Remove __wur.
35607 It is not necessarily an error to ignore strtol's return value.
35608 One can reliably look at the stored endptr to decide whether
35609 the number had valid syntax.
35611 2012-04-21 Andreas Jaeger <aj@suse.de>
35614 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35616 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35618 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35619 * sysdeps/unix/sysv/Versions: Remove file.
35621 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35626 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35630 version from __vm86.
35632 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35634 * sysdeps/unix/common/lxstat.c: Remove file.
35635 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35637 * sysdeps/unix/sysv/Makefile: Remove file.
35639 * sysdeps/unix/sysv/direct.h: Remove file.
35641 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35642 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35643 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35644 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35645 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35646 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35647 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35649 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35651 * sysdeps/unix/xmknod.c: Remove file.
35652 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35654 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35656 * sysdeps/unix/sysv/i386/time.S: Remove file.
35658 * sysdeps/unix/fxstat.c: Remove file.
35659 * sysdeps/unix/xstat.c: Likewise.
35660 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35662 * sysdeps/unix/sysv/sigaction.c: Remove file.
35664 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35665 (sysdep_headers): Remove variable.
35666 [termio.h not in sysdep_headers] (generated): Likewise.
35667 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35668 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35669 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35670 * sysdeps/unix/sysv/tcflow.c: Likewise.
35671 * sysdeps/unix/sysv/tcflush.c: Likewise.
35672 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35673 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35674 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35675 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35676 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35678 * sysdeps/unix/siglist.c: Remove file.
35680 * sysdeps/unix/getppid.S: Remove file.
35682 * sysdeps/unix/mkdir.c: Remove file.
35683 * sysdeps/unix/rmdir.c: Likewise.
35685 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35687 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35689 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35690 errlist-compat value.
35692 2012-04-18 David S. Miller <davem@davemloft.net>
35694 * sysdeps/generic/memcopy.h (reg_char): Delete.
35695 * debug/strcat_chk.c: Use char, not reg_char.
35696 * debug/strcpy_chk.c: Likewise.
35697 * debug/strncat_chk.c: Likewise.
35698 * debug/strncpy_chk.c: Likewise.
35699 * string/memchr.c: Likewise.
35700 * string/memrchr.c: Likewise.
35701 * string/rawmemchr.c: Likewise.
35702 * string/strcat.c: Likewise.
35703 * string/strchr.c: Likewise.
35704 * string/strchrnul.c: Likewise.
35705 * string/strcmp.c: Likewise.
35706 * string/strcpy.c: Likewise.
35707 * string/strncat.c: Likewise.
35708 * string/strncmp.c: Likewise.
35709 * string/strncpy.c: Likewise.
35711 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35713 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35714 __builtin_memcopy is called when src and dest ranges are known to not
35717 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35719 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35720 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35721 fwd_align_merge macro call.
35722 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35723 bwd_align_merge macro call.
35724 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35726 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35729 bwd_align_merge macros.
35730 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35731 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35732 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35734 2012-04-18 David S. Miller <davem@davemloft.net>
35736 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35738 2012-04-18 Andreas Jaeger <aj@suse.de>
35741 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35742 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35743 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35746 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35747 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35749 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35750 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35751 Adjust for changed ldbl-128 files.
35753 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35754 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35757 2012-04-17 David S. Miller <davem@davemloft.net>
35759 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35761 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35763 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35764 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35765 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35766 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35767 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35768 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35770 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35773 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35774 * math/libm-test.inc: Add ilogb errno and exception tests.
35775 * math/w_ilogb.c: New file: ilogb wrapper.
35776 * math/w_ilogbf.c: New file: ilogbf wrapper.
35777 * math/w_ilogbl.c: New file: ilogbl wrapper.
35778 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35779 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35780 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35781 exception being thrown with 0.0 as argument.
35782 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35783 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35784 exception being thrown with 0.0 as argument.
35785 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35786 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35787 exception being thrown with 0.0 as argument.
35788 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35789 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35790 exception being thrown with 0.0 as argument.
35791 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35792 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35793 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35794 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35795 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35796 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35797 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35798 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35799 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35801 2012-04-17 Petr Baudis <pasky@ucw.cz>
35803 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35806 2012-04-16 Marek Polacek <polacek@redhat.com>
35808 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35810 2012-04-16 Marek Polacek <polacek@redhat.com>
35812 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35813 operands of fdivp instruction.
35815 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35817 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35818 * elf/tst-auditmod3b.c: Likewise.
35819 * elf/tst-auditmod4b.c: Likewise.
35820 * elf/tst-auditmod5b.c: Likewise.
35821 * elf/tst-auditmod6b.c: Likewise.
35822 * elf/tst-auditmod6c.c: Likewise.
35823 * elf/tst-auditmod7b.c: Likewise.
35824 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35825 * sysdeps/x86_64/preconfigure.in: Likewise.
35826 * sysdeps/x86_64/preconfigure: Regenerated.
35828 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35830 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35833 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35836 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35838 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35841 * locale/iso-639.def: Fix gl language name. Spotted by
35844 2012-04-12 Roland McGrath <roland@hack.frob.com>
35847 * libio/libio.h (__io_write_fn): Update comment.
35849 2012-04-12 Petr Baudis <pasky@ucw.cz>
35852 * stdio.texi (Hook Functions): The user provided writer function
35853 is not allowed to return -1.
35855 2012-04-11 David S. Miller <davem@davemloft.net>
35857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35859 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35861 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35862 Add a leading slash to rtkaio.
35864 2012-04-11 Jim Meyering <meyering@redhat.com>
35867 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35868 It is not necessarily an error to ignore fwrite's return
35869 value. One can reliably use ferror to test for errors after
35872 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35874 * bits/types.h (__snseconds_t): New type.
35875 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35877 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35879 (__SNSECONDS_T_TYPE): Likewise.
35880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35881 (__SNSECONDS_T_TYPE): Likewise.
35882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35883 (__SNSECONDS_T_TYPE): Likewise.
35885 2012-04-10 Andreas Jaeger <aj@suse.de>
35888 * manual/time.texi (Processor Time): Return type of times is
35889 elapsed real time since an arbitrary point in the past.
35890 (CPU Time): Move CLK_TCK from here...
35891 (Processor Time): ...to here. Correct description.
35892 * manual/conf.texi (Constants for Sysconf): Correct description of
35895 2012-04-10 David S. Miller <davem@davemloft.net>
35898 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35899 where the is a gap between DT_REL(A) and DT_JMPREL.
35901 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35903 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35904 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35905 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35907 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35909 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35910 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35911 (dl_main): Handle --inhibit-cache.
35912 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35914 * elf/dl-load.c (_dl_map_object): Use it.
35915 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35917 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35920 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35921 (__ieee754_powl): Saturate large exponents rather than testing for
35922 overflow of y*log2(x).
35923 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35924 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35928 * math/s_ctan.c: Include <float.h>.
35929 (__ctan): Avoid internal overflow or cancellation in calculating
35931 * math/s_ctanf.c: Likewise.
35932 * math/s_ctanl.c: Likewise.
35933 * math/s_ctanh.c: Likewise.
35934 * math/s_ctanhf.c: Likewise.
35935 * math/s_ctanhl.c: Likewise.
35936 * math/libm-test.inc (ctan_test): Add more tests.
35937 (ctanh_test): Likewise.
35938 * sysdeps/i386/fpu/libm-test-ulps: Update.
35939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35941 2012-04-09 Andreas Jaeger <aj@suse.de>
35944 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35945 is an optional BSD extension.
35948 * manual/stdio.texi (Opening Streams): Document additional fopen
35951 2012-04-09 Roland McGrath <roland@hack.frob.com>
35953 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35954 %eax without telling the compiler.
35956 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35959 * manual/install.texi: Use sourceware.org.
35961 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35964 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35965 (__ieee754_pow): Generate overflow and underflow using huge*huge
35966 and tiny*tiny rather than just returning constant infinity or zero
35967 for large exponents.
35968 * math/libm-test.inc (pow_test): Require overflow exceptions for
35969 applicable cases of large exponents.
35972 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35973 (__ieee754_pow): Use iterative multiplication algorithm only for
35974 integer exponents with absolute value below 1024. Check for odd
35975 integer exponents when using algorithm for real exponents.
35976 * math/libm-test.inc (pow_test): Add more tests.
35977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35979 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35982 * math/libm-test.inc (exp_test): Do not allow overflow exception
35985 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35988 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35989 instead of __kernel_standard_f.
35991 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35993 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35994 * sysdeps/x86_64/memset_chk.S: Likewise.
35996 2012-04-08 Andreas Jaeger <aj@suse.de>
35999 * manual/startup.texi (Environment Access): Describe return value
36000 for putenv and setenv.
36003 * manual/filesys.texi (Directory Entries): Add description for
36007 * manual/filesys.texi (Directory Entries): Clarify that it's file
36008 system not operating system in the description of DT_UNKNOWN.
36011 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36013 2012-04-08 Stephen Compall <s11@member.fsf.org>
36016 * manual/llio.texi (Opening and Closing Files): Add cross
36017 reference to explain mode argument.
36019 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36021 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36022 * sysdeps/x86_64/memset_chk.S: Likewise.
36024 2012-04-07 David S. Miller <davem@davemloft.net>
36026 * elf/elf.h (R_SPARC_WDISP10): Define.
36027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36030 R_SPARC_SIZE64 and R_SPARC_H34.
36032 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36035 conditions and remove no longer applicable assertion.
36037 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36039 * bits/byteswap.h: Include <features.h>.
36040 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36041 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36043 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36045 * bits/byteswap.h (__bswap_16): Removed.
36046 Include <bits/byteswap-16.h> to get __bswap_16.
36047 * sysdeps/i386/bits/byteswap.h: Likewise.
36048 * sysdeps/s390/bits/byteswap.h: Likewise.
36049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36050 * bits/byteswap-16.h: New file.
36051 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36052 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36053 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36054 * string/Makefile (headers): Add bits/byteswap-16.h.
36056 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36059 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36061 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36062 * nss/tst-nss-static.c: New.
36064 2012-04-06 Robert Millan <rmh@gnu.org>
36067 * manual/llio.texi (File Position Primitive): lseek
36068 refers to WHENCE when it really means OFFSET.
36070 2012-04-06 Andreas Jaeger <aj@suse.de>
36072 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36073 strncmp declarations.
36075 * abilist/libc.abilist: Add __poll and __ppoll.
36077 2012-04-05 David S. Miller <davem@davemloft.net>
36079 * scripts/check-local-headers.sh: Accept a host triplet in the
36080 path matched by the exclude regexp.
36082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36084 * sysdeps/powerpc/powerpc32/dl-machine.h
36085 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36086 * sysdeps/s390/s390-32/dl-machine.h
36087 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36088 * sysdeps/sparc/sparc32/dl-machine.h
36089 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36090 * sysdeps/sparc/sparc64/dl-machine.h
36091 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36093 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36095 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36096 undefined symbol errors.
36098 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36101 2012-04-05 Michael Matz <matz@suse.de>
36104 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36106 2012-04-05 Andreas Jaeger <aj@suse.de>
36109 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36112 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36114 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36115 which ROUND is no valid rounding mode.
36117 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36121 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36123 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36125 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36126 an exception using FPU order intentionally.
36128 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36130 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36131 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36132 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36133 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36135 2012-04-05 Simon Josefsson <simon@josefsson.org>
36138 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36139 EINVAL when BUFLEN is too smal.
36141 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36144 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36145 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36147 2012-04-03 Andreas Jaeger <aj@suse.de>
36150 * manual/setjmp.texi (System V contexts): Fix sentence.
36153 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36154 New macro for this case.
36155 [!__GNUC__] (__bswap_64): New inline function for this case.
36156 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36157 * bits/byteswap.h: Likewise.
36158 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36159 ull, guard with __GLIBC_HAVE_LONG_LONG.
36161 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36162 __GLIBC_HAVE_LONG_LONG.
36164 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36165 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36167 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36170 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36171 inptr and inend, rather than using last_ch.
36173 2012-04-02 David S. Miller <davem@davemloft.net>
36175 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36176 * stdio-common/printf-parse.h (read_int): Change return type to
36177 'int', return -1 on INT_MAX overflow.
36178 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36179 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36180 overflows INT_MAX. Check for overflow of in-format-string precision
36181 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36182 SIZE_MAX not INT_MAX for integer overflow test.
36183 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36184 skip the construct in the format string but do not record anything.
36185 * stdio-common/bug22.c: Adjust to test both width/prevision
36186 INT_MAX overflow as well as total length INT_MAX overflow. Check
36187 explicitly for proper errno values.
36189 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36191 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36193 * string/test-strcmp.c [! WIDE]: Likewise.
36194 * time/tst-mktime2.c: Likewise for INT_MAX.
36195 * string/test-string.h: #include <sys/param.h> for MIN.
36197 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36198 * sysdeps/i386/init-first.c (init): Likewise.
36199 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36200 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36201 * sysdeps/sh/init-first.c (init): Likewise.
36203 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36205 * po/ru.po: Update from translation team.
36206 * po/vi.po: Likewise.
36208 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36210 * resolv/nss_dns/dns-host.c: Merge copyright years.
36212 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36215 Optimize memcpy with prefetch if
36216 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36217 src, dst pointers have unequal 16 byte alignments.
36219 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36222 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36223 from a CNAME entry and return the minimum ttl for the query.
36224 (gaih_getanswer_slice): Likewise.
36226 2012-03-30 Jeff Law <law@redhat.com>
36228 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36230 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36231 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36233 * resolv/nss_dns/dns-host.c: Update copyright year.
36235 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36237 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36238 requests to save a system call. Fix check that all bytes are sent.
36240 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36241 comments for sendmmsg.
36243 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36246 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36247 with only 1 character between 0x0041 and 0x01b0.
36248 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36249 * wcsmbs/tst-mbsnrtowcs.c: New file.
36251 2012-03-29 David S. Miller <davem@davemloft.net>
36253 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36254 small copies by hand.
36256 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36259 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36260 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36263 2012-03-28 David S. Miller <davem@davemloft.net>
36265 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36266 that branches into memcpy.
36267 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36270 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36273 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36274 implementation too.
36275 * sysdeps/sparc/mempcpy.S: New file.
36277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36278 the IFUNC routine in the libc case.
36279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36281 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36282 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36283 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36284 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36285 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36286 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36287 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36288 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36290 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36291 loop to 256 bytes instead of 64 bytes and fix test signedness.
36293 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36294 * sysdeps/sparc/sparc32/Makefile: rather than here...
36295 * sysdeps/sparc/sparc64/Makefile: and here.
36297 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36299 * malloc/mallocbug.c: Avoid warnings about unused variables.
36301 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36304 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36305 in the right place. Discard and retry query if response is
36306 larger than input buffer size.
36308 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36314 x for large integer exponent.
36315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36316 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36317 sign of result as needed afterwards.
36318 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36320 result for underflowing pow the same as for overflow.
36321 (__kernel_standard_l): Handle powl overflow and underflow here
36322 rather than calling __kernel_standard.
36323 * math/libm-test.inc (pow_test): Add more tests.
36338 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36339 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36340 (__kernel_standard_l): New function.
36341 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36343 * math/w_acosl.c (__acosl): Likewise.
36344 * math/w_asinl.c (__asinl): Likewise.
36345 * math/w_atan2l.c (__atan2l): Likewise.
36346 * math/w_atanhl.c (__atanhl): Likewise.
36347 * math/w_coshl.c (__coshl): Likewise.
36348 * math/w_exp10l.c (__exp10l): Likewise.
36349 * math/w_exp2l.c (__exp2l): Likewise.
36350 * math/w_fmodl.c (__fmodl): Likewise.
36351 * math/w_hypotl.c (__hypotl): Likewise.
36352 * math/w_j0l.c (__j0l, __y0l): Likewise.
36353 * math/w_j1l.c (__j1l, __y1l): Likewise.
36354 * math/w_jnl.c (__jnl, __ynl): Likewise.
36355 * math/w_lgammal.c (__lgammal): Likewise.
36356 * math/w_log10l.c (__log10l): Likewise.
36357 * math/w_log2l.c (__log2l): Likewise.
36358 * math/w_logl.c (__logl): Likewise.
36359 * math/w_powl.c (__powl): Likewise.
36360 * math/w_remainderl.c (__remainderl): Likewise.
36361 * math/w_scalbl.c (sysv_scalbl): Likewise.
36362 * math/w_sinhl.c (__sinhl): Likewise.
36363 * math/w_sqrtl.c (__sqrtl): Likewise.
36364 * math/w_tgammal.c (__tgammal): Likewise.
36365 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36366 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36367 * math/libm-test.inc (acos_test): Add more tests.
36368 (acosh_test): Likewise.
36369 (asin_test): Likewise.
36370 (atanh_test): Likewise.
36371 (exp_test): Likewise.
36372 (exp10_test): Likewise.
36373 (exp2_test): Likewise.
36374 (expm1_test): Likewise.
36375 (lgamma_test): Likewise.
36376 (log_test): Likewise.
36377 (log10_test): Likewise.
36378 (log1p_test): Likewise.
36379 (log2_test): Likewise.
36380 (pow_test): Do not allow some spurious overflow exceptions.
36381 (sqrt_test): Add more tests.
36382 (tgamma_test): Likewise.
36383 (y0_test): Likewise.
36384 (y1_test): Likewise.
36385 (yn_test): Likewise.
36387 2012-03-27 Anton Blanchard <anton@samba.org>
36389 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36391 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36392 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36393 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36395 2012-03-27 David S. Miller <davem@davemloft.net>
36397 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36399 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36400 have-as-vis3 check.
36402 2012-03-27 Andreas Jaeger <aj@suse.de>
36404 * sysdeps/x86_64/elf/configure.in: Moved to ...
36405 * sysdeps/x86_64/configure.in: ... here.
36406 * sysdeps/x86_64/elf/start.S: Moved to ...
36407 * sysdeps/x86_64/start.S: ... here.
36408 * sysdeps/x86_64/elf/configure: Delete.
36410 * sysdeps/x86_64/configure.in: Merge contents from
36411 sysdeps/i386/configure.in (without i686 check).
36413 * sysdeps/i386/elf/Versions: Merge into ...
36414 * sysdeps/i386/Versions: ... this.
36415 * sysdeps/i386/elf/Versions: Delete file.
36416 * sysdeps/i386/elf/start.S: Moved to ...
36417 * sysdeps/i386/start.S: ...here.
36418 * sysdeps/i386/elf/configure.in: Merge into...
36419 * sysdeps/i386/configure.in: ...here.
36420 * sysdeps/i386/elf/configure.in: Delete file.
36421 * sysdeps/i386/elf/configure: Delete file.
36423 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36424 * debug/backtracesyms.c: ... here.
36425 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36426 * debug/backtracesymsfd.c: ... here.
36427 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36428 * sysdeps/generic/ifunc-sel.h: ... here.
36430 * sysdeps/unix/i386/start.c: Delete file.
36431 * sysdeps/unix/sparc/start.c: Delete file.
36432 * sysdeps/unix/start.c: Delete file.
36434 * sysdeps/sh/elf/configure.in: Moved to ...
36435 * sysdeps/sh/configure.in: ... here.
36436 * sysdeps/sh/elf/start.S: Moved to ...
36437 * sysdeps/sh/start.S: ... here.
36438 * sysdeps/sh/elf/configure: Delete file.
36440 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36441 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36442 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36443 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36444 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36445 * sysdeps/powerpc/powerpc64/start.S: here.
36446 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36447 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36448 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36449 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36450 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36452 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36453 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36454 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36455 * sysdeps/powerpc/powerpc32/start.S: ... here.
36456 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36457 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36458 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36460 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36461 * sysdeps/powerpc/ifunc-sel.h: ... here.
36462 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36463 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36465 * sysdeps/sparc/elf/configure.in: Moved to ...
36466 * sysdeps/sparc/configure.in: ... here.
36467 * sysdeps/sparc/elf/configure: Delete file.
36468 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36469 * sysdeps/sparc/sparc32/start.S: ... here.
36470 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36471 * sysdeps/sparc/sparc64/start.S: ... here.
36472 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36473 * sysdeps/sparc/sparc32/Makefile: ... this.
36474 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36475 * sysdeps/sparc/sparc64/Makefile: ... this.
36477 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36478 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36479 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36480 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36481 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36482 * sysdeps/s390/s390-32/setjmp.S: ... here.
36483 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36484 * sysdeps/s390/s390-32/configure.in: ... here.
36485 * sysdeps/s390/s390-32/elf/configure: Delete file.
36486 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36487 * sysdeps/s390/s390-32/start.S: ... here.
36489 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36490 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36491 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36492 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36493 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36494 * sysdeps/s390/s390-64/setjmp.S: ... here.
36495 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36496 * sysdeps/s390/s390-64/configure.in: ... here
36497 * sysdeps/s390/s390-64/elf/configure: Delete file.
36498 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36499 * sysdeps/s390/s390-64/start.S: ... here.
36500 * sysdeps/s390/s390-64/elf/configure: Delete.
36502 * configure.in: Remove support for elf directories in sysdeps.
36504 * configure: Regenerated.
36505 * sysdeps/i386/configure: Regenerated.
36506 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36507 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36508 * sysdeps/s390/s390-32/configure: Regenerated.
36509 * sysdeps/s390/s390-64/configure: Regenerated.
36510 * sysdeps/sh/configure: Regenerated.
36511 * sysdeps/sparc/configure: Regenerated.
36512 * sysdeps/x86_64/configure: Regenerated.
36514 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36519 denormal result into account.
36521 2012-03-25 Roland McGrath <roland@hack.frob.com>
36523 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36524 Reported by Allan McRae <allan@archlinux.org>.
36526 2012-03-23 Jeff Law <law@redhat.com>
36528 * nss/getnssent.c (__nss_getent): Fix typo.
36530 2012-03-23 David S. Miller <davem@davemloft.net>
36532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36534 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36536 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36537 to pad to uint64_t for each field.
36538 (dl_tls_index): Replace unsigned long with uint64_t.
36540 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36541 Paul Pluzhnikov <ppluzhnikov@google.com>
36544 * grp/Makefile (otherlibs): Don't set it.
36545 * inet/Makefile (otherlibs): Likewise.
36546 * login/Makefile (otherlibs): Likewise.
36547 * nscd/Makefile (otherlibs): Likewise.
36548 * posix/Makefile (otherlibs): Likewise.
36549 * pwd/Makefile (otherlibs): Likewise.
36550 * rt/Makefile (otherlibs): Likewise.
36551 * sunrpc/Makefile (otherlibs): Likewise.
36552 * nss/Makefile (otherlibs): Likewise.
36553 Add libnss_files to routines and static-only-routines.
36554 ($(objpfx)getent): Remove rule.
36555 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36556 static-only-routines.
36558 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36561 * math/s_cexp.c: Include <float.h>.
36562 (__cexp): Handle exp result overflowing not necessarily
36563 overflowing both real and imaginary parts of result.
36564 * math/s_cexpf.c: Likewise.
36565 * math/s_cexpl.c: Likewise.
36566 * math/libm-test.inc (cexp_test): Add more tests.
36567 * sysdeps/i386/fpu/libm-test-ulps: Update.
36568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36570 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36572 * include/link.h (ELFW): New macro.
36573 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36574 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36576 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36578 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36581 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36583 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36585 (struct La_x32_retval): Likewise.
36587 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36589 * sysdeps/x86_64/preconfigure.in: New file.
36590 * sysdeps/x86_64/preconfigure: New generated file.
36592 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36595 * math/e_exp2l.c: Include <float.h>.
36596 (__ieee754_exp2l): Handle overflow and underflow cases
36597 separately. Only pass fractional part of argument to
36599 * math/libm-test.inc (exp2_test): Add more tests.
36601 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36602 negating x to take absolute value.
36603 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36608 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36609 computing low part if x was negated.
36610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36612 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36614 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36615 la_x32_gnu_pltexit.
36616 (pltexit): Cast int_retval to ptrdiff_t.
36617 * elf/tst-auditmod3b.c: Likewise.
36618 * elf/tst-auditmod4b.c: Likewise.
36619 * elf/tst-auditmod5b.c: Likewise.
36620 * elf/tst-auditmod6b.c: Likewise.
36621 * elf/tst-auditmod6c.c: Likewise.
36622 * elf/tst-auditmod7b.c: Likewise.
36624 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36625 and x32_gnu_pltexit.
36627 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36628 __ELF_NATIVE_CLASS.
36629 (La_x32_regs): New macro.
36630 (La_x32_retval): Likewise.
36631 (la_x32_gnu_pltenter): New function prototype.
36632 (la_x32_gnu_pltexit): Likewise.
36634 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36641 * configure.in (libc_cv_cc_nofma): Check for option to disable
36642 generation of FMA instructions.
36643 * configure: Regenerate.
36644 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36645 * sysdeps/ieee754/dbl-64/Makefile: New file.
36646 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36647 Remove brandred-fma4.
36648 (CFLAGS-brandred-fma4.c): Remove.
36649 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36655 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36657 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36658 LLONG_MAX != LONG_MAX.
36659 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36660 (_fitoa_word): Likewise.
36661 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36662 LLONG_MAX != LONG_MAX.
36663 * stdio-common/_itowa.h: Include <_itoa.h>.
36664 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36665 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36666 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36667 only if not defined.
36668 (_ITOA_WORD_TYPE): Likewise.
36669 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36670 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36672 2012-03-21 David S. Miller <davem@davemloft.net>
36674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36676 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36678 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36679 of x86_64 when setting libc_cv_slibdir, libdir and
36681 * sysdeps/unix/sysv/linux/configure: Regenerated.
36683 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36685 * manual/lang.texi (Old Varargs): Remove section.
36686 (How Variadic): Update menu.
36687 (va_start): Do not mention varargs.h.
36689 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36690 Joseph Myers <joseph@codesourcery.com>
36692 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36694 * configure: Regenerated.
36696 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36698 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36699 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36702 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36705 * Makefile (files-for-dist): Remove NOTES.
36706 (NOTES): Remove rule.
36707 * README: Don't refer to NOTES.
36708 * manual/creature.texi: Don't include macros.texi.
36709 * manual/intro.texi (creature.texi): Remove comment referring to
36712 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36713 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36714 * configure: Regenerated.
36715 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36716 LIBC_TRY_CC_OPTION.
36717 (libc_cv_as_i686): Likewise.
36718 (libc_cv_cc_avx): Likewise.
36719 (libc_cv_cc_sse2avx): Likewise.
36720 (libc_cv_cc_fma4): Likewise.
36721 (libc_cv_cc_novzeroupper): Likewise.
36722 * sysdeps/i386/configure: Regenerated.
36725 * sysdeps/i386/fpu/s_cexp.S: Remove.
36726 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36728 * math/libm-test.inc (cexp_test): Add more tests.
36729 * sysdeps/i386/fpu/libm-test-ulps: Update.
36730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36732 2012-03-21 Allan McRae <allan@archlinux.org>
36734 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36736 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36739 * math/w_exp2.c: Do not include <float.h>.
36740 (o_threshold, u_threshold): Remove.
36741 (__exp2): Calculate result before checking finiteness and calling
36743 * math/w_exp2f.c: Likewise.
36744 * math/w_exp2l.c: Likewise.
36745 * math/libm-test.inc (exp2_test): Require overflow exception for
36749 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36750 range of signed 64-bit integers before using fistpll. Remove
36751 checks for whether integers fit in mantissa bits.
36752 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36753 the range of signed 32-bit integers before using fistpl. Remove
36754 checks for whether integers fit in mantissa bits.
36755 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36756 (__ieee754_powl): Test for y outside the range of signed 64-bit
36757 integers before using fistpll. Reduce 64-bit values to 63-bit
36759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36760 divide-by-zero is raised for zero to large negative powers.
36761 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36762 (__ieee754_powl): Test for y outside the range of signed 64-bit
36763 integers before using fistpll. Reduce 64-bit values to 63-bit
36765 * math/libm-test.inc (pow_test): Add more tests.
36767 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36769 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36770 <stdio-common/_itoa.h>.
36771 * debug/segfault.c: Likewise.
36772 * elf/dl-cache.c: Likewise.
36773 * elf/dl-minimal.c: Likewise.
36774 * elf/dl-misc.c: Likewise.
36775 * elf/dl-sysdep.c: Likewise.
36776 * elf/dl-version.c: Likewise.
36777 * elf/rtld.c: Likewise.
36778 * hurd/hurdsock.c: Likewise.
36779 * hurd/lookup-retry.c: Likewise.
36780 * malloc/malloc.c: Likewise.
36781 * malloc/mtrace.c: Likewise.
36782 * nscd/nscd_getgr_r.c: Likewise.
36783 * nscd/nscd_getpw_r.c: Likewise.
36784 * nscd/nscd_getserv_r.c: Likewise.
36785 * posix/getopt_init.c: Likewise.
36786 * posix/wordexp.c: Likewise.
36787 * stdio-common/_itoa.c: Likewise.
36788 * stdio-common/printf_fphex.c: Likewise.
36789 * stdio-common/vfprintf.c: Likewise.
36790 * string/_strerror.c: Likewise.
36791 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36792 * sysdeps/i386/i686/hp-timing.h: Likewise.
36793 * sysdeps/mach/_strerror.c: Likewise.
36794 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36795 * sysdeps/mach/hurd/sethostid.c: Likewise.
36796 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36797 * sysdeps/mach/xpg-strerror.c: Likewise.
36798 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36799 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36800 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36801 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36802 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36803 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36804 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36805 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36806 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36807 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36808 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36809 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36810 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36811 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36812 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36813 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36814 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36815 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36816 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36817 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36818 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36820 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36822 * stdio-common/_itoa.h: Moved to ...
36823 * sysdeps/generic/_itoa.h: Here.
36825 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36827 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36828 instead of "_itoa.h" and "_itowa.h".
36829 * stdio-common/vfprintf.: Likewise.
36831 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36833 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36835 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36836 (__signbit): Likwise.
36837 (llrintf): Likwise.
36840 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36842 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36845 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36847 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36848 OVERFLOW_EXCEPTION_OK.
36849 * math/libm-test.inc ("Philosophy"): Update comment about
36851 (OVERFLOW_EXCEPTION): Define.
36852 (OVERFLOW_EXCEPTION_OK): Likewise.
36853 (INVALID_EXCEPTION_OK): Renumber.
36854 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36855 (IGNORE_ZERO_INF_SIGN): Likewise.
36856 (test_exceptions): Handle FE_OVERFLOW.
36857 (exp10_test): Expect overflow exceptions.
36858 (exp2_test): Likewise.
36859 (expm1_test): Likewise.
36860 (nextafter_test): Likewise.
36861 (pow_test): Likewise.
36862 (scalbn_test): Likewise.
36863 (scalbln_test): Likewise.
36865 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36867 * sysdeps/x86_64/bits/atomic.h
36868 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36870 (atomic_exchange_acq): Likewise.
36871 (__arch_exchange_and_add_body): Likewise.
36872 (__arch_add_body): Likewise.
36873 (atomic_add_negative): Likewise.
36874 (atomic_add_zero): Likewise.
36876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36878 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36879 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36881 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36883 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36884 Check __x86_64__ instead of __WORDSIZE.
36886 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36888 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36890 2012-03-19 David S. Miller <davem@davemloft.net>
36892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36894 * sysdeps/sparc/fpu/fenv_private.h: New file.
36895 * sysdeps/sparc/fpu/math_private.h: Use it.
36896 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36898 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36899 (libc_feholdexcept_setroundl): Remove.
36900 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36902 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36903 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36905 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36907 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36908 int64_t instead of long int.
36909 (INSERT_WORDS64): Likwise.
36911 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36913 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36914 _Unwind_GetCFA return to _Unwind_Ptr first.
36916 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36919 * math/s_clog.c: Include <float.h>.
36920 (__clog): Scale large or subnormal inputs.
36921 * math/s_clogf.c: Likewise.
36922 * math/s_clogl.c: Likewise.
36923 * math/s_clog10.c: Include <float.h>.
36924 (M_LOG10_2): Define.
36925 (__clog10): Scale large or subnormal inputs.
36926 * math/s_clog10f.c: Likewise.
36927 * math/s_clog10l.c: Likewise.
36928 * math/libm-test.inc (clog_test): Add more tests.
36929 (clog10_test): Likewise.
36930 * sysdeps/i386/fpu/libm-test-ulps: Update.
36931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36934 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36936 * math/libm-test.inc (atan2_test): Add another test.
36938 * Makerules (common-objdir-compile): Remove.
36939 * sysdeps/unix/Makefile (config-generated): Do not add
36940 $(unix-generated) to variable.
36941 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36942 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36944 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36946 [generic bits/local_lim.h] (before-compile): Do not append to
36948 [generic bits/local_lim.h] (common-generated): Likewise.
36949 [generic sys/param.h] (before-compile): Do not append to variable.
36950 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36951 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36952 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36953 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36955 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36956 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36957 [generic sys/param.h] ($(addprefix
36958 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36959 [generic sys/param.h] (common-generated): Do not append to
36961 [generic sys/param.h] (sysdep_headers): Likewise.
36962 [generic bits/errno.h] (before-compile): Do not append to
36964 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36966 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36967 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36968 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36969 [generic bits/errno.h] (common-generated): Do not append to
36971 [generic bits/ioctls.h] (before-compile): Do not append to
36973 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36975 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36976 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36977 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36979 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36980 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36981 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36982 [generic bits/ioctls.h] (common-generated): Do not append to
36984 [generic sys/syscall.h] (syscall.h): Remove variable.
36985 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36987 [generic sys/syscall.h] (before-compile): Do not append to
36989 [generic sys/syscall.h] (common-generated): Likewise.
36990 * sysdeps/unix/errnos-tmpl.c: Remove file.
36991 * sysdeps/unix/errnos.awk: Likewise.
36992 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36993 * sysdeps/unix/ioctls.awk: Likewise.
36994 * sysdeps/unix/mk-local_lim.c: Likewise.
36995 * sysdeps/unix/snarf-ioctls: Likewise.
36997 2012-03-19 Richard Henderson <rth@twiddle.net>
36999 * sysdeps/i386/fpu/fenv_private.h: New file.
37000 * sysdeps/i386/fpu/math_private.h: Use it.
37001 (math_opt_barrier, math_force_eval): Remove.
37002 (libc_feholdexcept_setround_53bit): Remove.
37003 (libc_feupdateenv_53bit): Remove.
37004 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37005 (math_opt_barrier, math_force_eval): Remove.
37006 (libc_feholdexcept): Remove.
37007 (libc_feholdexcept_setround): Remove.
37008 (libc_fetestexcept, libc_fesetenv): Remove.
37009 (libc_feupdateenv_test): Remove.
37010 (libc_feupdateenv, libc_feholdsetround): Remove.
37011 (libc_feresetround): Remove.
37013 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37014 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37016 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37017 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37018 (libc_feupdateenv_testl): New.
37019 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37020 (libc_feupdateenv_testf): New.
37021 (libc_feupdateenv): Use libc_feupdateenv_test.
37022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37025 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37026 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37027 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37028 (libc_feresetround_noex): New.
37029 (libc_feresetround_noexf): New.
37030 (libc_feresetround_noexl): New.
37031 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37032 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37033 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37034 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37039 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37040 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37041 SET_RESTORE_ROUND_NOEX.
37042 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37043 SET_RESTORE_ROUND_NOEXF.
37044 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37045 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37046 (libc_feholdsetroundf): New.
37047 (libc_feresetround, libc_feresetroundf): New.
37049 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37050 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37051 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37053 * sysdeps/generic/math_private.h: Include <fenv.h>.
37054 (default_libc_feholdexcept): New.
37055 (default_libc_feholdexcept_setround): New.
37056 (default_libc_fesetenv, default_libc_feupdateenv): New.
37057 (libc_feholdexcept): Only define if undefined.
37058 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37059 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37060 (libc_feholdexcept_setroundl): Likewise.
37061 (libc_feholdexcept_setround_53bit): Likewise.
37062 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37063 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37064 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37065 (libc_feupdateenv_53bit): Likewise.
37066 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37067 (libc_feholdexcept): Convert from macro to inline function.
37068 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37069 (libc_fesetenv, libc_feupdateenv): Likewise.
37071 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37072 not previously defined.
37073 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37074 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37075 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37076 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37077 * sysdeps/ieee754/flt-32/math_private.h: New file.
37078 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37079 math_private.h below SET_FLOAT_WORD.
37080 (__isnan, __isinf_ns, __finite): Remove.
37081 (__isnanf, __isinf_nsf, __finitef): Remove.
37083 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37087 2012-03-17 David S. Miller <davem@davemloft.net>
37090 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37093 2012-03-16 David S. Miller <davem@davemloft.net>
37095 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37101 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37102 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37103 sysdep_routines when subdir is sysvipc.
37104 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37105 __getshmlba helper.
37107 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37109 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37111 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37114 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37117 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37118 (__lround): Renamed to ...
37119 (__llround): This. Replace long int with long long int.
37120 Define lround functions as aliases of llround functions.
37121 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37125 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37126 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37127 adresses to uintptr_t. Replace "long int" and "unsigned long
37128 int" with "greg_t" on va_arg.
37130 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37132 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37133 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37135 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37136 Move e_machine check before EI_CLASS check. Handle x32
37137 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37138 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37139 SKIP_EM_IA_64 and include
37140 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37142 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37143 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37144 (add_system_dir): New macro.
37146 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37147 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37149 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37160 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37162 * math/w_j0f.c (j0f): Likewise.
37164 * math/w_j0l.c (__j0l): Likewise.
37166 * math/w_j1.c (j1): Likewise.
37168 * math/w_j1f.c (j1f): Likewise.
37170 * math/w_j1l.c (__j1l): Likewise.
37172 * math/w_jn.c (jn): Likewise.
37174 * math/w_jnf.c (jnf): Likewise.
37176 * math/w_jnl.c (__jnl): Likewise.
37178 * math/libm-test.inc (j0_test): Add more tests.
37179 (j1_test): Likewise.
37180 (jn_test): Likewise. Add trailing semicolon to existing test.
37181 (y0_test): Likewise.
37182 (y1_test): Likewise.
37183 * sysdeps/i386/fpu/libm-test-ulps: Update.
37184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37188 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37189 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37190 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37191 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37192 (__tanl): Set errno for infinite argument.
37193 * sysdeps/i386/fpu/mptan.c: Remove.
37194 * sysdeps/i386/fpu/s_tan.S: Likewise.
37195 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37196 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37197 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37198 * math/libm-test.inc (tan_test): Add more tests and enable more
37199 tests for double and long double.
37200 * sysdeps/i386/fpu/libm-test-ulps: Update.
37201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37203 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37205 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37206 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37208 2012-03-16 Roland McGrath <roland@hack.frob.com>
37210 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37211 * configure.in: Use it for both main tree and add-ons.
37212 * configure: Regenerated.
37214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37216 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37218 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37220 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37224 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37225 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37230 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37231 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37232 != 0 for prec == 2.
37233 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37234 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37235 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37236 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37237 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37238 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37239 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37240 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37241 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37242 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37243 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37244 * math/libm-test.inc (cos_test): Add more tests and enable more
37245 tests for long double.
37246 (sin_test): Likewise.
37247 (sincos_test): Likewise.
37248 * sysdeps/i386/fpu/libm-test-ulps: Update.
37249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37251 2012-03-16 David S. Miller <davem@davemloft.net>
37253 * sysdeps/sparc/fpu/math_private.h: New file.
37255 2012-03-15 David S. Miller <davem@davemloft.net>
37257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37271 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37272 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37274 * sysdeps/sparc/sparc-ifunc.h: New file.
37275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37320 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37322 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37326 2012-03-15 Andreas Jaeger <aj@suse.de>
37329 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37330 ieee754/flt-32 implementation for sin, cos and sincos.
37331 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37332 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37333 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37334 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37335 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37336 ieee754/flt-32 implementation for tan.
37338 * math/libm-test.inc (cos_test): Enable some large input tests for
37340 (sin_test): Likewise.
37341 (sincos_test): Likewise.
37342 (tan_test): Add tests for large input.
37344 * sysdeps/i386/fpu/libm-test-ulps: Update.
37346 2012-03-15 Andreas Jaeger <aj@suse.de>
37349 * math/libm-test.inc (cos_test): Add more test cases.
37350 (sin_test): Likewise.
37351 (sincos_test): Likewise.
37353 2012-03-15 Andreas Jaeger <aj@suse.de>
37356 * math/libm-test.inc (cos_test): Add a test case for large input
37358 (sin_test): Likewise.
37359 (sincos_test): Likewise.
37361 2012-03-15 Andreas Jaeger <aj@suse.de>
37362 Joseph Myers <joseph@codesourcery.com>
37365 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37366 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37367 * sysdeps/i386/fpu/branred.c: Likewise.
37368 * sysdeps/i386/fpu/dosincos.c: Likewise.
37369 * sysdeps/i386/fpu/mpa.c: Likewise.
37370 * sysdeps/i386/fpu/s_cos.S: Likewise.
37371 * sysdeps/i386/fpu/s_sin.S: Likewise.
37372 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37373 * sysdeps/i386/fpu/sincos32.c: Likewise.
37375 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37377 (libc_feupdateenv_53bit): Define.
37378 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37380 (libc_feupdateenv_53bit): Define.
37382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37383 53 bit (without extend i386 double precision).
37385 * math/libm-test.inc (sincos_test): Add tests for large input.
37389 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37391 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37395 2012-03-15 David S. Miller <davem@davemloft.net>
37397 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37398 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37399 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37400 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37425 fmin/fmax sysdep routines.
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37428 2012-03-14 David S. Miller <davem@davemloft.net>
37430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37457 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37502 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37507 * sysdeps/sparc/configure.in: New file.
37508 * sysdeps/sparc/configure: Generate.
37509 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37510 * configure: Regenerate.
37511 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37512 * config.make.in (have-as-vis3): New.
37513 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37514 available use -Av9d instead of -Av9a.
37515 * sysdeps/sparc/sparc64/Makefile: Likewise.
37516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37528 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37531 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37532 fzeros/fnegs to load 0x80000000 into a float register instead of
37534 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37536 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37540 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37541 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37542 ($(inst_includedir)/bits/syscall.h): Remove rule.
37543 ($(objpfx)bits/syscall.d): Include instead of
37544 $(objpfx)syscall-list.d.
37545 (generated): Change syscall-list.h and syscall-list.d to
37546 bits/syscall.h and bits/syscall.d.
37548 2012-03-14 Roland McGrath <roland@hack.frob.com>
37551 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37553 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37556 * math/s_csqrt.c: Include <float.h>.
37557 (__csqrt): Scale large or subnormal inputs.
37558 * math/s_csqrtf.c: Likewise.
37559 * math/s_csqrtl.c: Likewise.
37560 * math/libm-test.inc (csqrt_test): Add more tests.
37561 * sysdeps/i386/fpu/libm-test-ulps: Update.
37562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37565 * math/libm-test.inc (hypot_test): Add more tests.
37567 2012-03-13 David S. Miller <davem@davemloft.net>
37570 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37571 double-precision for the calculation instead of scaling.
37573 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37575 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37576 manipulate bits before adding and subtracting TWO52[sx].
37577 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37582 2012-03-13 David S. Miller <davem@davemloft.net>
37584 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37585 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37587 rtld-global-offsets.h
37588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37590 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37593 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37595 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37596 'err' in the ifdef scope in which it is actually used.
37598 * nss/nss_db/db-init.c: Include string.h
37600 2012-03-12 David S. Miller <davem@davemloft.net>
37602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37603 masking out of the most significant byte of random value used.
37604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37605 Fix coding style in previous change.
37607 * sysdeps/unix/sysv/linux/kernel-features.h
37608 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37609 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37611 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37614 2012-03-11 David S. Miller <davem@davemloft.net>
37616 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37617 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37619 for 'resultvar' otherwise things get truncated on 64-bit.
37621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37622 Fix masking out of the most significant byte of random value used.
37624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37626 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37630 2012-03-09 David S. Miller <davem@davemloft.net>
37632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37633 variables with appropriate CPP guards.
37634 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37635 from the frame pointer, not the stack pointer. Correct layout
37636 comments. Fix test on resulting framesize and the management of
37637 the outregs buffer for pltexit. Preserve floating point return
37638 values across _dl_call_pltexit call.
37639 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37640 framesize and the management of the outregs buffer for pltexit.
37641 Preserve floating point return values across _dl_call_pltexit
37643 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37644 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37645 (la_sparc64_gnu_pltexit): New functions.
37646 (print_exit): Fix format string for return register value.
37648 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37650 * sunrpc/Makefile (others): Add rpcgen.
37651 ($(objpfx)rpcgen): Remove special build rule and dependency on
37653 * sunrpc/rpcgen.c: New file.
37655 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37658 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37659 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37660 * sysdeps/i386/crti.S: Likewise.
37661 * sysdeps/i386/crtn.S: Likewise.
37662 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37663 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37664 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37665 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37666 * sysdeps/sh/crti.S: Likewise.
37667 * sysdeps/sh/crtn.S: Likewise.
37668 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37671 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37673 * locale/programs/locfile-kw.gperf: Likewise.
37674 * locale/programs/charmap-kw.h: Regenerated.
37675 * locale/programs/locfile-kw.h: Likewise.
37678 * intl/plural.y: Replace FSF snail mail address with URL.
37679 * intl/plural.c: Regenerated.
37681 2012-03-09 Richard Henderson <rth@twiddle.net>
37683 * include/math_private.h: Remove file.
37684 * math/math_private.h: Move file ...
37685 * sysdeps/generic/math_private.h: ... here.
37687 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37688 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37689 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37691 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37692 and <math_private.h>.
37693 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37694 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37695 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37696 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37697 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37701 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37709 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37762 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37763 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37765 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37781 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37782 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37783 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37784 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37785 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37786 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37787 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37788 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37789 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37790 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37791 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37792 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37793 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37794 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37795 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37796 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37797 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37798 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37799 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37800 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37801 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37803 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37804 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37805 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37806 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37807 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37808 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37809 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37810 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37811 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37812 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37813 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37814 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37815 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37816 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37817 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37818 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37819 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37820 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37821 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37822 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37823 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37824 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37825 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37826 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37827 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37828 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37829 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37830 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37831 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37832 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37833 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37834 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37835 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37836 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37838 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37839 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37840 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37841 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37842 * sysdeps/ieee754/k_standard.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37876 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37953 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37967 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37969 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37970 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37971 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37973 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37974 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37975 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37979 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37982 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37983 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37984 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37985 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37986 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37987 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37992 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37993 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37994 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37996 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37997 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37998 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37999 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38000 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38001 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38002 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38003 * sysdeps/ieee754/s_lib_version.c: Likewise.
38004 * sysdeps/ieee754/s_matherr.c: Likewise.
38005 * sysdeps/ieee754/s_signgam.c: Likewise.
38006 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38007 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38008 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38009 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38010 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38011 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38012 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38013 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38014 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38015 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38016 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38017 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38018 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38019 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38020 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38021 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38022 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38023 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38024 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38026 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38028 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38030 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38031 * sunrpc/rpc_main.c: Likewise.
38032 * sunrpc/rpc_svcout.c: Likewise.
38034 2012-03-09 David S. Miller <davem@davemloft.net>
38036 * include/math_private.h: New file.
38038 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38040 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38041 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38042 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38043 from <bits/socket_type.h>.
38044 (enum __socket_type): Don't define here.
38045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38047 bits/socket_type.h.
38050 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38051 checking __USE_GNU.
38053 * Makerules ($(inst_includedir)/%.h): New rule.
38054 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38055 (install-others): Remove variable setting.
38056 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38058 2012-03-08 Richard Henderson <rth@twiddle.net>
38060 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38061 from macro to inline function; merge with the
38062 !__LIBC_INTERNAL_MATH_INLINES version.
38063 (__ieee754_sqrtf): Likewise.
38065 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38066 to inline function.
38067 (__rintf, __floor, __floorf): Likewise.
38069 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38070 macro to inline function.
38071 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38073 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38074 not <math/math_private.h>.
38076 2012-03-08 David S. Miller <davem@davemloft.net>
38078 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38080 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38082 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38084 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38086 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38087 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38089 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38091 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38092 be defined individually, they must be defined as a block. Define
38093 S for printing a string instead of hidint the different by using a
38094 macro for adding the 'l'.
38095 * stdio-common/tst-fphex-wide.c: Adjust.
38097 2012-03-07 Marek Polacek <polacek@redhat.com>
38099 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38101 2012-03-08 Marek Polacek <polacek@redhat.com>
38104 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38105 * stdio-common/tst-fphex.c: Define a few macros to make the
38106 test reusable. Use them.
38107 * stdio-common/tst-fphex-wide.c: New file.
38109 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38112 * manual/macros.texi (gnusystems): New macro.
38113 (nongnusystems): Likewise.
38114 (gnulinuxhurdsystems): Likewise.
38115 (gnuhurdsystems): Likewise..
38116 (gnulinuxsystems): Likewise.
38117 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38118 variants of the GNU system, not "GNU system".
38119 * manual/conf.texi: Likewise.
38120 * manual/errno.texi: Likewise. Update example of errno macro
38122 * manual/filesys.texi: Likewise.
38123 (getumask): Document as specific to GNU/Hurd.
38124 * manual/install.texi: Likewise. Reword some references to
38126 * manual/intro.texi: Likewise.
38127 * manual/io.texi: Likewise.
38128 (File Name Portability): Detail which constraints are inapplicable
38129 to all GNU systems and which are only inapplicable to GNU/Hurd.
38130 * manual/job.texi: Likewise.
38131 * manual/llio.texi: Likewise.
38132 (O_NOCTTY): Document as present on GNU/Linux.
38133 * manual/maint.texi: Likewise.
38134 * manual/memory.texi: Likewise.
38135 * manual/pattern.texi: Likewise.
38136 * manual/pipe.texi: Likewise.
38137 * manual/process.texi: Likewise.
38138 * manual/resource.texi: Likewise.
38139 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38141 * manual/setjmp.texi: Likewise.
38142 * manual/signal.texi: Likewise.
38143 * manual/startup.texi: Likewise.
38144 * manual/stdio.texi: Likewise.
38145 * manual/terminal.texi: Likewise.
38146 (ONLCR): Document as POSIX.
38147 (OXTABS): Document availability on GNU/Linux as XTABS.
38148 (ONOEOT): Document availability separately from other bits.
38149 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38150 * manual/time.texi: Likewise.
38151 * manual/users.texi: Likewise.
38152 * INSTALL: Regenerated.
38153 * sysdeps/gnu/errlist.c: Regenerated.
38155 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38156 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38157 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38159 * configure: Regenerated.
38161 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38163 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38164 default includes instead of AC_HEADER_CHECK.
38165 * sysdeps/i386/configure: Regenerated.
38168 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38169 * math/s_cacoshf.c (__cacoshf): Likewise.
38170 * math/s_cacoshl.c (__cacoshl): Likewise.
38171 * math/s_casinh.c (__casinh): Set signs of result from argument.
38172 * math/s_casinhf.c (__casinhf): Likewise.
38173 * math/s_casinhl.c (__casinhl): Likewise.
38174 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38175 (casinh_test): Add more tests.
38176 * sysdeps/i386/fpu/libm-test-ulps: Update.
38177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38179 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38181 * po/zh_TW.po: Update from translation team.
38183 * login/Makefile (distribute): Remove variable.
38184 * catgets/Makefile: Likewise.
38185 * mach/Makefile: Likewise.
38186 * malloc/Makefile: Likewise.
38187 * misc/Makefile: Likewise.
38188 * iconv/Makefile: Likewise.
38189 * nscd/Makefile: Likewise.
38190 * hurd/Makefile: Likewise.
38191 * manual/Makefile: Likewise.
38192 * locale/Makefile: Likewise.
38193 * intl/Makefile: Likewise.
38194 * conform/Makefile: Likewise.
38195 * nss/Makefile: Likewise.
38196 * time/Makefile: Likewise.
38197 * soft-fp/Makefile: Likewise.
38198 * dirent/Makefile: Likewise.
38199 * gmon/Makefile: Likewise.
38200 * po/Makefile: Likewise.
38201 * rt/Makefile: Likewise.
38202 * socket/Makefile: Likewise.
38203 * math/Makefile: Likewise.
38204 * signal/Makefile: Likewise.
38205 * debug/Makefile: Likewise.
38206 * elf/Makefile: Likewise.
38207 * timezone/Makefile: Likewise.
38208 * stdlib/Makefile: Likewise.
38209 * iconvdata/Makefile: Likewise.
38210 * sunrpc/Makefile: Likewise.
38211 * io/Makefile: Likewise.
38212 * argp/Makefile: Likewise.
38213 * inet/Makefile: Likewise.
38214 * hesiod/Makefile: Likewise.
38215 * grp/Makefile: Likewise.
38216 * csu/Makefile: Likewise.
38217 * wctype/Makefile: Likewise.
38218 * crypt/Makefile: Likewise.
38219 * libio/Makefile: Likewise.
38220 * string/Makefile: Likewise.
38221 * nis/Makefile: Likewise.
38222 * resolv/Makefile: Likewise.
38223 * stdio-common/Makefile: Likewise.
38224 * wcsmbs/Makefile: Likewise.
38225 * dlfcn/Makefile: Likewise.
38226 * posix/Makefile: Likewise.
38229 * timezone/Makefile: Don't install timezone files, just the programs
38232 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38234 * nss/databases.def: Add missing gshadow entry.
38236 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38238 2012-03-06 Marek Polacek <polacek@redhat.com>
38241 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38242 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38243 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38244 * stdio-common/tst-long-dbl-fphex.c: New file.
38246 2012-03-06 David S. Miller <davem@davemloft.net>
38248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38249 (set_obp_int): New function.
38250 (get_obp_int): New function.
38251 (__get_clockfreq_via_dev_openprom): Likewise.
38252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38253 Avoid unused variable warnings on 'val' and use builtin_expect.
38254 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38256 (INLINE_CLONE_SYSCALL): Likewise.
38258 2012-03-05 David S. Miller <davem@davemloft.net>
38260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38262 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38266 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38267 only for |x| >= 40.
38268 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38270 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38273 Replace gettimeofday with __vdso_gettimeofday.
38275 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38276 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38277 __vdso_clock_gettime and __vdso_getcpu.
38279 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38280 time with __vdso_time.
38282 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38284 * manual/lang.texi (size_t): Note types to which size_t may be
38285 equivalent with the GNU C Library, but do not describe when
38286 differences between them are significant.
38288 2012-03-05 Andreas Jaeger <aj@suse.de>
38290 * sysdeps/i386/fpu/libm-test-ulps: Update.
38292 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38295 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38296 (__ieee754_pow): Save and restore rounding mode and use
38297 round-to-nearest for main computations.
38298 * math/libm-test.inc (pow_test_tonearest): New function.
38299 (pow_test_towardzero): Likewise.
38300 (pow_test_downward): Likewise.
38301 (pow_test_upward): Likewise.
38302 (main): Call the new functions.
38303 * sysdeps/i386/fpu/libm-test-ulps: Update.
38304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38307 * math/libm-test.inc (cosh_test_tonearest): New function.
38308 (cosh_test_towardzero): Likewise.
38309 (cosh_test_downward): Likewise.
38310 (cosh_test_upward): Likewise.
38311 (sinh_test_tonearest): Likewise.
38312 (sinh_test_towardzero): Likewise.
38313 (sinh_test_downward): Likewise.
38314 (sinh_test_upward): Likewise.
38315 (main): Call the new functions.
38316 * sysdeps/i386/fpu/libm-test-ulps: Update.
38317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38319 2012-03-05 Tom de Vries <tom@codesourcery.com>
38321 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38322 default stack guard is set in last bytes.
38323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38325 2012-03-05 Kees Cook <keescook@chromium.org>
38327 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38330 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38331 possibly allocate from heap instead of stack.
38332 * stdio-common/bug-vfprintf-nargs.c: New file.
38333 * stdio-common/Makefile (tests): Add nargs overflow test.
38335 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38339 2012-03-03 Marek Polacek <polacek@redhat.com>
38341 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38342 * math/math_private.h: Likewise.
38343 * stdlib/tst-strtod.c: Likewise.
38344 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38345 * sysdeps/x86_64/bits/atomic.h: Likewise.
38347 2012-03-02 David S. Miller <davem@davemloft.net>
38349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38353 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38354 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38355 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38356 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38358 2012-03-02 Roland McGrath <roland@hack.frob.com>
38361 * manual/examples/README: New file, says the example source files
38362 can be used under GPL>=2.
38363 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38364 line containing just "*/".
38365 * manual/examples/add.c: Add copyright header (GPL>=2).
38366 * manual/examples/argp-ex1.c: Likewise.
38367 * manual/examples/argp-ex2.c: Likewise.
38368 * manual/examples/argp-ex3.c: Likewise.
38369 * manual/examples/argp-ex4.c: Likewise.
38370 * manual/examples/atexit.c: Likewise.
38371 * manual/examples/db.c: Likewise.
38372 * manual/examples/dir.c: Likewise.
38373 * manual/examples/dir2.c: Likewise.
38374 * manual/examples/execinfo.c: Likewise.
38375 * manual/examples/filecli.c: Likewise.
38376 * manual/examples/filesrv.c: Likewise.
38377 * manual/examples/fmtmsgexpl.c: Likewise.
38378 * manual/examples/genpass.c: Likewise.
38379 * manual/examples/inetcli.c: Likewise.
38380 * manual/examples/inetsrv.c: Likewise.
38381 * manual/examples/isockad.c: Likewise.
38382 * manual/examples/longopt.c: Likewise.
38383 * manual/examples/memopen.c: Likewise.
38384 * manual/examples/memstrm.c: Likewise.
38385 * manual/examples/mkfsock.c: Likewise.
38386 * manual/examples/mkisock.c: Likewise.
38387 * manual/examples/mygetpass.c: Likewise.
38388 * manual/examples/pipe.c: Likewise.
38389 * manual/examples/popen.c: Likewise.
38390 * manual/examples/rprintf.c: Likewise.
38391 * manual/examples/search.c: Likewise.
38392 * manual/examples/select.c: Likewise.
38393 * manual/examples/setjmp.c: Likewise.
38394 * manual/examples/sigh1.c: Likewise.
38395 * manual/examples/sigusr.c: Likewise.
38396 * manual/examples/stpcpy.c: Likewise.
38397 * manual/examples/strdupa.c: Likewise.
38398 * manual/examples/strftim.c: Likewise.
38399 * manual/examples/strncat.c: Likewise.
38400 * manual/examples/subopt.c: Likewise.
38401 * manual/examples/swapcontext.c: Likewise.
38402 * manual/examples/termios.c: Likewise.
38403 * manual/examples/testopt.c: Likewise.
38404 * manual/examples/testpass.c: Likewise.
38405 * manual/examples/timeval_subtract.c: Likewise.
38408 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38410 * manual/timeval_subtract.c.texi: ... here, new file.
38412 2012-03-02 David S. Miller <davem@davemloft.net>
38414 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38416 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38419 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38420 (__sin): Save and restore rounding mode and use round-to-nearest
38421 for all computations.
38422 (__cos): Save and restore rounding mode and use round-to-nearest
38423 for all computations.
38424 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38426 (tan): Save and restore rounding mode and use round-to-nearest for
38428 * math/libm-test.inc (cos_test_tonearest): New function.
38429 (cos_test_towardzero): Likewise.
38430 (cos_test_downward): Likewise.
38431 (cos_test_upward): Likewise.
38432 (sin_test_tonearest): Likewise.
38433 (sin_test_towardzero): Likewise.
38434 (sin_test_downward): Likewise.
38435 (sin_test_upward): Likewise.
38436 (tan_test_tonearest): Likewise.
38437 (tan_test_towardzero): Likewise.
38438 (tan_test_downward): Likewise.
38439 (tan_test_upward): Likewise.
38440 (main): Call the new functions.
38441 * sysdeps/i386/fpu/libm-test-ulps: Update.
38442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38445 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38446 small n, then large n, before computing and testing k+n.
38447 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38452 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38453 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38454 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38455 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38460 * math/libm-test.inc (scalbn_test): Add more tests.
38461 (scalbln_test): Likewise.
38463 * manual/filesys.texi (mode_t): Describe constraints on size and
38464 signedness, not exact equivalence to a particular type.
38466 (ino64_t): Likewise.
38468 (nlink_t): Likewise.
38469 (blkcnt_t): Likewise.
38470 (blkcnt64_t): Likewise.
38471 * manual/llio.texi (off_t): Likewise.
38474 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38475 (__ieee754_exp): Save and restore rounding mode and use
38476 round-to-nearest for all computations.
38477 * math/libm-test.inc (exp_test_tonearest): New function.
38478 (exp_test_towardzero): Likewise.
38479 (exp_test_downward): Likewise.
38480 (exp_test_upward): Likewise.
38481 (main): Call the new functions.
38482 * sysdeps/i386/fpu/libm-test-ulps: Update.
38483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38485 2012-03-01 Chris Demetriou <cgd@google.com>
38487 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38488 have predictable order.
38490 2012-03-01 David S. Miller <davem@davemloft.net>
38492 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38494 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38495 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38496 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38497 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38499 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38500 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38501 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38503 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38504 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38505 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38506 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38507 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38512 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38513 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38515 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38516 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38517 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38518 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38519 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38521 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38522 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38523 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38524 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38525 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38526 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38528 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38529 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38531 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38532 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38533 * sysdeps/sparc/elf/configure: Regenerated.
38535 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38537 * configure.in (AS, LD): Require binutils 2.20 or later.
38538 * configure: Regenerated.
38539 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38540 as required minimum version.
38541 * INSTALL: Regenerated.
38545 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38546 before squaring exponent.
38547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38548 bottom long double and 27 bits of top long double before squaring
38550 * math/libm-test.inc (erfc_test): Add more tests.
38551 * sysdeps/i386/fpu/libm-test-ulps: Update.
38552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38555 2012-03-01 Kai Tietz <ktietz@redhat.com>
38557 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38558 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38559 containing bit-fields.
38560 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38561 * soft-fp/single.h (_FP_UNION_S): Likewise.
38562 * soft-fp/double.h (_FP_UNION_D): Likewise.
38564 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38567 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38568 not include ../strcmp.S.
38569 [USE_AS_STRNCASECMP_L]: Likewise.
38570 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38571 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38572 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38573 (__strncasecmp_l_ia32): Define as alias to
38574 __strncasecmp_l_nonascii.
38577 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38578 * sysdeps/i386/fpu/libm-test-ulps: Update.
38579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38581 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38584 2012-02-29 Jeff Law <law@redhat.com>
38586 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38587 out of bounds read.
38589 2012-02-29 Marek Polacek <polacek@redhat.com>
38592 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38593 * elf/Makefile: Add rules to run tst-unused-dep.out.
38595 2012-02-28 David S. Miller <davem@davemloft.net>
38597 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38598 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38601 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38602 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38604 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38606 * math/libm-test.inc (llround_test): Move one test from
38607 lround_test. Use TEST_f_L in moved test.
38608 (lround_test): Move misplaced test to llround_test. Add testcase
38611 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38613 * sysdeps/x86_64/fpu/e_expf.S: New file.
38614 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38616 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38619 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38620 of remain_len that may cause incomplete multi-byte character and
38622 * posix/bug-regex33.c: New file.
38623 * posix/Makefile (tests): Add bug-regex33.
38625 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38627 * manual/macros.texi: New file.
38628 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38629 * manual/libc.texinfo: Include macros.texi.
38630 * manual/creatute.texi: Likewise.
38631 * manual/install.texi: Likewise.
38632 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38633 @glibcadj{} in references to the GNU C Library.
38634 * manual/charset.texi: Likewise.
38635 * manual/conf.texi: Likewise.
38636 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38637 when not using those macros.
38638 * manual/creature.texi: Likewise.
38639 * manual/crypt.texi: Likewise.
38640 * manual/errno.texi: Likewise.
38641 * manual/filesys.texi: Likewise.
38642 * manual/header.texi: Likewise.
38643 * manual/install.texi: Likewise.
38644 * manual/intro.texi: Likewise.
38645 * manual/io.texi: Likewise.
38646 * manual/job.texi: Likewise.
38647 * manual/lang.texi: Likewise.
38648 * manual/libc.texiinfo: Likewise.
38649 * manual/llio.texi: Likewise.
38650 * manual/locale.texi: Likewise.
38651 * manual/maint.texi: Likewise.
38652 * manual/math.texi: Likewise.
38653 * manual/memory.texi: Likewise.
38654 * manual/message.texi: Likewise.
38655 * manual/nss.texi: Likewise.
38656 * manual/pattern.texi: Likewise.
38657 * manual/process.texi: Likewise.
38658 * manual/resource.texi: Likewise.
38659 * manual/search.texi: Likewise.
38660 * manual/setjmp.texi: Likewise.
38661 * manual/signal.texi: Likewise.
38662 * manual/socket.texi: Likewise.
38663 * manual/startup.texi: Likewise.
38664 * manual/stdio.texi: Likewise.
38665 * manual/string.texi: Likewise.
38666 * manual/sysinfo.texi: Likewise.
38667 * manual/syslog.texi: Likewise.
38668 * manual/terminal.texi: Likewise.
38669 * manual/time.texi: Likewise.
38670 * manual/users.texi: Likewise.
38671 * INSTALL: Regenerated.
38672 * NOTES: Regenerated.
38673 * sysdeps/gnu/errlist.c: Regenerated.
38675 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38677 * include/dirent.h: Include <dirstream.h> before
38680 2012-02-28 David S. Miller <davem@davemloft.net>
38682 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38683 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38684 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38685 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38687 2012-02-27 David S. Miller <davem@davemloft.net>
38689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38691 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38692 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38695 frame pointer instead of stack pointer relative arg slot.
38696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38697 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38698 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38700 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38703 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38705 2012-02-27 David S. Miller <davem@davemloft.net>
38707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38711 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38712 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38713 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38714 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38716 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38718 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38719 later. Allow versions 5-9.
38720 * configure: Regenerated.
38721 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38722 required minimum version and 4.6 as recommended version. Do not
38723 mention bugs in GCC 2.7 and 2.8.
38724 * INSTALL: Regenerated.
38726 2012-02-27 David S. Miller <davem@davemloft.net>
38728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38732 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38733 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38734 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38735 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38737 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38738 manipulate bits before adding and subtracting TWO112[sx].
38739 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38741 2012-02-27 Roland McGrath <roland@hack.frob.com>
38744 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38745 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38746 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38747 being in POSIX, because they are in 1003.1-2008.
38749 * rt/tst-aio.c: Include <fcntl.h>.
38750 * rt/tst-aio7.c: Likewise.
38751 * rt/tst-aio64.c: Likewise.
38753 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38755 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38757 * manual/install.texi (--with-headers): Describe headers as
38758 interface headers, not private headers.
38759 (Specific advice for GNU/Linux systems): Describe use of headers
38760 from "make headers_install", not private headers from older
38762 * INSTALL: Regenerated.
38763 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38765 * sysdeps/unix/sysv/linux/configure: Regenerated.
38767 * manual/llio.texi (fclean): Remove documentation.
38769 * manual/Makefile (libc-texi-generated): New variable. Include
38771 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38772 $(libc-texi-generated), not duplicated list of files.
38773 (version.texi, stamp-version): New rules.
38774 (realclean): Remove $(libc-texi-generated), not individual files
38775 from that list. Do not remove dir-add.texinfo.
38776 * manual/libc.texinfo: Comment out uses of edition numbers and
38777 references to printed manual. Remove last-updated dates.
38778 (EDITION): Comment out.
38780 (VERSION, UPDATED): Remove.
38781 (version.texi): Include.
38783 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38785 * sysdeps/posix/spawni.c: Include <signal.h>.
38786 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38787 * sysdeps/pthread/aio_fsync.c: Likewise.
38789 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38791 * conform/Makefile (tests): Run only when not cross-compiling and
38792 when fast-check is not defined.
38794 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38795 * conform/data/limits.h-data: Fixes for POSIX2008.
38796 * conform/run-conformtest.sh: Run all tests.
38797 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38799 * include/bits/dlfcn.h: Likewise.
38800 * include/langinfo.h: Likewise.
38801 * include/monetary.h: Likewise.
38802 * include/sys/poll.h: Likewise.
38804 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38806 * posix/spawn.h: Define __need_sigset_t.
38807 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38808 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38809 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38810 to get sigevent_t only.
38811 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38812 only for __USE_GNU.
38813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38814 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38815 process_vm_writev only for __USE_GNU.
38816 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38818 * conform/Makefile: For now ignore errors from run-conformtest.
38819 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38820 POSIX to avoid namespace pollution. Don't prepend headers.
38821 * conform/data/aio.h-data: Fixes for POSIX testing.
38822 * conform/data/fcntl.h-data: Likewise.
38823 * conform/data/glob.h-data: Likewise.
38824 * conform/data/grp.h-data: Likewise.
38825 * conform/data/pthread.h-data: Likewise.
38826 * conform/data/pwd.h-data: Likewise.
38827 * conform/data/signal.h-data: Likewise.
38828 * conform/data/spawn.h-data: Likewise.
38829 * conform/data/stdio.h-data: Likewise.
38830 * conform/data/stdlib.h-data: Likewise.
38831 * conform/data/stropts.h-data: Likewise.
38832 * conform/data/sys/mman.h-data: Likewise.
38833 * conform/data/sys/stat.h-data: Likewise.
38834 * conform/data/sys/types.h-data: Likewise.
38835 * conform/data/sys/wait.h-data: Likewise.
38836 * conform/data/time.h-data: Likewise.
38837 * conform/data/unistd.h-data: Likewise.
38838 * conform/data/utime.h-data: Likewise.
38840 * io/sys/stat.h: fchmod was always in POSIX.
38841 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38842 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38843 * rt/aio.h: Define __need_timespec before including <time.h>.
38844 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38845 struct. Add forward declaration of pthread_attr_t and use it in
38847 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38848 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38849 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38850 always remove CLK_TCK definition.
38852 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38854 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38856 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38858 * conform/run-conformtest.sh: New file.
38859 * conform/Makefile: Run run-conformtest for tests.
38860 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38863 * conform/data/uchar.h-data: New file.
38864 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38865 * conform/data/arpa/inet.h-data: Likewise.
38866 * conform/data/assert.h-data: Likewise.
38867 * conform/data/complex.h-data: Likewise.
38868 * conform/data/cpio.h-data: Likewise.
38869 * conform/data/ctype.h-data: Likewise.
38870 * conform/data/dirent.h-data: Likewise.
38871 * conform/data/dlfcn.h-data: Likewise.
38872 * conform/data/errno.h-data: Likewise.
38873 * conform/data/fcntl.h-data: Likewise.
38874 * conform/data/float.h-data: Likewise.
38875 * conform/data/fmtmsg.h-data: Likewise.
38876 * conform/data/fnmatch.h-data: Likewise.
38877 * conform/data/ftw.h-data: Likewise.
38878 * conform/data/glob.h-data: Likewise.
38879 * conform/data/grp.h-data: Likewise.
38880 * conform/data/iconv.h-data: Likewise.
38881 * conform/data/inttypes.h-data: Likewise.
38882 * conform/data/langinfo.h-data: Likewise.
38883 * conform/data/libgen.h-data: Likewise.
38884 * conform/data/limits.h-data: Likewise.
38885 * conform/data/locale.h-data: Likewise.
38886 * conform/data/math.h-data: Likewise.
38887 * conform/data/monetary.h-data: Likewise.
38888 * conform/data/mqueue.h-data: Likewise.
38889 * conform/data/ndbm.h-data: Likewise.
38890 * conform/data/net/if.h-data: Likewise.
38891 * conform/data/netdb.h-data: Likewise.
38892 * conform/data/netinet/in.h-data: Likewise.
38893 * conform/data/nl_types.h-data: Likewise.
38894 * conform/data/poll.h-data: Likewise.
38895 * conform/data/pthread.h-data: Likewise.
38896 * conform/data/pwd.h-data: Likewise.
38897 * conform/data/regex.h-data: Likewise.
38898 * conform/data/sched.h-data: Likewise.
38899 * conform/data/search.h-data: Likewise.
38900 * conform/data/semaphore.h-data: Likewise.
38901 * conform/data/setjmp.h-data: Likewise.
38902 * conform/data/signal.h-data: Likewise.
38903 * conform/data/spawn.h-data: Likewise.
38904 * conform/data/stdarg.h-data: Likewise.
38905 * conform/data/stdio.h-data: Likewise.
38906 * conform/data/stdlib.h-data: Likewise.
38907 * conform/data/string.h-data: Likewise.
38908 * conform/data/strings.h-data: Likewise.
38909 * conform/data/stropts.h-data: Likewise.
38910 * conform/data/sys/ipc.h-data: Likewise.
38911 * conform/data/sys/mman.h-data: Likewise.
38912 * conform/data/sys/msg.h-data: Likewise.
38913 * conform/data/sys/resource.h-data: Likewise.
38914 * conform/data/sys/select.h-data: Likewise.
38915 * conform/data/sys/sem.h-data: Likewise.
38916 * conform/data/sys/shm.h-data: Likewise.
38917 * conform/data/sys/socket.h-data: Likewise.
38918 * conform/data/sys/stat.h-data: Likewise.
38919 * conform/data/sys/statvfs.h-data: Likewise.
38920 * conform/data/sys/time.h-data: Likewise.
38921 * conform/data/sys/timeb.h-data: Likewise.
38922 * conform/data/sys/times.h-data: Likewise.
38923 * conform/data/sys/types.h-data: Likewise.
38924 * conform/data/sys/uio.h-data: Likewise.
38925 * conform/data/sys/un.h-data: Likewise.
38926 * conform/data/sys/utsname.h-data: Likewise.
38927 * conform/data/sys/wait.h-data: Likewise.
38928 * conform/data/syslog.h-data: Likewise.
38929 * conform/data/tar.h-data: Likewise.
38930 * conform/data/termios.h-data: Likewise.
38931 * conform/data/utime.h-data: Likewise.
38932 * conform/data/utmpx.h-data: Likewise.
38933 * conform/data/varargs.h-data: Likewise.
38934 * conform/data/wchar.h-data: Likewise.
38935 * conform/data/wctype.h-data: Likewise.
38936 * conform/data/wordexp.h-data: Likewise.
38938 * include/stropts.h: New file.
38939 * include/uchar.h: New file.
38940 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38941 * include/assert.h: Likewise.
38942 * include/ctype.h: Likewise.
38943 * include/dirent.h: Likewise.
38944 * include/dlfcn.h: Likewise.
38945 * include/fcntl.h: Likewise.
38946 * include/fnmatch.h: Likewise.
38947 * include/glob.h: Likewise.
38948 * include/grp.h: Likewise.
38949 * include/libio.h: Likewise.
38950 * include/locale.h: Likewise.
38951 * include/math.h: Likewise.
38952 * include/net/if.h: Likewise.
38953 * include/netdb.h: Likewise.
38954 * include/netinet/in.h: Likewise.
38955 * include/pthread.h: Likewise.
38956 * include/pwd.h: Likewise.
38957 * include/regex.h: Likewise.
38958 * include/sched.h: Likewise.
38959 * include/search.h: Likewise.
38960 * include/setjmp.h: Likewise.
38961 * include/signal.h: Likewise.
38962 * include/stdio.h: Likewise.
38963 * include/stdlib.h: Likewise.
38964 * include/string.h: Likewise.
38965 * include/sys/cdefs.h: Likewise.
38966 * include/sys/mman.h: Likewise.
38967 * include/sys/msg.h: Likewise.
38968 * include/sys/resource.h: Likewise.
38969 * include/sys/select.h: Likewise.
38970 * include/sys/socket.h: Likewise.
38971 * include/sys/stat.h: Likewise.
38972 * include/sys/statvfs.h: Likewise.
38973 * include/sys/time.h: Likewise.
38974 * include/sys/times.h: Likewise.
38975 * include/sys/uio.h: Likewise.
38976 * include/sys/utsname.h: Likewise.
38977 * include/sys/wait.h: Likewise.
38978 * include/termios.h: Likewise.
38979 * include/time.h: Likewise.
38980 * include/ulimit.h: Likewise.
38981 * include/unistd.h: Likewise.
38982 * include/utime.h: Likewise.
38983 * include/wchar.h: Likewise.
38984 * include/wctype.h: Likewise.
38985 * include/wordexp.h: Likewise.
38987 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38989 * time/time.h: TIME_UTC must be a macro.
38990 Make timespec_get available for ISO C11 only as well.
38992 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38994 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38995 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38997 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38999 * configure.in: Use -o not -a in test for unsupported multi-arch.
39001 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39003 * manual/texinfo.tex: Update to version 2012-01-19.16.
39005 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39007 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39009 2012-02-24 Roland McGrath <roland@hack.frob.com>
39012 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39013 * manual/fdl-1.3.texi: New file.
39014 * manual/fdl-1.1.texi: File removed.
39017 * manual/libc.texinfo (FDL_VERSION): New @set.
39018 Use it for mention of FDL in cover text.
39019 (Documentation License): Use it in @include file name.
39021 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39022 Roland McGrath <roland@hack.frob.com>
39025 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39026 (not LONG_LONG_MAX and LONG_LONG_MIN.
39027 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39028 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39030 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39036 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39037 manipulate bits before adding and subtracting TWO23[sx].
39038 * math/libm-test.inc (nearbyint_test): Add more tests.
39040 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39043 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39044 bits before adding and subtracting TWO23[sx].
39045 * math/libm-test.inc (rint_test): Add more tests.
39046 (rint_test_tonearest): Likewise.
39047 (rint_test_towardzero): Likewise.
39048 (rint_test_downward): Likewise.
39049 (rint_test_upward: Likewise.
39051 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39054 * include/stdc-predef.h: New file. Extracted from features.h.
39055 * include/features.h: Include stdc-predef.h.
39056 * Makefile (headers): Add stdc-predef.h.
39057 * CONFORMANCE (Compiler limitations): Update.
39059 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39061 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39063 2012-02-21 David S. Miller <davem@davemloft.net>
39065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39066 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39068 2012-02-20 David S. Miller <davem@davemloft.net>
39070 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39071 using a normal save/restore sequence, rather than allocating a
39072 dummy stack frame just to store a frame pointer and restore.
39073 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39075 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39077 * manual/install.texi: Fix stray word in line-wrapped comment.
39079 2012-02-20 David S. Miller <davem@davemloft.net>
39081 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39082 both binutils and gcc support GOTDATA.
39084 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39085 "rd %pc" in the PIC register setup sequences.
39087 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39088 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39089 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39090 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39091 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39093 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39094 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39096 (SYSCALL_ERROR_HANDLER): Likewise.
39097 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39098 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39100 (SYSCALL_ERROR_HANDLER): Likewise.
39102 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39103 (HAVE_GCC_GOTDATA): New.
39104 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39105 relocation support in both binutils and gcc.
39106 * sysdeps/sparc/elf/configure: Regenerate.
39108 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39109 * sysdeps/sparc/sparc32/elf/configure: Delete.
39110 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39111 * sysdeps/sparc/sparc64/elf/configure: Delete.
39112 * sysdeps/sparc/elf/configure.in: New file.
39113 * sysdeps/sparc/elf/configure: Generate.
39115 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39116 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39117 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39118 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39119 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39121 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39123 * manual/install.texi: Do not mention specific glibc version
39125 * manual/libc.texinfo (VERSION, UPDATED): Update.
39126 (@copying): Use @copyright{} and range of years.
39128 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39131 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39132 [crti.S not in sysdirs] (generated): Do not append.
39133 [crti.S not in sysdirs] (omit-deps): Likewise.
39134 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39135 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39136 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39137 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39138 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39140 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39141 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39142 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39143 * csu/defs.awk: Remove file.
39144 * sysdeps/generic/initfini.c: Likewise.
39145 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39147 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39150 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39152 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39153 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39154 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39155 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39156 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39157 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39159 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39160 (__EPOLL_PACKED): Define to empty if not defined by
39162 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39166 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39168 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39169 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39170 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39171 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39173 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39177 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39179 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39181 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39186 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39188 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39189 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39191 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39193 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39194 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39196 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39198 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39201 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39203 * math/w_acos.c: Use non-signaling floating-point comparisons.
39204 * math/w_acosf.c: Likewise.
39205 * math/w_acosh.c: Likewise.
39206 * math/w_acoshf.c: Likewise.
39207 * math/w_acoshl.c: Likewise.
39208 * math/w_acosl.c: Likewise.
39209 * math/w_asin.c: Likewise.
39210 * math/w_asinf.c: Likewise.
39211 * math/w_asinl.c: Likewise.
39212 * math/w_atanh.c: Likewise.
39213 * math/w_atanhf.c: Likewise.
39214 * math/w_atanhl.c: Likewise.
39215 * math/w_exp2.c: Likewise.
39216 * math/w_exp2f.c: Likewise.
39217 * math/w_exp2l.c: Likewise.
39218 * math/w_j0.c: Likewise.
39219 * math/w_j0f.c: Likewise.
39220 * math/w_j0l.c: Likewise.
39221 * math/w_j1.c: Likewise.
39222 * math/w_j1f.c: Likewise.
39223 * math/w_j1l.c: Likewise.
39224 * math/w_jn.c: Likewise.
39225 * math/w_jnf.c: Likewise.
39226 * math/w_log.c: Likewise.
39227 * math/w_log10.c: Likewise.
39228 * math/w_log10f.c: Likewise.
39229 * math/w_log10l.c: Likewise.
39230 * math/w_log2.c: Likewise.
39231 * math/w_log2f.c: Likewise.
39232 * math/w_log2l.c: Likewise.
39233 * math/w_logf.c: Likewise.
39234 * math/w_logl.c: Likewise.
39235 * math/w_sqrt.c: Likewise.
39236 * math/w_sqrtf.c: Likewise.
39237 * math/w_sqrtl.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39239 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39240 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39241 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39242 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39244 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39247 * manual/string.texi (strnlen): Use correct parameter name in
39248 equivalent expression.
39250 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39253 * manual/users.texi (seteuid): Consistently use neweuid for
39256 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39259 * manual/nss.texi (Services in the NSS configuration): Correct
39260 list of services in example configuration file.
39262 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39265 * manual/arith.texi: Remove statements about negative zero
39266 behaving identically to zero.
39268 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39271 * manual/install.texi: Do not document upgrading from libc5.
39273 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39276 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39278 2012-02-18 David S. Miller <davem@davemloft.net>
39280 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39281 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39282 %o7 across the call.
39283 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39286 SETUP_PIC_REG_LEAF.
39287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39288 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39289 * sysdeps/sparc/crtn.S: Likewise.
39291 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39293 * aout/Makefile: Remove.
39295 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39298 * manual/examples/argp-ex1.c (main): Format definition in GNU
39300 * manual/examples/argp-ex2.c (main): Likewise.
39301 * manual/examples/argp-ex3.c (main): Likewise.
39302 * manual/examples/argp-ex4.c (main): Likewise.
39303 * manual/examples/longopt.c (main): Use new-style prototype
39305 * manual/examples/strncat.c (main): Specify return type and use
39306 (void) for arguments.
39307 * manual/examples/subopt.c (main): Use char **argv argument.
39309 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39312 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39315 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39318 * manual/string.texi (strchr): Change when strchrnul is
39321 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39324 * manual/locale.texi (setlocale): Document LOCPATH.
39326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39329 * manual/process.texi (execle): Move @dots{} before last argument.
39331 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39334 * manual/charset.texi (Generic Charset Conversion): Fix typo
39335 (LC_TYPE -> LC_CTYPE).
39337 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39340 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39341 (scalbnf): Likewise.
39342 (scalbnl): Likewise.
39343 (scalbln): Likewise.
39344 (scalblnf): Likewise.
39345 (scalblnl): Likewise.
39346 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39347 (vwarnx): Likewise.
39350 * manual/filesys.texi (telldir): Use braces around return type.
39351 * manual/llio.texi (mmap): Add space after comma.
39352 (mmap64): Likewise.
39353 * manual/math.texi (jn): Use @var{} on parameter names.
39359 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39361 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39363 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39364 (sched_get_priority_max): Likewise.
39365 * manual/signal.texi (sigvec): Add space after comma.
39366 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39368 (if_indextoname): Likewise.
39369 (if_freenameindex): Likewise.
39370 (sendto): Use ',' instead of '.' in prototype.
39371 * manual/startup.texi (syscall): Use @dots{} instead of literal
39373 * manual/stdio.texi (__fpending): Separate initial words of
39374 paragraph from @deftypefun line.
39375 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39377 (vsyslog): Use @var{} on parameter names.
39378 * manual/terminal.texi (stty): Use @var{} on parameter names.
39379 * manual/users.texi (getutmp): Use @var{} on parameter names.
39380 (getutmpx): Likewise.
39382 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39385 * manual/stdio.texi (fopen): Fix typos in description of
39388 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39391 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39392 get clock_id definition.
39394 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39397 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39398 (madvise): Cast every argument to void on its own.
39400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39403 * manual/startup.texi (Exit Status): Fix typo.
39405 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39408 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39409 * manual/examples/argp-ex2.c: Likewise.
39410 * manual/examples/argp-ex3.c: Likewise.
39412 2012-02-16 Richard Henderson <rth@redhat.com>
39414 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39415 * sysdeps/s390/s390-32/initfini.c: Remove.
39416 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39417 * sysdeps/s390/s390-64/initfini.c: Remove.
39419 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39421 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39422 compiler output for sysdeps/generic/initfini.c.
39423 * sysdeps/sh/elf/initfini.c: Remove file.
39425 2012-02-16 David S. Miller <davem@davemloft.net>
39428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39430 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39431 * sysdeps/sparc/crti.S: New file.
39432 * sysdeps/sparc/crtn.S: New file.
39433 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39434 * sysdeps/sparc/sparc64/Makefile: Likewise.
39436 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39439 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39441 2012-02-15 Roland McGrath <roland@hack.frob.com>
39444 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39446 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39447 (write, read, close): Likewise.
39448 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39450 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39452 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39453 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39454 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39455 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39457 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39461 2012-02-14 Marek Polacek <polacek@redhat.com>
39463 * sysdeps/x86_64/crti.S: New file.
39464 * sysdeps/x86_64/crtn.S: New file.
39465 * sysdeps/x86_64/elf/initfini.c: Remove file.
39467 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39469 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39470 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39471 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39472 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39474 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39478 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39480 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39481 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39482 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39483 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39485 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39489 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39491 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39492 __feraiseexcept instead of feraiseexcept.
39494 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39495 nanosleep invocations.
39496 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39497 strings, and add error checking for a nanosleep invocations.
39499 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39501 Replace FSF snail mail address with URLs, as per GNU coding standards.
39502 Most of the snail mail addresses were wrong anyway, and omitting
39503 them makes the source code easier to maintain. Almost all of the
39504 changes are to license notices and to locale LC_IDENTIFICATION
39505 addresses, except for this one:
39506 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39507 not its snail mail address.
39509 2012-02-09 Richard Henderson <rth@twiddle.net>
39511 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39512 of kernel-features.h.
39514 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39516 2012-02-08 Marek Polacek <polacek@redhat.com>
39518 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39519 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39520 * sysdeps/gnu/_G_config.h: Likewise.
39521 * sysdeps/generic/_G_config.h: Likewise.
39523 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39525 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39529 * sysdeps/powerpc/powerpc32/crti.S: New file.
39530 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39531 * sysdeps/powerpc/powerpc64/crti.S: New file.
39532 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39534 * Makeconfig (have-initfini): Don't set.
39535 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39536 * configure.in (nopic_initfini): Don't substitute.
39537 * config.h.in (HAVE_INITFINI): Don't #undef.
39538 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39539 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39541 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39543 Support crti.S and crtn.S provided directly by architectures.
39544 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39545 [crti.S in sysdirs] (omit-deps): Likewise.
39546 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39547 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39548 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39549 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39550 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39551 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39552 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39553 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39554 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39555 compiler output for sysdeps/generic/initfini.c.
39556 * sysdeps/i386/elf/Makefile: Remove file.
39557 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39559 2012-02-07 Marek Polacek <polacek@redhat.com>
39561 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39562 * sysdeps/gnu/_G_config.h: Likewise.
39563 * sysdeps/mach/hurd/_G_config.h: Likewise.
39565 2012-02-07 Marek Polacek <polacek@redhat.com>
39567 * math/Makefile (tests): Add tst-CMPLX2.
39568 * math/tst-CMPLX2.c: New file.
39570 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39572 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39574 * math/libm-test.inc (jn_test): Add missing L suffix.
39576 2012-02-06 Marek Polacek <polacek@redhat.com>
39578 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39579 * sysdeps/i386/fpu/e_powf.S: Likewise.
39580 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39581 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39582 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39583 * sysdeps/i386/fpu/e_pow.S: Likewise.
39584 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39585 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39586 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39587 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39588 * sysdeps/i386/fpu/e_log2.S: Likewise.
39589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39590 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39591 * sysdeps/i386/fpu/e_powl.S: Likewise.
39592 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39593 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39594 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39595 * sysdeps/i386/fpu/e_logl.S: Likewise.
39596 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39597 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39598 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39599 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39600 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39601 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39602 * sysdeps/i386/fpu/e_log.S: Likewise.
39603 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39604 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39605 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39606 * sysdeps/i386/fpu/e_logf.S: Likewise.
39607 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39608 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39609 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39610 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39611 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39612 * sysdeps/i386/fpu/e_log10.S: Likewise.
39613 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39614 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39615 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39616 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39617 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39618 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39619 * sysdeps/i386/asm-syntax.h: Likewise.
39620 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39622 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39623 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39624 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39625 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39626 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39627 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39628 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39629 * sysdeps/powerpc/sysdep.h: Likewise.
39630 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39631 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39633 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39636 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39638 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39640 * sysdeps/i386/sysdep.h: Include <features.h>.
39641 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39644 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39646 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39648 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39651 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39653 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39654 (SETUP_PIC_REG): Use GET_PC_THUNK.
39655 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39658 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39660 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39661 for non-PIC compilation.
39662 (SETUP_PIC_REG): Add .p2align directive.
39663 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39664 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39665 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39666 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39667 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39668 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39669 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39670 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39671 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39672 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39673 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39674 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39675 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39676 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39677 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39678 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39679 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39680 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39681 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39682 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39683 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39685 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39686 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39687 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39689 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39690 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39691 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39692 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39693 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39694 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39695 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39696 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39697 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39698 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39699 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39700 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39701 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39702 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39703 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39705 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39707 * math/tst-CMPLX.c: Include <stdio.h>.
39709 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39711 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39713 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39714 * sysdeps/sparc/bits/mathdef.h: Likewise.
39716 2012-01-31 Marek Polacek <polacek@redhat.com>
39718 * libio/libio.h: Don't define _PARAMS.
39719 * locale/programs/config.h: Don't define PARAMS.
39720 * stdlib/strtol_l.c: Likewise.
39721 (__strtol_l): Remove PARAMS from the prototype.
39723 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39725 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39726 names. Just use the correct names. Remove unnecessary wrapper
39728 * malloc/arena.c: Likewise.
39729 * malloc/hooks.c: Likewise.
39731 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39732 ARENA_TEST says not to. Simplify test for creation of a new arena.
39733 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39735 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39737 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39739 (update_get_addr): New function.
39740 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39741 GET_ADDR_MODULE parameter.
39743 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39745 * crypt/cert.c: Remove __STDC__ conditionals.
39746 * crypt/crypt-entry.c: Likewise.
39747 * crypt/crypt_util.c: Likewise.
39748 * libio/filedoalloc.c: Likewise.
39749 * libio/fileops.c: Likewise.
39750 * libio/genops.c: Likewise.
39751 * libio/iofclose.c: Likewise.
39752 * libio/iofdopen.c: Likewise.
39753 * libio/iofopen.c: Likewise.
39754 * libio/iofopen64.c: Likewise.
39755 * libio/iogetdelim.c: Likewise.
39756 * libio/iopopen.c: Likewise.
39757 * libio/obprintf.c: Likewise.
39758 * libio/oldfileops.c: Likewise.
39759 * libio/oldiofclose.c: Likewise.
39760 * libio/oldiofdopen.c: Likewise.
39761 * libio/oldiofopen.c: Likewise.
39762 * libio/oldiopopen.c: Likewise.
39763 * libio/wfiledoalloc.c: Likewise.
39764 * libio/wgenops.c: Likewise.
39765 * locale/programs/xmalloc.c: Likewise.
39766 * misc/syslog.c: Likewise.
39767 * stdio-common/xbug.c: Likewise.
39768 * string/memchr.c: Likewise.
39769 * string/memcmp.c: Likewise.
39770 * string/memrchr.c: Likewise.
39771 * string/rawmemchr.c: Likewise.
39772 * sysdeps/posix/getcwd.c: Likewise.
39773 * time/strftime_l.c: Likewise.
39775 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39777 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39778 * config.make.in (config-cflags-sse2avx): Define.
39779 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39782 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39784 * scripts/config.guess: Update from upstream config git repository.
39785 * scripts/config.sub: Likewise.
39787 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39789 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39791 (R_TILEPRO_*, R_TILEGX_*): New macros.
39793 * scripts/firstversions.awk: Fix bug in version range handling.
39795 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39797 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39799 * include/sys/epoll.h: New file.
39800 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39803 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39805 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39806 Avoid unnecessary __WORDSIZE == 64 test.
39807 (fmaxf): Use VEX format if possible.
39812 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39813 * math/math_private.h: Remove libc_fegetround* and
39815 * sysdeps/i386/configure.in: Check for -msse2avx.
39816 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39817 also if SSE2AVX is defined.
39818 Remove libc_fegetround* and libc_fesetround*.
39819 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39820 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39821 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39823 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39824 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39826 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39827 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39829 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39831 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39833 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39835 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39837 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39840 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39842 * Makeconfig (libm): Define.
39843 * elf/Makefile: Add rules to build and run tst-relsort1.
39844 * elf/tst-relsort1.c: New file.
39845 * elf/tst-relsort1mod1.c: New file.
39846 * elf/tst-relsort1mod2.c: New file.
39848 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39850 * math/s_ldexp.c: Remove __STDC__ conditionals.
39851 * math/s_ldexpf.c: Likewise.
39852 * math/s_ldexpl.c: Likewise.
39853 * math/s_nextafter.c: Likewise.
39854 * math/s_nexttowardf.c: Likewise.
39855 * math/s_significand.c: Likewise.
39856 * math/s_significandf.c: Likewise.
39857 * math/s_significandl.c: Likewise.
39858 * math/w_jnl.c: Likewise.
39859 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39860 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39861 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39862 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39863 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39878 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39879 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39880 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39881 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39883 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39884 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39885 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39887 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39889 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39890 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39891 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39892 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39893 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39894 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39895 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39896 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39897 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39898 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39899 * sysdeps/ieee754/k_standard.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39945 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39949 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39961 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39962 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39966 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39975 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39976 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39978 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39979 * sysdeps/ieee754/s_matherr.c: Likewise.
39980 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39981 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39985 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39987 * crypt/md5.h: Remove __STDC__ conditionals.
39988 * libio/libioP.h: Likewise.
39989 * locale/programs/config.h: Likewise.
39990 * sysdeps/generic/sysdep.h: Likewise.
39991 * sysdeps/i386/asm-syntax.h: Likewise.
39992 * sysdeps/s390/asm-syntax.h: Likewise.
39993 * sysdeps/unix/sysdep.h: Likewise.
39994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39997 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39999 * libio/libio.h: Remove __STDC__ conditionals.
40000 * malloc/obstack.h: Likewise.
40001 * math/complex.h: Likewise.
40002 * math/math.h: Likewise.
40003 * sysdeps/generic/_G_config.h: Likewise.
40004 * sysdeps/gnu/_G_config.h: Likewise.
40005 * sysdeps/mach/hurd/_G_config.h: Likewise.
40006 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40007 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40008 * sysdeps/sparc/bits/mathdef.h: Likewise.
40010 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40013 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40014 Clean up HAS_* macros.
40015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40016 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40021 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40022 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40023 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40024 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40026 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40028 * elf/tst-unique3.cc (gets): Remove declaration.
40029 * elf/tst-unique3lib.cc (gets): Likewise.
40030 * elf/tst-unique3lib2.cc (gets): Likewise.
40031 * elf/tst-unique4.cc (gets): Likewise.
40033 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40035 * include/stdio.h: Add C++ protection. Add gets declarations and
40037 * debug/tst-chk1.c: Don't declare gets here.
40038 * stdio-common/tst-gets.c: Likewise.
40040 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40042 * posix/glob: Remove directory.
40044 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40046 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40048 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40050 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40051 of the non-standard EPFNOSUPPORT.
40053 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40055 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40056 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40057 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40059 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40061 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40063 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40065 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40067 * nscd/grpcache.c (cache_addgr): Likewise.
40068 * nscd/hstcache.c (cache_addhst): Likewise.
40069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40070 * nscd/pwdcache.c (cache_addpw): Likewise.
40071 * nscd/servicescache.c (cache_addserv): Likewise.
40073 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40075 * malloc/malloc.c: Various cleanups.
40076 * malloc/hooks.c: Likewise.
40078 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40079 * stdlib/bug-fmtmsg1.c: New file.
40081 * stdlib/fmtmsg.c (init): Add missing unlock.
40082 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40084 2012-01-12 Marek Polacek <polacek@redhat.com>
40086 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40089 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40091 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40092 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40093 macro to ensure uniqueness of label name.
40094 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40095 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40097 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40099 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40101 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40102 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40103 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40104 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40106 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40108 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40110 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40111 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40114 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40116 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40121 * math/bits/math-finite.h: Add ldexp support.
40123 2012-01-10 Marek Polacek <polacek@redhat.com>
40125 * locale/programs/localedef.h (show_archive_content): Add noreturn
40128 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40130 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40132 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40134 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40136 * io/Makefile (headers): Add bits/poll2.h.
40138 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40141 typo #include statement.
40143 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40145 * include/sys/cdefs.h: Define __attribute_alloc_size.
40146 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40147 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40148 * elf/pldd.c: Likewise.
40149 * iconv/iconv_charmap.c: Likewise.
40150 * iconv/iconvconfig.c: Likewise.
40151 * iconv/strtab.c: Likewise.
40152 * locale/programs/locale.c: Likewise.
40153 * locale/programs/localedef.h: Likewise.
40154 * locale/programs/simple-hash.c: Likewise.
40155 * nscd/nscd.h: Likewise.
40156 * nss/makedb.c: Likewise.
40157 * sysdeps/generic/ldconfig.h: Likewise.
40158 * locale/programs/localedef.c: Remove xmalloc prototype.
40159 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40161 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40163 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40166 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40168 * math/Makefile (tests): Add tst-CMPLX.
40169 * math/tst-CMPLX.c: New file.
40171 * math/complex.h (CMPLXL): Fix typo.
40173 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40174 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40176 * debug/tst-chk1.c: Add poll and ppoll tests.
40177 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40178 * include/sys/poll.h: Add hidden proto for ppoll.
40179 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40180 * sysdeps/mach/hurd/ppoll.c: Likewise.
40181 * io/ppoll.c: Likewise.
40182 * debug/poll_chk.c: New file.
40183 * debug/ppoll_chk.c: New file.
40184 * include/bits/poll2.h: New file.
40185 * io/bits/poll2.h: New file.
40188 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40190 * configure.in: static is always set to yes. Remove.
40191 * config.make.in: Don't set build-static.
40192 * Makeconfig: Remove use of build-static.
40193 * dlfcn/Makefile: Likewise.
40194 * elf/Makefile: Likewise.
40195 * math/Makefile: Likewise.
40196 * misc/Makefile: Likewise.
40197 * nptl/Makefile: Likewise.
40198 * sysdeps/mach/hurd/Makefile: Likewise.
40200 * configure.in: PWD_P is not used anymore.
40201 * config.make.in: Remove PWD_P entry.
40203 * configure.in: Remove last remnants of RANLIB.
40204 No need to check for signed size_t anymore.
40205 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40207 Remove __builtin_expect test because we require at least gcc 3.4.
40208 * aclocal.m4: Likewise.
40210 * wcsmbs/mbrtoc16.c: Implement using towc function.
40211 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40212 * wcsmbs/wcsmbsload.c: Likewise.
40213 * iconv/gconv_simple.c: Likewise.
40214 * iconv/gconv_int.h: Likewise.
40215 * iconv/gconv_builtin.h: Likewise.
40216 * iconv/iconv_prog.c: Remove CHAR16 handling.
40218 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40220 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40222 * configure.in: Remove --with-elf and --enable-bounded options.
40223 Dont set base_machine for ia64. More non-ELF conditions removed.
40224 Remove testing and setting of leading underscore information.
40225 * config.make.in (build-bounded): Set to no.
40226 * config.h.in: Remove NO_UNDERSCORES entry.
40227 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40229 * csu/start.c: Remove !NO_UNDERSCORE code.
40230 * locale/localeinfo.h: Likewise.
40231 * sysdeps/generic/machine-gmon.h: Likewise.
40232 * sysdeps/generic/sysdep.h: Likewise.
40233 * sysdeps/i386/sysdep.h: Likewise.
40234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40235 * sysdeps/mach/sysdep.h: Likewise.
40236 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40238 * sysdeps/sh/sysdep.h: Likewise.
40239 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40240 * sysdeps/unix/i386/sysdep.S: Likewise.
40241 * sysdeps/unix/sparc/start.c: Likewise.
40242 * sysdeps/unix/sparc/sysdep.S: Likewise.
40243 * sysdeps/unix/sparc/sysdep.h: Likewise.
40244 * sysdeps/unix/start.c: Likewise.
40245 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40246 * sysdeps/x86_64/sysdep.h: Likewise.
40248 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40251 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40253 * argp/argp-fmtstream.h: Use const instead __const.
40254 * argp/argp.h: Likewise.
40255 * assert/assert.h: Likewise.
40256 * bits/fenv.h: Likewise.
40257 * bits/sched.h: Likewise.
40258 * bits/sigset.h: Likewise.
40259 * bits/sigthread.h: Likewise.
40260 * catgets/nl_types.h: Likewise.
40261 * conform/data/pthread.h-data: Likewise.
40262 * crypt/crypt-private.h: Likewise.
40263 * crypt/crypt.h: Likewise.
40264 * crypt/crypt_util.c: Likewise.
40265 * ctype/ctype.h: Likewise.
40266 * debug/execinfo.h: Likewise.
40267 * debug/mbsnrtowcs_chk.c: Likewise.
40268 * debug/mbsrtowcs_chk.c: Likewise.
40269 * debug/wcsnrtombs_chk.c: Likewise.
40270 * debug/wcsrtombs_chk.c: Likewise.
40271 * debug/wcstombs_chk.c: Likewise.
40272 * dirent/dirent.h: Likewise.
40273 * dlfcn/dlfcn.h: Likewise.
40274 * elf/neededtest4.c: Likewise.
40275 * grp/grp.h: Likewise.
40276 * gshadow/gshadow.h: Likewise.
40277 * iconv/gconv.h: Likewise.
40278 * iconv/gconv_int.h: Likewise.
40279 * iconv/gconv_simple.c: Likewise.
40280 * iconv/iconv.h: Likewise.
40281 * iconv/loop.c: Likewise.
40282 * iconv/skeleton.c: Likewise.
40283 * include/aio.h: Likewise.
40284 * include/aliases.h: Likewise.
40285 * include/argz.h: Likewise.
40286 * include/arpa/inet.h: Likewise.
40287 * include/assert.h: Likewise.
40288 * include/dirent.h: Likewise.
40289 * include/dlfcn.h: Likewise.
40290 * include/execinfo.h: Likewise.
40291 * include/fcntl.h: Likewise.
40292 * include/fenv.h: Likewise.
40293 * include/glob.h: Likewise.
40294 * include/grp.h: Likewise.
40295 * include/libintl.h: Likewise.
40296 * include/mntent.h: Likewise.
40297 * include/netdb.h: Likewise.
40298 * include/pwd.h: Likewise.
40299 * include/rpc/netdb.h: Likewise.
40300 * include/sched.h: Likewise.
40301 * include/search.h: Likewise.
40302 * include/shadow.h: Likewise.
40303 * include/signal.h: Likewise.
40304 * include/stdio.h: Likewise.
40305 * include/stdlib.h: Likewise.
40306 * include/string.h: Likewise.
40307 * include/sys/socket.h: Likewise.
40308 * include/sys/stat.h: Likewise.
40309 * include/sys/statfs.h: Likewise.
40310 * include/sys/statvfs.h: Likewise.
40311 * include/sys/syslog.h: Likewise.
40312 * include/sys/time.h: Likewise.
40313 * include/sys/uio.h: Likewise.
40314 * include/time.h: Likewise.
40315 * include/unistd.h: Likewise.
40316 * include/utmp.h: Likewise.
40317 * include/wchar.h: Likewise.
40318 * include/wctype.h: Likewise.
40319 * inet/aliases.h: Likewise.
40320 * inet/arpa/inet.h: Likewise.
40321 * inet/netinet/ether.h: Likewise.
40322 * inet/netinet/in.h: Likewise.
40323 * intl/libintl.h: Likewise.
40324 * io/bits/fcntl2.h: Likewise.
40325 * io/fcntl.h: Likewise.
40326 * io/ftw.h: Likewise.
40327 * io/sys/poll.h: Likewise.
40328 * io/sys/stat.h: Likewise.
40329 * io/sys/statfs.h: Likewise.
40330 * io/sys/statvfs.h: Likewise.
40331 * io/utime.h: Likewise.
40332 * libio/bits/stdio.h: Likewise.
40333 * libio/bits/stdio2.h: Likewise.
40334 * libio/libio.h: Likewise.
40335 * libio/libioP.h: Likewise.
40336 * libio/stdio.h: Likewise.
40337 * locale/lc-ctype.c: Likewise.
40338 * locale/locale.h: Likewise.
40339 * login/utmp.h: Likewise.
40340 * malloc/arena.c: Likewise.
40341 * malloc/malloc.c: Likewise.
40342 * malloc/malloc.h: Likewise.
40343 * malloc/mcheck.c: Likewise.
40344 * malloc/mtrace.c: Likewise.
40345 * math/bits/mathcalls.h: Likewise.
40346 * math/fenv.h: Likewise.
40347 * math/math_private.h: Likewise.
40348 * misc/bits/error.h: Likewise.
40349 * misc/bits/syslog.h: Likewise.
40350 * misc/err.h: Likewise.
40351 * misc/error.h: Likewise.
40352 * misc/fstab.h: Likewise.
40353 * misc/mntent.h: Likewise.
40354 * misc/regexp.h: Likewise.
40355 * misc/search.h: Likewise.
40356 * misc/sgtty.h: Likewise.
40357 * misc/sys/mman.h: Likewise.
40358 * misc/sys/syslog.h: Likewise.
40359 * misc/sys/uio.h: Likewise.
40360 * misc/sys/xattr.h: Likewise.
40361 * misc/ttyent.h: Likewise.
40362 * nis/rpcsvc/ypclnt.h: Likewise.
40363 * nss/nss.h: Likewise.
40364 * posix/bits/unistd.h: Likewise.
40365 * posix/fnmatch.h: Likewise.
40366 * posix/glob.h: Likewise.
40367 * posix/sched.h: Likewise.
40368 * posix/spawn.h: Likewise.
40369 * posix/sys/wait.h: Likewise.
40370 * posix/unistd.h: Likewise.
40371 * posix/wordexp.h: Likewise.
40372 * pwd/pwd.h: Likewise.
40373 * resolv/netdb.h: Likewise.
40374 * resource/sys/resource.h: Likewise.
40375 * rt/aio.h: Likewise.
40376 * rt/bits/mqueue2.h: Likewise.
40377 * rt/mqueue.h: Likewise.
40378 * shadow/shadow.h: Likewise.
40379 * signal/signal.h: Likewise.
40380 * socket/send.c: Likewise.
40381 * socket/sendto.c: Likewise.
40382 * socket/sys/socket.h: Likewise.
40383 * stdio-common/printf.h: Likewise.
40384 * stdlib/bits/stdlib.h: Likewise.
40385 * stdlib/fmtmsg.h: Likewise.
40386 * stdlib/monetary.h: Likewise.
40387 * stdlib/stdlib.h: Likewise.
40388 * stdlib/ucontext.h: Likewise.
40389 * streams/stropts.h: Likewise.
40390 * string/argz.h: Likewise.
40391 * string/bits/string2.h: Likewise.
40392 * string/string.h: Likewise.
40393 * string/strings.h: Likewise.
40394 * sunrpc/rpc/auth.h: Likewise.
40395 * sunrpc/rpc/auth_des.h: Likewise.
40396 * sunrpc/rpc/clnt.h: Likewise.
40397 * sunrpc/rpc/netdb.h: Likewise.
40398 * sunrpc/rpc/pmap_clnt.h: Likewise.
40399 * sunrpc/rpc/xdr.h: Likewise.
40400 * sysdeps/generic/inttypes.h: Likewise.
40401 * sysdeps/generic/net/if.h: Likewise.
40402 * sysdeps/generic/sys/swap.h: Likewise.
40403 * sysdeps/gnu/net/if.h: Likewise.
40404 * sysdeps/gnu/utmpx.h: Likewise.
40405 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40406 * sysdeps/i386/i486/bits/string.h: Likewise.
40407 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40408 * sysdeps/s390/bits/string.h: Likewise.
40409 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40410 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40411 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40412 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40413 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40414 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40415 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40416 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40417 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40418 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40419 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40420 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40421 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40422 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40423 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40424 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40425 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40427 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40429 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40430 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40431 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40432 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40433 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40434 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40435 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40437 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40438 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40439 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40440 * sysvipc/sys/ipc.h: Likewise.
40441 * sysvipc/sys/msg.h: Likewise.
40442 * sysvipc/sys/sem.h: Likewise.
40443 * sysvipc/sys/shm.h: Likewise.
40444 * termios/termios.h: Likewise.
40445 * time/sys/time.h: Likewise.
40446 * time/time.h: Likewise.
40447 * wcsmbs/bits/wchar2.h: Likewise.
40448 * wcsmbs/uchar.h: Likewise.
40449 * wcsmbs/wchar.h: Likewise.
40450 * wctype/wctype.h: Likewise.
40453 * Makeconfig: Remove all but ELF support including AIX support.
40454 * Makerules: Likewise.
40455 * config.h.in: Likewise.
40456 * config.make.in: Likewise.
40457 * configure: Likewise.
40458 * configure.in: Likewise.
40459 * csu/Makefile: Likewise.
40460 * csu/version.c: Likewise.
40461 * debug/Makefile: Likewise.
40462 * dlfcn/Makefile: Likewise.
40463 * elf/Makefile: Likewise.
40464 * extra-lib.mk: Likewise.
40465 * iconv/Makefile: Likewise.
40466 * include/libc-symbols.h: Likewise.
40467 * include/shlib-compat.h: Likewise.
40468 * resolv/Makefile: Likewise.
40469 * resolv/res_libc.c: Likewise.
40470 * rt/Makefile: Likewise.
40471 * sysdeps/i386/asm-syntax.h: Likewise.
40472 * sysdeps/i386/sysdep.h: Likewise.
40473 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40474 * sysdeps/mach/sysdep.h: Likewise.
40475 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40476 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40477 * sysdeps/s390/asm-syntax.h: Likewise.
40478 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40479 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40480 * sysdeps/sh/sysdep.h: Likewise.
40481 * sysdeps/unix/sparc/sysdep.h: Likewise.
40482 * sysdeps/wordsize-32/divdi3.c: Likewise.
40483 * sysdeps/x86_64/sysdep.h: Likewise.
40485 * argp/Versions: Remove _argp_unlock_xxx.
40488 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40489 * abilist/libBrokenLocale.abilist: Likewise.
40490 * abilist/libanl.abilist: Likewise.
40491 * abilist/libc.abilist: Likewise.
40492 * abilist/libcrypt.abilist: Likewise.
40493 * abilist/libdl.abilist: Likewise.
40494 * abilist/libm.abilist: Likewise.
40495 * abilist/libnsl.abilist: Likewise.
40496 * abilist/libpthread.abilist: Likewise.
40497 * abilist/libresolv.abilist: Likewise.
40498 * abilist/librt.abilist: Likewise.
40499 * abilist/libthread_db.abilist: Likewise.
40500 * abilist/libutil.abilist: Likewise.
40501 * abilist/libnss_db.abilist: New file.
40503 * scripts/abilist.awk: Add support for indirect functions.
40505 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40507 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40509 * shlib-versions: Remove entries for ports architectures.
40511 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40513 * elf/stackguard-macros.h: Remove support for IA-64.
40514 * elf/tst-auditmod1.c: Likewise.
40515 * sysdeps/generic/ldsodefs.h: Likewise.
40517 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40518 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40522 * configure.in: Remove --enable-omitfp support.
40524 * config.make.in: Likewise.
40525 * Makeconfig: Likewise.
40526 * manual/install.texi: Likewise.
40528 In case anyone cares, the IA-64 architecture could move to ports.
40529 * sysdeps/ia64/*: Removed.
40530 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40531 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40534 * configure.in: Remove entries for unsupported architectures.
40537 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40538 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40540 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40541 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40542 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40543 fall back to using wcrtomb.
40544 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40545 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40547 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40548 * wcsmbs/tst-c16c32-1.c: New file.
40550 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40553 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40555 * elf/tst-unique3.cc: Add explicit declaration of gets.
40556 * elf/tst-unique3lib.cc: Likewise.
40557 * elf/tst-unique3lib2.cc: Likewise.
40558 * elf/tst-unique4.cc: Likewise.
40560 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40562 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40565 * assert/assert.h (static_assert): Don't define for C++.
40566 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40567 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40569 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40571 * iconv/loop.c (single loop): Fix assertion in storing of
40574 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40576 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40578 * posix/getconf.c: Update copyright year.
40579 * nss/getent.c: Likewise.
40580 * nss/makedb.c: Likewise.
40581 * iconv/iconvconfig.c: Likewise.
40582 * iconv/iconv_prog.c: Likewise.
40583 * elf/ldconfig.c: Likewise.
40584 * elf/pldd.c: Likewise.
40585 * elf/sotruss.ksh: Likewise.
40586 * catgets/gencat.c: Likewise.
40587 * csu/version.c: Likewise.
40588 * elf/ldd.bash.in: Likewise.
40589 * elf/sprof.c (print_version): Likewise.
40590 * locale/programs/locale.c: Likewise.
40591 * locale/programs/localedef.c: Likewise.
40592 * login/programs/pt_chown.c: Likewise.
40593 * nscd/nscd.c (print_version): Likewise.
40594 * debug/xtrace.sh: Likewise.
40595 * malloc/memusage.sh: Likewise.
40596 * malloc/mtrace.pl: Likewise.
40597 * debug/catchsegv.sh: Likewise.
40599 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40601 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40604 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40607 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40608 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40610 * iconv/gconv_int.h: Likewise.
40611 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40612 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40613 from libc for GLIBC_2.16.
40614 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40615 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40616 * wcsmbs/uchar.h: Really define mbstate_t.
40617 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40618 * wcsmbs/c16rtomb.c: New file.
40619 * wcsmbs/mbrtoc16.c: New file.
40620 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40621 for C/POSIX locale.
40622 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40623 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40625 * wcsmbs/wchar.h: Add missing __restrict.
40627 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40630 * time/Makefile (routines): Add timespec_get.
40631 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40632 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40633 timespec for ISO C11.
40634 * time/timespec_get.c: New file.
40635 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40636 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40639 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40640 * stdlib/stdlib.h: Declare aligned_alloc.
40641 * Versions.def: Add GLIBC_2.16 for libc.
40642 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40645 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40648 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40652 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40655 * assert/assert.h (static_assert): Define.
40657 * version.h: Update for 2.16 development version.
40660 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40663 * version.h (RELEASE): Bump for 2.15 release.
40664 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40666 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40667 Patch by Marek Polacek <mpolacek@redhat.com>.
40669 * bits/byteswap.h: Protect long long constants with __extension__.
40670 * sysdeps/i386/bits/byteswap.h: Likewise.
40671 * sysdeps/ia64/bits/byteswap.h: Likewise.
40672 * sysdeps/s390/bits/byteswap.h: Likewise.
40673 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40675 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40678 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40679 destination buffer.
40680 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40682 2011-12-23 Marek Polacek <polacek@redhat.com>
40684 * elf/dl-addr.c (determine_info): Add inline keyword.
40685 * elf/tst-auditmod4b.c (check_avx): Likewise.
40686 * elf/tst-auditmod6b.c (check_avx): Likewise.
40687 * elf/tst-auditmod6c.c (check_avx): Likewise.
40688 * elf/tst-auditmod7b.c (check_avx): Likewise.
40690 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40692 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40695 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40698 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40699 processing for last bytes.
40701 2011-08-06 Bruno Haible <bruno@clisp.org>
40704 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40705 U+0385, not to U+1FEE.
40708 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40709 entry for U+00A5 U+0301.
40711 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40714 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40715 buffer for the output is too small.
40717 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40721 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40722 SSE flags if possible.
40724 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40728 processing for last bytes.
40730 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40732 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40733 (syscall-list-default-options, syscall-list-default-condition)
40734 (syscall-list-includes): Define.
40735 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40736 list of ABIs and options and #if conditions for each ABI. Do not
40737 handle common syscalls between ABIs specially.
40738 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40740 (syscall-list-variants, syscall-list-32bit-options)
40741 (syscall-list-32bit-condition, syscall-list-64bit-options)
40742 (syscall-list-64bit-condition): Define.
40743 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40744 (syscall-list-variants, syscall-list-32bit-options)
40745 (syscall-list-32bit-condition, syscall-list-64bit-options)
40746 (syscall-list-64bit-condition): Define.
40747 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40749 (syscall-list-variants, syscall-list-32bit-options)
40750 (syscall-list-32bit-condition, syscall-list-64bit-options)
40751 (syscall-list-64bit-condition): Define.
40752 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40754 (syscall-list-variants, syscall-list-32bit-options)
40755 (syscall-list-32bit-condition, syscall-list-64bit-options)
40756 (syscall-list-64bit-condition): Define.
40758 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40760 * locale/iso-639.def: Add brx entry.
40763 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40764 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40766 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40767 __feraiseexcept_renamed.
40769 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40772 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40773 EPOLLET with unsigned values.
40774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40775 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40777 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40778 to large cancellation.
40779 * math/s_cacoshf.c: Likewise.
40780 * math/s_cacoshl.c: Likewise.
40782 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40786 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40787 * math/s_cacoshf.c: Likewise.
40788 * math/s_cacoshl.c: Likewise.
40790 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40793 * iconv/gconv.h: Define __GCONV_SWAP.
40794 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40795 * iconvdata/utf-16.c: Likewise.
40796 * iconvdata/utf-32.c: Likewise.
40798 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40801 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40802 numerator after shifting it by one limb.
40804 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40806 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40807 under [__USE_EXTERN_INLINES].
40809 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40812 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40814 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40816 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40817 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40819 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40820 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40821 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40822 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40823 for strncasecmp/strncasecmp_l compilation.
40824 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40825 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40827 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40830 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40833 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40836 * time/tzfile.c (__tzfile_read): Check values from file header.
40838 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40840 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40841 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40842 * powerpc/powerpc32/dl-start.S: Likewise.
40843 * powerpc/powerpc32/elf/start.S: Likewise.
40844 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40845 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40846 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40847 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40848 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40849 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40850 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40851 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40852 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40853 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40854 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40855 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40856 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40857 * powerpc/powerpc32/memset.S: Likewise.
40858 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40859 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40860 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40861 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40862 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40863 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40864 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40865 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40866 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40867 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40868 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40869 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40870 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40872 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40874 * math/libm-test.inc: Added more nearbyint tests.
40875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40880 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40882 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40885 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40887 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40888 Add wcscpy-ssse3 wcscpy-c.
40889 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40890 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40891 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40892 * sysdeps/x86_64/wcschr.S: New file.
40893 * sysdeps/x86_64/wcsrchr.S: New file.
40894 * string/test-strcmp.c: Remove checking of wcscmp function for
40896 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40897 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40898 wcsrchr-sse2 wcsrchr-c.
40899 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40900 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40901 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40902 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40903 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40904 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40905 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40906 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40907 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40908 * wcsmbc/wcschr.c (WCSCHR): New macro.
40910 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40912 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40913 * wcsmbs/test-wcsrchr.c: New file.
40914 * string/test-strrchr.c: Add wcsrchr support.
40916 * wcsmbs/test-wcscpy.c: New file.
40917 * string/test-strcpy.c: Add wcscpy support.
40920 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40922 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40925 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40928 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40930 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40933 Minor optimizations.
40935 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40936 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40937 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40939 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40941 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40942 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40943 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40944 for gcc to avoid warnings.
40945 * inet/Makefile (tests): Add tst-checks.
40946 * inet/tst-checks.c: New file.
40948 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40951 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40954 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40955 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40957 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40959 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40961 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40964 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40966 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40968 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40969 conditional on GCC version.
40970 (__arch_compare_and_exchange_val_8_acq)
40971 (__arch_compare_and_exchange_val_16_acq)
40972 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40973 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40974 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40976 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40978 * sysdeps/sh/backtrace.c: New file.
40980 2011-12-02 Andreas Schwab <schwab@redhat.com>
40982 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40985 2011-12-01 Andreas Schwab <schwab@redhat.com>
40987 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40988 falling back to utime.
40990 2011-11-30 Andreas Schwab <schwab@redhat.com>
40992 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40993 expectations for float.
40995 2011-11-29 Andreas Schwab <schwab@redhat.com>
40997 * locale/weight.h (findidx): Add parameter len.
40998 * locale/weightwc.h (findidx): Likewise.
40999 * posix/fnmatch_loop.c (FCT): Adjust caller.
41000 * posix/regcomp.c (build_equiv_class): Likewise.
41001 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41002 * posix/regexec.c (check_node_accept_bytes): Likewise.
41003 * string/strcoll_l.c (STRCOLL): Likewise.
41004 * string/strxfrm_l.c (STRXFRM): Likewise.
41006 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41008 * Makefile.in: Remove CVSOPT handling.
41009 * configure.in: Remove use of AC_REVISION.
41010 * iconvdata/Makefile (distribute): No need to filter out CVS.
41011 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41014 2011-11-16 Andreas Schwab <schwab@redhat.com>
41016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41017 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41018 [USE_AS_STRNCASECMP_L]: Likewise.
41019 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41020 NO_TLS_DIRECT_SEG_REFS.
41021 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41022 Fix argument offsets for non-PIC.
41023 [USE_AS_STRNCASECMP_L]: Likewise.
41024 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41025 NO_TLS_DIRECT_SEG_REFS.
41027 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41029 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41031 * locale/loadlocale.c (_nl_load_locale): Likewise.
41033 2011-11-15 Andreas Schwab <schwab@redhat.com>
41035 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41036 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41037 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41038 (SYSCALL_GETTIME): Set errno on error.
41040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41041 count references to noai6ai_cached.
41043 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41045 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41047 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41048 FD_CLOEXEC for /proc/self/maps.
41050 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41051 FD_CLOEXEC for /proc/meminfo.
41053 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41056 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41057 FD_CLOEXEC for given file.
41059 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41061 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41062 FD_CLOEXEC for /etc/hosts.
41063 (_gethtent): Likewise.
41065 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41067 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41068 cancellation and set FD_CLOEXEC for /etc/netgroup.
41070 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41071 reading /etc/publickey.
41073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41074 allow cancellation when reading /etc/group.
41076 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41078 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41080 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41081 when using data file.
41083 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41085 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41086 (write_nis_obj): Use "c" and "e" in fopen.
41088 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41090 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41092 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41094 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41096 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41099 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41101 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41103 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41105 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41106 file parsing and set FD_CLOEXEC.
41108 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41110 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41112 2011-11-14 Andreas Schwab <schwab@redhat.com>
41114 * malloc/arena.c (arena_get2): Don't call reused_arena when
41115 _int_new_arena failed.
41117 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41119 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41120 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41121 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41122 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41123 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41125 to compile strcasecmp and strncasecmp.
41126 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41127 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41131 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41133 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41134 locale-defines.sym to gen-as-const-headers.
41135 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41136 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41137 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41138 to compile strcasecmp and strncasecmp.
41139 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41140 strcasecmp_l and strncasecmp_l.
41141 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41142 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41143 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41144 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41145 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41146 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41147 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41148 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41149 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41150 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41151 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41153 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41155 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41156 result of SYSDEP_GETTIME_CPU to retval.
41157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41158 parameter list to macro. Remove trailing semicolon. Adjust users.
41160 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41163 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41167 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41168 from unused variable.
41170 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41172 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41175 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41178 * sunrpc/rpc_prot.c (rejected): Fix case value.
41180 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41181 unsigned long long int to avoid warnings in shift.
41183 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41185 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41188 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41189 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41190 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41192 * nis/nis_table.c (nis_list): Use variable of correct type for
41193 result of __follow_path call.
41195 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41197 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41198 of math functions ceil, trunc, floor, round, and sqrt, when
41199 avaliable on the platform.
41200 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41202 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41203 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41204 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41206 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41208 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41209 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41211 2011-11-11 Roland McGrath <roland@hack.frob.com>
41213 * include/unistd.h: Fix __readlink return type.
41214 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41216 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41218 * stdlib/ucontext.h: Undo last change for makecontext.
41220 2011-11-11 Andreas Schwab <schwab@redhat.com>
41222 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41224 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41225 * setjmp/setjmp.h: Mark functions as non-leaf.
41226 * setjmp/bits/setjmp2.h: Likewise.
41227 * stdlib/ucontext.h: Likewise.
41229 2011-11-10 Andreas Schwab <schwab@redhat.com>
41231 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41232 (reused_arena): Don't check arena limit.
41233 (arena_get2): Atomically check arena limit.
41235 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41237 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41238 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41243 2011-11-07 Andreas Schwab <schwab@redhat.com>
41245 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41246 handler when locking.
41248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41249 Fix size of allocated buffer.
41251 2011-11-04 Andreas Schwab <schwab@redhat.com>
41254 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41255 declarations for long double functions.
41256 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41258 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41260 2011-11-03 Andreas Schwab <schwab@redhat.com>
41262 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41265 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41268 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41270 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41272 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41274 * include/alloca.h (stackinfo_alloca_round): Define.
41275 (extend_alloca): Use it.
41276 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41277 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41280 * scripts/check-local-headers.sh: Ignore libaudit.h.
41282 * nscd/Makefile (extra-objs): Make recursively expanded.
41284 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41286 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41289 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41290 * posix/tst-rfc3484-2.c: Likewise.
41291 * posix/tst-rfc3484-3.c: Likewise.
41293 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41295 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41297 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41298 process_vm_writev from libc using GLIBC_2.15 version.
41300 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41302 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41304 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41307 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41310 * nss/getent.c (initgroups_keys): Show error message in case no group
41313 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41314 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41315 __bump_nl_timestamp.
41316 * nscd/connections (nscd_init): When host database is served open
41317 netlink socket and request notification about configuration changes.
41318 (main_loop_poll): Track netlink file descriptor and bump timestamp
41319 in case data becomes available.
41320 (main_loop_epoll): Likewise.
41321 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41322 (database_pers_head): Add extra_data fileds.
41323 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41324 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41325 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41328 in6ai data, call __free_in6ai.
41329 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41330 Add -DHAVE_NETLINK.
41331 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41332 interface information. Reuse previous data if netlink timestamp
41334 (__bump_nl_timestamp): New function.
41335 (__free_in6ai): New function.
41337 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41339 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41340 close_not_cancel_no_status here.
41341 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41343 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41346 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41349 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41350 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41351 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41353 2011-07-03 Andreas Jaeger <aj@suse.de>
41356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41357 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41358 * math/libm-test.inc (sin_test): Add test case.
41360 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41363 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41364 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41366 * elf/chroot_canon.c (chroot_canon): Cleanups.
41368 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41371 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41372 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41374 * string/test-strchr.c: Make usable for strchrnul testing.
41375 * string/test-strchrnul.c: New file.
41376 * string/Makefile (strop-tests): Add strchrnul.
41378 * po/it.po: Update from translation team.
41379 * po/es.po: Likewise.
41381 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41383 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41384 the three constants needed as parameters. Drop the others.
41385 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41386 __m128i_strloadu_tolower.
41387 Create and initialize variable zero and use it in all the places
41388 where _mm_setzero_si128 was used.
41390 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41391 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41392 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41393 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41395 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41396 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41397 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41398 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41399 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41400 __mpranred, __mptan.
41401 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41402 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41403 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41404 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41405 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41406 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41408 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41409 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41411 2011-10-28 Andreas Schwab <schwab@redhat.com>
41413 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41414 redefine if SHARED.
41415 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41418 wide char related routines to wcsmbs subdir.
41420 2011-10-27 Andreas Schwab <schwab@redhat.com>
41423 * misc/sys/cdefs.h (__THROWNL): Define.
41424 * posix/unistd.h: Use __THREADNL instead of __THREAD
41425 for memory synchronization functions.
41427 2011-10-26 Roland McGrath <roland@hack.frob.com>
41430 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41432 * manual/stdio.texi (Obstack Streams): Node removed.
41434 2011-10-26 Andreas Schwab <schwab@redhat.com>
41436 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41437 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41438 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41440 * math/math_private.h (math_force_eval): Allow non-addressable
41442 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41444 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41446 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41447 file is not needed.
41449 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41450 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41451 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41452 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41456 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41458 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41459 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41460 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41461 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41462 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41463 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41464 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41465 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41466 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41467 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41468 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41469 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41471 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41472 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41473 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41474 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41475 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41476 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41478 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41479 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41481 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41482 place. Use VEX encoding when compiling for AVX.
41484 2011-10-25 Andreas Schwab <schwab@redhat.com>
41486 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41487 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41489 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41491 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41493 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41494 useless if() expression.
41495 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41496 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41497 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41498 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41499 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41500 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41501 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41505 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41506 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41507 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41508 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41509 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41510 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41511 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41512 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41513 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41515 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41517 2011-10-25 Andreas Schwab <schwab@redhat.com>
41519 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41521 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41523 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41525 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41526 .text section. Avoid duplicate constants.
41527 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41529 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41535 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41536 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41537 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41538 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41539 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41540 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41542 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41543 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41544 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41545 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41550 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41551 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41552 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41553 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41554 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41555 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41556 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41557 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41558 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41559 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41560 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41561 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41562 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41563 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41564 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41565 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41566 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41567 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41568 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41569 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41570 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41571 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41573 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41575 * sysdeps/x86_64/dla.h: Move to ...
41576 * sysdeps/x86_64/fpu/dla.h: ...here.
41577 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41578 situations. Use __builtin_fma only for gcc 4.6 and up.
41580 * config.make.in: Add have-mfma4 entry.
41581 * configure.in: Substitute libc_cv_cc_fma4.
41582 * math/Makefile (dbl-only-routines): Add sincostab.
41583 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41584 Use __sincostab not sincos.
41585 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41587 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41592 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41593 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41594 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41595 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41597 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41598 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41600 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41601 define aliases when function name is a macro.
41602 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41603 sysdeps/ieee754/dbl-64/sincos.tbl.
41604 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41605 fma4-enabled routines.
41606 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41607 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41608 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41609 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41610 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41611 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41612 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41613 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41614 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41615 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41616 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41617 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41618 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41619 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41620 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41621 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41622 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41623 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41624 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41626 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41627 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41628 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41631 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41632 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41633 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41634 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41635 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41637 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41648 2011-10-24 Andreas Schwab <schwab@redhat.com>
41650 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41652 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41654 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41656 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41658 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41660 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41661 Remove unused variable magic_bits.
41662 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41664 * string/strnlen.c: Define and use STRNLEN macro.
41665 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41666 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41667 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41668 * wcsmbs/wcslen.c: Define and use WCSLEN.
41669 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41670 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41671 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41672 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41673 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41674 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41675 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41677 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41680 strnlen-sse2-no-bsf.
41681 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41683 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41684 Add strnlen support.
41685 (USE_AS_STRNLEN): New macro.
41686 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41687 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41688 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41689 * sysdeps/x86_64/wcslen.S: New file.
41691 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41694 XMM-moves are used for copying on small sizes.
41696 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41698 * wcsmbs/Makefile (strop-tests): Add wcschr.
41699 * wcsmbs/test-wcschr.c: New file.
41700 * string/test-strchr.c: Update.
41701 Add wcschr support.
41704 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41706 * wcsmbs/Makefile (strop-tests): Add wcslen.
41707 * wcsmbs/test-wcslen.c: New file.
41708 * string/test-strlen.c: Update.
41709 Add wcslen support.
41712 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41714 * po/it.po: Update from translation team.
41716 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41718 * sysdeps/x86_64/wcscmp.S: Update.
41719 Fix wrong comparison semantics.
41720 wcscmp shall use signed comparison not unsigned.
41721 Don't use substraction to avoid overflow bug.
41722 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41723 * wcsmbc/wcscmp.c: Likewise.
41724 * string/test-strcmp.c: Likewise.
41725 Add new tests to check cases with negative values.
41727 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41729 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41730 * sysdeps/x86_64/dla.h: ...here. New file.
41731 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41741 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41744 __ynl_finite aliases.
41746 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41750 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41752 [DLA_FMA] (EMULV): Use DLA_FMA.
41753 [DLA_FMA] (MUL12): Use EMULV.
41754 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41755 that are not needed.
41756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41764 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41766 * math/s_nan.c: Undef __nan.
41767 * math/s_nanf.c: Undef __nanf.
41768 * math/s_nanl.c: Undef __nanl.
41769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41772 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41774 * math/s_catan.c: Add branch predictions.
41775 * math/s_catanf.c: Likewise.
41776 * math/s_catanh.c: Likewise.
41777 * math/s_catanhf.c: Likewise.
41778 * math/s_catanhl.c: Likewise.
41779 * math/s_catanl.c: Likewise.
41780 * math/s_cexp.c: Likewise.
41781 * math/s_cexpf.c: Likewise.
41782 * math/s_cexpl.c: Likewise.
41783 * math/s_clog.c: Likewise.
41784 * math/s_clog10.c: Likewise.
41785 * math/s_clog10f.c: Likewise.
41786 * math/s_clog10l.c: Likewise.
41787 * math/s_clogf.c: Likewise.
41788 * math/s_clogl.c: Likewise.
41789 * math/s_csqrt.c: Likewise.
41790 * math/s_csqrtf.c: Likewise.
41791 * math/s_csqrtl.c: Likewise.
41792 * math/s_ctanf.c: Likewise.
41793 * math/s_ctanh.c: Likewise.
41794 * math/s_ctanhf.c: Likewise.
41795 * math/s_ctanhl.c: Likewise.
41796 * math/s_ctanl.c: Likewise.
41798 * math/math_private.h: Define __nan, __nanf, __nanl.
41799 * math/s_cacosh.c: Include <math_private.h>.
41800 * math/s_cacoshl.c: Likewise.
41801 * math/s_casinh.c: Likewise.
41802 * math/s_casinhf.c: Likewise.
41803 * math/s_casinhl.c: Likewise.
41804 * math/s_ccos.c: Rely entire on ccosh.
41805 * math/s_ccosf.c: Rely entire on ccoshf.
41806 * math/s_ccosl.c: Rely entirely on ccoshl.
41807 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41808 Remove tests for FE_INVALID.
41809 * math/s_ccoshf.c: Likewise.
41810 * math/s_ccoshl.c: Likewise.
41811 * math/s_csin.c: Likewise.
41812 * math/s_csinf.c: Likewise.
41813 * math/s_csinh.c Likewise.
41814 * math/s_csinhf.c: Likewise.
41815 * math/s_csinhl.c: Likewise.
41816 * math/s_csinl.c: Likewise.
41817 * math/s_ctan.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41819 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41822 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41825 compilation problems.
41827 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41830 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41832 * sysdeps/i386/configure.in: Test for -mfma4 option.
41833 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41834 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41835 COMMON_CPUID_INDEX_80000001.
41836 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41837 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41838 use it if FMA3 is not supported.
41839 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41841 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41842 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41844 2011-10-20 Andreas Schwab <schwab@redhat.com>
41847 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41848 it would create a cycle with a link time dependency.
41850 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41852 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41854 * string/Makefile (strop-tests): Add rawmemchr.
41855 * string/test-rawmemchr.c: New file.
41857 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41859 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41860 when compiling str{,n}casecmp and when AVX is available. Hook up
41861 new optimized code in initializers.
41863 2011-10-19 Andreas Schwab <schwab@redhat.com>
41865 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41866 __feraiseexcept instead of feraiseexcept.
41868 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41870 * math/math_private.h: Define defaults for libc_fetestexcept and
41872 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41873 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41874 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41875 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41876 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41877 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41878 libc_fetestexcept and libc_feupdateenv.
41880 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41881 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41882 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41883 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41884 libc_feholdexcept_setround.
41886 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41887 Add s_nearbyint-c and s_nearbyintf-c.
41888 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41889 nearbyintf inlines.
41890 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41891 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41892 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41893 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41895 * math/math_private.h: Define defaults for libc_fegetround,
41896 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41897 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41898 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41900 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41901 standard functions.
41902 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41903 Remove comments and hacks for old compiler versions.
41904 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41905 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41906 libc_feholdexceptl.
41908 2011-10-18 Andreas Schwab <schwab@redhat.com>
41910 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41911 (__feraiseexcept_renamed): Add __NTH.
41912 (feraiseexcept): Add __NTH. Rename local variables to fix
41913 namespace violations.
41915 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41917 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41919 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41921 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41922 recently added interfaces.
41923 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41925 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41926 about macro parameter expansion.
41928 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41929 __NO_MATH_INLINES is defined. Cleanups.
41931 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41932 and __floorf is target has SSE4.1.
41933 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41934 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41935 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41936 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41938 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41940 (floorf): Likewise.
41942 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41944 2011-10-17 Andreas Schwab <schwab@redhat.com>
41946 * misc/sys/cdefs.h: Fix last change.
41948 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41951 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41953 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41955 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41957 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41961 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41962 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41963 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41964 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41965 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41966 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41967 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41968 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41969 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41970 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41971 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41972 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41973 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41974 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41975 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41976 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41978 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41979 ceil, ceilf, floor, floorf.
41981 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41982 Perform IRELATIVE relocations last.
41984 * elf/do-rel.h: Add another parameter nrelative, replacing the
41985 local variable with the same name. Change name of the function
41986 to end in Rel or Rela (uppercase).
41987 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41988 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41989 elf_dynamic_do_##reloc function.
41991 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41993 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41994 is sufficient, at least on modern CPUs.
41996 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41998 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41999 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42001 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42003 * math/bits/math-finite.h: Add entries for exp.
42004 * math/e_expl.c: Add __*_finite alias.
42005 * sysdeps/i386/fpu/e_exp.S: Likewise.
42006 * sysdeps/i386/fpu/e_expf.S: Likewise.
42007 * sysdeps/i386/fpu/e_expl.c: Likewise.
42008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42010 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42013 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42014 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42016 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42017 is sufficient, at least on modern CPUs.
42019 * ctype/ctype-info.c (__ctype_init): Define.
42020 * include/ctype.h (__ctype_init): Declare.
42021 (__ctype_b_loc): The variable is always initialized.
42022 (__ctype_toupper_loc): Likewise.
42023 (__ctype_tolower_loc): Likewise.
42024 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42025 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42027 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42029 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42031 * configure.in: Also look in $cxxmachine/include for C++ system
42034 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42036 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42037 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42038 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42039 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42040 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42041 (USE_AS_WMEMCMP): New macro.
42043 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42044 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42045 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42046 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42048 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42049 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42050 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42051 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42052 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42053 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42054 (USE_AS_WMEMCMP): New macro.
42055 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42056 * sysdeps/string/test-memcmp.c: Update.
42057 Fix simple_wmemcmp.
42059 * wcsmbs/wmemcmp.c: Update.
42060 (WMEMCMP): New macro.
42063 2011-10-12 Andreas Jaeger <aj@suse.de>
42066 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42068 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42070 * libio/iofwide.c (do_length): Avoid warning.
42072 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42074 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42076 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42078 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42079 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42080 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42081 * sysdeps/i386/i686/fpu/e_log.S: New file.
42082 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42083 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42085 * ctype/ctype.h: Add support for inlined isXXX functions when
42086 compiling C++ code.
42088 2011-10-14 Andreas Schwab <schwab@redhat.com>
42090 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42092 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42094 2011-10-13 Roland McGrath <roland@hack.frob.com>
42097 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42099 2011-10-13 Andreas Schwab <schwab@redhat.com>
42101 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42102 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42105 * sysdeps/x86_64/memrchr.S: Check for zero size.
42107 * string/stratcliff.c: Add memrchr tests.
42109 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42112 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42113 rawmemchr-sse2 rawmemchr-sse2-bsf.
42114 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42115 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42116 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42117 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42118 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42119 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42120 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42121 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42122 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42123 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42124 * string/memrchr.c (MEMRCHR): New macro.
42126 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42128 Add integration with gcc's -ffinite-math-only and optimize wrapper
42130 * Versions.def: Define GLIBC_2.15 version for libm.
42131 * math/Makefile (headers): Add bits/math-finite.h.
42132 * math/bits/math-finite.h: New file.
42133 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42134 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42135 * math/e_acoshl.c: Add __*_finite alias.
42136 * math/e_acosl.c: Likewise.
42137 * math/e_asinl.c: Likewise.
42138 * math/e_atan2l.c: Likewise.
42139 * math/e_atanhl.c: Likewise.
42140 * math/e_coshl.c: Likewise.
42141 * math/e_exp10.c: Likewise.
42142 * math/e_exp10f.c: Likewise.
42143 * math/e_exp10l.c: Likewise.
42144 * math/e_exp2l.c: Likewise.
42145 * math/e_fmodl.c: Likewise.
42146 * math/e_gammal_r.c: Likewise.
42147 * math/e_hypotl.c: Likewise.
42148 * math/e_j0l.c: Likewise.
42149 * math/e_j1l.c: Likewise.
42150 * math/e_jnl.c: Likewise.
42151 * math/e_lgammal_r.c: Likewise.
42152 * math/e_log10l.c: Likewise.
42153 * math/e_log2l.c: Likewise.
42154 * math/e_logl.c: Likewise.
42155 * math/e_powl.c: Likewise.
42156 * math/e_sinhl.c: Likewise.
42157 * math/e_sqrtl.c: Likewise.
42158 * math/e_scalb.c: Completely rewritten and optimized.
42159 * math/e_scalbf.c: Likewise.
42160 * math/e_scalbl.c: Likewise.
42161 * math/w_acos.c: Likewise.
42162 * math/w_acosf.c: Likewise.
42163 * math/w_acosl.c: Likewise.
42164 * math/w_acosh.c: Likewise.
42165 * math/w_acoshf.c: Likewise.
42166 * math/w_acoshl.c: Likewise.
42167 * math/w_asin.c: Likewise.
42168 * math/w_asinf.c: Likewise.
42169 * math/w_asinl.c: Likewise.
42170 * math/w_atan2.c: Likewise.
42171 * math/w_atan2f.c: Likewise.
42172 * math/w_atan2l.c: Likewise.
42173 * math/w_atanh.c: Likewise.
42174 * math/w_atanhf.c: Likewise.
42175 * math/w_atanhl.c: Likewise.
42176 * math/w_exp10.c: Likewise.
42177 * math/w_exp10f.c: Likewise.
42178 * math/w_exp10l.c: Likewise.
42179 * math/w_fmod.c: Likewise.
42180 * math/w_fmodf.c: Likewise.
42181 * math/w_fmodl.c: Likewise.
42182 * math/w_j0.c: Likewise.
42183 * math/w_j0f.c: Likewise.
42184 * math/w_j0l.c: Likewise.
42185 * math/w_j1.c: Likewise.
42186 * math/w_j1f.c: Likewise.
42187 * math/w_j1l.c: Likewise.
42188 * math/w_jn.c: Likewise.
42189 * math/w_jnf.c: Likewise.
42190 * math/w_log.c: Likewise.
42191 * math/w_logf.c: Likewise.
42192 * math/w_logl.c: Likewise.
42193 * math/w_log10.c: Likewise.
42194 * math/w_log10f.c: Likewise.
42195 * math/w_log10l.c: Likewise.
42196 * math/w_log2.c: Likewise.
42197 * math/w_log2f.c: Likewise.
42198 * math/w_log2l.c: Likewise.
42199 * math/w_pow.c: Likewise.
42200 * math/w_powf.c: Likewise.
42201 * math/w_powl.c: Likewise.
42202 * math/w_remainder.c: Likewise.
42203 * math/w_remainderf.c: Likewise.
42204 * math/w_remainderl.c: Likewise.
42205 * math/w_scalb.c: Likewise.
42206 * math/w_scalbf.c: Likewise.
42207 * math/w_scalbl.c: Likewise.
42208 * math/w_sqrt.c: Likewise.
42209 * math/w_sqrtf.c: Likewise.
42210 * math/w_sqrtl.c: Likewise.
42211 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42212 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42214 * math/math_private.h: Declare __kernel_standard_f.
42215 * math/w_cosh.c: Remove cruft and optimize a bit.
42216 * math/w_coshf.c: Likewise.
42217 * math/w_coshl.c: Likewise.
42218 * math/w_exp2.c: Likewise.
42219 * math/w_exp2f.c: Likewise.
42220 * math/w_exp2l.c: Likewise.
42221 * math/w_hypot.c: Likewise.
42222 * math/w_hypotf.c: Likewise.
42223 * math/w_hypotl.c: Likewise.
42224 * math/w_lgamma.c: Likewise.
42225 * math/w_lgamma_r.c: Likewise.
42226 * math/w_lgammaf.c: Likewise.
42227 * math/w_lgammaf_r.c: Likewise.
42228 * math/w_lgammal.c: Likewise.
42229 * math/w_lgammal_r.c: Likewise.
42230 * math/w_sinh.c: Likewise.
42231 * math/w_sinhf.c: Likewise.
42232 * math/w_sinhl.c: Likewise.
42233 * math/w_tgamma.c: Likewise.
42234 * math/w_tgammaf.c: Likewise.
42235 * math/w_tgammal.c: Likewise.
42236 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42237 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42238 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42239 Minor optimizations. Pretty printing. Remove cruft.
42240 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42242 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42244 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42245 * sysdeps/i386/fpu/e_asin.S: Likewise.
42246 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42247 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42248 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42249 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42250 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42251 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42253 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42254 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42255 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42256 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42257 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42258 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42259 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42260 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42261 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42262 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42263 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42264 * sysdeps/i386/fpu/e_log.S: Likewise.
42265 * sysdeps/i386/fpu/e_log10.S: Likewise.
42266 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42267 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42268 * sysdeps/i386/fpu/e_log2.S: Likewise.
42269 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42270 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42271 * sysdeps/i386/fpu/e_logf.S: Likewise.
42272 * sysdeps/i386/fpu/e_logl.S: Likewise.
42273 * sysdeps/i386/fpu/e_pow.S: Likewise.
42274 * sysdeps/i386/fpu/e_powf.S: Likewise.
42275 * sysdeps/i386/fpu/e_powl.S: Likewise.
42276 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42277 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42278 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42279 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42280 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42281 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42282 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42283 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42284 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42298 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42299 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42302 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42306 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42308 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42309 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42310 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42311 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42312 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42313 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42314 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42316 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42317 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42318 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42319 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42320 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42321 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42322 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42323 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42325 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42326 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42365 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42370 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42371 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42373 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42376 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42377 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42378 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42379 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42380 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42381 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42382 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42383 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42384 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42385 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42386 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42387 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42388 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42389 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42390 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42392 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42393 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42394 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42395 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42396 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42397 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42398 (__isnanf): Likewise.
42399 (__isinf_ns): Likewise.
42400 (__isinf_nsf): Likewise.
42401 (__finite): Likewise.
42402 (__finitef): Likewise.
42403 (__ieee754_sqrt): Define as macro.
42404 (__ieee754_sqrtf): Define as macro.
42405 (__ieee754_sqrtl): Define as macro.
42406 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42408 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42409 __FINITE_MATH_ONLY__ consistent.
42410 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42412 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42414 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42417 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42419 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42421 * po/ja.po: Update from translation team.
42423 2011-10-08 Roland McGrath <roland@hack.frob.com>
42425 * locale/programs/locarchive.c (prepare_address_space): New function.
42426 (create_archive, enlarge_archive, open_archive): Use it.
42428 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42429 inside [SHARED], where it is used.
42431 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42433 * nss/getent.c (netgroup_keys): Remove unused variable.
42434 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42436 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42438 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42439 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42442 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42443 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42444 * math/Makefile (libm-calls): Add s_isinf_ns.
42445 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42446 * math/multc3.c: Likewise.
42447 * math/s_casin.c: Likewise.
42448 * math/s_casinf.c: Likewise.
42449 * math/s_casinl.c: Likewise.
42450 * math/s_ccos.c: Likewise.
42451 * math/s_ccosf.c: Likewise.
42452 * math/s_ccosl.c: Likewise.
42453 * math/s_ctan.c: Likewise.
42454 * math/s_ctanf.c: Likewise.
42455 * math/s_ctanh.c: Likewise.
42456 * math/s_ctanhf.c: Likewise.
42457 * math/s_ctanhl.c: Likewise.
42458 * math/s_ctanl.c: Likewise.
42459 * math/w_fmod.c: Likewise.
42460 * math/w_fmodf.c: Likewise.
42461 * math/w_fmodl.c: Likewise.
42462 * math/w_remainder.c: Likewise.
42463 * math/w_remainderf.c: Likewise.
42464 * math/w_remainderl.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42466 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42467 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42469 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42470 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42471 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42472 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42474 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42476 * stdio-common/printf_fphex.c: Likewise.
42477 * stdio-common/printf_size.c: Likewise.
42479 * math/e_exp10.c: Include math_private.h using <...> not "...".
42480 * math/e_exp10f.c: Likewise.
42481 * math/e_exp10l.c: Likewise.
42482 * math/e_exp2l.c: Likewise.
42483 * math/e_j0l.c: Likewise.
42484 * math/e_j1l.c: Likewise.
42485 * math/e_jnl.c: Likewise.
42486 * math/e_lgammal_r.c: Likewise.
42487 * math/e_rem_pio2l.c: Likewise.
42488 * math/e_scalb.c: Likewise.
42489 * math/e_scalbf.c: Likewise.
42490 * math/e_scalbl.c: Likewise.
42491 * math/k_cosl.c: Likewise.
42492 * math/k_sinl.c: Likewise.
42493 * math/k_tanl.c: Likewise.
42494 * math/s_cacoshf.c: Likewise.
42495 * math/s_catan.c: Likewise.
42496 * math/s_catanf.c: Likewise.
42497 * math/s_catanh.c: Likewise.
42498 * math/s_catanhf.c: Likewise.
42499 * math/s_catanhl.c: Likewise.
42500 * math/s_catanl.c: Likewise.
42501 * math/s_ccosh.c: Likewise.
42502 * math/s_ccoshf.c: Likewise.
42503 * math/s_ccoshl.c: Likewise.
42504 * math/s_cexp.c: Likewise.
42505 * math/s_cexpf.c: Likewise.
42506 * math/s_cexpl.c: Likewise.
42507 * math/s_clog.c: Likewise.
42508 * math/s_clog10.c: Likewise.
42509 * math/s_clog10f.c: Likewise.
42510 * math/s_clog10l.c: Likewise.
42511 * math/s_clogf.c: Likewise.
42512 * math/s_clogl.c: Likewise.
42513 * math/s_csin.c: Likewise.
42514 * math/s_csinf.c: Likewise.
42515 * math/s_csinh.c: Likewise.
42516 * math/s_csinhf.c: Likewise.
42517 * math/s_csinhl.c: Likewise.
42518 * math/s_csinl.c: Likewise.
42519 * math/s_csqrt.c: Likewise.
42520 * math/s_csqrtf.c: Likewise.
42521 * math/s_csqrtl.c: Likewise.
42522 * math/s_ctan.c: Likewise.
42523 * math/s_ctanf.c: Likewise.
42524 * math/s_ctanh.c: Likewise.
42525 * math/s_ctanhf.c: Likewise.
42526 * math/s_ctanhl.c: Likewise.
42527 * math/s_ctanl.c: Likewise.
42528 * math/s_ldexp.c: Likewise.
42529 * math/s_ldexpf.c: Likewise.
42530 * math/s_ldexpl.c: Likewise.
42531 * math/s_significand.c: Likewise.
42532 * math/s_significandf.c: Likewise.
42533 * math/s_significandl.c: Likewise.
42534 * math/w_acos.c: Likewise.
42535 * math/w_acosf.c: Likewise.
42536 * math/w_acosh.c: Likewise.
42537 * math/w_acoshf.c: Likewise.
42538 * math/w_acoshl.c: Likewise.
42539 * math/w_acosl.c: Likewise.
42540 * math/w_asin.c: Likewise.
42541 * math/w_asinf.c: Likewise.
42542 * math/w_asinl.c: Likewise.
42543 * math/w_atan2.c: Likewise.
42544 * math/w_atan2f.c: Likewise.
42545 * math/w_atan2l.c: Likewise.
42546 * math/w_atanh.c: Likewise.
42547 * math/w_atanhf.c: Likewise.
42548 * math/w_atanhl.c: Likewise.
42549 * math/w_cosh.c: Likewise.
42550 * math/w_coshf.c: Likewise.
42551 * math/w_coshl.c: Likewise.
42552 * math/w_dremf.c: Likewise.
42553 * math/w_exp10.c: Likewise.
42554 * math/w_exp10f.c: Likewise.
42555 * math/w_exp10l.c: Likewise.
42556 * math/w_exp2.c: Likewise.
42557 * math/w_exp2f.c: Likewise.
42558 * math/w_fmod.c: Likewise.
42559 * math/w_fmodf.c: Likewise.
42560 * math/w_fmodl.c: Likewise.
42561 * math/w_hypot.c: Likewise.
42562 * math/w_hypotf.c: Likewise.
42563 * math/w_hypotl.c: Likewise.
42564 * math/w_j0.c: Likewise.
42565 * math/w_j0f.c: Likewise.
42566 * math/w_j0l.c: Likewise.
42567 * math/w_j1.c: Likewise.
42568 * math/w_j1f.c: Likewise.
42569 * math/w_j1l.c: Likewise.
42570 * math/w_jn.c: Likewise.
42571 * math/w_jnf.c: Likewise.
42572 * math/w_jnl.c: Likewise.
42573 * math/w_lgamma.c: Likewise.
42574 * math/w_lgamma_r.c: Likewise.
42575 * math/w_lgammaf.c: Likewise.
42576 * math/w_lgammaf_r.c: Likewise.
42577 * math/w_lgammal.c: Likewise.
42578 * math/w_lgammal_r.c: Likewise.
42579 * math/w_log.c: Likewise.
42580 * math/w_log10.c: Likewise.
42581 * math/w_log10f.c: Likewise.
42582 * math/w_log10l.c: Likewise.
42583 * math/w_log2.c: Likewise.
42584 * math/w_log2f.c: Likewise.
42585 * math/w_log2l.c: Likewise.
42586 * math/w_logf.c: Likewise.
42587 * math/w_logl.c: Likewise.
42588 * math/w_pow.c: Likewise.
42589 * math/w_powf.c: Likewise.
42590 * math/w_powl.c: Likewise.
42591 * math/w_remainder.c: Likewise.
42592 * math/w_remainderf.c: Likewise.
42593 * math/w_remainderl.c: Likewise.
42594 * math/w_scalb.c: Likewise.
42595 * math/w_scalbf.c: Likewise.
42596 * math/w_scalbl.c: Likewise.
42597 * math/w_sinh.c: Likewise.
42598 * math/w_sinhf.c: Likewise.
42599 * math/w_sinhl.c: Likewise.
42600 * math/w_sqrt.c: Likewise.
42601 * math/w_sqrtf.c: Likewise.
42602 * math/w_sqrtl.c: Likewise.
42603 * math/w_tgamma.c: Likewise.
42604 * math/w_tgammaf.c: Likewise.
42605 * math/w_tgammal.c: Likewise.
42607 * po/ja.po: Update from translation team.
42609 2011-09-29 Andreas Jaeger <aj@suse.de>
42612 * sunrpc/netname.c (netname2host): Fix logic.
42616 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42618 * math/w_remainder.c (__remainder): Likewise.
42619 * math/w_remainderf.c (__remainderf): Likewise.
42620 * math/libm-test.inc (remainder_test): Add test cases.
42622 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42624 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42627 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42629 * string/test-memcmp.c: Avoid unncessary #defines.
42630 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42632 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42634 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42635 Use new sse2 version for core i3 - i7 as it's faster
42636 than sse42 version.
42637 (bit_Prefer_PMINUB_for_stringop): New.
42638 * sysdeps/x86_64/rawmemchr.S: Update.
42639 Replace with faster SSE2 version.
42640 * sysdeps/x86_64/memrchr.S: New file.
42641 * sysdeps/x86_64/memchr.S: Update.
42642 Replace with faster SSE2 version.
42644 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42646 * elf/dl-load.c (lose): Add cast to avoid warning.
42648 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42650 * po/ca.po: Update from translation team.
42652 * inet/getnetgrent_r.c: Hook up nscd.
42653 * nscd/Makefile (routines): Add nscd_netgroup.
42654 (nscd-modules): Add netgroupcache.
42655 (CFLAGS-netgroupcache.c): Define.
42656 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42657 (cache_search): Add const to second parameter.
42658 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42660 (dbs): Add netgrdb entry.
42661 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42662 (verify_persistent_db): Handle netgrdb.
42663 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42664 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42666 (netgroup_response_header): Define.
42667 (innetgroup_response_header): Define.
42668 (datahead): Add netgroup_response_header and innetgroup_response_header
42670 * nscd/nscd.conf: Add entries for netgroup cache.
42671 * nscd/nscd.h (dbtype): Add netgrdb.
42672 (_PATH_NSCD_NETGROUP_DB): Define.
42673 (netgroup_iov_disabled): Declare.
42674 (xmalloc, xcalloc, xrealloc): Move declarations here.
42675 (cache_search): Adjust prototype.
42676 Add netgroup-related prototypes.
42677 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42678 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42679 (__nscd_innetgr): Declare.
42680 * nscd/selinux.c (perms): Use access_vector_t as element type and
42681 add netgroup-related initializers.
42682 * nscd/netgroupcache.c: New file.
42683 * nscd/nscd_netgroup.c: New file.
42684 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42685 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42686 For four parameters use innetgr.
42687 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42688 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42689 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42690 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42692 * nscd/connections.c (register_traced_file): Don't register file
42693 for disabled databases.
42695 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42697 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42699 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42700 from tree and freeing node.
42702 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42704 * nss/nsswitch.c (__nss_database_lookup): Handle
42705 nss_parse_service_list out of memory case.
42707 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42709 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42710 out of memory case.
42712 2011-10-04 Andreas Schwab <schwab@redhat.com>
42714 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42715 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42717 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42718 elf_machine_rela, elf_machine_lazy_rel.
42719 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42720 (ELF_DYNAMIC_DO_REL): Likewise.
42721 (ELF_DYNAMIC_DO_RELA): Likewise.
42722 (ELF_DYNAMIC_RELOCATE): Likewise.
42723 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42724 to ELF_DYNAMIC_DO_REL.
42725 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42726 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42727 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42729 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42730 skip_ifunc, don't call ifunc function if non-zero.
42731 (elf_machine_rela): Likewise.
42732 (elf_machine_lazy_rel): Likewise.
42733 (elf_machine_lazy_rela): Likewise.
42734 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42735 (elf_machine_lazy_rel): Likewise.
42736 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42738 (elf_machine_lazy_rel): Likewise.
42739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42741 (elf_machine_lazy_rel): Likewise.
42742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42743 (elf_machine_lazy_rel): Likewise.
42744 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42745 (elf_machine_lazy_rel): Likewise.
42746 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42747 (elf_machine_lazy_rel): Likewise.
42748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42749 (elf_machine_lazy_rel): Likewise.
42750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42751 (elf_machine_lazy_rel): Likewise.
42752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42753 (elf_machine_lazy_rel): Likewise.
42755 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42757 * nss/nss_files/files-init.c (_nss_files_init): Use static
42758 initialization for all the *_traced_file variables.
42760 2011-09-28 Andreas Schwab <schwab@redhat.com>
42762 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42764 2011-09-27 Roland McGrath <roland@hack.frob.com>
42767 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42769 2011-09-27 Andreas Schwab <schwab@redhat.com>
42771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42772 Reread the line before reparsing it.
42774 2011-09-26 Andreas Schwab <schwab@redhat.com>
42776 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42778 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42779 Maxim Kuvyrkov <maxim@codesourcery.com>
42780 Joseph Myers <joseph@codesourcery.com>
42782 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42783 if needed for __stack_chk_guard.
42785 2011-09-19 Roland McGrath <roland@hack.frob.com>
42787 * sysdeps/posix/spawni.c (script_execute): Always define it.
42788 It will be optimized away if unused.
42789 (maybe_script_execute): New function.
42790 (__spawni): Call it.
42792 * Makerules: Don't include tls.make.
42793 (config-tls): Always set to thread.
42794 * tls.make.c: File removed.
42796 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42798 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42799 * config.make.in (CPPFLAGS-config): New substituted variable.
42801 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42803 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42806 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42807 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42809 2011-09-15 Roland McGrath <roland@hack.frob.com>
42811 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42812 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42813 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42814 (CALL_FAIL): Likewise.
42815 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42816 (CALL_FAIL): Macro removed.
42817 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42819 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42821 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42822 for __FINITE_MATH_ONLY__ == 1.
42824 2011-09-15 Andreas Schwab <schwab@redhat.com>
42826 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42827 __ieee754_sqrt instead of sqrt.
42828 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42829 __ieee754_sqrtf instead of sqrtf.
42830 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42831 __floorf instead of floorf.
42832 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42833 __floorf, __truncf instead of floorf, truncf.
42835 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42837 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42839 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42840 __extern_always_inline.
42841 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42844 2011-09-14 Andreas Schwab <schwab@redhat.com>
42846 * elf/rtld.c (dl_main): Also relocate in dependency order when
42847 doing symbol dependency testing.
42849 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42851 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42852 Always define `refsym'.
42854 2011-09-13 Andreas Schwab <schwab@redhat.com>
42856 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42857 (__FD_ELT): Renamed from __FDELT.
42858 * misc/bits/select2.h (__FD_ELT): Likewise.
42859 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42860 __FD_MASK instead of __FDELT, __FDMASK.
42861 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42863 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42866 * elf/Makefile (gen-ldd): Fix pattern.
42868 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42869 (init_tls): Likewise.
42871 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42875 2011-09-12 Andreas Schwab <schwab@redhat.com>
42877 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42878 `struct cmsghdr *' instead of `void *'.
42879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42882 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42884 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42886 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42887 ldd_rewrite_script.
42889 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42891 * configure.in: Remove --with-tls option.
42892 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42893 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42894 out in case it is missing.
42895 * sysdeps/ia64/elf/configure.in: Likewise.
42896 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42897 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42898 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42899 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42900 * sysdeps/sh/elf/configure.in: Likewise.
42901 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42902 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42903 * sysdeps/x86_64/elf/configure.in: Likewise.
42904 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42905 * sysdeps/mach/hurd/tls.h: Likewise.
42908 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42911 * configure.in: Fix use of AC_INIT.
42913 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42915 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42917 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42919 * malloc/hooks.c: Likewise.
42922 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42923 variables statically.
42924 (narenas): Initialize.
42925 (list_lock): Initialize.
42926 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42927 initializtion of main_arena and list_lock. Small cleanups.
42928 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42929 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42930 Add initializers to main_arena and mp_.
42931 (malloc_state): Remove pagesize member. Change all users to use
42934 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42935 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42936 is always initialized.
42938 * malloc/malloc.c: Removed unused configurations and dead code.
42939 * malloc/arena.c: Likewise.
42940 * malloc/hooks.c: Likewise.
42941 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42943 * include/tls.h: Removed. USE___THREAD must always be defined.
42944 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42945 * elf/dl-libc.c: Likewise.
42946 * elf/dl-tsd.c: Likewise.
42947 * include/errno.h: Likewise.
42948 * include/netdb.h: Likewise.
42949 * include/resolv.h: Likewise.
42950 * inet/herrno-loc.c: Likewise.
42951 * inet/herrno.c: Likewise.
42952 * malloc/arena.c: Likewise.
42953 * malloc/hooks.c: Likewise.
42954 * malloc/malloc.c: Likewise.
42955 * resolv/res-state.c: Likewise.
42956 * resolv/res_libc.c: Likewise.
42957 * sysdeps/i386/dl-machine.h: Likewise.
42958 * sysdeps/ia64/dl-machine.h: Likewise.
42959 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42960 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42961 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42962 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42963 * sysdeps/sh/dl-machine.h: Likewise.
42964 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42965 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42966 * sysdeps/unix/i386/sysdep.S: Likewise.
42967 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42968 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42973 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42977 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42978 * sysdeps/x86_64/dl-machine.h: Likewise.
42979 * tls.make.c: Likewise.
42981 * configure.in: Remove --with-__thread option. Make tests for
42982 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42983 tls_model attribute fail if no support is available. Remove
42985 * Makeconfig: Adjust for dropped configure option. All features are
42987 * Makerules: Likewise.
42988 * Versions.def: Likewise.
42989 * argp/argp-fmtstream.c: Likewise.
42990 * argp/argp-fmtstream.h: Likewise.
42991 * argp/argp-help.c: Likewise.
42992 * assert/assert.c: Likewise.
42993 * config.h.in: Likewise.
42994 * config.make.in: Likewise.
42995 * configure: Likewise.
42996 * configure.in: Likewise.
42997 * csu/Versions: Likewise.
42998 * csu/init.c: Likewise.
42999 * elf/tst-audit2.c: Likewise.
43000 * elf/tst-tls10.c: Likewise.
43001 * elf/tst-tls10.h: Likewise.
43002 * elf/tst-tls11.c: Likewise.
43003 * elf/tst-tls12.c: Likewise.
43004 * elf/tst-tls14.c: Likewise.
43005 * elf/tst-tlsmod11.c: Likewise.
43006 * elf/tst-tlsmod12.c: Likewise.
43007 * elf/tst-tlsmod13.c: Likewise.
43008 * elf/tst-tlsmod13a.c: Likewise.
43009 * elf/tst-tlsmod14a.c: Likewise.
43010 * elf/tst-tlsmod15b.c: Likewise.
43011 * elf/tst-tlsmod16a.c: Likewise.
43012 * elf/tst-tlsmod16b.c: Likewise.
43013 * elf/tst-tlsmod7.c: Likewise.
43014 * elf/tst-tlsmod8.c: Likewise.
43015 * elf/tst-tlsmod9.c: Likewise.
43016 * gmon/gmon.c: Likewise.
43017 * grp/fgetgrent_r.c: Likewise.
43018 * grp/putgrent.c: Likewise.
43019 * hurd/fopenport.c: Likewise.
43020 * include/libc-symbols.h: Likewise.
43021 * include/tls.h: Likewise.
43022 * intl/gettextP.h: Likewise.
43023 * intl/loadinfo.h: Likewise.
43024 * locale/global-locale.c: Likewise.
43025 * locale/localeinfo.h: Likewise.
43026 * mach/devstream.c: Likewise.
43027 * malloc/arena.c: Likewise.
43028 * malloc/set-freeres.c: Likewise.
43029 * misc/err.c: Likewise.
43030 * misc/getttyent.c: Likewise.
43031 * misc/mntent_r.c: Likewise.
43032 * posix/getopt.c: Likewise.
43033 * posix/wordexp.c: Likewise.
43034 * pwd/fgetpwent_r.c: Likewise.
43035 * resolv/Versions: Likewise.
43036 * resolv/res_hconf.c: Likewise.
43037 * shadow/fgetspent_r.c: Likewise.
43038 * shadow/putspent.c: Likewise.
43039 * stdio-common/printf_fphex.c: Likewise.
43040 * stdio-common/tmpfile.c: Likewise.
43041 * stdlib/abort.c: Likewise.
43042 * stdlib/fmtmsg.c: Likewise.
43043 * sunrpc/auth_unix.c: Likewise.
43044 * sunrpc/clnt_perr.c: Likewise.
43045 * sunrpc/clnt_tcp.c: Likewise.
43046 * sunrpc/clnt_udp.c: Likewise.
43047 * sunrpc/clnt_unix.c: Likewise.
43048 * sunrpc/openchild.c: Likewise.
43049 * sunrpc/svc_simple.c: Likewise.
43050 * sunrpc/svc_tcp.c: Likewise.
43051 * sunrpc/svc_udp.c: Likewise.
43052 * sunrpc/svc_unix.c: Likewise.
43053 * sunrpc/xdr.c: Likewise.
43054 * sunrpc/xdr_array.c: Likewise.
43055 * sunrpc/xdr_rec.c: Likewise.
43056 * sunrpc/xdr_ref.c: Likewise.
43057 * sunrpc/xdr_stdio.c: Likewise.
43059 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43061 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43063 2011-07-03 Andreas Jaeger <aj@suse.de>
43065 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43066 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43067 regenerate with gen-libm-tests.pl.
43069 2010-05-12 Petr Baudis <pasky@suse.cz>
43072 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43073 around j0() zero points by switching to j1().
43074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43079 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43081 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43083 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43086 Patch in part by Pavel Roskin <proski@gnu.org>.
43089 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43091 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43092 Free memory block if necessary.
43095 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43096 be NULL. Don't lock in this case.
43098 2011-09-09 Roland McGrath <roland@hack.frob.com>
43100 * elf/elf.h (ELFOSABI_GNU): New macro.
43101 (ELFOSABI_LINUX): Define to that.
43103 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43105 * string/strncat.c (strncat): Undef the symbol in case it has been
43106 defined in bits/string.h.
43108 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43110 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43112 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43115 2011-08-17 Andreas Jaeger <aj@suse.de>
43117 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43119 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43120 Ian Lance Taylor <iant@google.com>
43122 * math/libm-test.inc (lround_test): New testcase.
43123 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43125 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43127 * Makefile: Remove support for automatic cvs check-ins.
43128 * Makerules: Likewise.
43129 * config.make.in: Likewise.
43130 * configure.in: Likewise.
43131 * intl/Makefile: Likewise.
43132 * locale/Makefile: Likewise.
43133 * po/Makefile: Likewise.
43134 * posix/Makefile: Likewise.
43135 * sysdeps/gnu/Makefile: Likewise.
43136 * sysdeps/mach/hurd/Makefile: Likewise.
43137 * sysdeps/sparc/sparc32/Makefile: Likewise.
43140 * posix/Makefile (bug-regex32-ENV): Define.
43141 Patch by John Stanley <jpsinthemix@verizon.net>.
43143 * misc/Makefile (headers): Add bits/select2.h.
43144 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43145 * misc/bits/select2.h: New file.
43146 * include/bits/select2.h: New file.
43147 * debug/Makefile (routines): Add fdelt_chk.
43148 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43149 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43151 * debug/fdelt_chk.c: New file.
43153 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43154 * wcsmbs/test-wmemcmp.c: Likewise.
43155 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43156 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43158 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43160 * string/Makefile (strop-tests): Add memcmp.
43161 * string/test-wmemcmp.c: New file.
43162 * string/test-memcmp.c: Add wmemcmp support.
43164 2011-09-08 Roland McGrath <roland@hack.frob.com>
43167 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43170 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43171 garbage value in a __mach_port_mod_refs call in the cases of the
43172 task-self and thread-self ports.
43174 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43176 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43178 2011-09-08 Andreas Schwab <schwab@redhat.com>
43180 * elf/dl-load.c (lose): Check for non-null L.
43182 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43184 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43186 * elf/dl-libc.c (dlerror_run): Pass back error code from
43190 * elf/dl-load.c (lose): Free l_origin if it is valid.
43192 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43194 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43195 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43196 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43199 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43201 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43203 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43204 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43205 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43206 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43207 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43208 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43209 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43210 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43211 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43212 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43214 2011-08-15 Alan Modra <amodra@gmail.com>
43217 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43218 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43219 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43220 ppc_mcount to static-only-routines.
43221 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43223 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43224 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43226 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43228 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43229 for finite and infinity parameters.
43231 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43233 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43234 and add nop instructions for throughput optimization.
43235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43237 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43239 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43240 aligned copy for power7 with vector-scalar instructions.
43241 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43243 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43248 2011-09-07 Andreas Schwab <schwab@redhat.com>
43251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43254 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43256 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43257 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43258 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43259 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43262 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43264 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43265 Forgot to demangle the pointer.
43267 * sysdeps/i386/sysdep.h: Define atom_text_section.
43268 * sysdeps/x86_64/sysdep.h: Likewise.
43269 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43270 section with atom_text_section.
43271 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43272 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43273 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43274 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43275 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43277 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43278 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43279 already be defined. Change to take two parameters and don't assign
43280 result to variable. Adjust all users.
43281 Define INTERNAL_GETTIME if not already defined.
43282 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43285 HAVE_CLOCK_GETTIME_VSYSCALL.
43286 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43289 gettimeofday vsyscall, just use time.
43291 2011-09-06 Andreas Schwab <schwab@redhat.com>
43293 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43296 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43298 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43302 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43303 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43304 syscall if possible.
43306 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43308 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43309 e_ident. Don't pass to find_mapsXX.
43310 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43312 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43315 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43316 * sysdeps/x86_64/multiarch/strchr.S: Update.
43317 Check bit_slow_BSF bit.
43318 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43319 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43320 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43322 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43325 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43327 (tryshell): Define.
43328 (__spawni): Change last parameter to be flag. Test
43329 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43330 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43331 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43332 * posix/spawni.c: Likewise.
43333 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43334 * posix/spawnp.c: Likewise. Change normal version to use
43335 SPAWN_XFLAGS_USE_PATH.
43336 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43337 SPAWN_XFLAGS_TRY_SHELL.
43340 * posix/glob.h: Remove gcc 1.x support.
43343 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43345 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43348 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43350 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43351 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43352 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43353 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43354 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43355 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43357 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43359 * sysdeps/x86_64/wcscmp.S: New file.
43361 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43362 wcscmp-c wcscmp-sse2
43363 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43364 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43366 * wcsmbs/wcscmp.c: Allow renaming.
43368 2011-09-05 David S. Miller <davem@davemloft.net>
43370 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43371 stack slot, rather than the struct return pointer slot.
43372 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43373 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43375 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43377 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43379 * po/ja.po: Update from translation team.
43382 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43383 kernel in 64-bit binaries.
43385 2011-09-01 David S. Miller <davem@davemloft.net>
43387 * elf/elf.h (HWCAP_SPARC_*): Move to..
43388 * sysdeps/sparc/sysdep.h: this new file and add new values.
43389 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43390 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43391 _DL_HWCAP_COUNT to 24.
43392 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43394 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43395 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43396 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43398 instead of magic constants.
43399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43401 2011-08-31 David S. Miller <davem@davemloft.net>
43403 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43405 Reimplement to do errno handling inline.
43406 (SYSCALL_ERROR_HANDLER): New macro.
43407 (__SYSCALL_STRING): Do not do errno handling in asm.
43408 (__CLONE_SYSCALL_STRING): Delete.
43409 (__INTERNAL_SYSCALL_STRING): Delete.
43410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43411 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43412 (PSEUDO): Reimplement to do errno handling inline.
43413 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43414 (SYSCALL_ERROR_HANDLER): New macro.
43415 (__SYSCALL_STRING): Do not do errno handling in asm.
43416 (__CLONE_SYSCALL_STRING): Delete.
43417 (__INTERNAL_SYSCALL_STRING): Delete.
43418 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43419 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43421 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43422 (inline_syscall*): Add 'err' argument.
43423 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43424 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43425 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43426 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43428 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43429 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43431 2011-08-30 Andreas Schwab <schwab@redhat.com>
43433 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43435 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43437 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43440 2011-08-24 David S. Miller <davem@davemloft.net>
43442 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43444 2011-08-24 Andreas Schwab <schwab@redhat.com>
43446 * elf/Makefile: Add rules to build and run unload8 test.
43447 * elf/unload8.c: New file.
43448 * elf/unload8mod1.c: New file.
43449 * elf/unload8mod1x.c: New file.
43450 * elf/unload8mod2.c: New file.
43451 * elf/unload8mod3.c: New file.
43453 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43456 2011-08-23 David S. Miller <davem@davemloft.net>
43458 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43459 subtract stack bias.
43460 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43461 %sp not %fp in calculations.
43462 (_JMPBUF_UNWINDS_ADJ): Likewise.
43464 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43465 (aio_suspend): Call it to force an exception region around the
43466 AIO_MISC_WAIT() invocation.
43468 2011-08-23 Andreas Schwab <schwab@redhat.com>
43470 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43473 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43475 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43477 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43478 and <dl-machine.h>.
43479 (Elf64_FuncDesc): Remove.
43481 2011-08-22 David S. Miller <davem@davemloft.net>
43483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43484 sigaltstack check, add missing cfi directives.
43485 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43486 missing cfi directives, and sigaltstack handling.
43488 2011-08-16 Andreas Schwab <schwab@redhat.com>
43491 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43492 object is seen twice.
43493 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43495 * elf/Makefile (distribute): Add tst-initorder2.c.
43496 (tests): Add tst-initorder2.
43497 (modules-names): Add tst-initorder2a tst-initorder2b
43498 tst-initorder2c tst-initorder2d. Add rules to build them.
43499 ($(objpfx)tst-initorder2.out): New rule.
43500 * elf/tst-initorder2.c: New file.
43501 * elf/tst-initorder2.exp: New file.
43503 2011-08-22 Andreas Schwab <schwab@redhat.com>
43505 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43507 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43508 dependencies back to end of function.
43510 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43511 $(elfobjdir)/ld.so.
43513 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43515 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43516 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43517 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43518 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43519 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43520 of __vdso_gettimeofday.
43521 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43522 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43524 (_libc_vdso_platform_setup): Remove initialization of
43525 __vdso_gettimeofday and __vdso_time.
43527 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43529 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43530 and fgetc_unlocked.
43531 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43534 * elf/dl-open.c (add_to_global): Report additions to the global scope
43535 for LD_DEBUG=scopes.
43536 (dl_open_worker): Also print scope of newly loaded dependencies.
43537 (_dl_show_scope): Indicate if there is no scope.
43540 * stdio-common/Makefile (tests): Add bug24.
43541 * stdio-common/bug24.c: New file.
43543 2011-08-19 Andreas Jaeger <aj@suse.de>
43546 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43547 non-existant file when using close-on-exec mode.
43549 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43552 the very first instruction.
43554 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43555 the CFI state in the end.
43556 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43557 inclusion of dl-trampoline.h.
43558 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43560 2011-08-19 Andreas Schwab <schwab@redhat.com>
43562 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43563 expectations for long double.
43565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43566 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43568 2011-08-14 David S. Miller <davem@davemloft.net>
43570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43571 artificual limit depends upon the system page size.
43573 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43575 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43576 * resolv/Makefile: Define CFLAGS-libresolv.
43578 2011-08-17 Andreas Schwab <schwab@redhat.com>
43580 * nss/makedb.c (compute_tables): Make variables used in nested
43583 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43585 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43586 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43587 if buffer was too small.
43589 * elf/pldd.c (main): Attach to all threads in the process.
43590 Rewrite /proc handling to use *at functions.
43592 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43594 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43595 specifies first scope to show.
43596 (dl_open_worker): Update callers. Move printing scope of new
43597 object to before the relocation.
43598 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43599 * sysdeps/generic/ldsodefs.h: Update declaration.
43601 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43602 string for the scope number.
43604 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43606 * nscd/servicescache.c (cache_addserv): Make sure written is always
43609 2011-08-14 Roland McGrath <roland@hack.frob.com>
43611 * sysdeps/i386/i486/bits/atomic.h
43612 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43613 statement expression, so as to suppress "set but not used" warning.
43614 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43616 * string/strncat.c (STRNCAT): Use prototype definition.
43618 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43619 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43621 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43622 (localedef-modules): Add localedef.
43623 (locale-modules): Add locale.
43625 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43626 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43627 to avoid a warning.
43629 2011-08-14 David S. Miller <davem@davemloft.net>
43631 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43632 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43634 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43636 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43637 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43638 * elf/rtld.c (dl_main): Set l_name of vDSO.
43639 Call _dl_show_scope when DL_DEBUG_SCOPES.
43640 (process_dl_debug): Recognize scopes flag and also set it for all.
43641 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43642 Declare _dl_show_scope.
43644 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43645 (do_dlopen): Pass caller_dlopen to dl_open.
43646 (__libc_dlopen_mode): Initialize caller_dlopen.
43648 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43649 of libc. Make tolower call locale-independent. Optimize a bit by
43650 using isdigit instead of isalnum.
43651 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43653 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43655 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43656 was a dependency or dynamically loaded.
43658 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43660 * intl/l10nflist.c: Allow architecture-specific pop function.
43661 * sysdeps/x86_64/l10nflist.c: New file.
43663 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43666 2011-08-10 Andreas Schwab <schwab@redhat.com>
43668 * include/dirent.h: Add libc_hidden_proto for scandirat and
43669 scandirat64. Don't declare __scandirat64.
43670 * dirent/scandirat.c: Add libc_hidden_def.
43671 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43672 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43674 2011-08-10 David S. Miller <davem@davemloft.net>
43676 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43679 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43682 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43684 * Versions.def [libc]: Add GLIBC_2.15.
43685 * dirent/Makefile (routines): Add scandirat and scandirat64.
43686 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43688 * dirent/dirent.h: Declare scandirat and scandirat64.
43689 * dirent/scandirat.c: New file.
43690 * dirent/scandirat64.c: New file.
43691 * sysdeps/wordsize-64/scandirat.c: New file.
43692 * sysdeps/wordsize-64/scandirat64.c: New file.
43693 * dirent/opendir.c: Define opendirat.
43694 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43696 * dirent/scandir64.c: Adjust for scandir.c change.
43697 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43698 __scandirat64, and __scandir_cancel_handler.
43699 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43700 additional parameter and use openat instead of open (outside of ld.so).
43701 Add new __opendir as wrapper around __opendirat.
43702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43703 here without requiring old scandirat implementation.
43705 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43707 * dirent/scandir.c (cancel_handler): Renamed to
43708 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43709 defined. Adjust users.
43710 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43711 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43713 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43715 * string/test-string.h (IMPL): Use __STRING to expand name and then
43718 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43721 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43723 * string/Makefile: Update.
43724 (strop-tests): Append strncat.
43725 * string/test-wcscmp.c: New file.
43726 New comprehensive test for wcscmp.
43727 * string/test-strcmp.c: Update.
43728 (WIDE): New define.
43730 2011-07-22 Andreas Schwab <schwab@redhat.com>
43732 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43735 2011-07-26 Andreas Schwab <schwab@redhat.com>
43737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43738 encoding to ACE if AI_IDN.
43740 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43743 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43745 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43747 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43748 Fix overflow bug in strncat.
43749 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43751 * string/test-strncat.c: Update.
43752 Add new tests for checking overflow bugs.
43754 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43757 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43758 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43759 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43760 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43761 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43762 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43763 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43764 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43767 (USE_AS_STRCAT): Define.
43768 Add strcat and strncat support.
43769 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43771 2011-07-25 Andreas Schwab <schwab@redhat.com>
43773 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43774 __n bigger than INT_MAX+1.
43775 (__strncmp_g): Likewise.
43777 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43779 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43780 * libio/stido.h: Likewise.
43782 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43787 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43788 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43789 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43790 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43791 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43794 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43799 (_dl_x86_64_save_sse): Likewise.
43801 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43803 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43805 (_dl_x86_64_save_sse): Likewise.
43807 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43809 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43811 2011-07-21 Andreas Schwab <schwab@redhat.com>
43813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43815 (_dl_x86_64_save_sse): Use correct AVX check.
43817 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43819 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43820 bug in strncpy/strncat.
43821 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43823 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43825 * string/tester.c (test_strcat): Add tests for different alignments
43826 of source and destination.
43827 (test_strncat): Likewise.
43829 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43832 * posix/glob.c (glob): Check passed in values before using them in
43833 expressions to avoid some overflows.
43834 (glob_in_dir): Likewise.
43837 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43838 check for AVX enablement so that we don't crash with old kernels and
43840 * elf/tst-audit4.c: Add same checks here.
43841 * elf/tst-audit6.c: Likewise.
43843 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43845 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43847 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43849 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43851 * po/cs.po: Update from translation team.
43852 * po/bg.po: Likewise.
43854 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43856 * misc/sys/cdefs.h: Add support for const attribute.
43857 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43858 to gnu_dev_{major,minor,makedev} functions.
43860 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43862 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43864 2011-07-20 Andreas Schwab <schwab@redhat.com>
43866 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43869 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43872 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43873 register in order to avoid conflicts with the soft frame pointer
43874 being held in r11 when necessary.
43875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43876 (INTERNAL_VSYSCALL_NCS): Likewise.
43878 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43880 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43881 * elf/dl-fini.c (_dl_fini): Adjust caller.
43882 * elf/dl-close.c (_dl_close_worker): Likewise.
43883 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43885 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43887 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43888 "aux_cache->nlibs < 0".
43890 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43891 in the reload-count case.
43893 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43896 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43897 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43898 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43899 * sysdeps/x86_64/multiarch/strcat.S: New file.
43900 * sysdeps/x86_64/multiarch/strncat.S: New file.
43901 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43902 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43903 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43904 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43905 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43906 (USE_AS_STRCAT): Define.
43907 Add strcat and strncat support.
43908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43909 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43910 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43911 * string/strncat.c: Update.
43912 (USE_AS_STRNCAT): Define.
43913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43914 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43916 * sysdeps/x86_64/multiarch/init-arch.h
43917 (bit_Prefer_PMINUB_for_stringop): New.
43918 (index_Prefer_PMINUB_for_stringop): Likewise.
43919 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43920 bit_Prefer_PMINUB_for_stringop.
43922 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43924 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43926 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43927 of casting of buffer.
43928 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43929 buffer32 and buffer64.
43930 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43931 writes instead of casting of buffer.
43932 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43934 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43937 2011-07-19 Andreas Schwab <schwab@redhat.com>
43939 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43941 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43943 * nscd/nscd.c (termination_handler): Don't do anything for a database
43944 if it has not yet been initialized.
43946 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43948 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43950 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43952 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43954 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43956 * po/nl.po: Update from translation team.
43957 * po/sv.po: Likewise.
43959 2011-07-16 Roland McGrath <roland@hack.frob.com>
43961 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43962 now disallowed by GCC.
43964 * configure.in (use-default-link): Default to yes if a test -shared
43965 link meets our qualifications.
43966 * configure: Regenerated.
43968 * config.make.in (output-format): New variable.
43969 * configure.in: Check for ld --print-output-format support.
43970 * configure: Regenerated.
43971 * Makerules ($(common-objpfx)format.lds)
43972 [$(output-format) != unknown]: Just use $(output-format),
43973 instead of the linker-script munging.
43975 2011-07-14 Roland McGrath <roland@hack.frob.com>
43977 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43978 of $(common-objpfx)shlib.lds.
43979 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43981 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43982 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43984 * configure.in (-z relro check): Adjust test code to add a large
43985 writable data section after it.
43986 * configure: Regenerated.
43988 2011-07-11 Roland McGrath <roland@hack.frob.com>
43990 * configure.in (-z relro check): Fix test code to make the variable
43992 * configure: Regenerated.
43994 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43996 * nscd/nscd.h (struct traced_file): Define.
43997 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43998 elements. Add traced_files.
43999 (inotify_fd): Declare.
44000 (register_traced_file): Declare.
44001 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44002 (inotify_fd): Export.
44003 (resolv_conf_descr): Remove.
44004 (nscd_init): Move inotify descriptor creation to main.
44005 Don't register files for notification here.
44006 (register_traced_file): New function.
44007 (invalidate_cache): Don't use reset_res to determine whether to call
44008 res_init, go through the list of registered files.
44009 (main_loop_poll): The inotify descriptors are now stored in the
44010 structures for the traced files.
44011 (main_loop_epoll): Likewise
44012 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44013 to __nss_disable_nscd.
44014 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44015 for a database anymore. Check the records for all the registered
44017 * nss/Makefile (libnss_files-routines): Add files-init.
44018 (libnss_db-routines): Add db-init.
44019 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44020 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44021 * nss/nss_db/db-init.c: New file.
44022 * nss/nss_files/files-init.c: New file.
44023 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44024 __nss_lookup_function.
44025 (__nss_lookup_function): Call nss_load_library.
44026 (nss_load_all_libraries): New function.
44027 (__nss_disable_nscd): Take parameter with callback function for files
44028 to register. Set is_nscd. Load all the DSOs for the NSS modules
44029 used for the cached services.
44030 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44031 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44032 options for features to all the files in nscd.
44034 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44036 2011-07-10 Roland McGrath <roland@hack.frob.com>
44038 * csu/elf-init.c (__libc_csu_init): Comment typo.
44040 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44042 * po/pl.po: Update from translation team.
44043 * po/ja.po: Likewise.
44044 * po/ru.po: Likewise.
44045 * po/ko.po: Likewise.
44046 * po/fr.po: Likewise.
44048 2011-07-09 Roland McGrath <roland@hack.frob.com>
44050 * configure.in (.ctors/.dtors header and trailer check):
44051 Use an empirical test on a built program.
44052 * configure: Regenerated.
44054 * configure.in (-z relro check): Use an empirical test on a built DSO.
44055 Detect, but do not require, on ia64.
44056 * configure: Regenerated.
44058 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44059 Update tests that use readelf to use $READELF instead.
44060 * configure: Regenerated.
44062 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44064 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44065 if the result is not used.
44067 2011-07-05 Andreas Jaeger <aj@suse.de>
44070 * stdlib/tst-strtod.c: Add testcase.
44072 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44074 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44075 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44076 The latter has a higher limit. Take additional parameter to pass to
44078 (__pathconf): Pass file to __statfs_link_max.
44079 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44081 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44085 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44089 (__statfs_filesize_max): Likewise.
44090 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44092 2011-07-05 Andreas Jaeger <aj@suse.de>
44094 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44096 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44098 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44100 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44103 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44105 * Makefile (strop-tests): Add strncat.
44106 * string/test-strncat.c: New file.
44108 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44110 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44112 2011-06-21 Andreas Jaeger <aj@suse.de>
44114 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44115 Copy rule from iconvdata/Makefile.
44117 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44120 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44121 but no long options are defined, just return 'W'.
44123 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44126 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44128 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44130 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44132 (innetgr): Likewise.
44134 2011-07-05 Roland McGrath <roland@hack.frob.com>
44136 * config.make.in (install_root): Default to $(DESTDIR).
44138 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44140 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44142 2011-07-02 Roland McGrath <roland@hack.frob.com>
44144 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44146 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44147 containing directory rather than embedding absolute directory names.
44149 * scripts/check-local-headers.sh: Rewritten using awk.
44150 Match by word, not by line. Print error messages for matches.
44151 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44153 * Makerules [shlib-lds-flags empty]:
44154 ($(common-objpfx)libc_pic.opts): New target.
44155 ($(common-objpfx)libc_pic.os.clean): New target.
44156 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44158 * config.make.in (OBJCOPY): New variable.
44159 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44160 * configure: Regenerated.
44162 * config.make.in (use-default-link): New variable.
44163 * configure.in (use_default_link): Grok --with-default-link to set it.
44164 * configure: Regenerated.
44165 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44166 (shlib-lds, shlib-lds-flags): Define to empty.
44168 * Makerules (shlib-lds): New variable.
44169 (shlib-lds-flags): New variable.
44170 (build-shlib, build-moduile, build-module-asneeded): Use it.
44171 ($(common-objpfx)libc.so): Use $(shlib-lds).
44172 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44173 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44175 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44176 DT_FLAGS/DT_FLAGS_1 with zero flags.
44178 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44179 linker script munging.
44181 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44183 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44185 * crypt/sha512.c (sha512_process_block): Perform total addition using
44186 128-bit if possible.
44187 (__sha512_finish_ctx): Likewise.
44188 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44190 * crypt/sha256.c (SWAP64): Define.
44191 (sha256_process_block): Perform total addition using 64-bit if
44193 (__sha256_finish_ctx): Likewise.
44195 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44197 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44199 * nscd/hstcache.c (cache_addhst): Likewise.
44200 * nscd/grpcache.c (cache_addgr): Likewise.
44201 * nscd/aicache.c (addhstaiX): Likewise
44202 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44204 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44206 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44208 * nscd/hstcache.c (cache_addhst): Likewise.
44209 * nscd/grpcache.c (cache_addgr): Likewise.
44210 * nscd/aicache.c (addhstaiX): Likewise
44212 2011-07-01 Andreas Schwab <schwab@redhat.com>
44214 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44215 domain only when needed.
44217 2011-06-30 Andreas Schwab <schwab@redhat.com>
44219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44220 is always restored.
44222 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44224 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44225 are re-adding the entry.
44226 * nscd/servicescache.c (cache_addserv): Likewise.
44228 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44230 * sysdeps/generic/dl-irel.h: fix protection against multiple
44232 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44234 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44237 * malloc/memusage.sh: Fix quoting in message.
44238 * debug/xtrace.sh: Likewise.
44240 * configure.in: Remove support for --experimental-malloc option, make
44242 * config.make.in: Likewise.
44243 * malloc/Makefile: Likewise.
44245 2011-06-27 Andreas Schwab <schwab@redhat.com>
44247 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44248 two-byte characters.
44250 2011-06-27 Roland McGrath <roland@hack.frob.com>
44252 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44253 AC_CACHE_CHECK invocation.
44254 * configure: Regenerated.
44256 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44258 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44261 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44262 bit from old_res_options.
44264 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44266 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44267 value type for setfct.
44269 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44272 __gettimeofday instead of gettimeofday.
44274 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44276 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44278 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44280 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44282 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44285 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44288 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44289 strcpy-sse2-unaligned strncpy-sse2-unaligned
44290 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44291 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44292 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44293 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44294 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44295 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44296 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44297 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44298 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44299 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44300 (STRCPY): Support SSE2 and SSSE3 versions.
44302 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44306 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44307 kernels which artificially limit size of requests.
44309 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44312 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44313 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44314 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44315 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44316 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44317 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44318 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44319 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44321 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44322 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44323 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44324 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44325 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44327 Enable unaligned load optimization for Intel Core i3, i5 and i7
44329 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44331 (index_Fast_Unaligned_Load): Define.
44332 (HAS_FAST_UNALIGNED_LOAD): Define.
44334 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44336 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44338 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44342 until it is clear that the information is realy needed.
44343 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44345 2011-06-22 Andreas Schwab <schwab@redhat.com>
44347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44349 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44352 /sys/devices/system/cpu/online if it is usable.
44354 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44355 reading the information from the /proc filesystem to once a second.
44357 2011-06-21 Andreas Jaeger <aj@suse.de>
44359 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44360 NULL after inclusion of kernel headers.
44362 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44364 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44365 calls to internal_setent.
44368 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44369 addresses using gethostbyname4_r ignore IPv4 addresses.
44371 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44372 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44374 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44376 2011-06-20 David S. Miller <davem@davemloft.net>
44378 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44380 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44382 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44383 (elf_irel): Use it.
44384 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44385 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44386 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44387 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44388 * sysdeps/x86_64/dl-irel.h: Likewise.
44390 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44391 * elf/dl-sym.c: Likewise.
44393 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44395 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44396 need to dereference resplen2.
44398 2011-06-14 Andreas Schwab <schwab@redhat.com>
44400 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44402 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44404 * Makeconfig: Define vardbdir and inst_vardbdir.
44405 * nss/Makefile: Add rules to install db-Makefile.
44407 * nss/nss_db/db-XXX.c: Cleanup.
44409 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44410 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44412 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44413 * nss/makedb.c: Implement -g option to specify that value strings
44414 are generated and should not be added to table iterated over for
44416 * nss/nss_db/db-initgroups.c: New file.
44418 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44421 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44422 (internal_getgrouplist): Adjust to name change.
44423 Update use_initgroups_entry if this is not the first call.
44424 * nss/databases.def: Add initgroups entry.
44426 * nss/makedb.c (compute_tables): Check result of multiple hash table
44427 sizes to minimize maximum chain length.
44429 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44431 * Versions.def: Add entry for libnss_db.
44432 * shlib-versions: Likewise.
44433 * nss/Makefile: Add rules to build libnss_db.
44434 * nss/Versions: Add libnss_db information. Organize libnss_files
44436 * nss/db-Makefile: Add gshadow support. Change rules for the new
44437 makedb progra. Some minor improvements to generate smaller files.
44438 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44440 * nss/makedb.c: ...here.
44441 Improve database format to be smaller and require less memory at
44443 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44445 * nss/nss_db/db-netgrp.c: Likewise.
44446 * nss/nss_db/db-open.c: Likewise.
44447 * nss/nss_files/flies-XXX.x: Adjust comments.
44448 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44449 * nss/nss_files/files-grp.c: Likewise.
44450 * nss/nss_files/files-hosts.c: Likewise.
44451 * nss/nss_files/files-network.c: Likewise.
44452 * nss/nss_files/files-proto.c: Likewise.
44453 * nss/nss_files/files-pwd.c: Likewise.
44454 * nss/nss_files/files-rpc.c: Likewise.
44455 * nss/nss_files/files-service.c: Likewise.
44456 * nss/nss_files/files-sgrp.c: Likewise.
44457 * nss/nss_files/files-spwd.c: Likewise.
44458 * nss/nss_db/db-alias.c: Removed.
44459 * nss/nss_db/dummy-db.h: Removed.
44461 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44463 * nss/makedb.c: Rewritten to not use database library.
44464 * nss/Makefile: Update to build new makedb program.
44466 2011-06-14 Andreas Jaeger <aj@suse.de>
44468 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44469 memset declaration.
44471 2011-06-10 Andreas Schwab <schwab@redhat.com>
44473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44476 2011-06-10 Roland McGrath <roland@hack.frob.com>
44478 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44479 * elf/Makefile ($(objpfx)ld.so): Likewise.
44481 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44482 Don't list ld.so twice in dependencies.
44484 * posix/bug-regex31.c: Include <stdlib.h>.
44486 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44488 * nis/nss_compat/compat-spwd.c
44489 (getspent_next_nss_netgr): Remove unused variable.
44490 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44492 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44493 nonmembers" output to use the right array.
44495 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44497 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44499 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44500 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44501 * catgets/gencat.c (read_input_file): Likewise.
44502 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44504 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44505 variable definition inside #if's controlling its use.
44507 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44509 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44511 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44513 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44516 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44518 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44519 * configure: Regenerated.
44521 * Makerules: Revert last change.
44522 * elf/Makefile: Likewise.
44524 2011-06-09 Roland McGrath <roland@hack.frob.com>
44526 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44527 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44528 (reloc-link): Likewise.
44530 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44532 * elf/Makefile: Add rules to build pldd.
44533 * elf/pldd.c: New file.
44534 * elf/pldd-xx.c: New file.
44536 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44538 * version.h: Update for 2.15 development version.
44540 2011-06-07 David S. Miller <davem@davemloft.net>
44542 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44544 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44545 elf_machine_lazy_rel): Likewise.
44546 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44548 elf_machine_lazy_rel): Likewise.
44549 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44550 dl_hwcap via passed in argument.
44551 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44554 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44556 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44558 2011-06-06 Roland McGrath <roland@hack.frob.com>
44561 * manual/fdl-1.1.texi: New file, verbatim from:
44562 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44563 * manual/lgpl-2.1.texi: New file, verbatim from:
44564 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44565 * manual/Makefile (licenses): New variable, list those new file names.
44567 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44569 * manual/fdl.texi: File removed.
44570 * manual/lesser.texi: File removed.
44571 * manual/libc.texinfo (Copying, Documentation License):
44572 Use new @include file names, put @appendix directive before @include.
44574 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44577 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44578 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44579 (mq_open): Add __NTH.
44581 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44584 Assume Intel Core i3/i5/i7 processor if AVX is available.
44586 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44591 2011-05-31 Andreas Schwab <schwab@redhat.com>
44593 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44594 memory. Use alloca_account. Fix memory leak when retrying.
44596 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44598 * version.h (RELEASE): Bump for 2.14 release.
44599 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44601 * config.make.in (RANLIB): Remove entry.
44603 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44605 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44606 (libc.pot): Work around missing support for .ksh extension in xgettext.
44609 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44610 if both request failed.
44611 (send_dg): In case of server errors clear resplen or *resplen2.
44614 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44615 when there are multiple maps.
44616 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44617 (_dl_fini): Remove test here.
44619 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44621 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44624 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44625 bit from old_res_options.
44626 (gaih_inet): Likewise.
44629 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44632 * resolv/res_init.c (res_setoptions): Make the code more compact.
44635 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44639 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44641 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44644 * malloc/malloc.h: Declare malloc hook variables as volatile.
44646 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44650 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44651 raise in the comment.
44652 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44654 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44656 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44659 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44660 grow the buffers more if it already has to be sufficient.
44661 (build_wcs_upper_buffer): Likewise.
44662 * posix/regexec.c (check_matching): Likewise.
44663 (clean_state_log_if_needed): Likewise.
44664 (extend_buffers): Don't enlarge buffers beyond size of the input
44666 Patches mostly by Emil Wojak <emil@wojak.eu>.
44667 * posix/bug-regex32.c: New file.
44668 * posix/Makefile (tests): Add bug-regex32.
44670 * locale/findlocale.c (_nl_find_locale): Return right away if
44671 _nl_explode_name failed.
44672 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44674 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44676 * debug/xtrace.sh: Unify messages.
44677 * malloc/memusage.sh: Likewise.
44680 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44681 time symbol from vDSO. Substitute with vsyscall if not available.
44682 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44685 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44686 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44687 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44688 Add sendmmsg and internal_sendmmsg.
44689 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44690 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44691 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44693 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44694 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44697 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44700 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44701 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44703 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44707 * iconvdata/Makefile (tests): Add bug-iconv9.
44708 * iconvdata/bug-iconv9.c: New file.
44710 2011-05-27 Andreas Schwab <schwab@redhat.com>
44713 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44715 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44718 (struct user_regs_struct): Change intcs field back to cs.
44720 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44722 * po/ja.po: Update from translation team.
44724 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44727 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44728 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44730 2011-05-20 Andreas Schwab <schwab@redhat.com>
44732 * stdlib/longlong.h: Update from GCC.
44734 2011-05-23 Andreas Schwab <schwab@redhat.com>
44736 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44738 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44739 Add parameter name.
44740 (__sysconf): Pass it down.
44742 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44745 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44748 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44749 add in in __libc_use_alloca calls. Adjust callers.
44750 (glob): Use malloc in some situations.
44752 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44753 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44756 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44758 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44759 and CLOCK_BOOTTIME_ALARM.
44762 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44765 * string/_strerror.c (__strerror_r): Print negative errors as signed
44769 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44770 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44771 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44773 * configure.in: Fix typo in redirection and correct removal of test
44774 files in two cases.
44777 * locale/setlocale.c (new_composite_name): Fix test to check for
44778 identical name of all categories.
44781 * libio/filedoalloc.c (local_isatty): New function.
44782 (_IO_file_doallocate): Use local_isatty.
44783 * stdio-common/perror.c (perror): In case a new stream is used
44784 forward the stream error.
44785 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44788 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44793 * include/alloca.h (extend_alloca_account): Define.
44796 * posix/regex.h: Fix comments with documentation of user-accessible
44797 fields after compilation and describe correct free'ing of pattern
44798 after re_compile_pattern.
44799 Patch by Reuben Thomas <rrt@sc3d.org>.
44801 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44803 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44804 and -mno-altivec to prevent the compiler from using Altivec and/or
44805 VSX instructions when the corresponding registers are not available.
44807 2011-05-19 Andreas Schwab <schwab@redhat.com>
44809 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44811 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44813 * libio/freopen.c (freopen): Use __dup2, not dup2.
44814 * libio/freopen64.c (freopen64): Likewise.
44816 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44819 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44820 * math/Makefile (tests): Add test-powl.
44821 (CFLAGS-test-powl.c): Define.
44822 * math/test-powl.c: New file.
44824 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44826 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44828 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44831 * iconvdata/gb18030.c: Update to GB18020-2005.
44833 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44835 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44836 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44837 Patch by Aharon Robbins <arnold@skeeve.com>.
44840 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44844 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44845 through underflows.
44848 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44849 point to strings before performing equality test for error_one_per_line
44853 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44856 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44857 (struct user_fpregs_struct): Avoid __uint*_t types.
44860 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44861 symbol info. Use it instead of calling _dl_addr locally.
44862 (lock_and_info): New function.
44863 (tr_freehook): Call lock_and_info and pass symbol info as additional
44864 parameter to tr_where.
44865 (tr_mallochook): Likewise.
44866 (tr_reallochook): Likewise.
44867 (tr_memalignhook): Likewise.
44869 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44870 used and couldn't be at all thread-safe.
44872 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44874 * libio/freopen.c (freopen): Don't close old file descriptor
44875 before the new one is opened. Instead dup the new file descriptor
44876 to the old one after the new stream is created.
44877 * libio/freopen64.c (freopen64): Likewise.
44878 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44879 * libio/fileops.c (_IO_new_file_close_it): Handle new
44880 _IO_FLAGS2_NOCLOSE flag.
44881 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44882 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44883 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44884 _IO_FLAGS2_NOCLOSE flag.
44885 * include/unistd.h: Add hidden_proto for dup3.
44886 Define __have_dup3.
44887 * io/dup3.c: Define hidden symbol.
44888 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44891 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44892 when an incomplete long option is used.
44893 * posix/tst-getopt_long1.c: New file.
44894 * posix/Makefile (tests): Add tst-getopt_long1.
44897 * scripts/config.guess: Update from autoconf-2.68.
44898 * scripts/config.sub: Likewise.
44901 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44903 (has_cpuclock): ...this. New function.
44904 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44905 macro here based on has_cpuclock code.
44908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44909 First byte (not low byte) is now always NUL.
44910 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44913 Use non-cancelable interfaces.
44916 * locale/iso-639.def: Add entry for Sorani.
44919 * include/stdlib.h: Move include protection to the right place.
44920 Define abort_msg_s. Declare __abort_msg with it.
44921 * stdlib/abort.c (__abort_msg): Adjust type.
44922 * assert/assert.c (__assert_fail_base): New function. Majority
44923 of code from __assert_fail. Allocate memory for __abort_msg with
44925 (__assert_fail): Now call __assert_fail_base.
44926 * assert/assert-perr.c: Remove bulk of implementation. Use
44927 __assert_fail_base.
44928 * include/assert.hL Declare __assert_fail_base.
44929 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44931 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44933 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44937 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44938 until all modules are registered in the DTV.
44939 * elf/Makefile: Add rules to build and run tst-tls19.
44940 * elf/tst-tls19.c: New file.
44941 * elf/tst-tls19mod1.c: New file.
44942 * elf/tst-tls19mod2.c: New file.
44943 * elf/tst-tls19mod3.c: New file.
44944 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44947 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44951 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44952 two-byte sequence errors.
44953 * iconvdata/Makefile (tests): Add bug-iconv8.
44954 * iconvdata/bug-iconv8.c: New file.
44957 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44960 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44963 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44964 (dummy_getcfa): New function.
44965 (init): Get _Unwind_GetCFA address, use dummy if not found.
44966 (backtrace_helper): In recursion check, also check whether CFA changes.
44967 (__backtrace): Completely initialize arg.
44969 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44970 storing incomplete byte sequence in state object. Avoid testing for
44971 guaranteed too small input if we know there is enough data available.
44973 2011-05-11 Andreas Schwab <schwab@redhat.com>
44975 * Makeconfig (+link-pie): Indent.
44976 * Rules (binaries-pie): Define if $(have-fpie) and
44978 (binaries-shared): Also filter out $(binaries-pie).
44979 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44980 * nscd/Makefile (others-pie): Add nscd.
44981 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44982 ($(objpfx)nscd): Remove command override.
44983 * login/Makefile (others-pie): Add pt_chown.
44984 ($(objpfx)pt_chown): Remove command override.
44985 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44986 remove command overrides.
44988 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44990 * libio/tst_putwc.c: Fix error messages.
44993 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44994 currently writing and seek to current position when not.
44995 * libio/Makefile (tests): Add bug-fclose1.
44996 * libio/bug-fclose1.c: New file.
44998 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45001 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45002 don't set DF_1_NODELETE here.
45003 (do_lookup_x): When entering new entry test for copy relocation
45004 and if necessary set DF_1_NODELETE flag.
45005 * elf/tst-unique4.cc: New file.
45006 * elf/tst-unique4.h: New file.
45007 * elf/tst-unique4lib.cc: New file.
45008 * elf/Makefile: Add rules to build and run tst-unique4.
45009 Patch by Piotr Bury <pbury@goahead.com>.
45011 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45014 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45017 * misc/mntent_r.c (addmntent): Flush the stream after the output
45020 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45021 (is_trusted_path_normalize): Skip initial colon. Append slash
45022 to empty buffer. Duplicate is_trusted_path code but allow
45023 constructed patch to be prefix.
45024 (is_dst): Allow $ORIGIN followed by /.
45025 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45026 Correct testing of result of is_trusted_path_normalize
45027 (decompose_rpath): Fix warning.
45029 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45032 * grp/initgroups.c (internal_getgrouplist): When we found the service
45033 list through the initgroups entry in nsswitch.conf do not always
45034 continue on a successful lookup. Don't always use the
45035 __nss_group_database value if it is set.
45036 * nss/nsswitch.conf (initgroups): Change action for successful db
45037 lookup to continue for compatibility.
45039 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45042 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45044 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45046 * iconvdata/tst-tables.sh: Likewise.
45047 * iconvdata/cp770.c: New file.
45048 * iconvdata/cp771.c: New file.
45049 * iconvdata/cp772.c: New file.
45050 * iconvdata/cp773.c: New file.
45051 * iconvdata/cp774.c: New file.
45052 * iconvdata/testdata/CP770: New file.
45053 * iconvdata/testdata/CP770..UTF8: New file.
45054 * iconvdata/testdata/CP771: New file.
45055 * iconvdata/testdata/CP771..UTF8: New file.
45056 * iconvdata/testdata/CP772: New file.
45057 * iconvdata/testdata/CP772..UTF8: New file.
45058 * iconvdata/testdata/CP773: New file.
45059 * iconvdata/testdata/CP773..UTF8: New file.
45060 * iconvdata/testdata/CP774: New file.
45061 * iconvdata/testdata/CP774..UTF8: New file.
45063 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45065 * iconvdata/gen-8bit-gap.sh: Likewise.
45066 * iconvdata/gen-8bit.sh: Likewise.
45068 * locale/iso-639.def: Add ary entry.
45071 * locale/C-translit.h.in: Add U20A1 transliteration.
45074 * locale/iso-639.def: Add wae entry.
45075 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45078 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45082 * locale/C-translit.h.in: Add entry for U20B9.
45083 Patch by pravin.d.s@gmail.com.
45085 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45088 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45089 ENAMETOOLONG use generic getcwd.
45090 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45091 in rtld. Use *stat64.
45092 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45093 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45094 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45095 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45096 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45097 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45098 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45099 __fstatat64 macros.
45100 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45101 * dirent/rewinddir.c: Add libc_hidden_def.
45102 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45103 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45105 * include/dirent.h (__alloc_dir): Add flags parameter.
45106 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45107 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45109 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45110 from fdopendir if O_CLOEXEC is already set.
45112 2011-03-15 Alan Modra <amodra@gmail.com>
45114 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45115 l_tls_firstbyte_offset non-zero. Save padding offset in
45116 l_tls_firstbyte_offset for later use.
45117 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45118 freeing static tls block.
45120 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45122 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45123 where #ifdef was intended. The intent is to prevent ARG_MAX from
45124 being defined by the kernel headers.
45126 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45129 * resolv/resolv.h: Define RES_NOTLDQUERY.
45130 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45131 no-tld-query and set RES_NOTLDQUERY.
45132 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45133 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45134 modern BIND to search name as TLD unless forbidden.
45136 2011-05-07 Petr Baudis <pasky@suse.cz>
45137 Ulrich Drepper <drepper@gmail.com>
45140 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45141 (is_trusted_path): ...to here.
45142 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45143 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45144 using is_trusted_path_normalize() in setuid scripts.
45146 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45148 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45149 __BEGIN/__END_DECLS.
45151 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45153 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45154 NSS_STATUS_NOTFOUND if no record was found.
45156 2011-05-05 Andreas Schwab <schwab@redhat.com>
45158 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45159 (headers-not-in-tirpc): Remove rpc/netdb.h
45160 * resolv/netdb.h: Revert last change.
45162 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45164 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45165 circular dependency between libgcc.a and libc.a.
45167 2011-05-05 Andreas Schwab <schwab@redhat.com>
45169 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45170 * nis/Makefile: Don't install rpcsvc/*.
45171 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45172 instead of <rpc/types.h>.
45173 (MAXHOSTNAMELEN): Define.
45175 2011-05-03 Andreas Schwab <schwab@redhat.com>
45177 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45179 2011-04-28 Maciej Babinski <mbabinski@google.com>
45182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45183 gethostbyname4_r when IPv6 results are possible.
45185 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45188 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45189 _PC_PIPE_BUF handling.
45191 2011-04-30 Bruno Haible <bruno@clisp.org>
45194 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45195 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45197 * inet/getnameinfo.c (getnameinfo): Likewise.
45199 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45201 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45202 to groups setting in database lookup.
45203 * nss/nsswitch.conf: Add initgroups entry.
45205 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45208 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45210 Patch by Eric Blake <eblake@redhat.com>.
45212 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45214 * sunrpc/Makefile (need-export-routines): Add svc_run.
45215 (routines): Remove svc_run.
45216 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45217 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45218 * sunrpc/svc_run.c (svc_run): Likewise.
45219 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45221 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45223 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45224 problem in reallocation in last patch.
45226 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45228 * sunrpc/Makefile: Move inclusion of Rules.
45230 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45232 * nss/nss_files/files-initgroups.c: New file.
45233 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45234 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45235 _nss_files_initgroups_dyn.
45237 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45239 * elf/elf.h (R_ARM_IRELATIVE): Define.
45241 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45243 * po/ru.po: Update from translation team.
45245 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45247 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45250 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45253 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45254 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45257 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45259 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45261 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45263 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45264 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45265 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45267 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45270 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45272 * stdlib/bug-getcontext.c: New file.
45273 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45275 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45277 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45278 instructions into .machine "z9-109".
45279 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45280 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45282 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45284 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45285 between environment variables and auxiliary vector.
45287 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45289 * Makefile: Add rules to build linkobj/libc.so.
45290 * include/libc-symbols.h: Define libc_hidden_nolink.
45291 * include/rpc/auth.h: Mark functions which are to be hidden.
45292 * include/rpc/auth_des.h: Likewise.
45293 * include/rpc/auth_unix.h: Likewise.
45294 * include/rpc/clnt.h: Likewise.
45295 * include/rpc/des_crypt.h: Likewise.
45296 * include/rpc/key_prot.h: Likewise.
45297 * include/rpc/pmap_clnt.h: Likewise.
45298 * include/rpc/pmap_prot.h: Likewise.
45299 * include/rpc/pmap_rmt.h: Likewise.
45300 * include/rpc/rpc_msg.h: Likewise.
45301 * include/rpc/svc.h: Likewise.
45302 * include/rpc/svc_auth.h: Likewise.
45303 * include/rpc/xdr.h: Likewise.
45304 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45305 * nss/Makefile: Likewise.
45306 * sunrpc/Makefile: Don't install headers. Build library with normal
45307 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45308 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45309 for the compat linking library. Remove use of INTDEF/INTUSE.
45310 * sunrpc/auth_none.c: Likewise.
45311 * sunrpc/auth_unix.c: Likewise.
45312 * sunrpc/authdes_prot.c: Likewise.
45313 * sunrpc/authuxprot.c: Likewise.
45314 * sunrpc/clnt_gen.c: Likewise.
45315 * sunrpc/clnt_perr.c: Likewise.
45316 * sunrpc/clnt_raw.c: Likewise.
45317 * sunrpc/clnt_simp.c: Likewise.
45318 * sunrpc/clnt_tcp.c: Likewise.
45319 * sunrpc/clnt_udp.c: Likewise.
45320 * sunrpc/clnt_unix.c: Likewise.
45321 * sunrpc/des_crypt.c: Likewise.
45322 * sunrpc/des_soft.c: Likewise.
45323 * sunrpc/get_myaddr.c: Likewise.
45324 * sunrpc/key_call.c: Likewise.
45325 * sunrpc/key_prot.c: Likewise.
45326 * sunrpc/netname.c: Likewise.
45327 * sunrpc/pm_getmaps.c: Likewise.
45328 * sunrpc/pm_getport.c: Likewise.
45329 * sunrpc/pmap_clnt.c: Likewise.
45330 * sunrpc/pmap_prot.c: Likewise.
45331 * sunrpc/pmap_prot2.c: Likewise.
45332 * sunrpc/pmap_rmt.c: Likewise.
45333 * sunrpc/publickey.c: Likewise.
45334 * sunrpc/rpc_cmsg.c: Likewise.
45335 * sunrpc/rpc_common.c: Likewise.
45336 * sunrpc/rpc_dtable.c: Likewise.
45337 * sunrpc/rpc_prot.c: Likewise.
45338 * sunrpc/rpc_thread.c: Likewise.
45339 * sunrpc/rtime.c: Likewise.
45340 * sunrpc/svc.c: Likewise.
45341 * sunrpc/svc_auth.c: Likewise.
45342 * sunrpc/svc_authux.c: Likewise.
45343 * sunrpc/svc_raw.c: Likewise.
45344 * sunrpc/svc_run.c: Likewise.
45345 * sunrpc/svc_simple.c: Likewise.
45346 * sunrpc/svc_tcp.c: Likewise.
45347 * sunrpc/svc_udp.c: Likewise.
45348 * sunrpc/svc_unix.c: Likewise.
45349 * sunrpc/svcauth_des.c: Likewise.
45350 * sunrpc/xcrypt.c: Likewise.
45351 * sunrpc/xdr.c: Likewise.
45352 * sunrpc/xdr_array.c: Likewise.
45353 * sunrpc/xdr_float.c: Likewise.
45354 * sunrpc/xdr_intXX_t.c: Likewise.
45355 * sunrpc/xdr_mem.c: Likewise.
45356 * sunrpc/xdr_rec.c: Likewise.
45357 * sunrpc/xdr_ref.c: Likewise.
45358 * sunrpc/xdr_sizeof.c: Likewise.
45359 * sunrpc/xdr_stdio.c: Likewise.
45361 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45364 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45365 * sysdeps/ia64/dl-tls.h: Likewise.
45366 * sysdeps/powerpc/dl-tls.h: Likewise.
45367 * sysdeps/s390/dl-tls.h: Likewise.
45368 * sysdeps/sh/dl-tls.h: Likewise.
45369 * sysdeps/sparc/dl-tls.h: Likewise.
45370 * sysdeps/x86_64/dl-tls.h: Likewise.
45371 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45373 2011-03-14 Andreas Schwab <schwab@redhat.com>
45375 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45376 rpath element also skip the following colon.
45377 (expand_dynamic_string_token): Add is_path parameter and pass
45378 down to DL_DST_REQUIRED and _dl_dst_substitute.
45379 (decompose_rpath): Call expand_dynamic_string_token with
45380 non-zero is_path. Ignore empty rpaths.
45381 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45384 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45389 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45392 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45393 Patch by Filipe David Manana <fdmanana@apache.org>.
45395 2011-04-07 Andreas Schwab <schwab@redhat.com>
45397 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45398 Maintain aligned stack.
45399 (CHECK_RSP): Remove unused macro.
45401 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45403 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45404 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45406 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45408 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45410 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45412 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45415 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45416 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45417 * sysdeps/x86_64/memmove.c: New file.
45418 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45419 (memcpy): Renamed to ...
45420 (__new_memcpy): This.
45421 (memcpy): Provide GLIBC_2_14 memcpy.
45422 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45423 (memcpy): Provide GLIBC_2_2_5 memcpy.
45425 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45428 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45430 2011-03-30 Andreas Schwab <schwab@redhat.com>
45432 * misc/syncfs.c: New file.
45433 * misc/Makefile (routines): Add syncfs.
45434 * posix/unistd.h: Declare syncfs.
45435 * sysdeps/unix/syscalls.list: Add syncfs.
45437 2011-04-01 Andreas Schwab <schwab@redhat.com>
45439 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45441 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45442 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45444 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45446 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45447 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45449 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45451 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45453 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45459 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45460 sync_file_range.c with -fexceptions.
45461 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45462 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45463 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45464 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45465 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45466 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45468 sync_file_range as cancellation point
45469 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45470 now a wrapper around __call_sync_file_range with cancellation handling.
45471 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45472 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45473 function name to __call_sync_file_range.
45474 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45475 Add call_sync_file_range.
45477 2011-04-01 Andreas Schwab <schwab@redhat.com>
45479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45482 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45484 * iconv/iconv.h: Fix typo in comment.
45485 * io/fcntl.h: Likewise.
45486 * libio/stdio.h: Likewise.
45487 * posix/spawn.h: Likewise.
45488 * posix/unistd.h: Likewise.
45489 * stdlib/stdlib.h: Likewise.
45490 * time/time.h: Likewise.
45491 * wcsmbs/wchar.h: Likewise.
45493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45494 open_by_handle): Add.
45495 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45496 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45497 Augment a few comments.
45498 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45502 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45503 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45506 * io/fcntl.h (AT_EMPTY_PATH): Define.
45508 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45510 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45511 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45512 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45514 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45515 * Versions.def: Add GLIBC_2.14.
45516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45519 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45521 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45523 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45525 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45528 * string/test-strncmp.c (do_page_test): New function.
45529 (check2): Likewise.
45530 (test_main): Call check2.
45531 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45533 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45537 Handle cache information in CPU leaf 4.
45538 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45540 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45543 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45544 character representation.
45545 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45547 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45549 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45550 END(__isnan) to END(__isnanf) to match function entry point/label
45551 EALIGN(__isnanf,...).
45553 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45555 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45557 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45560 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45561 copy from the symbol referenced in the relocation to initialize the
45563 Patch by Piotr Bury <pbury@goahead.com>.
45564 * elf/Makefile: Add rules to build and tst-unique3.
45565 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45566 * elf/tst-unique3.cc: New file.
45567 * elf/tst-unique3.h: New file.
45568 * elf/tst-unique3lib.cc: New file.
45569 * elf/tst-unique3lib2.cc: New file.
45571 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45573 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45575 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45576 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45579 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45581 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45582 to-be-loaded object along a path to loader is ld.so.
45584 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45585 Ulrich Drepper <drepper@gmail.com>
45587 * sysdeps/x86_64/memset.S: After aligning destination, code
45588 branches to different locations depending on the value of
45589 misalignment, when multiarch is enabled. Fix this.
45591 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45593 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45594 Set _x86_64_preferred_memory_instruction for AMD processsors.
45595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45596 Set bit_Prefer_SSE_for_memop for AMD processors.
45598 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45600 * libio/fmemopen.c (fmemopen): Optimize a bit.
45602 2011-03-03 Andreas Schwab <schwab@redhat.com>
45604 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45606 2011-03-03 Roland McGrath <roland@redhat.com>
45608 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45610 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45612 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45613 __bzero_ultra1 instead of __memset_ultra1.
45615 2011-02-23 Andreas Schwab <schwab@redhat.com>
45616 Ulrich Drepper <drepper@gmail.com>
45619 * include/link.h (struct link_map): Add l_orig_initfini.
45620 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45621 returning unsuccessfully.
45622 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45623 close of a file loaded at startup, restore the original l_initfini
45625 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45626 list, store the pointer.
45627 * elf/Makefile ($(objpfx)noload-mem): New rule.
45628 (noload-ENV): Define.
45629 (tests): Add $(objpfx)noload-mem.
45630 * elf/noload.c: Include <memcheck.h>.
45631 (main): Call mtrace. Close all opened handles.
45633 2011-02-17 Andreas Schwab <schwab@redhat.com>
45636 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45637 dependencies are missing.
45639 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45641 Fix __if_freereq crash: Unlike the generic version which uses free,
45643 * sysdeps/mach/hurd/ifreq.h: New file.
45645 2011-01-27 Petr Baudis <pasky@suse.cz>
45646 Ulrich Drepper <drepper@gmail.com>
45649 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45650 to extend_alloca().
45651 * stdio-common/bug23.c: New file.
45652 * stdio-common/Makefile (tests): Add bug23.
45654 2010-09-28 Andreas Schwab <schwab@redhat.com>
45655 Ulrich Drepper <drepper@gmail.com>
45658 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45659 before performing relro protection. At old place add assertion
45660 to make sure nothing changed.
45662 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45663 Glauber de Oliveira Costa <glommer@gmail.com>
45665 * elf/elf.h: Add new ARM TLS relocs.
45667 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45670 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45672 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45674 * sysdeps/wordsize-64/tst-writev.c: New file.
45676 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45678 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45679 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45680 insns in _dl_start to prevent a TOC reference before relocs are
45683 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45686 * Makeconfig: Remove RANLIB definition.
45687 * Makerules: Don't use RANLIB.
45688 * aclocal.m4: Remove ranlib test.
45689 * configure.in: No need to check for ranlib.
45690 * elf/rtld-Rules: Don't use RANLIB.
45692 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45694 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45696 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45697 inclusion protection macro.
45699 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45700 SIGRTMIN and SIGRTMAX and print information in that case only when
45701 SIGRTMIN is defined.
45703 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45705 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45706 arginfo fn returning -1.
45708 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45709 and thousands string is zero terminated.
45711 2011-02-03 Andreas Schwab <schwab@redhat.com>
45713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45714 sysdeps/unix/sysv/linux/bits/socket.h.
45716 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45718 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45719 (__CPU_COUNT): Remove old macros.
45720 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45721 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45722 (__CPU_ALLOC, __CPU_FREE): Add macros.
45723 (__sched_cpualloc, __sched_cpufree): Add declarations.
45725 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45727 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45728 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45729 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45730 (readdhstai): Return value of addhstaiX call.
45731 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45732 (addgrbyX): Return value returned by cache_addgr.
45733 (readdgrbyname): Return value returned by addgrbyX.
45734 (readdgrbygid): Likewise.
45735 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45736 (addpwbyX): Return value returned by cache_addpw.
45737 (readdpwbyname): Return value returned by addhstbyX.
45738 (readdpwbyuid): Likewise.
45739 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45740 (addservbyX): Return value returned by cache_addserv.
45741 (readdservbyname): Return value returned by addservbyX:
45742 (readdservbyport): Likewise.
45743 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45744 (addhstbyX): Return value returned by cache_addhst.
45745 (readdhstbyname): Return value returned by addhstbyX.
45746 (readdhstbyaddr): Likewise.
45747 (readdhstbynamev6): Likewise.
45748 (readdhstbyaddrv6): Likewise.
45749 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45750 (readdinitgroups): Return value returned by addinitgroupsX.
45751 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45752 (prune_cache): Keep track of timeout value of re-added entries.
45753 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45754 * nscd/nscd.h: Adjust prototypes of readd* functions.
45756 2011-02-04 Roland McGrath <roland@redhat.com>
45758 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45759 (nis_stats): Likewise.
45760 * nis/nis_modify.c (nis_modify): Likewise.
45761 * nis/nis_remove.c (nis_remove): Likewise.
45762 * nis/nis_add.c (nis_add): Likewise.
45764 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45766 * posix/fnmatch_loop.c: Add some consts.
45768 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45770 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45773 * config.make.in (config-cflags-novzeroupper): Define.
45774 * configure.in: Substitute libc_cv_cc_novzeroupper.
45775 * elf/Makefile (AVX-CFLAGS): Define.
45776 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45777 (CFLAGS-tst-auditmod4a.c): Likewise.
45778 (CFLAGS-tst-auditmod4b.c): Likewise.
45779 (CFLAGS-tst-auditmod6b.c): Likewise.
45780 (CFLAGS-tst-auditmod6c.c): Likewise.
45781 (CFLAGS-tst-auditmod7b.c): Likewise.
45782 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45784 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45786 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45787 function to the callback.
45788 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45790 2011-02-02 Andreas Schwab <schwab@redhat.com>
45792 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45795 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45798 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45800 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45802 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45805 * elf/Makefile: Add rules to build and run new test.
45806 * elf/tst-initorder.c: New file.
45807 * elf/tst-initorder.exp: New file.
45808 * elf/tst-initordera1.c: New file.
45809 * elf/tst-initordera2.c: New file.
45810 * elf/tst-initordera3.c: New file.
45811 * elf/tst-initordera4.c: New file.
45812 * elf/tst-initorderb1.c: New file.
45813 * elf/tst-initorderb2.c: New file.
45814 * elf/tst-order-a1.c: New file.
45815 * elf/tst-order-a2.c: New file.
45816 * elf/tst-order-a3.c: New file.
45817 * elf/tst-order-a4.c: New file.
45818 * elf/tst-order-b1.c: New file.
45819 * elf/tst-order-b2.c: New file.
45820 * elf/tst-order-main.c: New file.
45821 New test case by George Gensure <werkt0@gmail.com>.
45823 2010-10-01 Andreas Schwab <schwab@redhat.com>
45825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45826 decoding ACE if AI_CANONIDN.
45828 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45830 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45832 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45834 * version.h (RELEASE): Bump for 2.13 release.
45835 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45837 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45839 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45841 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45842 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45843 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45844 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45845 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45846 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45848 * posix/getconf.c: Update copyright year.
45849 * catgets/gencat.c: Likewise.
45850 * csu/version.c: Likewise.
45851 * debug/catchsegv.sh: Likewise.
45852 * debug/xtrace.sh: Likewise.
45853 * elf/ldconfig.c: Likewise.
45854 * elf/ldd.bash.in: Likewise.
45855 * elf/sprof.c (print_version): Likewise.
45856 * iconv/iconv_prog.c: Likewise.
45857 * iconv/iconvconfig.c: Likewise.
45858 * locale/programs/locale.c: Likewise.
45859 * locale/programs/localedef.c: Likewise.
45860 * malloc/memusage.sh: Likewise.
45861 * malloc/mtrace.pl: Likewise.
45862 * nscd/nscd.c (print_version): Likewise.
45863 * nss/getent.c: Likewise.
45865 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45866 PF_CAIF, and PF_ALG.
45867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45869 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45871 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45872 (modules-names): Use them.
45873 (ifunc-test-modules, ifunc-pie-tests): Define.
45874 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45875 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45876 (test-extras): Likewise.
45877 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45878 $(compile-command.c).
45879 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45880 (all-built-dso): Define.
45881 (check-textrel.out, check-execstack.out): Depend on it.
45883 * configure.in: Don't override --enable-multi-arch.
45885 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45888 * nscd/hstcache.c (tryagain): Define.
45889 (cache_addhst): Return tryagain not notfound for temporary errors.
45890 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45893 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45896 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45897 to make the syscall.
45898 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45901 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45902 and fall back to matching as normal character if the string ends before
45903 the matching ']' is found. This is what POSIX requires.
45904 * posix/testfnm.c: Adjust test result.
45905 * posix/globtest.sh: Adjust test result. Add new test.
45906 * posix/tst-fnmatch.input: Likewise.
45907 * posix/tst-fnmatch2.c: Add new test.
45909 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45911 * elf/Makefile (check-execstack): Revert last change. Depend on
45913 (check-execstack.h): New target.
45914 (generated): Add check-execstack.h.
45915 * elf/check-execstack.c: Include "check-execstack.h".
45916 (main): Revert last change.
45917 (handle_file): Return zero if GNU_STACK is absent and
45918 DEFAULT_STACK_PERMS doesn't include PF_X.
45920 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45922 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45923 in child fails because the descriptor is already closed.
45924 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45925 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45926 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45929 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45933 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45934 temporary buffer used to handle multi lookups locally.
45935 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45937 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45939 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45942 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45944 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45945 alignment for SSE2.
45947 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45950 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45951 characters. When rounding increased number of integer digits recompute
45953 * stdio-common/tst-grouping.c: New file.
45954 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45956 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45958 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45959 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45961 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45963 * bits/select.h: Likewise.
45965 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45967 * po/ja.po: Update from translation team.
45969 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45972 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45973 implementation just like for lxstat, fxstatat, et al.
45975 2010-12-27 Jim Meyering <meyering@redhat.com>
45978 * posix/regexec.c (build_trtable): Return failure indication upon
45979 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45981 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45984 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45985 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45986 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45987 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45990 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45993 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45994 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45996 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45998 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45999 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46000 script has SORT_BY_INIT_PRIORITY.
46001 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46002 NO_CTORS_DTORS_SECTIONS is defined.
46003 * elf/soinit.c: Likewise.
46004 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46005 NO_CTORS_DTORS_SECTIONS is defined.
46006 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46007 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46008 * sysdeps/sh/init-first.c: Likewise.
46009 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46011 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46013 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46014 always use the slow path.
46016 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46018 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46019 similar rule which adds the sysdep directories to the header search in
46020 order to pick up the correct platform stackinfo.h.
46021 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46022 perform test if it is, otherwise return successfully without testing.
46023 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46024 DEFAULT_STACK_PERMS define in stackinfo.h.
46025 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46026 defined in stackinfo.h.
46027 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46028 DEFAULT_STACK_PERMS defined in stackinfo.h.
46029 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46030 * sysdeps/ia64/stackinfo.h: Likewise.
46031 * sysdeps/s390/stackinfo.h: Likewise.
46032 * sysdeps/sh/stackinfo.h: Likewise.
46033 * sysdeps/sparc/stackinfo.h: Likewise.
46034 * sysdeps/x86_64/stackinfo.h: Likewise.
46035 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46036 PF_X for powerpc64. Retain PF_X for powerpc32.
46038 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46040 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46042 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46043 GETDENTS_64BIT_ALIGNED.
46045 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46047 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46049 2010-12-10 Andreas Schwab <schwab@redhat.com>
46051 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46054 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46055 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46057 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46058 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46060 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46063 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46066 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46068 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46070 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46072 * po/it.po: Update from translation team.
46074 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46079 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46081 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46083 2010-11-24 Andreas Schwab <schwab@redhat.com>
46085 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46087 (gaih_getanswer_slice): Likewise.
46089 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46093 2010-05-31 Petr Baudis <pasky@suse.cz>
46096 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46097 silently even in the chroot mode.
46099 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46101 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46102 last patch a bit. Pretty printing
46104 2010-05-31 Petr Baudis <pasky@suse.cz>
46107 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46108 initialization of skip_initgroups_dyn.
46110 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46113 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46115 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46117 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46119 2010-11-11 Andreas Schwab <schwab@redhat.com>
46121 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46122 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46123 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46124 ($(objpfx)tst-fnmatch-mem): New rule.
46125 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46126 * posix/tst-fnmatch.c (main): Call mtrace.
46128 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46131 Support Intel processor model 6 and model 0x2c.
46133 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46135 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46138 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46141 * string/test-strncasecmp.c (check_result): New function.
46142 (do_one_test): Use it.
46143 (check1): New function.
46144 (test_main): Use it.
46145 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46146 Support strcasecmp and strncasecmp.
46148 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46151 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46154 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46156 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46160 * sysdeps/x86_64/multiarch/bzero.S: New file.
46161 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46162 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46163 * sysdeps/x86_64/multiarch/memset.S: New file.
46164 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46166 Set bit_Prefer_SSE_for_memop for Intel processors.
46167 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46169 (index_Prefer_SSE_for_memop): Define.
46170 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46172 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46174 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46175 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46177 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46180 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46181 (__x86_64_raw_data_cache_size_half): Likewise.
46182 (__x86_64_raw_shared_cache_size): Likewise.
46183 (__x86_64_raw_shared_cache_size_half): Likewise.
46185 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46186 (__x86_64_raw_data_cache_size_half): Likewise.
46187 (__x86_64_raw_shared_cache_size): Likewise.
46188 (__x86_64_raw_shared_cache_size_half): Likewise.
46189 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46190 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46191 and __x86_64_raw_shared_cache_size_half. Round
46192 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46193 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46194 to multiple of 256 bytes.
46196 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46199 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46200 of inacessible symlinks. Verify result of symlink before returning it.
46201 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46202 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46204 2010-10-28 Erich Ritz <erichritz@gmail.com>
46206 * math/math.h (isinf): Fix typo in comment.
46208 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46210 * po/da.po: Update from translation team.
46212 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46214 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46215 is added to the list.
46217 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46218 Ulrich Drepper <drepper@gmail.com>
46220 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46221 the global list here. Move code to...
46222 (_dl_add_to_namespace_list): ...here. New function.
46223 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46224 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46225 * elf/dl-load.c (lose): Don't remove the element from the list.
46226 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46227 (_dl_map_object): Likewise.
46229 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46232 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46233 into all bytes of SSE register.
46234 Patch by Richard Li <richardpku@gmail.com>.
46236 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46239 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46242 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46244 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46245 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46246 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46247 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46252 2010-10-22 Andreas Schwab <schwab@redhat.com>
46254 * include/dlfcn.h (__RTLD_SECURE): Define.
46255 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46256 mode & __RTLD_SECURE instead.
46257 (open_path): Rename preloaded parameter to secure.
46258 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46259 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46260 * elf/dl-deps.c (openaux): Likewise.
46261 * elf/rtld.c (struct map_args): Remove is_preloaded.
46262 (map_doit): Don't use it.
46263 (dl_main): Likewise.
46264 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46265 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46267 2010-09-09 Andreas Schwab <schwab@redhat.com>
46269 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46270 (sysd-rules-targets): Remove duplicates.
46271 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46272 rtld-%.$o dependency.
46274 2010-10-18 Andreas Schwab <schwab@redhat.com>
46276 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46277 _dl_map_object do it.
46279 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46281 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46282 fast fma builtins, define the macros in the C99 standard.
46283 (FP_FAST_FMAF): Likewise.
46284 (FP_FAST_FMAL): Likewise.
46285 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46287 * bits/mathdef.h: Update copyright year.
46288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46290 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46292 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46293 builtins, define the macros in the C99 standard.
46294 (FP_FAST_FMAF): Likewise.
46295 (FP_FAST_FMAL): Likewise.
46296 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46298 (FP_FAST_FMAF): Likewise.
46300 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46303 * math/libm-test.inc (fma_test): Some new testcases.
46304 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46305 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46306 y and infinite z. Do multiplication by C already in long double.
46307 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46309 y and infinite z. Do bitwise or of inexact bit into u.d.
46310 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46311 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46312 * sysdeps/i386/fpu/s_fma.S: Removed.
46313 * sysdeps/i386/fpu/s_fmal.S: Removed.
46315 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46318 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46320 computation is not scheduled after fetestexcept. Fix value
46321 of minimum denormal long double.
46323 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46326 * math/libm-test.inc (fma_test): Add some more tests.
46327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46330 2010-10-15 Andreas Schwab <schwab@redhat.com>
46332 * scripts/data/localplt-s390-linux-gnu.data: New file.
46333 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46335 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46338 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46339 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46341 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46343 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46345 if one of x and y is very large and the other is subnormal.
46346 * sysdeps/s390/fpu/s_fmaf.c: New file.
46347 * sysdeps/s390/fpu/s_fma.c: New file.
46348 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46349 * sysdeps/powerpc/fpu/s_fma.S: New file.
46350 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46351 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46352 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46354 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46357 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46359 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46360 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46361 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46362 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46363 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46364 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46365 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46367 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46370 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46371 * posix/bug-regex31.input: Add test case.
46373 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46375 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46376 * posix/bug-regex31.input: New file.
46379 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46380 (parse_sub_exp): Fix last change, use postorder.
46382 * posix/bug-regex31.c: New file.
46383 * posix/Makefile: Add rules to build and run bug-regex31.
46385 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46388 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46391 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46392 to have entries in sys_siglist.
46395 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46398 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46401 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46402 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46403 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46404 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46405 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46406 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46407 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46408 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46409 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46410 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46411 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46412 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46413 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46414 * math/ftestexcept.c (fetestexcept): Likewise.
46415 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46416 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46417 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46418 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46419 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46420 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46421 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46423 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46426 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46429 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46431 * string/bug-strstr1.c: New file.
46432 * string/Makefile: Add rules to build and run bug-strstr1.
46434 2010-10-05 Eric Blake <eblake@redhat.com>
46437 * string/str-two-way.h (two_way_long_needle): Always clear memory
46438 when skipping input due to the shift table.
46440 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46443 * malloc/mcheck.c: Handle large requests.
46446 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46447 for strncmp and strncasecmp.
46448 * string/stratcliff.c: Add tests for strcmp and strncmp.
46449 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46451 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46453 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46456 2010-09-30 Andreas Jaeger <aj@suse.de>
46458 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46459 (CGROUP_SUPER_MAGIC): Define.
46460 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46461 Handle btrfs and cgroup file systems.
46462 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46465 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46467 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46468 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46470 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46473 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46474 trying to locate the ELF header.
46476 2010-09-27 Andreas Schwab <schwab@redhat.com>
46479 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46480 Mask out sign-bit copies when constructing f_fsid.
46482 2010-09-24 Petr Baudis <pasky@suse.cz>
46484 * debug/stack_chk_fail_local.c: Add missing licence exception.
46485 * debug/warning-nop.c: Likewise.
46487 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46490 implementing getdents64 using getdents syscall, set d_type if
46491 __ASSUME_GETDENTS32_D_TYPE.
46493 2010-09-16 Andreas Schwab <schwab@redhat.com>
46495 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46496 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46498 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46501 * posix/unistd.h: Undo change of feature selection for ftruncate from
46504 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46506 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46509 2010-09-20 Andreas Schwab <schwab@redhat.com>
46511 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46513 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46515 2010-09-14 Andreas Schwab <schwab@redhat.com>
46517 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46518 variables after CHECK_SP call.
46519 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46521 2010-09-13 Andreas Schwab <schwab@redhat.com>
46522 Ulrich Drepper <drepper@redhat.com>
46524 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46525 re-relocationg ld.so.
46526 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46527 _dl_init_paths call.
46528 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46531 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46533 * resolv/res_init.c (__res_vinit): Count the default server we added.
46535 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46536 Ulrich Drepper <drepper@redhat.com>
46539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46540 (____longjmp_chk): Use %ebx for saving value across system call.
46543 2010-09-06 Andreas Schwab <schwab@redhat.com>
46545 * manual/Makefile: Don't mix pattern rules with normal rules.
46547 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46549 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46551 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46552 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46553 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46554 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46555 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46558 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46561 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46562 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46564 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46566 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46567 * sysdeps/x86_64/addmul_1.S: Likewise.
46568 * sysdeps/x86_64/lshift.S: Likewise.
46569 * sysdeps/x86_64/mul_1.S: Likewise.
46570 * sysdeps/x86_64/rshift.S: Likewise.
46571 * sysdeps/x86_64/sub_n.S: Likewise.
46572 * sysdeps/x86_64/submul_1.S: Likewise.
46574 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46576 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46577 Define __sched_param instead of SCHED_* and sched_param when
46578 <bits/sched.h> is included with __need_schedparam defined.
46579 * bits/sched.h [__need_schedparam]
46580 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46581 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46582 (__defined_schedparam): Define to 1.
46583 (__sched_param): New structure, identical to sched_param.
46584 (__need_schedparam): Undefine.
46586 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46589 (epoll_create1): Declare.
46591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46593 2010-08-31 Andreas Schwab <schwab@redhat.com>
46596 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46597 shifting retval into place.
46599 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46601 * nis/rpcsvc/nis.h: Update copyright notice.
46602 * nis/rpcsvc/nis.x: Likewise.
46603 * nis/rpcsvc/nis_callback.h: Likewise.
46604 * nis/rpcsvc/nis_callback.x: Likewise.
46605 * nis/rpcsvc/nis_object.x: Likewise.
46606 * nis/rpcsvc/nis_tags.h: Likewise.
46607 * nis/rpcsvc/yp.h: Likewise.
46608 * nis/rpcsvc/yp.x: Likewise.
46609 * nis/rpcsvc/ypupd.h: Likewise.
46610 * nis/yp_xdr.c: Likewise.
46611 * nis/ypupdate_xdr.c: Likewise.
46613 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46614 mainly the body of pmap_getport. Add parameters to specify timeouts.
46615 (pmap_getport): Use __libc_rpc_getport.
46616 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46617 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46618 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46620 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46625 2010-08-27 Roland McGrath <roland@redhat.com>
46627 * sysdeps/i386/i686/multiarch/Makefile
46628 (CFLAGS-varshift.c): New variable.
46630 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46632 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46633 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46637 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46639 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46641 * sysdeps/x86_64/strlen.S: Unroll the loop.
46642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46643 strlen-sse2 strlen-sse2-bsf.
46644 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46645 __strlen_no_bsf if bit_Slow_BSF is set.
46646 (__strlen_sse42): Removed.
46647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46648 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46650 2010-08-25 Roland McGrath <roland@redhat.com>
46652 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46653 * sysdeps/x86_64/multiarch/varshift.c: New file.
46654 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46655 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46656 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46657 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46659 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46662 strlen-sse2 strlen-sse2-bsf.
46663 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46664 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46665 (__strlen_sse2): Removed.
46666 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46667 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46669 bit_Slow_BSF for Atom.
46670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46671 (index_Slow_BSF): Define.
46672 (HAS_SLOW_BSF): Define.
46674 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46677 * resolv/res_init.c (__res_vinit): When no server address at all
46678 is given default to loopback.
46680 2010-08-24 Roland McGrath <roland@redhat.com>
46682 * configure.in: Remove config-name.h generation.
46683 * configure: Regenerated.
46684 * config-name.in: File removed.
46685 * scripts/config-uname.sh: New file.
46686 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46687 ($(objdir)config-name.h): New target.
46689 * sunrpc/rpc_parse.h: Avoid nested comment.
46691 2010-08-24 Richard Henderson <rth@redhat.com>
46692 Ulrich Drepper <drepper@redhat.com>
46693 H.J. Lu <hongjiu.lu@intel.com>
46695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46697 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46698 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46699 _mm_alignr_epi8 with _mm_loadu_si128.
46700 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46701 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46702 (__m128i_shift_right): Removed.
46703 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46704 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46705 * sysdeps/x86_64/multiarch/varshift.h: New file.
46706 * sysdeps/x86_64/multiarch/varshift.S: New file.
46708 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46710 * configure.in: Move assembler checks to before sysdep dir checking.
46712 2010-08-20 Petr Baudis <pasky@suse.cz>
46714 * LICENSES: Sync the sunrpc license.
46716 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46718 * sunrpc/auth_des.c: Update copyright notice once again.
46719 * sunrpc/auth_none.c: Likewise.
46720 * sunrpc/auth_unix.c: Likewise.
46721 * sunrpc/authdes_prot.c: Likewise.
46722 * sunrpc/authuxprot.c: Likewise.
46723 * sunrpc/bindrsvprt.c: Likewise.
46724 * sunrpc/clnt_gen.c: Likewise.
46725 * sunrpc/clnt_perr.c: Likewise.
46726 * sunrpc/clnt_raw.c: Likewise.
46727 * sunrpc/clnt_simp.c: Likewise.
46728 * sunrpc/clnt_tcp.c: Likewise.
46729 * sunrpc/clnt_udp.c: Likewise.
46730 * sunrpc/clnt_unix.c: Likewise.
46731 * sunrpc/des_crypt.c: Likewise.
46732 * sunrpc/des_soft.c: Likewise.
46733 * sunrpc/get_myaddr.c: Likewise.
46734 * sunrpc/getrpcport.c: Likewise.
46735 * sunrpc/key_call.c: Likewise.
46736 * sunrpc/key_prot.c: Likewise.
46737 * sunrpc/openchild.c: Likewise.
46738 * sunrpc/pm_getmaps.c: Likewise.
46739 * sunrpc/pm_getport.c: Likewise.
46740 * sunrpc/pmap_clnt.c: Likewise.
46741 * sunrpc/pmap_prot.c: Likewise.
46742 * sunrpc/pmap_prot2.c: Likewise.
46743 * sunrpc/pmap_rmt.c: Likewise.
46744 * sunrpc/rpc/auth.h: Likewise.
46745 * sunrpc/rpc/auth_unix.h: Likewise.
46746 * sunrpc/rpc/clnt.h: Likewise.
46747 * sunrpc/rpc/des_crypt.h: Likewise.
46748 * sunrpc/rpc/key_prot.h: Likewise.
46749 * sunrpc/rpc/netdb.h: Likewise.
46750 * sunrpc/rpc/pmap_clnt.h: Likewise.
46751 * sunrpc/rpc/pmap_prot.h: Likewise.
46752 * sunrpc/rpc/pmap_rmt.h: Likewise.
46753 * sunrpc/rpc/rpc.h: Likewise.
46754 * sunrpc/rpc/rpc_des.h: Likewise.
46755 * sunrpc/rpc/rpc_msg.h: Likewise.
46756 * sunrpc/rpc/svc.h: Likewise.
46757 * sunrpc/rpc/svc_auth.h: Likewise.
46758 * sunrpc/rpc/types.h: Likewise.
46759 * sunrpc/rpc/xdr.h: Likewise.
46760 * sunrpc/rpc_clntout.c: Likewise.
46761 * sunrpc/rpc_cmsg.c: Likewise.
46762 * sunrpc/rpc_common.c: Likewise.
46763 * sunrpc/rpc_cout.c: Likewise.
46764 * sunrpc/rpc_dtable.c: Likewise.
46765 * sunrpc/rpc_hout.c: Likewise.
46766 * sunrpc/rpc_main.c: Likewise.
46767 * sunrpc/rpc_parse.c: Likewise.
46768 * sunrpc/rpc_parse.h: Likewise.
46769 * sunrpc/rpc_prot.c: Likewise.
46770 * sunrpc/rpc_sample.c: Likewise.
46771 * sunrpc/rpc_scan.c: Likewise.
46772 * sunrpc/rpc_scan.h: Likewise.
46773 * sunrpc/rpc_svcout.c: Likewise.
46774 * sunrpc/rpc_tblout.c: Likewise.
46775 * sunrpc/rpc_util.c: Likewise.
46776 * sunrpc/rpc_util.h: Likewise.
46777 * sunrpc/rpcinfo.c: Likewise.
46778 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46779 * sunrpc/rpcsvc/key_prot.x: Likewise.
46780 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46781 * sunrpc/rpcsvc/mount.x: Likewise.
46782 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46783 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46784 * sunrpc/rpcsvc/rex.x: Likewise.
46785 * sunrpc/rpcsvc/rstat.x: Likewise.
46786 * sunrpc/rpcsvc/rusers.x: Likewise.
46787 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46788 * sunrpc/rpcsvc/spray.x: Likewise.
46789 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46790 * sunrpc/rtime.c: Likewise.
46791 * sunrpc/svc.c: Likewise.
46792 * sunrpc/svc_auth.c: Likewise.
46793 * sunrpc/svc_authux.c: Likewise.
46794 * sunrpc/svc_raw.c: Likewise.
46795 * sunrpc/svc_run.c: Likewise.
46796 * sunrpc/svc_simple.c: Likewise.
46797 * sunrpc/svc_tcp.c: Likewise.
46798 * sunrpc/svc_udp.c: Likewise.
46799 * sunrpc/svc_unix.c: Likewise.
46800 * sunrpc/svcauth_des.c: Likewise.
46801 * sunrpc/xcrypt.c: Likewise.
46802 * sunrpc/xdr.c: Likewise.
46803 * sunrpc/xdr_array.c: Likewise.
46804 * sunrpc/xdr_float.c: Likewise.
46805 * sunrpc/xdr_mem.c: Likewise.
46806 * sunrpc/xdr_rec.c: Likewise.
46807 * sunrpc/xdr_ref.c: Likewise.
46808 * sunrpc/xdr_sizeof.c: Likewise.
46809 * sunrpc/xdr_stdio.c: Likewise.
46811 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46814 2010-08-19 Andreas Schwab <schwab@redhat.com>
46816 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46818 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46820 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46821 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46822 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46823 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46824 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46825 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46826 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46827 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46828 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46829 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46830 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46831 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46832 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46833 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46835 2010-07-26 Anton Blanchard <anton@samba.org>
46837 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46838 * malloc/arena.c (heap_trim): Likewise.
46840 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46842 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46845 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46847 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46849 * sysdeps/i386/elf/Makefile: New file.
46851 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46853 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46854 from fanotify_init.
46855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46858 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46860 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46862 * sysdeps/multiarch/strcmp.S: Likewise.
46864 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46866 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46867 strncase_l-nonascii.
46868 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46869 Add strncase_l-ssse3.
46870 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46871 * sysdeps/x86_64/strcmp.S: Likewise.
46872 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46873 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46874 * sysdeps/x86_64/strncase.S: New file.
46875 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46876 * sysdeps/x86_64/strncase_l.S: New file.
46877 * string/Makefile (strop-tests): Add strncasecmp.
46878 * string/test-strncasecmp.c: New file.
46880 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46883 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46884 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46886 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46888 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46890 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46892 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46893 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46894 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46896 2010-05-01 Alan Modra <amodra@gmail.com>
46898 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46899 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46900 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46901 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46902 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46903 tidying. Don't tail-call __sigjmp_save for static lib.
46904 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46906 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46907 (CALL_MCOUNT): Add eh info, and nop after bl.
46908 (TAIL_CALL_SYSCALL_ERROR): New macro.
46909 (PSEUDO_RET): Use it.
46910 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46911 Correct save location of integer regs and cr.
46912 (_dl_profile_resolve): Correct cr save location. Delete nops
46913 after bl when SHARED. Reduce cfi size a little by better
46914 placement of cfi directives.
46915 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46916 make a stack frame. Instead use parm save area as a temp.
46917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46918 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46920 Don't make a stack frame for parent, use parm save area.
46921 Increase child stack frame to 112 bytes. Don't save unused reg,
46922 and adjust reg usage. Set up cfi on error recovery and
46923 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46925 (__makecontext): Add dummy nop after jump to exit.
46926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46927 Use correct parm save area and cr save, reduce stack frame.
46928 Correct cfi for possible PSEUDO_RET frame setup.
46929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46930 Branch to local label emitted by PSEUDO_RET rather than
46933 2010-08-12 Andreas Schwab <schwab@redhat.com>
46936 * locale/programs/locale.c (print_assignment): New function.
46937 (show_locale_vars): Use it.
46939 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46941 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46943 (struct statfs64): Likewise.
46944 (_STATFS_F_FLAGS): Define.
46945 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46947 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46948 (ST_VALID): Define locally.
46949 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46950 __statvfs_getflags, use the provided value.
46951 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46952 __ASSUME_STATFS_F_FLAGS.
46954 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46956 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46957 Add sys/fanotify.h.
46958 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46959 fanotify_mask for GLIBC_2.13.
46960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46961 fanotify_init and fanotify_mark.
46962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46963 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46965 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46967 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46968 prlimit64 for GLIBC_2.13.
46969 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46974 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46975 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46976 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46979 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46982 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46983 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46985 * nss/Makefile: Add rules to build and run tst-nss-test1.
46986 * shlib-versions: Add entry for libnss_test1.
46987 * nss/nss_test1.c: New file.
46988 * nss/tst-nss-test1.c: New file.
46990 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46991 (__nss_configure_lookup): Set appropriate entry in
46992 __nss_configure_lookup to true.
46993 * nss/nsswitch.h: Define enum with indeces of databases in
46994 databases and __nss_database_custom arrays. Declare
46995 __nss_database_custom.
46996 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46997 to avoid using nscd when custom rules are installed.
46998 * nss/getXXbyYY_r.c: Likewise.
46999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47001 * nss/nss_files/files-parse.c: Whitespace fixes.
47003 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47006 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47007 * posix/fnmatch_loop.c: Likewise.
47009 2010-07-17 Andi Kleen <ak@linux.intel.com>
47011 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47012 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47013 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47014 * Versions.def [GLIBC_2.13]: Add.
47016 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47018 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47019 Also fail if tpwd after pwuid call is NULL.
47021 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47023 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47024 when converting to ms.
47026 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47028 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47029 EOPNOTSUPP errors with ENOTTY.
47030 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47031 EOPNOTSUPP errors with ENOTTY.
47033 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47035 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47036 Add strcasecmp_l-ssse3.
47037 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47039 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47040 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47041 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47043 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47045 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47047 * string/Makefile (strop-tests): Add strcasecmp.
47048 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47049 strcasecmp_l-nonascii.
47050 (gen-as-const-headers): Add locale-defines.sym.
47051 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47052 * sysdeps/x86_64/strcasecmp.S: New file.
47053 * sysdeps/x86_64/strcasecmp_l.S: New file.
47054 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47055 * sysdeps/x86_64/locale-defines.sym: New file.
47056 * string/test-strcasecmp.c: New file.
47058 * string/test-strcasestr.c: Test both ends of the range of characters.
47059 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47061 2010-07-29 Roland McGrath <roland@redhat.com>
47064 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47066 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47068 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47071 2010-07-27 Andreas Schwab <schwab@redhat.com>
47073 * manual/memory.texi (Malloc Tunable Parameters): Document
47076 2010-07-26 Roland McGrath <roland@redhat.com>
47079 * configure.in (-fgnu89-inline check): Set and substitute
47080 gnu89_inline, not libc_cv_gnu89_inline.
47081 * configure: Regenerated.
47082 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47084 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47086 * string/test-strnlen.c: New file.
47087 * string/Makefile (strop-tests): Add strnlen.
47088 * string/tester.c (test_strnlen): Add a few more test cases.
47089 * string/tst-strlen.c: Better error reporting.
47091 * sysdeps/x86_64/strnlen.S: New file.
47093 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47095 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47096 lower-latency instructions.
47098 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47100 * string/test-strcasestr.c: New file.
47101 * string/test-strstr.c: New file.
47102 * string/Makefile (strop-tests): Add strstr and strcasestr.
47103 * string/str-two-way.h: Don't undefine MAX.
47104 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47106 2010-07-21 Andreas Schwab <schwab@redhat.com>
47108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47109 strcasestr-nonascii.
47110 (CFLAGS-strcasestr-nonascii.c): Define.
47111 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47113 Remove unused attribute.
47115 2010-07-20 Roland McGrath <roland@redhat.com>
47117 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47118 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47119 ld.so.cache was broken. With it, there is no way to disable dsocaps
47120 like LD_HWCAP_MASK can disable hwcaps.
47122 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47124 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47126 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47128 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47129 call in strcasestr.
47130 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47131 __strcasestr_sse42_nonascii.
47132 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47133 strcasestr-nonascii.c.
47134 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47136 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47139 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47140 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47141 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47143 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47145 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47148 2010-07-06 Andreas Schwab <schwab@redhat.com>
47151 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47154 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47157 _PC_PIPE_BUF using F_GETPIPE_SZ.
47159 2010-07-05 Roland McGrath <roland@redhat.com>
47161 * manual/arith.texi (Rounding Functions): Fix rint description
47162 implicit in round description.
47164 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47166 * elf/Makefile: Fix linking for a few tests to make recent linker
47169 2010-06-30 Andreas Schwab <schwab@redhat.com>
47171 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47172 $(common-objpfx)libc_nonshared.a.
47174 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47176 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47177 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47178 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47179 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47180 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47181 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47182 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47183 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47198 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47199 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47200 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47201 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47202 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47203 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47204 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47205 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47206 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47207 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47208 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47209 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47225 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47227 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47228 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47229 * string/memmove.c (memmove): Renamed to ...
47230 (MEMMOVE): ...this. Default to memmove.
47231 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47232 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47235 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47236 mempcpy-ssse3-back memmove-ssse3-back.
47237 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47239 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47240 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47241 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47242 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47243 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47244 * sysdeps/x86_64/multiarch/memmove.c: New file.
47245 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47246 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47247 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47248 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47249 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47250 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47252 (index_Fast_Copy_Backward): Define.
47253 (HAS_ARCH_FEATURE): Define.
47254 (HAS_FAST_REP_STRING): Define.
47255 (HAS_FAST_COPY_BACKWARD): Define.
47257 2010-06-21 Andreas Schwab <schwab@redhat.com>
47259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47260 Restore proper fallback handling.
47262 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47265 * posix/group_member.c (__group_member): Correct checking loop.
47267 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47268 OOM in getpwuid_r correctly. Return error number when the caller
47269 should return, otherwise -1.
47270 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47271 call returning > 0 value.
47272 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47274 2010-06-07 Andreas Schwab <schwab@redhat.com>
47276 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47277 libc_nonshared.a from targets in modules-names.
47279 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47281 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47284 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47286 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47287 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47288 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47289 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47291 2010-06-02 Andreas Schwab <schwab@redhat.com>
47293 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47295 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47306 2010-06-14 Roland McGrath <roland@redhat.com>
47308 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47310 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47312 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47313 __REDIRECT followed by __THROW.
47314 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47315 * posix/getopt.h (getopt): Likewise.
47317 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47319 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47320 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47321 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47323 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47324 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47326 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47328 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47330 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47334 Properly check family and model.
47336 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47338 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47340 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47342 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47344 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47346 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47349 2010-05-19 Andreas Schwab <schwab@redhat.com>
47351 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47354 2010-05-21 Andreas Schwab <schwab@redhat.com>
47356 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47357 and internal_recvmmsg.
47358 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47359 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47360 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47361 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47363 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47364 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47365 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47367 2010-05-20 Andreas Schwab <schwab@redhat.com>
47369 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47371 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47373 POWER7 optimizations.
47374 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47375 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47377 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47379 * version.h: Update for 2.13 development version.
47381 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47383 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47384 exceptions. Return 0.
47386 2010-05-07 Roland McGrath <roland@redhat.com>
47388 * elf/ldconfig.c (main): Add a const.
47390 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47392 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47393 (args_options): Add no-idn option.
47394 (ahosts_keys_int): Add idn_flags to ai_flags.
47395 (parse_option): Handle 'i' option to clear idn_flags.
47397 * malloc/malloc.c (_int_free): Possible race in the most recently
47398 added check. Only act on the data if no current modification
47401 See ChangeLog.17 for earlier changes.