1 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5 * sysdeps/unix/sysv/linux/readv.c: Do not include
7 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13 * sysdeps/unix/sysv/linux/writev.c: Do not include
15 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22 2014-06-25 Will Newton <will.newton@linaro.org>
24 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25 comment changes throughout the file. Remove checks
26 for HAVE_*_H definitions that are not required.
27 (__gen_tempname): Call abort if an unknown kind value is
30 2014-06-25 Andreas Schwab <schwab@suse.de>
33 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34 scalbln, scalblnf, scalblnl in libc.
36 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43 2014-06-24 Roland McGrath <roland@hack.frob.com>
45 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
50 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
51 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
53 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
54 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
55 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
56 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
57 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
58 * sysdeps/x86/bits/pthreadtypes.h: ... here.
59 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
60 * sysdeps/x86/bits/semaphore.h: ... here.
61 * sysdeps/x86/nptl/elide.h: Moved ...
62 * sysdeps/x86/elide.h: ... here.
63 * sysdeps/x86_64/nptl/Implies: File removed.
64 * sysdeps/i386/nptl/Implies: File removed.
66 2014-06-24 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
70 return the argument for normal arguments with exponent below -64.
71 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
73 * math/auto-libm-test-in: Add another test of expm1.
74 * math/auto-libm-test-out: Regenerated.
77 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
78 calling __erfcl for arguments at least 16.
79 * math/auto-libm-test-in: Add more tests of erf.
80 * math/auto-libm-test-out: Regenerated.
82 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
83 individual architectures.
84 * sysdeps/unix/sysv/linux/configure: Regenerated.
85 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
86 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
87 * sysdeps/unix/sysv/linux/powerpc/configure.ac
88 (ldd_rewrite_script): Define variable.
89 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
94 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
95 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
96 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
97 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
98 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
99 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
100 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
101 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
103 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
106 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
107 Rename member __data.d to __data.__elision_data.
109 2014-06-24 Wilco <wdijkstr@arm.com>
111 * NEWS: Add 16918 to fixed bug list.
113 2014-06-24 Wilco <wdijkstr@arm.com>
115 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
117 2014-06-24 Wilco <wdijkstr@arm.com>
119 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
120 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
121 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
122 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
123 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
124 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
125 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
128 2014-06-24 Wilco <wdijkstr@arm.com>
130 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
132 2014-06-24 Wilco <wdijkstr@arm.com>
134 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
135 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
136 * sysdeps/arm/fesetround.c (fesetround): Remove space.
137 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
139 2014-06-24 Wilco <wdijkstr@arm.com>
142 * sysdeps/arm/feupdateenv.c (feupdateenv):
143 Rewrite to reduce FPSCR accesses and fix return value.
145 2014-06-24 Wilco <wdijkstr@arm.com>
147 * sysdeps/arm/fclrexcpt.c (feclearexcept):
148 Optimize to avoid unnecessary FPSCR writes.
149 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
150 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
151 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
152 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
154 2014-06-24 Wilco <wdijkstr@arm.com>
156 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
157 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
158 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
159 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
160 Call libc_fetestexcept_vfp.
161 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
162 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
163 __SOFTFP__ ifdef so that they can be built for softfp.
165 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
167 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
168 argument type signed char.
170 * Makerules (check-abi): Dump diff of symlist if the test
173 2014-06-23 Roland McGrath <roland@hack.frob.com>
175 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
178 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
179 Remove unused variable ST.
181 2014-06-23 Joseph Myers <joseph@codesourcery.com>
185 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
186 small arguments before calling __expm1.
187 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
188 small arguments before calling __expm1f.
189 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
190 small arguments before calling __expm1l.
191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
193 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
194 * math/auto-libm-test-in: Add more cosh tests. Do not allow
195 spurious underflow for some cosh tests.
196 * math/auto-libm-test-out: Regenerated.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
200 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
201 (__ieee754_y1): Set errno if return value overflows.
202 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
203 (__ieee754_y1f): Set errno if return value overflows.
204 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
205 (__ieee754_y1l): Set errno if return value overflows.
206 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
207 (__ieee754_y1l): Set errno if return value overflows.
208 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
209 * math/auto-libm-test-out: Regenerated.
211 * math/gen-auto-libm-tests.c: Document use of
212 ignore-zero-inf-sign.
213 (input_flag_type): Add value flag_ignore_zero_inf_sign.
214 (input_flags): Add ignore-zero-inf-sign.
215 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
216 * math/gen-libm-test.pl (generate_testfile): Handle
217 ignore-zero-inf-sign.
218 * math/auto-libm-test-in: Mark some cpow tests with
219 ignore-zero-inf-sign and some with xfail-rounding.
220 * math/auto-libm-test-out: Regenerated.
221 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
226 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
227 overflowing or underflowing operations take place with sign of
229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
230 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
231 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
232 (__ieee754_pow): Recompute overflowing and underflowing results in
233 original rounding mode.
234 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
235 (__powl_helper): Allow negative argument X and scale negated value
236 as needed. Avoid passing value outside [-1, 1] to f2xm1.
237 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
238 overflowing or underflowing operations take place with sign of
240 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
242 * math/auto-libm-test-in: Add more tests of pow.
243 * math/auto-libm-test-out: Regenerated.
244 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
245 (pow_tonearest_test_data): Remove.
246 (pow_test_tonearest): Likewise.
247 (pow_towardzero_test_data): Likewise.
248 (pow_test_towardzero): Likewise.
249 (pow_downward_test_data): Likewise.
250 (pow_test_downward): Likewise.
251 (pow_upward_test_data): Likewise.
252 (pow_test_upward): Likewise.
253 (main): Don't call removed functions.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
257 2014-06-23 Roland McGrath <roland@hack.frob.com>
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
433 2014-06-23 Will Newton <will.newton@linaro.org>
434 Wilco <wdijkstr@arm.com>
436 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
437 implementation. Include get-rounding-mode.h.
438 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
439 [!libc_feholdsetround_noex_ctx]: Define
440 libc_feholdsetround_noex_ctx.
441 [!libc_feholdsetround_noexf_ctx]: Define
442 libc_feholdsetround_noexf_ctx.
443 [!libc_feholdsetround_noexl_ctx]: Define
444 libc_feholdsetround_noexl_ctx.
445 (libc_feholdsetround_ctx): New function.
446 (libc_feresetround_ctx): New function.
447 (libc_feholdsetround_noex_ctx): New function.
448 (libc_feresetround_noex_ctx): New function.
450 2014-06-23 Roland McGrath <roland@hack.frob.com>
452 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
453 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
454 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
455 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
456 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
457 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
459 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
460 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
461 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
462 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
463 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
464 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
466 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
469 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
471 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
475 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
477 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
479 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
482 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
484 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
485 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
486 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
488 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
489 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
491 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
496 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
497 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
499 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
500 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
501 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
502 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
507 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
510 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
512 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
513 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
515 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
517 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
519 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
521 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
523 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
526 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
527 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
528 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
530 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
531 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
533 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
534 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
536 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
537 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
538 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
540 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
542 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
546 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
548 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
549 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
550 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
551 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
552 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
553 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
554 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
555 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
556 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
557 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
558 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
559 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
560 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
561 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
562 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
563 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
565 2014-06-23 Joseph Myers <joseph@codesourcery.com>
567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
568 (FALLOC_FL_COLLAPSE_RANGE): New macro.
569 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
570 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
571 (IPV6_PMTUDISC_INTERFACE): Likewise.
572 (IPV6_PMTUDISC_OMIT): Likewise.
574 2014-06-23 Andreas Schwab <schwab@suse.de>
576 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
577 Remove unused errout label.
579 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
581 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
582 macro: hardware supports Vector Crypto instructions.
584 2014-06-23 Will Newton <will.newton@linaro.org>
586 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
587 rather than __builtin_expect.
589 * elf/dl-lookup.c (undefined_msg): Remove variable.
590 (_dl_lookup_symbol_x): Replace undefined_msg with string
593 * elf/dl-lookup.c (do_lookup_unique): New function.
594 (do_lookup_x): Move STB_GNU_UNIQUE handling code
595 to a separate function.
597 2014-06-23 Andreas Schwab <schwab@suse.de>
600 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
601 before reading the next line.
603 2014-06-23 Will Newton <will.newton@linaro.org>
605 * test-skeleton.c (signal_handler): Use printf and %m
606 rather than perror. Use printf rather than fprintf to
607 stderr. Use puts rather than fputs to stderr.
610 2014-06-22 Ludovic Courtès <ludo@gnu.org>
612 * nscd/nscd.c (thread_info_t): Remove typedef.
613 (thread_info): Remove variable.
615 2014-06-21 Allan McRae <allan@archlinux.org>
617 * NEWS: Mention CVE-2014-4043.
619 2014-06-20 Roland McGrath <roland@hack.frob.com>
621 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
622 * nptl/smp.h: ... here.
624 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
626 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
627 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
628 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
629 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
631 * nptl/allocatestack.c: Include <stack-aliasing.h>.
632 * nptl/stack-aliasing.h: New file.
633 * sysdeps/i386/i686/stack-aliasing.h: New file.
634 * sysdeps/i386/i686/nptl/Makefile: File removed.
635 * sysdeps/x86_64/stack-aliasing.h: New file.
636 * sysdeps/x86_64/nptl/Makefile
637 (CFLAGS-pthread_create.c): Variable removed.
639 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
640 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
642 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
643 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
646 2014-06-21 Joseph Myers <joseph@codesourcery.com>
648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
649 (__ASSUME_SIGFRAME_V2): Remove macro.
650 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
651 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
652 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
653 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
654 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
655 Declare as function. Remove conditional macro definitions.
656 (__default_rt_sa_restorer): Likewise.
657 (__default_sa_restorer_v1): Remove declaration.
658 (__default_sa_restorer_v2): Likewise.
659 (__default_rt_sa_restorer_v1): Likewise.
660 (__default_rt_sa_restorer_v2): Likewise.
661 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
662 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
663 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
665 2014-06-20 Roland McGrath <roland@hack.frob.com>
667 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
668 (libpthread-routines): Add sysdep.
669 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
670 * sysdeps/unix/sysv/linux/sparc/Versions
671 (libpthread: GLIBC_2.3.3): New version set.
672 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
673 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
674 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
675 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
676 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
677 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
679 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
680 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
681 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
682 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
683 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
684 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
685 * sysdeps/sparc/nptl/sem_init.c: ... here.
686 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
687 * sysdeps/sparc/nptl/sem_post.c: ... here.
688 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
689 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
690 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
691 * sysdeps/sparc/nptl/sem_wait.c: ... here.
692 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
693 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
694 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
695 (libpthread-routines): Add cpu_relax.
696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
698 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
699 (librt: GLIBC_2.3.3): New version set.
700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
701 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
702 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
703 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
706 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
709 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
711 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
713 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
715 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
717 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
720 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
732 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
736 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
740 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
743 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
749 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
751 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
754 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
756 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
758 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
760 2014-06-20 Joseph Myers <joseph@codesourcery.com>
762 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
763 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
764 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
765 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
766 * nscd/nscd.c: Likewise.
767 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
768 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
769 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
770 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
772 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
774 (init_mq_netlink): Remove conditional have_sock_cloexec
775 definitions. Remove code conditional on have_sock_cloexec < 0.
776 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
777 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
778 * sysdeps/unix/sysv/linux/opensock.c: Do not include
780 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
781 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
783 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
786 Add tests for memset_chk and memset.
788 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
791 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
794 * elf/tst-dl-iter-static.c: New file.
795 * elf/Makefile (tests-static): Add tst-dl-iter-static.
797 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
800 2014-06-20 Joseph Myers <joseph@codesourcery.com>
802 * sysdeps/unix/sysv/linux/kernel-features.h
803 (__ASSUME_F_GETOWN_EX): Remove macro.
804 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
806 (miss_F_GETOWN_EX): Remove variable or macro.
807 (do_fcntl): Do not check miss_F_GETOWN_EX.
808 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
810 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
813 [!__ASSUME_AT_RANDOM]: Remove conditional code.
814 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
816 * sysdeps/unix/sysv/linux/kernel-features.h
817 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
818 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
819 [ADJ_OFFSET_SS_READ]: Make code unconditional.
820 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
822 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
825 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
826 Fix calculation of the symbol's value.
827 * sysdeps/arm/tst-armtlsdescloc.c: New file.
828 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
829 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
830 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
831 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
832 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
833 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
834 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
835 (modules-names): Add `tst-armtlsdescmod',
836 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
837 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
838 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
839 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
840 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
841 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
842 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
843 ($(objpfx)tst-armtlsdescloc): New dependency.
844 ($(objpfx)tst-armtlsdescextnow): Likewise.
845 ($(objpfx)tst-armtlsdescextlazy): Likewise.
846 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
848 * sysdeps/arm/configure: Regenerate.
850 2014-06-20 Joseph Myers <joseph@codesourcery.com>
852 * include/fcntl.h (__atfct_seterrno): Remove prototype.
853 (__atfct_seterrno_2): Likewise.
854 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
856 (__ASSUME_ATFCTS): Do not undefine and redefine.
857 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
858 (__have_atfcts): Remove conditional definition.
859 (__fxstatat([__NR_fstatat64]: Make code unconditional.
860 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
861 unreachable if [__ASSUME_ATFCTS].
862 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
863 not undefine and redefine.
864 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
866 (faccessat) [__NR_faccessat]: Make code unconditional.
867 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
868 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
870 (fchmodat) [__NR_fchmodat]: Make code unconditional.
871 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
872 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
874 (fchownat) [__NR_fchownat]: Make code unconditional.
875 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
876 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
878 (futimesat) [__NR_futimesat]: Make code unconditional.
879 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
880 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
882 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
883 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
884 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
886 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
887 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
888 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
889 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
891 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
892 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
893 * sysdeps/unix/sysv/linux/linkat.c: Do not include
895 (linkat) [__NR_linkat]: Make code unconditional.
896 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
897 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
898 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
900 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
901 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
904 (mkdirat) [__NR_mkdirat]: Make code unconditional.
905 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
906 * sysdeps/unix/sysv/linux/openat.c: Do not include
908 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
909 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
910 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
911 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
912 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
913 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
915 (readlinkat) [__NR_readlinkat]: Make code unconditional.
916 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
917 result of INLINE_SYSCALL directly, not via int variable.
918 * sysdeps/unix/sysv/linux/renameat.c: Do not include
920 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
921 (renameat) [__NR_renameat]: Make code unconditional.
922 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
923 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
924 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
925 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
926 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
927 (__ASSUME_ATFCTS): Do not undefine and redefine.
928 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
930 (symlinkat) [__NR_symlinkat]: Make code unconditional.
931 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
934 (unlinkat) [__NR_unlinkat]: Make code unconditional.
935 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
936 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
937 (__ASSUME_ATFCTS): Do not undefine and redefine.
938 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
940 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
941 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
944 (__xmknodat) [__NR_mknodat]: Make code unconditional.
945 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
947 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
949 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
951 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
954 * posix/regcomp.c (parse_reg_exp): Deallocate partially
955 constructed tree before returning error.
956 * posix/bug-regexp36.c: Expand test case.
958 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
961 * math/libm-test.inc (scalbln_test_date):
962 Add errno expectations.
963 * math/w_scalblnf.c: New File.
964 Add wrapper which checks for setting errno to ERANGE.
965 Add weak_alias for corresponding scalbln function.
966 * math/w_scalbln.c: Likewise.
967 * math/w_scalblnl.c: Likewise.
968 * math/Makefile (libm-calls): Add w_scalbln.
969 * sysdeps/ieee754/flt-32/s_scalblnf.c:
970 Remove weak_alias for corresponding scalbln function.
971 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
973 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
974 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
975 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
976 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
977 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
978 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
979 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
980 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
981 Remove long_double_symbol for scalblnl function in libm, libc.
982 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
983 Add wrapper which checks for setting errno to ERANGE.
984 Add long_double_symbol for scalblnl function in libm, libc.
985 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
986 Remove long_double_symbol for scalblnl in libm.
987 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
988 Add wrapper which checks for setting errno to ERANGE.
989 Add long_double_symbol for scalblnl function in libm.
990 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
991 Do not use wrapper because of own implementation.
993 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
995 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
996 3 bytes for __pad1 for x32.
997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
999 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1000 H.J. Lu <hongjiu.lu@intel.com>
1002 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1003 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1004 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1005 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1006 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1008 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1011 * posix/regcomp.c (parse_expression): Deallocate partially
1012 constructed tree before returning error.
1013 * posix/Makefile.c (tests): Add bug-regex36.
1014 (generated): Add bug-regex36.mtrace.
1015 (tests-special): Add $(objpfx)bug-regex36-mem.out
1016 (bug-regex36-ENV): New variable.
1017 ($(objpfx)bug-regex36-mem.out): New rule.
1018 * posix/bug-regex36.c: New file.
1020 2014-06-19 Will Newton <will.newton@linaro.org>
1022 * malloc/malloc.c (systrim): If extra is zero then return
1025 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1027 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1029 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1031 * sysdeps/aarch64/strchr.S: New file.
1033 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1036 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1037 from arguments -2 or below.
1038 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1039 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1041 2014-06-18 Andreas Schwab <schwab@suse.de>
1044 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1045 of a bracket expr not to run off the end of the string.
1046 * posix/Makefile (tests): Add tst-fnmatch3.
1047 * posix/tst-fnmatch3.c: New file.
1049 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1051 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1052 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1053 [$(cross-compiling) = no]: Likewise.
1054 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1055 [$(cross-compiling) = no]: Likewise.
1057 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1060 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1061 double, adjusted for any remainder from the high double.
1062 * math/libm-test.inc (nearbyint): Add tests.
1065 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1067 * nptl/sysdeps/powerpc/Makefile: Moved ...
1068 * sysdeps/powerpc/nptl/Makefile: ... here.
1069 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1070 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1071 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1072 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1073 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1074 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1075 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1076 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1077 * nptl/sysdeps/powerpc/tls.h: Moved ...
1078 * sysdeps/powerpc/nptl/tls.h: ... here.
1080 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1083 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1084 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1085 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1086 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1087 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1088 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1089 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1090 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1091 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1093 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1095 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1097 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1099 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1102 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1105 2014-06-16 Florian Weimer <fweimer@redhat.com>
1108 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1109 non-executed part of the test.
1111 2014-06-16 Andreas Schwab <schwab@suse.de>
1113 * string/bits/string2.h (strdup, strndup): Update feature guard.
1115 2014-06-14 David S. Miller <davem@davemloft.net>
1117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1119 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1121 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1122 that was previously under [RESET_PID].
1123 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1125 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1126 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1127 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1128 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1129 (__libc_vfork): New strong alias.
1130 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1132 2014-06-14 Andi Kleen <ak@linux.intel.com>
1134 * sysdeps/generic/elide.h: New file.
1136 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1138 * Makefile (installed-headers): Adjust path of pthread.h header.
1140 2014-06-13 Roland McGrath <roland@hack.frob.com>
1142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1143 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1145 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1147 * nptl/sysdeps/s390/Makefile: Moved ...
1148 * sysdeps/s390/nptl/Makefile: ... here.
1149 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1150 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1151 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1152 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1153 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1154 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1155 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1156 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1157 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1158 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1159 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1160 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1161 * nptl/sysdeps/s390/tls.h: Moved ...
1162 * sysdeps/s390/nptl/tls.h: ... here.
1164 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1165 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1167 2014-06-13 David S. Miller <davem@davemloft.net>
1169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1176 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1177 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1178 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1180 Remove RESET_PID cpp guards.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1182 Remove RESET_PID cpp guards.
1183 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1185 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1187 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1190 2014-06-13 Andi Kleen <ak@linux.intel.com>
1192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1194 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1195 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1196 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1197 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1198 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1199 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1202 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1203 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1204 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1206 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1207 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1208 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1209 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1210 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1211 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1213 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1214 (pthread_rwlock_rdlock): Add elision.
1215 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1216 (pthread_rwlock_wrlock): Add elision.
1217 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1218 (pthread_rwlock_trywrlock): Add elision.
1219 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1220 (pthread_rwlock_tryrdlock): Add elision.
1221 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1222 (pthread_rwlock_tryrdlock): Add elision unlock.
1223 * nptl/sysdeps/pthread/pthread.h:
1224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1225 (PTHREAD_RWLOCK_INITIALIZER,
1226 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1227 Handle new elision field.
1228 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1229 * sysdeps/arm/nptl/bits/pthreadtypes.h
1230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1231 * sysdeps/sh/nptl/bits/pthreadtypes.h
1232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1233 * sysdeps/tile/nptl/bits/pthreadtypes.h
1234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1235 * sysdeps/a/nptl/bits/pthreadtypes.h
1236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1237 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1239 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1241 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1243 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1245 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1246 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1247 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1249 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1251 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1252 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1253 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1254 (elision_init): Set try_xbegin to zero when no RTM.
1255 * sysdeps/x86/nptl/bits/pthreadtypes.h
1256 (pthread_rwlock_t): Change __pad1 to __rwelision.
1257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1259 2014-06-13 Andi Kleen <ak@linux.intel.com>
1261 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1262 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1263 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1264 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1266 2014-06-13 Meador Inge <meadori@codesourcery.com>
1269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1270 that the cached result has been set before returning it.
1272 2014-06-12 Roland McGrath <roland@hack.frob.com>
1274 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1275 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1277 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1278 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1279 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1281 * nptl/sysdeps/sparc/Makefile: Moved ...
1282 * sysdeps/sparc/nptl/Makefile: ... here.
1283 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1284 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1285 * nptl/sysdeps/sparc/tls.h: Moved ...
1286 * sysdeps/sparc/nptl/tls.h: ... here.
1287 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1288 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1289 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1290 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1291 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1292 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1293 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1294 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1295 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1296 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1297 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1298 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1299 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1300 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1301 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1302 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1303 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1304 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1306 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1309 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1310 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1312 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1316 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1318 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1319 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1321 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1322 (struct list_links): Type removed.
1323 (struct thread_node, struct timer_node): Replace struct list_links
1324 with struct list_head.
1325 (list_unlink_ip): Likewise.
1326 * sysdeps/pthread/timer_routines.c
1327 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1328 (list_append, list_insbefore): Likewise.
1329 (list_init): Function removed.
1330 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1331 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1332 * sysdeps/pthread/Makefile: ... here, new file.
1334 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1335 * sysdeps/nptl/Implies: ... here.
1336 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1337 * nptl/sysdeps/pthread/list.h: Moved ...
1338 * include/list.h: ... here.
1339 * nptl/sysdeps/pthread/createthread.c: Moved ...
1340 * nptl/createthread.c: ... here.
1341 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1342 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1343 * nptl/pt-longjmp.c: ... here.
1344 * nptl/sysdeps/pthread/Makefile: Moved ...
1345 * sysdeps/nptl/Makefile: ... here.
1346 * nptl/sysdeps/pthread/Subdirs: Moved ...
1347 * sysdeps/nptl/Subdirs: ... here.
1348 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1349 * sysdeps/nptl/aio_misc.h: ... here.
1350 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1351 * sysdeps/nptl/bits/libc-lock.h: ... here.
1352 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1353 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1354 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1355 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1356 * nptl/sysdeps/pthread/configure: Moved ...
1357 * sysdeps/nptl/configure: ... here.
1358 * nptl/sysdeps/pthread/configure.ac: Moved ...
1359 * sysdeps/nptl/configure.ac: ... here.
1360 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1361 * sysdeps/nptl/gai_misc.h: ... here.
1362 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1363 * sysdeps/nptl/librt-cancellation.c: ... here.
1364 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1365 * sysdeps/nptl/malloc-machine.h: ... here.
1366 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1367 * sysdeps/nptl/pthread-functions.h: ... here.
1368 * nptl/sysdeps/pthread/pthread.h: Moved ...
1369 * sysdeps/nptl/pthread.h: ... here.
1370 * nptl/sysdeps/pthread/setxid.h: Moved ...
1371 * sysdeps/nptl/setxid.h: ... here.
1372 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1373 * sysdeps/nptl/sigfillset.c: ... here.
1374 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1375 * sysdeps/nptl/tcb-offsets.h: ... here.
1376 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1377 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1378 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1379 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1380 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1381 * sysdeps/pthread/allocalim.h: ... here.
1382 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1383 * sysdeps/pthread/bits/sigthread.h: ... here.
1384 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1385 * sysdeps/pthread/flockfile.c: ... here.
1386 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1387 * sysdeps/pthread/ftrylockfile.c: ... here.
1388 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1389 * sysdeps/pthread/funlockfile.c: ... here.
1390 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1391 * sysdeps/pthread/posix-timer.h: ... here.
1392 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1393 * sysdeps/pthread/timer_create.c: ... here.
1394 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1395 * sysdeps/pthread/timer_delete.c: ... here.
1396 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1397 * sysdeps/pthread/timer_getoverr.c: ... here.
1398 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1399 * sysdeps/pthread/timer_gettime.c: ... here.
1400 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1401 * sysdeps/pthread/timer_routines.c: ... here.
1402 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1403 * sysdeps/pthread/timer_settime.c: ... here.
1404 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1405 * sysdeps/pthread/tst-timer.c: ... here.
1406 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1407 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1409 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1410 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1412 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1413 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1414 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1415 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1416 Update #include target.
1417 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1418 * sysdeps/i386/i686/nptl/Makefile: ... here.
1419 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1420 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1421 Update #include target.
1422 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1423 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1424 * nptl/sysdeps/i386/Makefile: Moved ...
1425 * sysdeps/i386/nptl/Makefile: ... here.
1426 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1427 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1428 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1429 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1430 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1431 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1432 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1433 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1434 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1435 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1436 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1437 * nptl/sysdeps/i386/tls.h: Moved ...
1438 * sysdeps/i386/nptl/tls.h: ... here.
1440 * sysdeps/sh/Makefile [$(subdir) = csu]
1441 (gen-as-const-headers): Add tcb-offsets.sym.
1442 * nptl/sysdeps/sh/Makefile: File removed.
1443 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1444 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1445 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1446 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1447 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1448 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1449 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1450 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1451 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1452 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1453 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1454 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1455 * nptl/sysdeps/sh/tls.h: Moved ...
1456 * sysdeps/sh/nptl/tls.h: ... here.
1457 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1458 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1460 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1461 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1462 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1463 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1464 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1466 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1468 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1470 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1472 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1474 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1476 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1477 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1478 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1480 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1481 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1483 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1486 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1488 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1490 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1491 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1492 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1494 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1495 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1496 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1497 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1498 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1499 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1500 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1501 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1502 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1503 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1504 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1506 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1508 * posix/spawn_faction_addopen.c: Include string.h.
1510 2014-06-11 Roland McGrath <roland@hack.frob.com>
1512 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1513 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1514 * nptl/sysdeps/x86_64/Makefile: Moved ...
1515 * sysdeps/x86_64/nptl/Makefile: ... here.
1516 * nptl/sysdeps/x86_64/configure: Moved ...
1517 * sysdeps/x86_64/nptl/configure: ... here.
1518 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1519 * sysdeps/x86_64/nptl/configure.ac: ... here.
1520 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1521 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1522 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1523 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1524 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1525 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1526 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1527 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1528 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1529 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1530 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1531 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1532 * nptl/sysdeps/x86_64/tls.h: Moved ...
1533 * sysdeps/x86_64/nptl/tls.h: ... here.
1534 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1535 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1536 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1537 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1539 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1541 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1545 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1547 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1549 [POSIX] (off_t): Likewise.
1550 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1551 [POSIX] (S_ISBLK): Require macro.
1552 [POSIX] (S_ISCHR): Likewise.
1553 [POSIX] (S_ISDIR): Likewise.
1554 [POSIX] (S_ISFIFO): Likewise.
1555 [POSIX] (S_ISREG): Likewise.
1556 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1558 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1560 [POSIX] (time_t): Likewise.
1561 [POSIX] (timer_t): Likewise.
1563 2014-06-11 Florian Weimer <fweimer@redhat.com>
1566 * posix/spawn_int.h (struct __spawn_action): Make the path string
1567 non-const to support deallocation.
1568 * posix/spawn_faction_addopen.c
1569 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1570 * posix/spawn_faction_destroy.c
1571 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1572 path in all spawn_do_open actions.
1573 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1574 posix_spawn_file_actions_addopen.
1576 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1578 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1579 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1580 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1581 conditional code always true.
1582 (__libc_vfork): New alias.
1584 2014-06-11 Roland McGrath <roland@hack.frob.com>
1586 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1587 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1589 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1591 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1592 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1594 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1595 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1597 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1598 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1600 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1602 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1603 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1604 multiarch strcmp for PPC64.
1605 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1606 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1608 multiarch optimizations.
1609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1610 (__libc_ifunc_impl_list): Likewise.
1612 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1614 * benchtests/scripts/validate_benchout.py: New script.
1615 * benchtests/Makefile (bench-func): Call it.
1616 * benchtests/scripts/benchout.schema.json: New file.
1618 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1620 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1621 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1622 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1623 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1624 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1625 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1626 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1627 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1628 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1629 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1630 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1631 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1632 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1633 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1634 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1635 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1740 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1742 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1745 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1748 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1750 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1752 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1756 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1757 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1761 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1764 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1769 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1773 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1774 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1775 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1777 2014-06-10 Wilco <wdijkstr@arm.com>
1779 * math/test-fenv-return.c: New file.
1780 * math/Makefile: Add new test test-fenv-return.
1782 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1785 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1787 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1788 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1789 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1790 0.0L for an argument of 1.0L.
1791 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1793 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1794 value when x - 1 is zero.
1795 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1796 * sysdeps/i386/fpu/libm-test-ulps: Update.
1797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1799 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1802 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1804 2014-06-09 Roland McGrath <roland@hack.frob.com>
1806 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1807 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1809 2014-06-09 Roland McGrath <roland@hack.frob.com>
1811 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1812 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1814 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1815 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1817 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1818 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1820 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1821 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1823 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1824 if not already defined.
1825 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1826 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1827 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1828 (TLS_INIT_TP): Use it.
1829 (TLS_DEFINE_INIT_TP): New macro.
1830 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1832 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1834 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1836 [POSIX] (IXANY): Likewise.
1837 [POSIX] (OLCUC): Likewise.
1838 [POSIX || POSIX2008] (CBAUD): Do not allow.
1839 [POSIX || POSIX2008] (DEFECHO): Likewise.
1840 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1841 [POSIX || POSIX2008] (ECHOKE): Likewise.
1842 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1843 [POSIX || POSIX2008] (EXTA): Likewise.
1844 [POSIX || POSIX2008] (EXTB): Likewise.
1845 [POSIX || POSIX2008] (FLUSHO): Likewise.
1846 [POSIX || POSIX2008] (LOBLK): Likewise.
1847 [POSIX || POSIX2008] (PENDIN): Likewise.
1848 [POSIX || POSIX2008] (SWTCH): Likewise.
1849 [POSIX || POSIX2008] (VDISCARD): Likewise.
1850 [POSIX || POSIX2008] (VDSUSP): Likewise.
1851 [POSIX || POSIX2008] (VLNEXT): Likewise.
1852 [POSIX || POSIX2008] (VREPRINT): Likewise.
1853 [POSIX || POSIX2008] (VSTATUS): Likewise.
1854 [POSIX || POSIX2008] (VWERASE): Likewise.
1855 (B*): Change to B[0123456789]*.
1856 * conform/data/time.h-data [POSIX || UNIX98]
1857 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1858 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1859 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1860 [POSIX] (tm_*): Do not allow.
1862 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1864 * Makefile (install): Don't set LANGUAGE.
1865 * Makefile.in (install): Likewise.
1866 * assert/Makefile (test-assert-ENV): Remove variable.
1867 (test-assert-perr-ENV): Likewise.
1868 * elf/Makefile (neededtest4-ENV): Likewise.
1869 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1870 [$(cross-compiling) = no]: Don't set LANGUAGE.
1871 * io/ftwtest-sh (LANG): Remove variable.
1872 * libio/Makefile (tst-widetext-ENV): Likewise.
1873 * manual/install.texi (Running make install): Don't refer to
1874 environment settings for make install.
1875 * INSTALL: Regenerated.
1876 * nptl/tst-tls6.sh: Don't set LANG.
1877 * posix/globtest.sh (LANG): Remove variable.
1878 * string/Makefile (tester-ENV): Likewise.
1879 (inl-tester-ENV): Likewise.
1880 (noinl-tester-ENV): Likewise.
1881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1882 [$(cross-compiling) = no]: Don't set LANGUAGE.
1883 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1884 without explicit environment settings.
1886 2014-06-06 Roland McGrath <roland@hack.frob.com>
1888 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1889 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1891 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1893 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1895 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1896 other files in the crypt directory.
1897 * crypt/crypt.c: Remove duplicate includes.
1898 * crypt/crypt-entry.c: Likewise.
1899 * crypt/crypt_util.c: Likewise.
1901 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1903 * Makeconfig (run-program-env): New variable.
1904 (run-program-prefix-before-env): Likewise.
1905 (run-program-prefix-after-env): Likewise.
1906 (run-program-prefix): Define in terms of new variables.
1907 (built-program-cmd-before-env): New variable.
1908 (built-program-cmd-after-env): Likewise.
1909 (built-program-cmd): Define in terms of new variables.
1910 (test-program-prefix-before-env): New variable.
1911 (test-program-prefix-after-env): Likewise.
1912 (test-program-prefix): Define in terms of new variables.
1913 (test-program-cmd-before-env): New variable.
1914 (test-program-cmd-after-env): Likewise.
1915 (test-program-cmd): Define in terms of new variables.
1916 * Rules (make-test-out): Use $(run-program-env).
1917 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1918 (help): Do not mention environment variables. Mention
1919 --timeoutfactor option.
1920 (timeoutfactor): New variable.
1921 (blacklist_exports): Remove function.
1922 (exports): Remove variable.
1923 (command): Do not include ${exports}.
1924 * manual/install.texi (Configuring and compiling): Do not mention
1925 test wrappers preserving environment variables. Mention that last
1926 assignment to a variable must take precedence.
1927 * INSTALL: Regenerated.
1928 * benchtests/Makefile (run-bench): Use $(run-program-env).
1929 * catgets/Makefile ($(objpfx)test1.cat): Use
1930 $(built-program-cmd-before-env), $(run-program-env) and
1931 $(built-program-cmd-after-env).
1932 ($(objpfx)test2.cat): Do not specify environment variables
1934 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1935 $(run-program-env) and $(built-program-cmd-after-env).
1936 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1937 $(run-program-env) and $(test-program-cmd-after-env).
1938 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1940 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1941 run_program_env and test_program_cmd_after_env arguments.
1942 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1943 * elf/tst-pathopt.sh: Use run_program_env argument.
1944 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1945 $(test-wrapper-env) and $(run-program-env).
1946 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1947 run_program_env arguments.
1948 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1949 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1950 $(test-program-prefix-before-env), $(run-program-env) and
1951 $(test-program-prefix-after-env).
1952 ($(objpfx)tst-gettext2.out): Likewise.
1953 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1954 run_program_env and test_program_prefix_after_env arguments.
1955 * intl/tst-gettext2.sh: Likewise.
1956 * intl/tst-gettext4.sh: Do not set environment variables
1958 * intl/tst-gettext6.sh: Likewise.
1959 * intl/tst-translit.sh: Likewise.
1960 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1961 $(test-program-prefix-before-env), $(run-program-env) and
1962 $(test-program-prefix-after-env).
1963 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1964 run_program_env and test_program_prefix_after_env arguments.
1965 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1966 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1967 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1968 explicitly with each use of ${test_wrapper_env}.
1969 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1970 $(test-program-prefix-before-env), $(run-program-env) and
1971 $(test-program-prefix-after-env).
1972 * posix/tst-getconf.sh: Do not set environment variables
1974 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1975 run_program_env and test_program_prefix_after_env arguments.
1976 * stdio-common/tst-printf.sh: Do not set environment variables
1978 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1979 $(test-program-prefix-before-env), $(run-program-env) and
1980 $(test-program-prefix-after-env).
1981 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1982 run_program_env and test_program_prefix_after_env arguments.
1983 Split $test calls into $test_pre and $test.
1984 * timezone/Makefile (build-testdata): Use
1985 $(built-program-cmd-before-env), $(run-program-env) and
1986 $(built-program-cmd-after-env).
1988 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1990 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1991 strlen for non SHARED builds.
1993 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1995 * nptl/allocatestack.c (check_list): Inlined function...
1996 (__reclaim_stacks): ... here.
1998 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2001 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2004 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2006 * Rules (make-test-out): Include
2007 LOCPATH=$(common-objpfx)localedata in default environment.
2008 * debug/Makefile (tst-chk1-ENV): Remove variable.
2009 (tst-chk2-ENV): Likewise.
2010 (tst-chk3-ENV): Likewise.
2011 (tst-chk4-ENV): Likewise.
2012 (tst-chk5-ENV): Likewise.
2013 (tst-chk6-ENV): Likewise.
2014 (tst-lfschk1-ENV): Likewise.
2015 (tst-lfschk2-ENV): Likewise.
2016 (tst-lfschk3-ENV): Likewise.
2017 (tst-lfschk4-ENV): Likewise.
2018 (tst-lfschk5-ENV): Likewise.
2019 (tst-lfschk6-ENV): Likewise.
2020 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2021 (tst-iconv7-ENV): Likewise.
2022 * intl/Makefile (LOCPATH-ENV): Likewise.
2023 (tst-codeset-ENV): Likewise.
2024 (tst-gettext3-ENV): Likewise.
2025 (tst-gettext5-ENV): Likewise.
2026 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2027 (tst-fopenloc-ENV): Likewise.
2028 (tst-fgetws-ENV): Remove variable.
2029 (tst-ungetwc1-ENV): Likewise.
2030 (tst-ungetwc2-ENV): Likewise.
2031 (bug-ungetwc2-ENV): Likewise.
2032 (tst-swscanf-ENV): Likewise.
2033 (bug-ftell-ENV): Likewise.
2034 (tst-fgetwc-ENV): Likewise.
2035 (tst-fseek-ENV): Likewise.
2036 (tst-ftell-partial-wide-ENV): Likewise.
2037 (tst-ftell-active-handler-ENV): Likewise.
2038 (tst-ftell-append-ENV): Likewise.
2039 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2040 (tst-regexloc-ENV): Likewise.
2041 (bug-regex1-ENV): Likewise.
2042 (tst-regex-ENV): Likewise.
2043 (tst-regex2-ENV): Likewise.
2044 (bug-regex5-ENV): Likewise.
2045 (bug-regex6-ENV): Likewise.
2046 (bug-regex17-ENV): Likewise.
2047 (bug-regex18-ENV): Likewise.
2048 (bug-regex19-ENV): Likewise.
2049 (bug-regex20-ENV): Likewise.
2050 (bug-regex22-ENV): Likewise.
2051 (bug-regex23-ENV): Likewise.
2052 (bug-regex25-ENV): Likewise.
2053 (bug-regex26-ENV): Likewise.
2054 (bug-regex30-ENV): Likewise.
2055 (bug-regex32-ENV): Likewise.
2056 (bug-regex33-ENV): Likewise.
2057 (bug-regex34-ENV): Likewise.
2058 (bug-regex35-ENV): Likewise.
2059 (tst-rxspencer-ENV): Likewise.
2060 (tst-rxspencer-no-utf8-ENV): Likewise.
2061 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2062 (tst-sscanf-ENV): Likewise.
2063 (tst-swprintf-ENV): Likewise.
2064 (tst-swscanf-ENV): Likewise.
2065 (test-vfprintf-ENV): Likewise.
2066 (scanf13-ENV): Likewise.
2067 (bug14-ENV): Likewise.
2068 (tst-grouping-ENV): Likewise.
2069 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2070 (tst-strtod3-ENV): Likewise.
2071 (tst-strtod4-ENV): Likewise.
2072 (tst-strtod5-ENV): Likewise.
2073 (testmb2-ENV): Likewise./
2074 * string/Makefile (tst-strxfrm-ENV): Likewise.
2075 (tst-strxfrm2-ENV): Likewise.
2076 (bug-strcoll1-ENV): Likewise.
2077 (test-strcasecmp-ENV): Likewise.
2078 (test-strncasecmp-ENV): Likewise.
2079 * time/Makefile (tst-strptime-ENV): Likewise.
2080 (tst-ftime_l-ENV): Likewise.
2081 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2082 (tst-mbrtowc-ENV): Likewise.
2083 (tst-wcrtomb-ENV): Likewise.
2084 (tst-mbrtowc2-ENV): Likewise.
2085 (tst-c16c32-1-ENV): Likewise.
2086 (tst-mbsnrtowcs-ENV): Likewise.
2088 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2090 * manual/resource.texi (How to get information about the memory
2091 subsystem?): Fix typo.
2092 Reported by Peon de la Parra Ivan <peon@keba.com>
2094 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2097 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2098 (pthread_spin_lock): Branch out of spin loop to proper location.
2099 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2100 (pthread_spin_lock): Likewise.
2102 * nptl/tst-spin4.c: New test.
2103 * nptl/Makefile (tests): Add tst-spin4.
2105 2014-06-03 Andreas Schwab <schwab@suse.de>
2108 * resolv/res_send.c (send_dg): Reload file descriptor after
2111 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2113 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2115 2014-06-03 Richard Henderson <rth@redhat.com>
2117 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2118 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2119 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2120 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2121 in the SAVE_PID block.
2122 (__libc_vfork): New alias.
2123 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2125 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2126 child in registers, not on the stack. Remove RESET_PID conditionals.
2127 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2129 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2131 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2133 2014-06-03 Wilco <wdijkstr@arm.com>
2135 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2136 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2137 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2138 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2139 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2142 2014-06-03 Wilco <wdijkstr@arm.com>
2144 * sysdeps/aarch64/fpu/math_private.h
2145 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2146 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2147 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2148 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2151 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2153 * crypt/crypt-private.h: Include ufc-crypt.h.
2154 (__b64_from_24bit): Declare extern.
2155 * crypt/crypt_util.c(__b64_from_24bit): New function.
2156 (b64t): New static const variable.
2157 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2158 (b64t): Remove variable.
2159 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2160 * crypt/sha256-crypt.c: Include crypt-private.h.
2161 (b64t): Remove variable.
2162 (__sha256_crypt_r): Remove b64_from_24bit and replace
2163 with __b64_from_24bit.
2164 * crypt/sha512-crypt.c: Likewise.
2166 2014-06-02 Roland McGrath <roland@hack.frob.com>
2168 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2169 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2170 Label the code __libc_vfork rather than __vfork.
2171 [!NOT_IN_libc] (vfork): Define as weak alias.
2172 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2173 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2174 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2176 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2178 * malloc/malloc.c (malloc_info): Fix format specifier for
2181 2014-06-02 Wilco <wdijkstr@arm.com>
2183 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2186 2014-06-02 Wilco <wdijkstr@arm.com>
2189 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2190 Rewrite to reduce FPCR/FPSR accesses.
2192 2014-06-01 David S. Miller <davem@davemloft.net>
2194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2196 2014-05-31 David S. Miller <davem@davemloft.net>
2198 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2199 to occur in round to nearest mode when |x| >= 2.0
2201 2014-05-30 Richard Henderson <rth@twiddle.net>
2203 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2204 (PSEUDO_RET_NOERRNO): Remove.
2205 (ret): Don't redefine.
2206 (ret_NOERRNO): Define in terms of ret.
2207 (ret_ERRVAL): Likewise.
2209 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2210 use of PSEUDO_RET; perform the error check directly.
2212 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2214 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2217 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2219 * malloc/malloc (malloc_info): Fix formatting.
2221 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2222 Roland McGrath <roland@hack.frob.com>
2224 * malloc/malloc (malloc_info): Also print mmapped statistics.
2226 2014-05-30 Roland McGrath <roland@hack.frob.com>
2228 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2229 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2231 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2233 * malloc/malloc.c (malloc_info): Inline mi_arena.
2235 2014-05-29 Richard Henderson <rth@twiddle.net>
2237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2238 Remove comma before expanding ASM_ARGS_##nr.
2239 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2240 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2242 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2243 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2244 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2245 (ASM_ARGS_1): Add leading comma.
2247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2248 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2249 to __errno_location.
2250 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2251 Remove the expected plt for __errno_location.
2253 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2254 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2257 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2258 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2259 it and break it down.
2260 (DOCARGS_0, DOCARGS_1): Do nothing.
2261 (DOCARGS_2): Update to store into the new stack frame.
2262 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2263 (UNDOCARGS_1): Update to restore from the new stack frame.
2264 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2265 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2267 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2268 (SINGLE_THREAD_P): New parameter for result regno.
2269 (PSEUDO): Update to match; use cbz instead of beq.
2271 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2272 Use ENTRY to define the _nocancel entry point. Share the syscall
2273 and syscall error check paths with the cancel path.
2276 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2277 whitespace; tabs before and after asm mnemonics.
2279 2014-05-29 Eric Wong <normalperson@yhbt.net>
2282 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2283 Call fstat64 or stat64 internally, depending on arguments passed.
2284 Replace stat buffer argument with file descriptor argument.
2285 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2286 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2287 Pass fd to __internal_statvfs instead of calling fstat64.
2288 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2289 Pass fd to __internal_statvfs64 instead of calling fstat64.
2290 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2291 Pass -1 to __internal_statvfs instead of calling stat64.
2292 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2293 Pass -1 to __internal_statvfs64 instead of calling stat64.
2295 2014-05-28 Roland McGrath <roland@hack.frob.com>
2297 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2298 that was previously under [RESET_PID].
2299 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2301 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2302 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2304 2014-05-27 Roland McGrath <roland@hack.frob.com>
2306 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2308 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2309 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2311 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2313 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2315 2014-05-27 Andreas Schwab <schwab@suse.de>
2317 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2319 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2320 * elf/rtld.c (init_tls, dl_main): Likewise.
2321 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2322 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2323 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2324 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2325 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2326 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2327 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2328 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2329 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2330 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2331 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2332 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2333 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2334 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2335 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2336 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2337 * sysdeps/generic/tls.h: Update description.
2339 2014-05-27 Will Newton <will.newton@linaro.org>
2342 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2343 and restore r2 rather than just restoring.
2345 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2348 * libio/tst-ftell-append.c: New test case.
2349 * libio/Makefile (tests): Add test case.
2350 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2352 * libio/wfileops.c (do_ftell_wide): Likewise.
2354 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2358 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2362 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2363 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2365 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2366 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2367 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2368 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2374 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2375 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2377 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2378 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2380 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2381 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2383 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2385 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2387 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2389 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2392 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2394 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2417 conditional [RESET_PID].
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2426 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2427 (__libc_vfork): New strong alias.
2428 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2435 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2436 (__libc_vfork): New strong alias.
2437 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2442 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2444 * malloc/malloc.c (mi_arena): New function.
2445 (malloc_info): Remove nested function mi_arena. Call non-nosted
2448 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2450 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2452 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2453 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2454 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2455 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2457 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2458 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2460 2014-05-26 Andreas Schwab <schwab@suse.de>
2463 * locale/programs/repertoire.c (repertoire_read): Add slash
2464 between I18NPATH element and file name.
2465 * locale/programs/locfile.c (locfile_read): Likewise.
2467 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2469 * nptl/pthread_mutexattr_settype.c
2470 (__pthread_mutexattr_settype):
2471 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2473 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2475 * nptl/tst-mutex5 (do_test):
2476 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2478 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2480 * benchtests/README: Document 'init' directive.
2481 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2483 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2484 (parse_file): Recognize 'init' directive.
2486 2014-05-26 Kyle McMartin <kyle@redhat.com>
2489 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2490 alignment of struct pthread.
2492 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2495 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2496 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2497 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2498 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2500 2014-05-25 Richard Henderson <rth@twiddle.net>
2502 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2503 (SINGLE_THREAD_P_PIC): Remove.
2504 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2505 (SINGLE_THREAD_P_PIC): Remove.
2507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2508 branch to syscall error ...
2510 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2511 from __local_syscall_error to .Lsyscall_error.
2512 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2513 (SYSCALL_ERROR): Update label name.
2515 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2516 Do not use DOARGS/UNDOARGS.
2517 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2518 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2519 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2520 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2521 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2526 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2527 define if !NOT_IN_libc.
2528 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2529 define with non-default symbol versions.
2531 2014-05-23 Richard Henderson <rth@twiddle.net>
2533 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2534 (vfork, __vfork): Define via compat_symbol.
2536 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2537 [!HAVE_IFUNC] (vfork_compat): Remove.
2538 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2540 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2543 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2544 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2547 2014-05-23 Richard Henderson <rth@twiddle.net>
2549 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2550 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2551 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2552 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2554 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2555 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2556 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2557 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2559 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2560 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2561 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2562 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2563 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2564 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2565 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2566 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2567 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2568 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2569 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2570 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2571 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2572 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2573 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2574 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2575 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2576 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2577 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2578 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2580 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2581 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2582 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2583 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2585 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2586 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2587 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2588 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2589 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2590 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2591 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2593 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2594 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2595 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2596 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2597 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2598 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2599 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2601 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2603 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2605 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2606 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2607 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2608 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2609 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2611 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2612 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2613 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2614 before exiting on error.
2615 (__libc_vfork): New strong alias.
2616 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2617 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2619 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2620 that was previously under [RESET_PID].
2621 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2623 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2625 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2628 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2629 value when x - 1 is zero.
2630 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2631 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2632 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2633 0.0L for an argument of 1.0L.
2634 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2636 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2637 value when x - 1 is zero.
2638 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2639 * sysdeps/i386/fpu/libm-test-ulps: Update.
2640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2642 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2644 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2645 alphasort and versionsort.
2647 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2651 [copysignf]: Likewise.
2653 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2655 * crypt/md5-crypt.c: Fix formatting.
2657 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2659 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2660 (b64_from_24bit): New function.
2662 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2665 libc_hidden_builtin_def to ifunc.
2666 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2667 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2669 2014-05-21 Roland McGrath <roland@hack.frob.com>
2671 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2672 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2674 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2676 * nscd/Depend (linuxthreads): Remove.
2678 * resolv/Depend (linuxthreads): Remove.
2679 * rt/Depend (linuxthreads): Remove.
2681 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2682 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2683 $(common-objpfx)elf/.
2684 (link-libc-before-gnulib): Likewise.
2685 (elfobjdir): Remove variable.
2686 * Makefile (install): Use $(elf-objpfx) instead of
2687 $(common-objpfx)elf/.
2688 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2690 (link-libc-deps): Likewise.
2691 ($(common-objpfx)libc.so): Likewise.
2692 ($(common-objpfx)linkobj/libc.so): Likewise.
2693 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2694 instead of $(common-objpfx)elf/.
2695 (symbolic-link-list): Likewise.
2696 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2697 [$(cross-compiling) = no]: Likewise.
2698 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2700 (static-gnulib-arch): Likewise.
2701 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2702 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2703 $(common-objpfx)elf/.
2705 2014-05-21 Richard Henderson <rth@redhat.com>
2707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2708 (SINGLE_THREAD_P): Use the correct width load. Fold
2709 into the ldr offset.
2711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2712 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2714 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2716 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2717 (libgcc_s_resume): Use __attribute_used__.
2718 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2721 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2723 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2724 optimization when used with float constants.
2726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2728 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2731 * locale/nl_langinfo_l.c: Make direct reference to every
2732 _nl_current_CATEGORY symbol.
2733 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2734 (tests-static): Add tst-langinfo-static.
2735 (tests-special): Add tst-langinfo-static.out.
2736 ($(objpfx)tst-langinfo.out): Redirect output.
2737 ($(objpfx)tst-langinfo-static.out): New.
2738 * localedata/tst-langinfo.sh: Send output to stdout.
2739 * localedata/tst-langinfo-static.c: New file.
2742 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2743 when the shift amount is modulo the limb size.
2745 2014-05-20 Richard Henderson <rth@redhat.com>
2748 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2749 Change type of sa_flags from unsigned int to int.
2752 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2754 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2756 2014-05-20 Will Newton <will.newton@linaro.org>
2758 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2759 Test the return value of the system call in the nocancel case.
2761 2014-05-20 Will Newton <will.newton@linaro.org>
2762 Yvan Roux <yvan.roux@linaro.org>
2764 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2765 #include of asm/ptrace.h.
2766 (PTRACE_GET_THREAD_AREA): Remove #undef.
2767 (PTRACE_GETHBPREGS): Likewise.
2768 (PTRACE_SETHBPREGS): Likewise.
2769 (struct user_regs_struct): New structure.
2770 (struct user_fpsimd_struct): New structure.
2771 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2772 #include of asm/ptrace.h and second #include of sys/user.h.
2773 (PTRACE_GET_THREAD_AREA): Remove #undef.
2774 (PTRACE_GETHBPREGS): Likewise.
2775 (PTRACE_SETHBPREGS): Likewise.
2776 (ELF_NGREG): Use new struct user_regs_struct.
2777 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2779 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2784 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2788 membar to avoid block loads/stores to overlap previous stores.
2790 2014-05-17 Richard Henderson <rth@redhat.com>
2792 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2793 Create the __##syscall_name##_nocancel entry point.
2794 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2795 Remove; let the sysdep-cancel.h code create it.
2797 2014-05-17 David S. Miller <davem@davemloft.net>
2799 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2800 Protect with __USE_GNU.
2801 (TIOCSET_TEMPT): Likewise.
2802 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2803 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2804 these are already provided in bits/ioctl-types.h
2806 2014-05-16 Roland McGrath <roland@hack.frob.com>
2808 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2809 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2811 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2812 Use wait4 regardless of [__NR_waitpid].
2814 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2817 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2818 (_FP_NANSIGN_Q): Set the quiet bit.
2820 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2822 * benchtests/Makefile
2823 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2824 not $(common-objpfx)math/libm.so.
2825 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2826 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2827 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2828 $(common-objpfx)dlfcn/libdl.so.
2829 ($(objpfx)tst-audit8): Depend on $(libm), not
2830 $(common-objpfx)math/libm.so.
2831 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2832 not $(common-objpfx)dlfcn/libdl.so.
2834 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2835 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2836 [$(build-shared) = yes].
2837 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2838 $(common-objpfx)nptl/libpthread.so.
2839 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2840 $(common-objpfx)math/libm.so$(libm.so-version) or
2841 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2842 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2843 $(common-objpfx)dlfcn/libdl.so.
2844 * setjmp/Makefile (link-libm): Remove variable.
2845 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2846 * stdio-common/Makefile (link-libm): Remove variable.
2847 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2848 * stdlib/Makefile (link-libm): Remove variable.
2849 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2850 ($(objpfx)tst-strtod-round): Likewise.
2851 ($(objpfx)tst-tininess): Likewise.
2852 ($(objpfx)tst-strtod-underflow): Likewise.
2853 ($(objpfx)tst-strtod6): Likewise.
2854 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2855 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2856 $(common-objpfx)dlfcn/libdl.so.
2858 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2861 BSD terminal modes definitions.
2863 2014-05-16 Roland McGrath <roland@hack.frob.com>
2865 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2866 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2868 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2869 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2870 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2871 Don't do #include_next.
2872 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2873 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2874 Don't do #include_next.
2875 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2876 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2877 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2878 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2880 2014-05-16 Allan McRae <allan@archlinux.org>
2882 * po/sv.po: Update Swedish translation from translation project.
2884 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2887 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2890 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2891 errno if the TIOCGPTN ioctl fails with an error different than
2893 * login/tst-ptsname.c: New file.
2894 * login/Makefile (tests): Add tst-ptsname.
2897 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2900 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2904 herrno to return EAI_AGAIN.
2906 2014-05-14 Roland McGrath <roland@hack.frob.com>
2908 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2909 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2910 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2911 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2912 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2915 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2937 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2939 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2941 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2944 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2968 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2973 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2994 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2999 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3000 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3001 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3002 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3003 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3004 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3006 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3008 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3009 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3010 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3011 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3012 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3014 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3016 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3017 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3018 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3020 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3022 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3024 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3026 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3028 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3030 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3031 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3033 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3034 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3035 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3037 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3040 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3043 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3046 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3049 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3051 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3054 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3056 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3058 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3060 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3063 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3066 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3068 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3069 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3071 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3072 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3074 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3076 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3078 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3080 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3082 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3085 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3088 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3091 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3094 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3096 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3099 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3101 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3103 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3105 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3108 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3113 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3114 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3116 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3119 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3121 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3123 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3125 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3127 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3131 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3134 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3137 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3140 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3143 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3145 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3147 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3150 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3152 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3154 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3155 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3156 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3157 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3159 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3162 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3164 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3165 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3167 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3170 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3172 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3176 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3178 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3179 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3180 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3182 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3183 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3184 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3186 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3187 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3189 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3190 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3192 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3193 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3194 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3196 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3198 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3200 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3204 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3206 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3208 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3211 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3213 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3216 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3218 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3220 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3222 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3225 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3230 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3232 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3234 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3236 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3237 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3238 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3239 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3240 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3242 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3244 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3246 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3247 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3248 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3249 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3250 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3252 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3253 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3254 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3255 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3256 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3257 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3258 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3259 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3260 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3261 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3263 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3264 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3266 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3267 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3268 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3269 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3271 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3272 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3273 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3274 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3275 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3276 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3277 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3278 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3279 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3300 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3301 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3305 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3306 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3307 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3308 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3309 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3310 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3311 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3312 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3314 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3316 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3317 that was previously under [RESET_PID].
3318 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3319 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3320 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3322 * sysdeps/i386/nptl/Implies: New file.
3323 * sysdeps/x86_64/nptl/Implies: New file.
3324 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3325 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3327 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3329 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3330 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3331 (__libc_vfork): New strong alias.
3332 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3333 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3335 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3336 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3337 (__libc_vfork): New strong alias.
3338 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3339 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3341 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3342 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3343 (__libc_vfork): New strong alias.
3344 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3345 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3346 * nptl/pt-vfork.c: New file.
3347 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3348 (libpthread: GLIBC_2.20): New version set (empty).
3350 2014-05-14 Will Newton <will.newton@linaro.org>
3352 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3355 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3358 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3359 arguments with exponent 65 or above.
3360 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3361 arguments 0x1p113L or above.
3362 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3363 to arguments 0x1p107L or above.
3364 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3365 positive arguments with exponent 65 or above.
3366 * math/auto-libm-test-in: Add more tests of log1p.
3367 * math/auto-libm-test-out: Regenerated.
3370 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3371 non-finite arguments is +0.
3372 * math/s_cacosf.c (__cacosf): Likewise.
3373 * math/s_cacosl.c (__cacosl): Likewise.
3374 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3375 * sysdeps/i386/fpu/libm-test-ulps: Update.
3376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3379 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3381 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3382 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3383 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3384 for explicit high bit of mantissa when testing for argument equal
3386 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3387 * sysdeps/i386/fpu/libm-test-ulps: Update.
3388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3391 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3392 (__erf): Scale by 16 instead of 8 in potentially underflowing
3393 case. Ensure exception if result actually underflows.
3394 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3395 (__erff): Scale by 16 instead of 8 in potentially underflowing
3396 case. Ensure exception if result actually underflows.
3397 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3398 (efx8): Remove variable.
3399 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3400 case. Ensure exception if result actually underflows.
3401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3402 (efx8): Remove variable.
3403 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3404 case. Ensure exception if result actually underflows.
3405 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3406 (efx8): Remove variable.
3407 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3408 case. Ensure exception if result actually underflows.
3409 * math/auto-libm-test-in: Add more tests of erf.
3410 * math/auto-libm-test-out: Regenerated.
3412 2014-05-14 Andreas Schwab <schwab@suse.de>
3414 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3415 Remove code conditionalized on USE___THREAD.
3417 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3418 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3421 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3424 Define unconditionally.
3425 (__ASSUME_O_CLOEXEC): Likewise.
3426 (__ASSUME_SOCK_CLOEXEC): Likewise.
3427 (__ASSUME_IN_NONBLOCK): Likewise.
3428 (__ASSUME_PIPE2): Likewise.
3429 (__ASSUME_EVENTFD2): Likewise.
3430 (__ASSUME_SIGNALFD4): Likewise.
3431 (__ASSUME_DUP3): Likewise.
3432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3433 (__ASSUME_DUP3): Do not define.
3434 (__ASSUME_EVENTFD2): Likewise.
3435 (__ASSUME_IN_NONBLOCK): Likewise.
3436 (__ASSUME_O_CLOEXEC): Likewise.
3437 (__ASSUME_PIPE2): Likewise.
3438 (__ASSUME_SIGNALFD4): Likewise.
3439 (__ASSUME_SOCK_CLOEXEC): Likewise.
3440 (__ASSUME_UTIMES): Undefine.
3441 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3442 (__ASSUME_UTIMES): Do not define.
3443 (__ASSUME_O_CLOEXEC): Likewise.
3444 (__ASSUME_SOCK_CLOEXEC): Likewise.
3445 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3446 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3448 (__ASSUME_PIPE2): Likewise.
3449 (__ASSUME_EVENTFD2): Likewise.
3450 (__ASSUME_SIGNALFD4): Likewise.
3451 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3452 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3454 (__ASSUME_EVENTFD2): Likewise.
3455 (__ASSUME_SIGNALFD4): Likewise.
3456 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3457 (__ASSUME_32BITUIDS): Likewise.
3458 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3459 (__ASSUME_IPC64): Likewise.
3460 (__ASSUME_ST_INO_64_BIT): Likewise.
3461 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3462 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3463 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3464 (__ASSUME_UTIMES): Do not define.
3465 (__ASSUME_PSELECT): Likewise.
3466 (__ASSUME_PPOLL): Likewise.
3467 (__ASSUME_O_CLOEXEC): Likewise.
3468 (__ASSUME_SOCK_CLOEXEC): Likewise.
3469 (__ASSUME_IN_NONBLOCK): Likewise.
3470 (__ASSUME_PIPE2): Likewise.
3471 (__ASSUME_EVENTFD2): Likewise.
3472 (__ASSUME_SIGNALFD4): Likewise.
3473 (__ASSUME_DUP3): Likewise.
3474 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3475 (__ASSUME_UTIMES): Likewise.
3476 (__ASSUME_O_CLOEXEC): Likewise.
3477 (__ASSUME_SOCK_CLOEXEC): Likewise.
3478 (__ASSUME_IN_NONBLOCK): Likewise.
3479 (__ASSUME_PIPE2): Likewise.
3480 (__ASSUME_EVENTFD2): Likewise.
3481 (__ASSUME_SIGNALFD4): Likewise.
3482 (__ASSUME_DUP3): Likewise.
3483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3484 (__ASSUME_UTIMES): Likewise.
3485 (__ASSUME_O_CLOEXEC): Likewise.
3486 (__ASSUME_SOCK_CLOEXEC): Likewise.
3487 (__ASSUME_IN_NONBLOCK): Likewise.
3488 (__ASSUME_PIPE2): Likewise.
3489 (__ASSUME_EVENTFD2): Likewise.
3490 (__ASSUME_SIGNALFD4): Likewise.
3491 (__ASSUME_DUP3): Likewise.
3492 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3494 (__ASSUME_UTIMES): Likewise.
3495 (__ASSUME_EVENTFD2): Likewise.
3496 (__ASSUME_SIGNALFD4): Likewise.
3497 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3498 (__ASSUME_O_CLOEXEC): Likewise.
3499 (__ASSUME_SOCK_CLOEXEC): Likewise.
3500 (__ASSUME_IN_NONBLOCK): Likewise.
3501 (__ASSUME_PIPE2): Likewise.
3502 (__ASSUME_EVENTFD2): Likewise.
3503 (__ASSUME_SIGNALFD4): Likewise.
3504 (__ASSUME_DUP3): Likewise.
3505 (__ASSUME_UTIMES): Undefine.
3507 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3508 feclearexcept. Remove symbol versioning code.
3509 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3510 symbol versioning code.
3511 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3512 symbol versioning code.
3513 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3514 feupdateenv. Remove symbol versioning code.
3515 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3516 fegetexceptflag. Remove symbol versioning code.
3517 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3518 fesetexceptflag. Remove symbol versioning code.
3519 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3520 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3521 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3522 (__posix_fadvise64_l32): Remove prototype.
3523 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3526 2014-05-13 Roland McGrath <roland@hack.frob.com>
3528 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3529 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3530 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3531 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3533 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3535 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3536 current working directory
3538 2014-05-13 Roland McGrath <roland@hack.frob.com>
3540 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3541 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3542 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3543 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3544 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3545 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3546 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3549 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3557 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3558 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3559 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3561 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3563 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3564 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3565 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3566 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3567 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3568 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3569 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3570 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3571 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3572 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3573 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3574 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3575 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3576 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3577 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3578 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3579 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3580 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3581 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3583 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3584 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3586 * sysdeps/unix/sysv/linux/arm/Makefile
3587 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3588 Add rt-aeabi_unwind_cpp_pr1.
3589 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3590 Add nptl-aeabi_unwind_cpp_pr1.
3591 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3592 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3593 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3594 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3595 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3596 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3598 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3599 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3600 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3601 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3603 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3604 Deconditionalize the code that was previously under [RESET_PID].
3605 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3607 * sysdeps/generic/exit-thread.h: New file.
3608 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3609 * include/unistd.h (__exit_thread): Remove declaration.
3610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3611 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3612 * csu/libc-start.c: Include <exit-thread.h>.
3613 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3614 * nptl/pthread_create.c: Include <exit-thread.h>.
3615 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3616 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3617 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3618 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3619 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3620 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3621 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3622 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3623 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3624 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3625 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3626 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3627 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3628 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3629 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3630 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3631 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3633 2014-05-13 Andreas Schwab <schwab@suse.de>
3635 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3637 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3639 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3640 (__ASSUME_UTIMES): Do not condition on kernel version.
3641 (__ASSUME_PSELECT): Define unconditionally.
3642 (__ASSUME_PPOLL): Likewise.
3643 (__ASSUME_ATFCTS): Likewise.
3644 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3645 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3646 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3647 (__ASSUME_UTIMENSAT): Define unconditionally.
3648 (__ASSUME_PRIVATE_FUTEX): Likewise.
3649 (__ASSUME_FALLOCATE): Likewise.
3650 (__ASSUME_O_CLOEXEC): Likewise.
3651 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3652 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3653 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3654 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3655 (__ASSUME_IN_NONBLOCK): Likewise.
3656 (__ASSUME_PIPE2): Likewise.
3657 (__ASSUME_EVENTFD2): Likewise.
3658 (__ASSUME_SIGNALFD4): Likewise.
3659 (__ASSUME_DUP3): Likewise.
3660 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3661 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3662 (__ASSUME_AT_RANDOM): Likewise.
3663 (__ASSUME_PREADV): Likewise.
3664 (__ASSUME_PWRITEV): Likewise.
3665 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3666 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3667 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3668 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3669 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3670 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3671 (__ASSUME_O_CLOEXEC): Define unconditionally.
3672 (__ASSUME_PSELECT): Do not undefine conditionally.
3673 (__ASSUME_PPOLL): Likewise.
3674 (__ASSUME_ATFCTS): Likewise.
3675 (__ASSUME_SET_ROBUST_LIST): Likewise.
3676 (__ASSUME_UTIMENSAT): Likewise.
3677 (__ASSUME_FDATASYNC): Define unconditionally.
3678 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3679 (__ASSUME_SIGFRAME_V2): Likewise.
3680 )__ASSUME_EVENTFD2): Likewise.
3681 (__ASSUME_SIGNALFD4): Likewise.
3682 (__ASSUME_PSELECT): Do not undefine conditionally.
3683 (__ASSUME_PPOLL): Likewise.
3684 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3685 (__ASSUME_PSELECT): Define unconditionally.
3686 (__ASSUME_PPOLL): Likewise.
3687 (__ASSUME_O_CLOEXEC): Likewise.
3688 (__ASSUME_SOCK_CLOEXEC): Likewise.
3689 (__ASSUME_IN_NONBLOCK): Likewise.
3690 (__ASSUME_PIPE2): Likewise.
3691 (__ASSUME_EVENTFD2): Likewise.
3692 (__ASSUME_SIGNALFD4): Likewise.
3693 (__ASSUME_DUP3): Likewise.
3694 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3695 (__ASSUME_O_CLOEXEC): Likewise.
3696 (__ASSUME_SOCK_CLOEXEC): Likewise.
3697 (__ASSUME_IN_NONBLOCK): Likewise.
3698 (__ASSUME_PIPE2): Likewise.
3699 (__ASSUME_EVENTFD2): Likewise.
3700 (__ASSUME_SIGNALFD4): Likewise.
3701 (__ASSUME_DUP3): Likewise.
3702 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3703 (__ASSUME_EVENTFD2): Likewise.
3704 (__ASSUME_SIGNALFD4): Likewise.
3705 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3707 2014-05-12 Andreas Schwab <schwab@suse.de>
3710 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3711 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3712 than maximum RPC packet size.
3713 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3714 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3715 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3716 (_nss_nis_getservbyport_r): Likewise.
3718 2014-05-12 Will Newton <will.newton@linaro.org>
3720 * malloc/Makefile (tests): Add tst-mallopt.
3721 * malloc/tst-mallopt.c: New file.
3723 2014-05-09 Roland McGrath <roland@hack.frob.com>
3725 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3726 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3728 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3731 (tst-tlsmod6.so): Likewise.
3733 2014-05-09 Roland McGrath <roland@hack.frob.com>
3735 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3737 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3740 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3741 and <dl-procinfo.h>.
3742 (__fegetenv): Save SSE state in envp->__eip if supported.
3743 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3744 envp->__eip if supported.
3745 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3746 and <dl-procinfo.h>.
3747 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3748 __data_offset and __data_selector in environment to 0. Set SSE
3750 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3752 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3754 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3756 2014-05-09 Will Newton <will.newton@linaro.org>
3758 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3759 and libc_relro_required for ARM.
3760 * sysdeps/arm/preconfigure: Regenerate.
3762 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3763 Stefan Liebler <stli@linux.vnet.ibm.com>
3765 * config.make.in (enable-lock-elision): New Makefile variable.
3766 * configure.ac: Likewise.
3767 * configure: Regenerate.
3768 * sysdeps/s390/configure.ac:
3769 Add check for gcc transactions support.
3770 * sysdeps/s390/configure: Regenerate.
3771 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3772 Build elision files if enabled.
3773 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3774 Add lock elision support for s390.
3775 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3776 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3777 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3778 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3779 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3780 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3781 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3783 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3785 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3787 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3789 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3790 (__lll_timedlock_elision, __lll_lock_elision)
3791 (__lll_unlock_elision, __lll_trylock_elision)
3792 (lll_timedlock_elision, lll_lock_elision)
3793 (lll_unlock_elision, lll_trylock_elision): Add.
3794 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3795 (pthread_mutex_t): Add lock elision support for s390.
3797 2014-05-14 Wilco <wdijkstr@arm.com>
3799 * sysdeps/arm/fclrexcpt.c: Cleanup.
3800 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3801 * sysdeps/arm/feenablxcpt.c: Cleanup.
3802 * sysdeps/arm/fegetenv.c: Cleanup.
3803 * sysdeps/arm/fegetexcept.c: Cleanup.
3804 * sysdeps/arm/fegetround.c: Cleanup.
3805 * sysdeps/arm/feholdexcpt.c: Cleanup.
3806 * sysdeps/arm/fesetenv.c: Cleanup.
3807 * sysdeps/arm/fesetround.c: Cleanup.
3808 * sysdeps/arm/feupdateenv.c: Cleanup.
3809 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3810 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3811 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3812 * sysdeps/arm/ftestexcept.c: Cleanup.
3813 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3814 * sysdeps/arm/setfpucw.c: Cleanup.
3816 2014-05-09 Will Newton <will.newton@linaro.org>
3818 * sysdeps/arm/armv7/strcmp.S: New file.
3819 * NEWS: Mention addition of ARMv7 optimized strcmp.
3821 2014-05-08 Roland McGrath <roland@hack.frob.com>
3823 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3824 look for %.ac rather than %.in.
3826 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3827 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3828 * sysdeps/mach/hurd/configure: Regenerated.
3829 * sysdeps/unix/sysv/linux/configure: Regenerated.
3831 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3833 2014-05-07 Steve Ellcey <sellcey@mips.com>
3836 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3840 2014-05-07 Andreas Schwab <schwab@suse.de>
3842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3843 when skipping over non-matching result from nscd.
3845 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3848 * nptl/sockperf.c (client): Check socket return value.
3851 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3852 nscd security class.
3854 2014-05-06 Roland McGrath <roland@hack.frob.com>
3856 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3857 * sysdeps/arm/unwind.h: ... here.
3859 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3862 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3865 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3867 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3868 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3869 multiarch strncpy for PPC64.
3870 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3871 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3873 multiarch optimizations.
3874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3875 (__libc_ifunc_impl_list): Likewise.
3876 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3877 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3878 multiarch stpncpy for PPC64.
3879 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3880 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3882 2014-05-06 Andreas Schwab <schwab@suse.de>
3885 * gmon/mcount.c (_MCOUNT_DECL): Use
3886 atomic_compare_and_exchange_bool_acq instead of
3887 catomic_compare_and_exchange_bool_acq.
3889 2014-05-05 Roland McGrath <roland@hack.frob.com>
3891 * elf/Makefile (others, install-bin): Remove pldd.
3892 (pldd-modules): Variable removed.
3893 ($(objpfx)pldd): Target removed.
3894 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3895 (others, install-bin): Append pldd here.
3896 ($(objpfx)pldd): New target.
3898 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3899 to 0, so the first #if test emitted later doesn't see it undefined.
3900 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3901 * sysdeps/gnu/errlist.c: Regenerated.
3903 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3906 [libc_hidden_builtin_def]: Define to empty value.
3907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3908 [libc_hidden_builtin_def]: Likewise.
3909 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3910 [libc_hidden_builtin_def]: Likewise.
3911 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3912 [libc_hidden_builtin_def]: Likewise.
3913 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3914 __redirect_memcpy and define ifunc as default hidden symbol.
3915 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3916 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3918 2014-05-04 Adam Conrad <adconrad@0c3.net>
3920 * locale/iso-4217.def: Reintroduce XDR currency.
3922 2014-05-04 Allan McRae <allan@archlinux.org>
3924 * po/eo.po: Update Esperanto translation from translation project.
3926 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3928 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3929 and FEATURE_INDEX_MAX to 1.
3930 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3932 2014-05-01 Steve Ellcey <sellcey@mips.com>
3934 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3935 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3936 * iconvdata/big5.c (ONE_DIRECTION): Define.
3937 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3938 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3939 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3940 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3941 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3942 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3943 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3944 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3945 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3946 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3947 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3948 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3949 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3950 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3951 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3952 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3953 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3954 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3955 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3956 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3957 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3958 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3959 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3960 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3961 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3962 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3963 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3964 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3965 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3966 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3967 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3968 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3969 * iconvdata/johab.c (ONE_DIRECTION): Define.
3970 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3971 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3972 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3973 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3974 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3975 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3976 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3977 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3978 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3979 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3981 2014-05-01 Roland McGrath <roland@hack.frob.com>
3983 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3984 (_IO_JUMPS_OFFSET): Define to 0.
3986 * nptl/sysdeps/pthread/bits/libc-lock.h
3987 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3988 (__libc_lock_define_initialized_recursive): Always define using
3989 initializer. Modern compilers treat uninitialized (implicit zero) and
3990 explicit zero initializers the same (i.e. put the datum in bss).
3992 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3994 * nscd/nscd-client.h: Include <string.h>.
3996 2014-05-01 David S. Miller <davem@davemloft.net>
3999 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4000 multiple zero bytes exist at the end of a string.
4001 Reported by Aurelien Jarno <aurelien@aurel32.net>
4003 * string/test-strcmp.c (check): Add explicit test for situations where
4004 there are multiple zero bytes after the first.
4006 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4009 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4010 when compiling wprintf.
4011 * stdio-common/tstdiomisc.c (t3): New function.
4014 2014-05-01 Steve Ellcey <sellcey@mips.com>
4016 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4017 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4018 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4019 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4021 2014-05-01 Steve Ellcey <sellcey@mips.com>
4023 * stdlib/longlong.h: Updated from GCC.
4025 2014-05-01 Will Newton <will.newton@linaro.org>
4026 Bernard Ogden <bernie.ogden@linaro.org>
4028 * NEWS: Update fixed bug list.
4031 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4033 2014-04-30 David S. Miller <davem@davemloft.net>
4035 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4036 (libc_feholdexcept_setround_sparc_ctx): New function.
4037 (libc_fesetenv_sparc_ctx): Likewise.
4038 (libc_feupdateenv_sparc_ctx): Likewise.
4039 (libc_feholdsetround_sparc_ctx): Likewise.
4040 (libc_feholdexcept_setround_ctx): Define.
4041 (libc_feholdexcept_setroundf_ctx): Likewise.
4042 (libc_feholdexcept_setroundl_ctx): Likewise.
4043 (libc_fesetenv_ctx): Likewise.
4044 (libc_fesetenvf_ctx): Likewise.
4045 (libc_fesetenvl_ctx): Likewise.
4046 (libc_feupdateenv_ctx): Likewise.
4047 (libc_feupdateenvf_ctx): Likewise.
4048 (libc_feupdateenvl_ctx): Likewise.
4049 (libc_feresetround_ctx): Likewise.
4050 (libc_feresetroundf_ctx): Likewise.
4051 (libc_feresetroundl_ctx): Likewise.
4052 (libc_feholdsetround_ctx): Likewise.
4053 (libc_feholdsetroundf_ctx): Likewise.
4054 (libc_feholdsetroundl_ctx): Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4057 with __USE_GNU instead of XOPEN cpp guards.
4059 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4063 with XOPEN cpp guards.
4065 2014-04-30 Julian Brown <julian@codesourcery.com>
4068 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4071 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4074 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4076 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4077 * sysdeps/unix/sysv/linux/configure: Regenerated.
4078 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4079 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4080 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4081 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4082 * README: Update reference to required Linux kernel version.
4083 * manual/install.texi (Linux): Update reference to required Linux
4084 kernel headers version.
4085 * INSTALL: Regenerated.
4087 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4089 [POSIX] (limits.h): Likewise.
4090 [POSIX] (math.h): Likewise.
4091 [POSIX] (sys/wait.h): Likewise.
4092 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4094 [POSIX] (stddef.h): Do not allow header inclusion.
4096 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4098 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4100 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4102 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4103 Return immediately after lll_futex_wake.
4105 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4110 (datahead_init_pos): Call datahead_init_common early.
4111 (datahead_init_neg): Likewise.
4113 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4114 datahead_init_neg): New functions.
4115 * nscd/aicache.c (addhstaiX): Use them.
4116 * nscd/grpcache.c (cache_addgr): Likewise.
4117 * nscd/hstcache.c (cache_addhst): Likewise.
4118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4119 * nscd/netgroupcache.c (do_notfound): Likewise.
4120 (addgetnetgrentX): Likewise.
4121 (addinnetgrX): Likewise.
4122 * nscd/pwdcache.c (cache_addpw): Likewise.
4123 * nscd/servicescache.c (cache_addserv): Likewise.
4125 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4126 Atsushi Onoe <atsushi@onoe.org>
4131 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4132 one response is valid.
4133 * resolv/res_send.c (send_dg): Check for validity of other
4134 response if the current response is a referral.
4136 2014-04-29 Steve Ellcey <sellcey@mips.com>
4138 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4140 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4143 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4144 Always divide by positive zero when computing -Inf result.
4145 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4146 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4148 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4150 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4151 FPSCR if value do not change.
4152 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4153 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4154 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4155 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4156 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4157 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4160 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4162 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4163 * sysdeps/unix/sysv/linux/hppa: Move directory from
4164 ports/systeps/unix/sysv/linux/hppa.
4165 * README: Update listing for hppa-*-linux-gnu.
4167 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4170 * manual/stdio.texi (Hook functions): Fix types of stream hook
4173 * socket/sys/socket.h: Fix typo in comment.
4175 2014-04-28 Wilco <wdijkstr@arm.com>
4177 * sysdeps/arm/fenv_private.h: New file.
4178 * sysdeps/arm/math_private.h: New file.
4179 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4181 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4183 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4185 (La_x86_64_retval): Likewise.
4187 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4189 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4190 fpsr if value didn't change.
4191 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4192 to fpcr if value didn't change.
4193 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4194 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4195 fpsr or fpcr if value didn't change.
4196 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4197 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4198 fpcr if value didn't change.
4199 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4200 to fpsr if value didn't change.
4202 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4204 * nptl/tst-sem3.c: Use test-skeleton.c
4205 (main): Rename to do_test. Use return instead of
4207 * nptl/tst-sem4.c: Use test-skeleton.c
4208 (main): Rename to do_test.
4210 2014-04-22 David S. Miller <davem@davemloft.net>
4212 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4213 (struct sigaction): New struct member __glibc_reserved0, change
4214 type of sa_flags to int.
4216 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4218 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4219 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4221 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4223 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4224 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4226 2014-04-22 Will Newton <will.newton@linaro.org>
4227 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4229 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4230 (__longjmp): Add longjmp and longjmp_target SystemTap
4232 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4233 (__sigsetjmp): Add setjmp SystemTap probe.
4235 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4237 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4240 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4242 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4244 * sysdeps/powerpc/fpu/fenv_private.h
4245 (libc_feholdexcept_setroundl_ctx): Define to
4246 libc_feholdexcept_setround_ppc_ctx.
4247 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4248 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4249 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4250 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4252 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4254 * sysdeps/aarch64/math-tests.h: New file.
4256 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4258 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4261 Check and set bit_AVX2_Usable.
4262 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4264 (bit_AVX2): Likewise.
4265 (index_AVX2_Usable): Likewise.
4266 (CPUID_AVX2): Likewise.
4267 (HAS_AVX2): Likewise.
4269 2014-04-17 Will Newton <will.newton@linaro.org>
4271 * manual/setjmp.texi (System V contexts): Add note that
4272 calling setcontext on a context created by a call to a
4273 signal handler is undefined. Update text to note that
4274 setcontext from a signal handler is possible but not
4278 * stdlib/tst-setcontext.c: Include signal.h.
4279 (main): Check that the signal stack before and
4280 after swapcontext is the same.
4282 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4283 Re-implement to restore registers in user code and avoid
4284 rt_sigreturn system call.
4286 2014-04-17 Wilco <wdijkstr@arm.com>
4288 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4289 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4290 * math/test-fenv.c: Skip exception trap tests on targets which only
4291 support non-stop mode.
4293 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4294 Wilco Dijkstra <wilco.dijkstra@arm.com>
4296 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4297 (libc_feholdsetround_aarch64_ctx)
4298 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4299 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4300 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4301 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4302 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4303 (libc_feresetround_noexl_ctx): Define.
4305 2014-04-16 Richard Henderson <rth@redhat.com>
4307 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4309 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4312 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4313 const from the non-libc, non-ldso copy.
4315 * sysdeps/alpha/libm-test-ulps: Regenerate.
4317 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4318 Wilco Dijkstra <wilco.dijkstra@arm.com>
4320 * sysdeps/aarch64/fpu/math_private.h: New file.
4322 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4324 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4326 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4328 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4329 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4331 Intel MPX bound registers before _dl_profile_fixup.
4332 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4333 registers after _dl_profile_fixup. Save and restore bound
4334 registers bnd0/bnd1 when calling _dl_call_pltexit.
4335 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4336 (LR_BND_OFFSET): Likewise.
4337 (LRV_BND0_OFFSET): Likewise.
4338 (LRV_BND1_OFFSET): Likewise.
4340 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4342 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4344 * sysdeps/mach/hurd/i386/tls.h: ... here.
4345 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4346 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4349 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4351 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4353 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4357 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4360 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4361 * sysdeps/s390/configure: Regenerate.
4364 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4365 Set round-to-nearest internally to reduce error accumulation.
4367 2014-04-16 Alan Modra <amodra@gmail.com>
4371 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4372 * math/libm-test.inc (frexp_test_data): Add tests.
4373 * NEWS: Update fixed bug list.
4375 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4377 * benchtests/Makefile: Depend on libraries in build directory.
4378 (bench-math): Separate out math tests.
4379 (bench-pthread): Separate out pthread tests.
4380 (bench): Include math and pthread tests.
4382 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4385 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4386 _dl_debug_initialize.
4388 * configure.ac: Remove SELinux header check.
4389 * configure: Regenerate.
4390 * nscd/selinux.c (perms): Array of const char* to permission names.
4391 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4392 default policy. Call string_to_security_class and string_to_av_perm to
4393 translate strings. Enforce default policy and call avs_has_perm with
4394 results of translated strings.
4396 2014-04-13 David S. Miller <davem@davemloft.net>
4398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4400 2014-04-12 Allan McRae <allan@archlinux.org>
4403 * manual/string.texi (Collation Functions): Fix qsort argument
4405 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4407 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4409 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4410 Make the test a no-op if there are no exceptions defined.
4412 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4414 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4415 enable-hardcoded-path-in-tests
4417 2014-04-11 Will Newton <will.newton@linaro.org>
4419 * benchtests/Makefile (extra-objs): Add json-lib.o.
4420 (bench-func): Tidy up JSON output.
4421 * benchtests/bench-skeleton.c: Include json-lib.h.
4422 (main): Use JSON library functions to do output of
4424 * benchtests/bench-timing-type.c (main): Output the
4425 timing type simply, leaving formatting to the user.
4426 * benchtests/json-lib.c: New file.
4427 * benchtests/json-lib.h: Likewise.
4429 2014-04-11 Torvald Riegel <triegel@redhat.com>
4432 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4433 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4434 memory barriers. Add comments.
4435 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4436 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4437 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4438 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4439 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4440 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4442 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4444 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4445 * sysdeps/s390/s390-64/configure.ac: ... this ...
4446 * sysdeps/s390/configure.ac: ... to here.
4447 * sysdeps/s390/s390-32/configure: Delete file.
4448 * sysdeps/s390/s390-64/configure: Delete file.
4449 * sysdeps/s390/configure: Regenerate.
4451 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4453 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4455 2014-04-11 Will Newton <will.newton@linaro.org>
4457 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4458 to zero if it is not defined elsewhere. (mtrim): Test
4459 the value of MALLOC_DEBUG with #if rather than #ifdef.
4461 2014-04-10 Torvald Riegel <triegel@redhat.com>
4463 * benchtests/pthread_once-inputs: New file.
4464 * benchtests/pthread_once-source.c: New file.
4465 * benchtests/README: Update documentation.
4467 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4468 H.J. Lu <hongjiu.lu@intel.com>
4470 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4471 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4472 * sysdeps/x86_64/configure: Regenerated.
4473 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4475 (REGISTER_SAVE_RAX): Likewise.
4476 (REGISTER_SAVE_RCX): Likewise.
4477 (REGISTER_SAVE_RDX): Likewise.
4478 (REGISTER_SAVE_RSI): Likewise.
4479 (REGISTER_SAVE_RDI): Likewise.
4480 (REGISTER_SAVE_R8): Likewise.
4481 (REGISTER_SAVE_R9): Likewise.
4482 (REGISTER_SAVE_BND0): Likewise.
4483 (REGISTER_SAVE_BND1): Likewise.
4484 (REGISTER_SAVE_BND2): Likewise.
4485 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4486 bound registers when calling _dl_fixup.
4488 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4491 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4493 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4494 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4495 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4496 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4497 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4498 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4499 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4501 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4504 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4505 pathconf(_PC_NAME_MAX).
4507 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4509 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4511 (__PTHREAD_SPINS): Move definition to ...
4512 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4513 (__PTHREAD_SPINS): ... here.
4514 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4515 (__PTHREAD_SPIN): Likewise.
4516 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4517 (__PTHREAD_SPIN): Likewise.
4518 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4519 (__PTHREAD_SPIN): Likewise.
4520 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4521 (__PTHREAD_SPIN): Likewise.
4522 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4523 (__PTHREAD_SPIN): Likewise.
4524 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4525 (__PTHREAD_SPIN): Likewise.
4526 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4527 (__PTHREAD_SPIN): Likewise.
4528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4529 (__PTHREAD_SPIN): Likewise.
4530 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4531 (__PTHREAD_SPIN): Likewise.
4532 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4533 (__PTHREAD_SPIN): Likewise.
4534 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4535 (__PTHREAD_SPIN): Likewise.
4536 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4537 (__PTHREAD_SPIN): Likewise.
4539 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4540 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4541 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4542 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4544 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4545 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4546 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4547 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4549 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4550 strlen symbol for non multi-arch builds.
4551 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4552 missing hidden_def and weak_alias.
4554 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4556 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4558 2014-04-07 Will Newton <will.newton@linaro.org>
4560 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4561 and contents. [!_LIBC] Remove #ifndef and contents.
4562 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4563 * string/memccpy.c (__memccpy): Use ANSI prototype.
4564 * string/memfrob.c (memfrob): Likewise.
4565 * string/strcoll.c (STRCOLL): Likewise.
4566 * string/strlen.c (strlen): Likewise.
4567 * string/strtok.c (STRTOK): Likewise.
4568 * string/strcat.c: Remove unused #include of memcopy.h.
4569 (strcat): Use ANSI prototype.
4570 * string/strchr.c: Remove unused #include of memcopy.h.
4571 (strchr): Use ANSI prototype.
4572 * string/strcmp.c: Remove unused #include of memcopy.h.
4573 (strcmp): Use ANSI prototype.
4574 * string/strcpy.c: Remove unused #include of memcopy.h.
4575 (strcpy): Use ANSI prototype.
4577 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4579 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4580 * config.make.in (config-extra-cppflags): Set it from
4581 libc_extra_cppflags.
4582 * configure.ac (libc_extra_cflags): Make it accumulate over
4583 configure fragments.
4584 (libc_extra_cppflags): New flag.
4585 * configure. Regenerate.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4587 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4588 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4593 result for FE_DOWNWARD rounding mode.
4594 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4598 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4600 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4601 in function argument name.
4603 2014-04-03 David Svoboda <svoboda@cert.org>
4606 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4609 2014-04-03 Roland McGrath <roland@hack.frob.com>
4611 * elf/dl-unmap-segments.h: New file.
4612 * sysdeps/generic/ldsodefs.h
4613 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4614 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4615 * elf/dl-fptr.c: Likewise.
4616 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4617 * sysdeps/aarch64/tlsdesc.c: Likewise.
4618 * sysdeps/arm/tlsdesc.c: Likewise.
4619 * sysdeps/i386/tlsdesc.c: Likewise.
4620 * sysdeps/tile/dl-runtime.c: Likewise.
4621 * sysdeps/x86_64/tlsdesc.c: Likewise.
4622 * elf/dl-load.h: New file.
4623 * elf/dl-load.c: Include it.
4624 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4625 Macros moved to dl-load.h.
4626 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4627 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4628 Use _dl_unmap_segments in place of __munmap.
4629 Break out segment-mapping loop into ...
4630 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4632 2014-04-03 Will Newton <will.newton@linaro.org>
4634 * elf/dl-lookup.c (do_lookup_x): Remove comment
4635 referring to nested function and move variable
4636 declarations down to before first use.
4638 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4642 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4644 * math/s_catanf.c (__catanf): Likewise.
4645 * math/s_catanh.c (__catanh): Likewise.
4646 * math/s_catanhf.c (__catanhf): Likewise.
4647 * math/s_catanhl.c (__catanhl): Likewise.
4648 * math/s_catanl.c (__catanl): Likewise.
4649 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4650 by positive zero when computing -Inf result.
4651 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4652 (catanh_test): Likewise.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4657 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4658 instead of using underflowing value in computing result.
4659 * math/s_clog10.c (__clog10): Likewise.
4660 * math/s_clog10f.c (__clog10f): Likewise.
4661 * math/s_clog10l.c (__clog10l): Likewise.
4662 * math/s_clogf.c (__clogf): Likewise.
4663 * math/s_clogl.c (__clogl): Likewise.
4664 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4665 (clog10_test): Likewise.
4666 * sysdeps/i386/fpu/libm-test-ulps: Update.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4669 2014-04-02 Alan Modra <amodra@gmail.com>
4672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4673 output when value is near a power of two. Use int64_t for lx and
4674 remove casts. Use decimal rather than hex exponent constants.
4675 Don't use long double multiplication when double will suffice.
4676 * math/libm-test.inc (nextafter_test_data): Add tests.
4677 * NEWS: Add 16739 and 16786 to bug list.
4679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4681 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4683 2014-04-01 Will Newton <will.newton@linaro.org>
4685 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4686 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4688 2014-04-01 Florian Weimer <fweimer@redhat.com>
4691 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4692 * nptl/tst-setuid2.c: New file.
4693 * nptl/Makefile (xtests): Add tst-setuid2.
4695 2014-04-01 Alan Modra <amodra@gmail.com>
4698 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4700 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4704 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4705 set errno as appropriate.
4706 * math/w_scalbf.c (__scalbf): Likewise.
4707 * math/w_scalbl.c (__scalbl): Likewise.
4708 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4709 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4710 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4714 * math/w_atan2.c: Include <errno.h>.
4715 (__atan2): Set errno for result underflowing to zero.
4716 * math/w_atan2f.c: Include <errno.h>.
4717 (__atan2f): Set errno for result underflowing to zero.
4718 * math/w_atan2l.c: Include <errno.h>.
4719 (__atan2l): Set errno for result underflowing to zero.
4720 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4722 * math/auto-libm-test-out: Regenerated.
4724 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4726 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4727 Encode instruction correctly in little endian.
4728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4732 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4734 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4737 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4740 * sysdeps/unix/sysv/linux/kernel-features.h
4741 [__sparc__ && !__arch64__ && !__sparc_v9__]
4742 (__ASSUME_SET_ROBUST_LIST): Do not define.
4743 [__sparc__ && !__arch64__ && !__sparc_v9__]
4744 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4745 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4748 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4749 (__ASSUME_REQUEUE_PI): Likewise.
4750 (__ASSUME_SET_ROBUST_LIST): Likewise.
4751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4752 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4754 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4755 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4759 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4761 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4762 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4764 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4765 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4771 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4773 2014-03-31 Will Newton <will.newton@linaro.org>
4775 * benchtests/Makefile (bench): Add ffs and ffsll to list
4777 * benchtests/ffs-inputs: New file.
4778 * benchtests/ffsll-inputs: Likewise.
4780 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4783 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4784 too large before casting to int.
4785 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4786 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4787 * math/libm-test.inc (scalb_test_data): Add more tests.
4789 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4791 * benchtests/Makefile (DETAILED_OPT): New make option.
4792 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4794 * benchtests/bench-skeleton.c: Include stdbool.h.
4795 (main): Store and print timings per input.
4796 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4797 member to each argument value.
4798 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4799 (_print_arg_data): Initialize per-input timing to 0.
4801 * benchtests/Makefile (timing-type): New binary.
4802 (bench-clean): Also remove bench-timing-type.
4803 (bench): New target for timing-type.
4804 (bench-func): Print output in JSON format.
4805 * benchtests/bench-skeleton.c (main): Print output in JSON
4807 * benchtests/bench-timing-type.c: New file.
4808 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4809 (TIMING_PRINT_STATS): Remove.
4810 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4813 * benchtests/bench-modf.c: Remove.
4814 * benchtests/modf-inputs: New inputs file.
4816 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4819 * math/s_clog10.c (M_PI_LOG10E): New macro.
4820 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4821 imaginary parts are 0.
4822 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4823 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4824 imaginary parts are 0.
4825 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4826 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4827 imaginary parts are 0.
4828 * math/libm-test.inc (clog10_test_data): Update expected results
4829 for when real and imaginary parts are 0.
4831 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4833 * elf/dl-load.c: Finish conversion of __builtin_expect into
4836 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4840 1+x for argument with exponent below -67.
4841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4843 * math/auto-libm-test-in: Add more tests of exp.
4844 * math/auto-libm-test-out: Regenerated.
4846 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4849 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4850 (nscd_getnetgrent): Use it.
4853 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4856 2014-03-27 Andi Kleen <ak@linux.intel.com>
4858 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4859 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4860 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4861 (lll_robust_unlock): Remove out of line section. Use cfi
4863 (LLL_STUB_UNWIND_INFO*): Remove.
4864 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4865 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4866 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4867 (lll_robust_unlock): Remove out of line section. Use cfi
4869 (LLL_STUB_UNWIND_INFO*): Remove.
4871 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4874 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4877 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4879 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4881 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4884 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4886 * math/test-fenv-preserve.c: New file.
4887 * math/Makefile (tests): Add test-fenv-preserve.
4889 2014-03-26 Will Newton <will.newton@linaro.org>
4891 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4893 2014-03-25 Roland McGrath <roland@hack.frob.com>
4895 * scripts/versionlist.awk: Partition the version sets and emit all
4896 GLIBC_* (sorted) before all others (sorted).
4898 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4900 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4901 GLIBC_2.2.5 version.
4903 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4908 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4913 2014-03-25 Andreas Schwab <schwab@suse.de>
4915 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4916 label to be used after in6ailist is initialized.
4918 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4920 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4921 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4923 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4927 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4929 (fp_formats): Update initializers.
4930 (init_fp_formats): Initialize new field.
4931 (output_for_one_input_case): Allow underflow for results up to
4933 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4934 * math/auto-libm-test-in: Don't mark some underflows from asin and
4936 * math/auto-libm-test-out: Regenerated.
4937 * sysdeps/i386/fpu/libm-test-ulps: Update.
4938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4940 2014-03-25 Andreas Schwab <schwab@suse.de>
4942 * libio/Makefile (tst-ftell-partial-wide-ENV)
4943 (tst-ftell-active-handler-ENV): Define.
4945 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4947 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4949 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4951 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4953 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4955 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4956 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4957 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4959 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4962 * elf/dl-load.c (open_verify): Add mode parameter.
4963 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4964 (open_path): Change from boolean 'secure' to complete flag 'mode'
4965 (_dl_map_object): Adjust.
4966 * elf/Makefile (tests): Add tst-dlopen-aout.
4967 * elf/tst-dlopen-aout.c: New test.
4969 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4972 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4973 (struct stat): Rename member pad0 to __glibc_reserved0.
4976 * sysdeps/s390/s390-32/bits/wordsize.h
4977 (__WORDSIZE32_SIZE_ULONG): New define.
4978 * sysdeps/s390/s390-64/bits/wordsize.h
4979 (__WORDSIZE32_SIZE_ULONG): Likewise.
4980 * sysdeps/generic/stdint.h (SIZE_MAX):
4981 Define as UL if __WORDSIZE32_SIZE_ULONG.
4984 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4985 (__glibc_reserved0): New variable.
4986 (sa_flags): Change type to int.
4988 * posix/Makefile (before-compile): Use += before-compile instead
4991 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4992 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4994 2014-03-20 Andreas Schwab <schwab@suse.de>
4997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4998 non-matching result from nscd.
5000 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5002 * scripts/bench.py: Moved to ...
5003 * benchtests/scripts/bench.py: ... here.
5004 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5006 2014-03-24 Andreas Schwab <schwab@suse.de>
5009 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5010 alloca_account and account alloca use for struct in6ailist.
5012 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5015 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5016 rounding mode to recompute results that overflow to infinity or
5018 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5020 * math/auto-libm-test-out: Regenerated.
5021 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5022 (ccosh_test): Likewise.
5023 (csin_test_data): Use plus_oflow.
5024 (csin_test): Use ALL_RM_TEST.
5025 (csinh_test_data): Use plus_oflow.
5026 (csinh_test): Use ALL_RM_TEST.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5030 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5032 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5033 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5034 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5037 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5039 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5040 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5041 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5042 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5044 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5045 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5047 * math/libm-test.inc (log_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 Siddhesh Poyarekar <siddhesh@redhat.com>
5053 * scripts/bench.pl: Remove file.
5054 * scripts/bench.py: New benchmark script.
5055 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5056 * benchtests/README: Mention python dependency.
5057 * scripts/pylintrc: New file.
5058 * scripts/pylint: New file.
5060 * bits/mathdef.h: Use #ifdef instead of #if.
5061 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5062 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5063 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5064 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5065 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5066 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5068 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5069 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5071 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5073 and strpbrk-ppc64 objects.
5074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5075 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5076 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5077 multiarch strpbrk for POWER7.
5078 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5079 multiarch strpbrk for PPC64.
5080 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5082 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5085 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5087 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5088 (atan_test): Likewise.
5089 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5090 (atanh_test): Use ALL_RM_TEST.
5091 (atan2_test_data): Likewise.
5092 (cabs_test): Likewise.
5093 (cacosh_test): Likewise.
5094 (carg_test): Likewise.
5095 (casin_test): Likewise.
5096 (casinh_test): Likewise.
5097 (cbrt_test): Likewise.
5098 (csqrt_test): Likewise.
5099 (erf_test): Likewise.
5100 (erfc_test): Likewise.
5101 (pow10_test): Likewise.
5102 (exp2_test): Likewise.
5103 (hypot_test): Likewise.
5104 (j0_test): Likewise.
5105 (j1_test): Likewise.
5106 (lgamma_test): Likewise.
5107 (gamma_test): Likewise.
5108 (sincos_test): Likewise.
5109 (tanh_test): Likewise.
5110 (y0_test): Likewise.
5111 (y1_test): Likewise.
5112 * sysdeps/i386/fpu/libm-test-ulps: Update.
5113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5115 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5119 and strcspn-ppc64 objects.
5120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5121 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5122 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5123 multiarch strcspn for POWER7.
5124 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5125 multiarch strcspn for PPC64.
5126 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5128 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5131 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5133 * math/gen-libm-test.pl (generate_testfile): Expect only function
5134 name as argument to AUTO_TESTS_* and pass results for all rounding
5135 modes to parse_args.
5136 (parse_auto_input): Separate inputs of automatic tests from
5137 outputs before storing in %auto_tests.
5138 * math/libm-test.inc (acos_test_data): Update call to
5140 (acos_test): Use ALL_RM_TEST.
5141 (acos_tonearest_test_data): Remove.
5142 (acos_test_tonearest): Likewise.
5143 (acos_towardzero_test_data): Likewise.
5144 (acos_test_towardzero): Likewise.
5145 (acos_downward_test_data): Likewise.
5146 (acos_test_downward): Likewise.
5147 (acos_upward_test_data): Likewise.
5148 (acos_test_upward): Likewise.
5149 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5150 (asin_test_data): Likewise.
5151 (asin_test): Use ALL_RM_TEST.
5152 (asin_tonearest_test_data): Remove.
5153 (asin_test_tonearest): Likewise.
5154 (asin_towardzero_test_data): Likewise.
5155 (asin_test_towardzero): Likewise.
5156 (asin_downward_test_data): Likewise.
5157 (asin_test_downward): Likewise.
5158 (asin_upward_test_data): Likewise.
5159 (asin_test_upward): Likewise.
5160 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5161 (atan_test_data): Likewise.
5162 (atanh_test_data): Likewise.
5163 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5164 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5165 (carg_test_data): Likewise.
5166 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5167 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5168 (ccosh_test_data): Likewise.
5169 (cexp_test_data): Likewise.
5170 (clog_test_data): Likewise.
5171 (clog10_test_data): Likewise.
5172 (cos_test_data): Update call to AUTO_TESTS_f_f.
5173 (cos_test): Use ALL_RM_TEST.
5174 (cos_tonearest_test_data): Remove.
5175 (cos_test_tonearest): Likewise.
5176 (cos_towardzero_test_data): Likewise.
5177 (cos_test_towardzero): Likewise.
5178 (cos_downward_test_data): Likewise.
5179 (cos_test_downward): Likewise.
5180 (cos_upward_test_data): Likewise.
5181 (cos_test_upward): Likewise.
5182 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5183 (cosh_test): Use ALL_RM_TEST.
5184 (cosh_tonearest_test_data): Remove.
5185 (cosh_test_tonearest): Likewise.
5186 (cosh_towardzero_test_data): Likewise.
5187 (cosh_test_towardzero): Likewise.
5188 (cosh_downward_test_data): Likewise.
5189 (cosh_test_downward): Likewise.
5190 (cosh_upward_test_data): Likewise.
5191 (cosh_test_upward): Likewise.
5192 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5193 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5194 (ctan_test_data): Likewise.
5195 (ctan_test): Use ALL_RM_TEST.
5196 (ctan_tonearest_test_data): Remove.
5197 (ctan_test_tonearest): Likewise.
5198 (ctan_towardzero_test_data): Likewise.
5199 (ctan_test_towardzero): Likewise.
5200 (ctan_downward_test_data): Likewise.
5201 (ctan_test_downward): Likewise.
5202 (ctan_upward_test_data): Likewise.
5203 (ctan_test_upward): Likewise.
5204 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5205 (ctanh_test): Use ALL_RM_TEST.
5206 (ctanh_tonearest_test_data): Remove.
5207 (ctanh_test_tonearest): Likewise.
5208 (ctanh_towardzero_test_data): Likewise.
5209 (ctanh_test_towardzero): Likewise.
5210 (ctanh_downward_test_data): Likewise.
5211 (ctanh_test_downward): Likewise.
5212 (ctanh_upward_test_data): Likewise.
5213 (ctanh_test_upward): Likewise.
5214 (erf_test_data): Update call to AUTO_TESTS_f_f.
5215 (erfc_test_data): Likewise.
5216 (exp_test_data): Likewise.
5217 (exp_test): Use ALL_RM_TEST.
5218 (exp_tonearest_test_data): Remove.
5219 (exp_test_tonearest): Likewise.
5220 (exp_towardzero_test_data): Likewise.
5221 (exp_test_towardzero): Likewise.
5222 (exp_downward_test_data): Likewise.
5223 (exp_test_downward): Likewise.
5224 (exp_upward_test_data): Likewise.
5225 (exp_test_upward): Likewise.
5226 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5227 (exp10_test): Use ALL_RM_TEST.
5228 (exp10_tonearest_test_data): Remove.
5229 (exp10_test_tonearest): Likewise.
5230 (exp10_towardzero_test_data): Likewise.
5231 (exp10_test_towardzero): Likewise.
5232 (exp10_downward_test_data): Likewise.
5233 (exp10_test_downward): Likewise.
5234 (exp10_upward_test_data): Likewise.
5235 (exp10_test_upward): Likewise.
5236 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5237 (expm1_test_data): Likewise.
5238 (expm1_test): Use ALL_RM_TEST.
5239 (expm1_tonearest_test_data): Remove.
5240 (expm1_test_tonearest): Likewise.
5241 (expm1_towardzero_test_data): Likewise.
5242 (expm1_test_towardzero): Likewise.
5243 (expm1_downward_test_data): Likewise.
5244 (expm1_test_downward): Likewise.
5245 (expm1_upward_test_data): Likewise.
5246 (expm1_test_upward): Likewise.
5247 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5248 (fma_test): Use ALL_RM_TEST.
5249 (fma_towardzero_test_data): Remove.
5250 (fma_test_towardzero): Likewise.
5251 (fma_downward_test_data): Likewise.
5252 (fma_test_downward): Likewise.
5253 (fma_upward_test_data): Likewise.
5254 (fma_test_upward): Likewise.
5255 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5256 (j0_test_data): Update call to AUTO_TESTS_f_f.
5257 (j1_test_data): Likewise.
5258 (jn_test_data): Update call to AUTO_TESTS_if_f.
5259 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5260 (log_test_data): Update call to AUTO_TESTS_f_f.
5261 (log10_test_data): Likewise.
5262 (log1p_test_data): Likewise.
5263 (log2_test_data): Likewise.
5264 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5265 (pow_tonearest_test_data): Likewise.
5266 (sin_test_data): Update call to AUTO_TESTS_f_f.
5267 (sin_test): Use ALL_RM_TEST.
5268 (sin_tonearest_test_data): Remove.
5269 (sin_test_tonearest): Likewise.
5270 (sin_towardzero_test_data): Likewise.
5271 (sin_test_towardzero): Likewise.
5272 (sin_downward_test_data): Likewise.
5273 (sin_test_downward): Likewise.
5274 (sin_upward_test_data): Likewise.
5275 (sin_test_upward): Likewise.
5276 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5277 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5278 (sinh_test): Use ALL_RM_TEST.
5279 (sinh_tonearest_test_data): Remove.
5280 (sinh_test_tonearest): Likewise.
5281 (sinh_towardzero_test_data): Likewise.
5282 (sinh_test_towardzero): Likewise.
5283 (sinh_downward_test_data): Likewise.
5284 (sinh_test_downward): Likewise.
5285 (sinh_upward_test_data): Likewise.
5286 (sinh_test_upward): Likewise.
5287 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5288 (sqrt_test): Use ALL_RM_TEST.
5289 (sqrt_tonearest_test_data): Remove.
5290 (sqrt_test_tonearest): Likewise.
5291 (sqrt_towardzero_test_data): Likewise.
5292 (sqrt_test_towardzero): Likewise.
5293 (sqrt_downward_test_data): Likewise.
5294 (sqrt_test_downward): Likewise.
5295 (sqrt_upward_test_data): Likewise.
5296 (sqrt_test_upward): Likewise.
5297 (tan_test_data): Update call to AUTO_TESTS_f_f.
5298 (tan_test): Use ALL_RM_TEST.
5299 (tan_tonearest_test_data): Remove.
5300 (tan_test_tonearest): Likewise.
5301 (tan_towardzero_test_data): Likewise.
5302 (tan_test_towardzero): Likewise.
5303 (tan_downward_test_data): Likewise.
5304 (tan_test_downward): Likewise.
5305 (tan_upward_test_data): Likewise.
5306 (tan_test_upward): Likewise.
5307 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5308 (tgamma_test_data): Likewise.
5309 (y0_test_data): Likewise.
5310 (y1_test_data): Likewise.
5311 (yn_test_data): Update call to AUTO_TESTS_if_f.
5312 (main): Do not call removed functions.
5314 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5316 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5317 (ldexp_test_data): Remove.
5318 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5320 (scalb_test): Use ALL_RM_TEST.
5322 2014-03-19 Andreas Schwab <schwab@suse.de>
5324 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5326 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5330 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5331 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5333 (__ASSUME_PREADV): Undefine.
5334 (__ASSUME_PWRITEV): Likewise.
5336 2014-03-18 Roland McGrath <roland@hack.frob.com>
5338 * bits/mman-linux.h: Add comment about non-Linux use.
5339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5340 bits/mman-linux.h resting place.
5342 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5343 * bits/mman-linux.h: ... here.
5345 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5347 * conform/conformtest.pl: Add standard definition when calling C
5348 preprocessor on data files.
5349 (checknamespace): Remove unused variable.
5351 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5353 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5354 minus_oflow, plus_uflow and minus_uflow in expected results.
5355 * math/libm-test.inc (scalbn_test_data): Add more tests of
5356 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5358 (scalbn_test): Use ALL_RM_TEST.
5359 (scalbln_test_data): Add more tests of negative arguments. Use
5360 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5361 (scalbln_test): Use ALL_RM_TEST.
5363 2014-03-18 Roland McGrath <roland@hack.frob.com>
5365 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5367 2014-03-18 Will Newton <will.newton@linaro.org>
5369 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5372 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5374 * Makerules [!subdir] (check-abi): Exit with error status if a
5377 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5379 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5380 for rint. Include results for all rounding modes.
5381 (nearbyint_test): Use ALL_RM_TEST.
5382 (rint_test_data): Include all tests used for nearbyint.
5384 2014-03-17 Will Newton <will.newton@linaro.org>
5386 * nptl/sysdeps/pthread/pthread.h: Revert previous
5389 * sysdeps/generic/ldsodefs.h: Revert previous
5392 * libio/genops.c: Revert previous change.
5393 * libio/libioP.h: Likewise.
5394 * stdio-common/vfprintf.c: Likewise.
5396 * sysdeps/generic/math_private.h: Revert previous
5399 * sysdeps/generic/math_private.h: Check whether
5400 HAVE_RM_CTX is defined with #ifdef rather
5403 * argp/argp-fmtstream.h: Check whether
5404 __STRICT_ANSI__ is defined with #ifdef rather
5406 * argp/argp.h: Likewise.
5408 * libio/genops.c: Check whether
5409 _IO_JUMPS_OFFSET is defined with #ifdef rather
5411 * libio/libioP.h: Likewise.
5412 * stdio-common/vfprintf.c: Likewise.
5414 * sysdeps/generic/ldsodefs.h: Check whether
5415 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5418 * nptl/sysdeps/pthread/pthread.h: Check
5419 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5422 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5424 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5426 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5430 * libio/fileops.c (_IO_file_open): Seek to end of file but
5431 don't cache the offset.
5432 (get_file_offset): Remove function.
5433 (do_ftell): Use cached offset when available.
5434 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5435 don't cache the offset.
5436 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5438 (do_one_test): Call it.
5439 (do_ftell_test): Fix up expected old offset for a+ mode.
5440 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5443 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5444 up test status with function return status.
5445 (do_write_test): Likewise.
5446 (do_append_test): Likewise.
5448 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5449 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5452 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5454 * math/gen-libm-test.pl (parse_args): Handle results specified for
5455 each rounding mode separately.
5456 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5457 tests and results from lrint_tonearest_test_data,
5458 lrint_towardzero_test_data, lrint_downward_test_data and
5459 lrint_upward_test_data.
5460 (lrint_test): Use ALL_RM_TEST.
5461 (lrint_tonearest_test_data): Remove.
5462 (lrint_test_tonearest): Likewise.
5463 (lrint_towardzero_test_data): Likewise.
5464 (lrint_test_towardzero): Likewise.
5465 (lrint_downward_test_data): Likewise.
5466 (lrint_test_downward): Likewise.
5467 (lrint_upward_test_data): Likewise.
5468 (lrint_test_upward): Likewise.
5469 (llrint_test_data): Merge in per-rounding-mode tests and results
5470 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5471 llrint_downward_test_data and llrint_upward_test_data.
5472 (llrint_test): Use ALL_RM_TEST.
5473 (llrint_tonearest_test_data): Remove.
5474 (llrint_test_tonearest): Likewise.
5475 (llrint_towardzero_test_data): Likewise.
5476 (llrint_test_towardzero): Likewise.
5477 (llrint_downward_test_data): Likewise.
5478 (llrint_test_downward): Likewise.
5479 (llrint_upward_test_data): Likewise.
5480 (llrint_test_upward): Likewise.
5481 (rint_test_data): Merge in per-rounding-mode tests and results
5482 from rint_tonearest_test_data, rint_towardzero_test_data,
5483 rint_downward_test_data and rint_upward_test_data. Add
5484 per-rounding-mode results for tests not in those arrays.
5485 (rint_test): Use ALL_RM_TEST.
5486 (rint_tonearest_test_data): Remove.
5487 (rint_test_tonearest): Likewise.
5488 (rint_towardzero_test_data): Likewise.
5489 (rint_test_towardzero): Likewise.
5490 (rint_downward_test_data): Likewise.
5491 (rint_test_downward): Likewise.
5492 (rint_upward_test_data): Likewise.
5493 (rint_test_upward): Likewise.
5494 (main): Don't call removed functions.
5496 2014-03-14 Roland McGrath <roland@hack.frob.com>
5498 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5499 "Compiled on ..." crapola. It is anti-useful.
5501 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5503 * scripts/evaluate-test.sh: Handle fourth argument to determine
5504 whether test run should stop on failure.
5505 * Makeconfig (stop-on-test-failure): New variable.
5506 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5507 $(stop-on-test-failure).
5508 * Makefile (tests): Give a summary of results from testing and
5509 exit with failure status if they include an ERROR or FAIL.
5511 * manual/install.texi (Configuring and compiling): Mention
5512 stop-on-test-failure=y.
5513 * INSTALL: Regenerated.
5515 2014-03-14 Roland McGrath <roland@hack.frob.com>
5517 * scripts/versionlist.awk: New file.
5518 * Makerules [$(build-shared) = yes]
5519 (postclean-generated): Add Versions.def, not Versions.def.v and
5521 ($(common-objpfx)Versions.def.v.i): Target removed.
5522 ($(common-objpfx)Versions.def): New target.
5523 ($(common-objpfx)Versions.all): Depend on that rather that
5524 $(common-objpfx)Versions.def.v.
5525 * Versions.def: File removed.
5527 * Makeconfig (+gccwarn): Add -Wundef.
5528 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5529 a dl-sysdep.h breaking its contract.
5530 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5531 * include/stackinfo.h: New file.
5532 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5533 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5534 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5535 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5536 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5537 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5538 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5539 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5540 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5541 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5542 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5543 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5544 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5545 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5546 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5548 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5553 * math/libm-test.inc (round_test_data): Add more tests.
5556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5558 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5561 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5563 * math/libm-test.inc (ceil_test_data): Add more tests.
5565 * math/libm-test.inc (trunc_test_data): Add more tests related to
5568 2014-03-14 Roland McGrath <roland@hack.frob.com>
5570 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5571 with #if rather than #ifdef.
5572 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5574 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5576 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5577 first. Disable AVX-512 GCC support if assembler doesn't support
5579 * sysdeps/x86_64/configure: Regenerated.
5581 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5583 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5584 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5585 (__old_pthread_attr_setstack): Likewise.
5586 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5587 [!_STACK_GROWS_DOWN]: Likewise.
5589 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5591 * config.make.in (have-bash2): Delete.
5592 * configure.ac (libc_cv_have_bash2): Delete.
5593 * configure: Regenerate.
5594 * elf/Makefile (common-ldd-rewrite): Rename to ...
5595 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5596 (sh-ldd-rewrite): Delete.
5597 (bash-ldd-rewrite): Delete.
5598 (have-bash2): Delete checks.
5599 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5602 * config.make.in (have-ksh): Delete.
5604 * configure.ac (libc_cv_have_ksh): Delete.
5605 * configure: Regenerate.
5607 * elf/Makefile: Delete $(have-ksh) check.
5608 ($(objpfx)sotruss): Change KSH to BASH.
5609 * elf/sotruss.ksh: Rename to ...
5610 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5611 function style to match POSIX. Drop ksh vim mode setting.
5613 * manual/time.texi (Specifying the Time Zone with TZ): Change
5614 Tuesday to Thursday.
5616 * debug/tst-longjmp_chk2.c: Update header comment.
5617 (stackoverflow_handler): Add comment. Call assert on pass value.
5619 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5621 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5622 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5623 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5624 (La_x86_64_vector): Add zmm.
5625 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5626 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5627 ($(objpfx)tst-audit10): New target.
5628 ($(objpfx)tst-audit10.out): Likewise.
5629 (tst-audit10-ENV): New.
5630 (AVX512-CFLAGS): Likewise.
5631 (CFLAGS-tst-audit10.c): Likewise.
5632 (CFLAGS-tst-auditmod10a.c): Likewise.
5633 (CFLAGS-tst-auditmod10b.c): Likewise.
5634 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5635 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5636 * sysdeps/x86_64/configure: Regenerated.
5637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5638 AVX-512 zmm register support.
5639 (_dl_x86_64_save_sse): Likewise.
5640 (_dl_x86_64_restore_sse): Likewise.
5641 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5642 size vector registers.
5643 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5644 (ZMM_SIZE): Likewise.
5645 * sysdeps/x86_64/tst-audit10.c: New file.
5646 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5647 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5649 2014-03-13 Roland McGrath <roland@hack.frob.com>
5651 * configure.ac (HAVE_EHDR_START): New check.
5652 * configure: Regenerated.
5653 * config.h.in (HAVE_EHDR_START): New #undef.
5654 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5655 assuming the lowest-addressed segment maps the start of the file.
5657 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5659 * INSTALL: Regenerated.
5661 2014-03-13 Will Newton <will.newton@linaro.org>
5663 * manual/setjmp.texi (System V contexts): Improve
5664 clarity and grammar of documentation.
5666 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5669 * elf/Makefile (tests): Add tst-pie2.
5670 (tests-pie): Add tst-pie2.
5671 * elf/tst-pie2.c: New file.
5672 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5674 * elf/rtld.c (map_doit): Load executable as lt_executable.
5675 (dl_main): Likewise.
5677 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5680 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5681 (__ASSUME_PSELECT): Undefine.
5683 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5687 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5689 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5690 selector for static builds.
5692 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5695 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5698 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5700 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5701 IFUNC selector for static builds.
5703 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5705 * sysdeps/mips/math_private.h [__mips_hard_float]
5706 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5707 libc_feresetround_mips_ctx.
5708 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5709 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5710 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5713 * math/s_nextafter.c (__nextafter): Do not return value from
5714 overflowing computation.
5715 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5716 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5719 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5721 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5722 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5724 2014-03-11 Roland McGrath <roland@hack.frob.com>
5726 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5727 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5728 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5729 the new mov targetting sp.
5731 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5735 Define it for static builds as well.
5736 (NO_BZERO_IMPL): Likewise.
5738 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5740 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5741 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5742 multiarch strspn for PPC64.
5743 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5744 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5746 (__libc_ifunc_impl_list): Likewise.
5747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5748 multiarch optimizations
5749 * string/strspn.c (strspn): Using macro to redefine symbol name.
5751 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5752 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5755 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5756 multiarch strncat for PPC64.
5757 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5758 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5760 (__libc_ifunc_impl_list): Likewise.
5761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5762 multiarch optimizations
5764 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5767 * nscd/nscd.service: Make service type forking.
5769 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5772 sign in non default rounding modes.
5773 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5775 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5777 * math/libm-test.inc (ALL_RM_TEST): New macro.
5778 (ceil_test): Use ALL_RM_TEST.
5779 (cimag_test): Likewise.
5780 (conj_test): Likewise.
5781 (copysign_test): Likewise.
5782 (cproj_test): Likewise.
5783 (creal_test): Likewise.
5784 (fabs_test): Likewise.
5785 (floor_test): Likewise.
5786 (fmax_test): Likewise.
5787 (fmin_test): Likewise.
5788 (fmod_test): Likewise.
5789 (fpclassify_test): Likewise.
5790 (frexp_test): Likewise.
5791 (ilogb_test): Likewise.
5792 (isfinite_test): Likewise.
5793 (finite_test): Likewise.
5794 (isgreater_test): Likewise.
5795 (isgreaterequal_test): Likewise.
5796 (isinf_test): Likewise.
5797 (isless_test): Likewise.
5798 (islessequal_test): Likewise.
5799 (islessgreater_test): Likewise.
5800 (isnan_test): Likewise.
5801 (isnormal_test): Likewise.
5802 (issignaling_test): Likewise.
5803 (isunordered_test): Likewise.
5804 (logb_test): Likewise.
5805 (logb_downward_test_data): Remove.
5806 (logb_test_downward): Likewise.
5807 (lround_test): Use ALL_RM_TEST.
5808 (llround_test): Likewise.
5809 (modf_test): Likewise.
5810 (nexttoward_test): Likewise.
5811 (remainder_test): Likewise.
5812 (drem_test): Likewise.
5813 (remainder_tonearest_test_data): Likewise.
5814 (remainder_test_tonearest): Likewise.
5815 (drem_test_tonearest): Likewise.
5816 (remainder_towardzero_test_data): Likewise.
5817 (remainder_test_towardzero): Likewise.
5818 (drem_test_towardzero): Likewise.
5819 (remainder_downward_test_data): Likewise.
5820 (remainder_test_downward): Likewise.
5821 (drem_test_downward): Likewise.
5822 (remainder_upward_test_data): Likewise.
5823 (remainder_test_upward): Likewise.
5824 (drem_test_upward): Likewise.
5825 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5826 (round_test): Use ALL_RM_TEST.
5827 (signbit_test): Likewise.
5828 (trunc_test): Likewise.
5829 (significand_test): Likewise.
5830 (main): Don't call removed functions.
5832 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5835 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5837 (ILL_ILLOPN): Likewise.
5838 (ILL_ILLADR): Likewise.
5839 (ILL_ILLTRP): Likewise.
5840 (ILL_PRVOPC): Likewise.
5841 (ILL_PRVREG): Likewise.
5842 (ILL_COPROC): Likewise.
5843 (ILL_BADSTK): Likewise.
5844 (FPE_INTDIV): Likewise.
5845 (FPE_INTOVF): Likewise.
5846 (FPE_FLTDIV): Likewise.
5847 (FPE_FLTOVF): Likewise.
5848 (FPE_FLTUND): Likewise.
5849 (FPE_FLTRES): Likewise.
5850 (FPE_FLTINV): Likewise.
5851 (FPE_FLTSUB): Likewise.
5852 (SEGV_MAPERR): Likewise.
5853 (SEGV_ACCERR): Likewise.
5854 (BUS_ADRALN): Likewise.
5855 (BUS_ADRERR): Likewise.
5856 (BUS_OBJERR): Likewise.
5857 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5858 (TRAP_TRACE): Likewise.
5859 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5861 (CLD_KILLED): Likewise.
5862 (CLD_DUMPED): Likewise.
5863 (CLD_TRAPPED): Likewise.
5864 (CLD_STOPPED): Likewise.
5865 (CLD_CONTINUED): Likewise.
5866 (POLL_IN): Likewise.
5867 (POLL_OUT): Likewise.
5868 (POLL_MSG): Likewise.
5869 (POLL_ERR): Likewise.
5870 (POLL_PRI): Likewise.
5871 (POLL_HUP): Likewise.
5872 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5874 (ILL_ILLOPN): Likewise.
5875 (ILL_ILLADR): Likewise.
5876 (ILL_ILLTRP): Likewise.
5877 (ILL_PRVOPC): Likewise.
5878 (ILL_PRVREG): Likewise.
5879 (ILL_COPROC): Likewise.
5880 (ILL_BADSTK): Likewise.
5881 (FPE_INTDIV): Likewise.
5882 (FPE_INTOVF): Likewise.
5883 (FPE_FLTDIV): Likewise.
5884 (FPE_FLTOVF): Likewise.
5885 (FPE_FLTUND): Likewise.
5886 (FPE_FLTRES): Likewise.
5887 (FPE_FLTINV): Likewise.
5888 (FPE_FLTSUB): Likewise.
5889 (SEGV_MAPERR): Likewise.
5890 (SEGV_ACCERR): Likewise.
5891 (BUS_ADRALN): Likewise.
5892 (BUS_ADRERR): Likewise.
5893 (BUS_OBJERR): Likewise.
5894 (BUS_MCEERR_AR): Likewise.
5895 (BUS_MCEERR_AO): Likewise.
5896 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5897 (TRAP_TRACE): Likewise.
5898 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5900 (CLD_KILLED): Likewise.
5901 (CLD_DUMPED): Likewise.
5902 (CLD_TRAPPED): Likewise.
5903 (CLD_STOPPED): Likewise.
5904 (CLD_CONTINUED): Likewise.
5905 (POLL_IN): Likewise.
5906 (POLL_OUT): Likewise.
5907 (POLL_MSG): Likewise.
5908 (POLL_ERR): Likewise.
5909 (POLL_PRI): Likewise.
5910 (POLL_HUP): Likewise.
5911 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5912 (ILL_ILLOPN): Likewise.
5913 (ILL_ILLADR): Likewise.
5914 (ILL_ILLTRP): Likewise.
5915 (ILL_PRVOPC): Likewise.
5916 (ILL_PRVREG): Likewise.
5917 (ILL_COPROC): Likewise.
5918 (ILL_BADSTK): Likewise.
5919 (FPE_INTDIV): Likewise.
5920 (FPE_INTOVF): Likewise.
5921 (FPE_FLTDIV): Likewise.
5922 (FPE_FLTOVF): Likewise.
5923 (FPE_FLTUND): Likewise.
5924 (FPE_FLTRES): Likewise.
5925 (FPE_FLTINV): Likewise.
5926 (FPE_FLTSUB): Likewise.
5927 (SEGV_MAPERR): Likewise.
5928 (SEGV_ACCERR): Likewise.
5929 (BUS_ADRALN): Likewise.
5930 (BUS_ADRERR): Likewise.
5931 (BUS_OBJERR): Likewise.
5932 (BUS_MCEERR_AR): Likewise.
5933 (BUS_MCEERR_AO): Likewise.
5934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5935 (TRAP_TRACE): Likewise.
5936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5938 (CLD_KILLED): Likewise.
5939 (CLD_DUMPED): Likewise.
5940 (CLD_TRAPPED): Likewise.
5941 (CLD_STOPPED): Likewise.
5942 (CLD_CONTINUED): Likewise.
5943 (POLL_IN): Likewise.
5944 (POLL_OUT): Likewise.
5945 (POLL_MSG): Likewise.
5946 (POLL_ERR): Likewise.
5947 (POLL_PRI): Likewise.
5948 (POLL_HUP): Likewise.
5949 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5951 (ILL_ILLOPN): Likewise.
5952 (ILL_ILLADR): Likewise.
5953 (ILL_ILLTRP): Likewise.
5954 (ILL_PRVOPC): Likewise.
5955 (ILL_PRVREG): Likewise.
5956 (ILL_COPROC): Likewise.
5957 (ILL_BADSTK): Likewise.
5958 (ILL_BADIADDR): Likewise.
5959 (ILL_BREAK): Likewise.
5960 (FPE_INTDIV): Likewise.
5961 (FPE_INTOVF): Likewise.
5962 (FPE_FLTDIV): Likewise.
5963 (FPE_FLTOVF): Likewise.
5964 (FPE_FLTUND): Likewise.
5965 (FPE_FLTRES): Likewise.
5966 (FPE_FLTINV): Likewise.
5967 (FPE_FLTSUB): Likewise.
5968 (FPE_DECOVF): Likewise.
5969 (FPE_DECDIV): Likewise.
5970 (FPE_DECERR): Likewise.
5971 (FPE_INVASC): Likewise.
5972 (FPE_INVDEC): Likewise.
5973 (SEGV_MAPERR): Likewise.
5974 (SEGV_ACCERR): Likewise.
5975 (SEGV_PSTKOVF): Likewise.
5976 (BUS_ADRALN): Likewise.
5977 (BUS_ADRERR): Likewise.
5978 (BUS_OBJERR): Likewise.
5979 (BUS_MCEERR_AR): Likewise.
5980 (BUS_MCEERR_AO): Likewise.
5981 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5982 (TRAP_TRACE): Likewise.
5983 (TRAP_BRANCH): Likewise.
5984 (TRAP_HWBKPT): Likewise.
5985 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5987 (CLD_KILLED): Likewise.
5988 (CLD_DUMPED): Likewise.
5989 (CLD_TRAPPED): Likewise.
5990 (CLD_STOPPED): Likewise.
5991 (CLD_CONTINUED): Likewise.
5992 (POLL_IN): Likewise.
5993 (POLL_OUT): Likewise.
5994 (POLL_MSG): Likewise.
5995 (POLL_ERR): Likewise.
5996 (POLL_PRI): Likewise.
5997 (POLL_HUP): Likewise.
5998 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5999 (ILL_ILLOPN): Likewise.
6000 (ILL_ILLADR): Likewise.
6001 (ILL_ILLTRP): Likewise.
6002 (ILL_PRVOPC): Likewise.
6003 (ILL_PRVREG): Likewise.
6004 (ILL_COPROC): Likewise.
6005 (ILL_BADSTK): Likewise.
6006 (FPE_INTDIV): Likewise.
6007 (FPE_INTOVF): Likewise.
6008 (FPE_FLTDIV): Likewise.
6009 (FPE_FLTOVF): Likewise.
6010 (FPE_FLTUND): Likewise.
6011 (FPE_FLTRES): Likewise.
6012 (FPE_FLTINV): Likewise.
6013 (FPE_FLTSUB): Likewise.
6014 (SEGV_MAPERR): Likewise.
6015 (SEGV_ACCERR): Likewise.
6016 (BUS_ADRALN): Likewise.
6017 (BUS_ADRERR): Likewise.
6018 (BUS_OBJERR): Likewise.
6019 (BUS_MCEERR_AR): Likewise.
6020 (BUS_MCEERR_AO): Likewise.
6021 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6022 (TRAP_TRACE): Likewise.
6023 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6025 (CLD_KILLED): Likewise.
6026 (CLD_DUMPED): Likewise.
6027 (CLD_TRAPPED): Likewise.
6028 (CLD_STOPPED): Likewise.
6029 (CLD_CONTINUED): Likewise.
6030 (POLL_IN): Likewise.
6031 (POLL_OUT): Likewise.
6032 (POLL_MSG): Likewise.
6033 (POLL_ERR): Likewise.
6034 (POLL_PRI): Likewise.
6035 (POLL_HUP): Likewise.
6036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6037 (ILL_ILLOPN): Likewise.
6038 (ILL_ILLADR): Likewise.
6039 (ILL_ILLTRP): Likewise.
6040 (ILL_PRVOPC): Likewise.
6041 (ILL_PRVREG): Likewise.
6042 (ILL_COPROC): Likewise.
6043 (ILL_BADSTK): Likewise.
6044 (FPE_INTDIV): Likewise.
6045 (FPE_INTOVF): Likewise.
6046 (FPE_FLTDIV): Likewise.
6047 (FPE_FLTOVF): Likewise.
6048 (FPE_FLTUND): Likewise.
6049 (FPE_FLTRES): Likewise.
6050 (FPE_FLTINV): Likewise.
6051 (FPE_FLTSUB): Likewise.
6052 (SEGV_MAPERR): Likewise.
6053 (SEGV_ACCERR): Likewise.
6054 (BUS_ADRALN): Likewise.
6055 (BUS_ADRERR): Likewise.
6056 (BUS_OBJERR): Likewise.
6057 (BUS_MCEERR_AR): Likewise.
6058 (BUS_MCEERR_AO): Likewise.
6059 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6060 (TRAP_TRACE): Likewise.
6061 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6063 (CLD_KILLED): Likewise.
6064 (CLD_DUMPED): Likewise.
6065 (CLD_TRAPPED): Likewise.
6066 (CLD_STOPPED): Likewise.
6067 (CLD_CONTINUED): Likewise.
6068 (POLL_IN): Likewise.
6069 (POLL_OUT): Likewise.
6070 (POLL_MSG): Likewise.
6071 (POLL_ERR): Likewise.
6072 (POLL_PRI): Likewise.
6073 (POLL_HUP): Likewise.
6074 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6075 (ILL_ILLOPN): Likewise.
6076 (ILL_ILLADR): Likewise.
6077 (ILL_ILLTRP): Likewise.
6078 (ILL_PRVOPC): Likewise.
6079 (ILL_PRVREG): Likewise.
6080 (ILL_COPROC): Likewise.
6081 (ILL_BADSTK): Likewise.
6082 (FPE_INTDIV): Likewise.
6083 (FPE_INTOVF): Likewise.
6084 (FPE_FLTDIV): Likewise.
6085 (FPE_FLTOVF): Likewise.
6086 (FPE_FLTUND): Likewise.
6087 (FPE_FLTRES): Likewise.
6088 (FPE_FLTINV): Likewise.
6089 (FPE_FLTSUB): Likewise.
6090 (SEGV_MAPERR): Likewise.
6091 (SEGV_ACCERR): Likewise.
6092 (BUS_ADRALN): Likewise.
6093 (BUS_ADRERR): Likewise.
6094 (BUS_OBJERR): Likewise.
6095 (BUS_MCEERR_AR): Likewise.
6096 (BUS_MCEERR_AO): Likewise.
6097 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6098 (TRAP_TRACE): Likewise.
6099 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6101 (CLD_KILLED): Likewise.
6102 (CLD_DUMPED): Likewise.
6103 (CLD_TRAPPED): Likewise.
6104 (CLD_STOPPED): Likewise.
6105 (CLD_CONTINUED): Likewise.
6106 (POLL_IN): Likewise.
6107 (POLL_OUT): Likewise.
6108 (POLL_MSG): Likewise.
6109 (POLL_ERR): Likewise.
6110 (POLL_PRI): Likewise.
6111 (POLL_HUP): Likewise.
6112 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6113 (ILL_ILLOPN): Likewise.
6114 (ILL_ILLADR): Likewise.
6115 (ILL_ILLTRP): Likewise.
6116 (ILL_PRVOPC): Likewise.
6117 (ILL_PRVREG): Likewise.
6118 (ILL_COPROC): Likewise.
6119 (ILL_BADSTK): Likewise.
6120 (ILL_DBLFLT): Likewise.
6121 (ILL_HARDWALL): Likewise.
6122 (FPE_INTDIV): Likewise.
6123 (FPE_INTOVF): Likewise.
6124 (FPE_FLTDIV): Likewise.
6125 (FPE_FLTOVF): Likewise.
6126 (FPE_FLTUND): Likewise.
6127 (FPE_FLTRES): Likewise.
6128 (FPE_FLTINV): Likewise.
6129 (FPE_FLTSUB): Likewise.
6130 (SEGV_MAPERR): Likewise.
6131 (SEGV_ACCERR): Likewise.
6132 (BUS_ADRALN): Likewise.
6133 (BUS_ADRERR): Likewise.
6134 (BUS_OBJERR): Likewise.
6135 (BUS_MCEERR_AR): Likewise.
6136 (BUS_MCEERR_AO): Likewise.
6137 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6138 (TRAP_TRACE): Likewise.
6139 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6141 (CLD_KILLED): Likewise.
6142 (CLD_DUMPED): Likewise.
6143 (CLD_TRAPPED): Likewise.
6144 (CLD_STOPPED): Likewise.
6145 (CLD_CONTINUED): Likewise.
6146 (POLL_IN): Likewise.
6147 (POLL_OUT): Likewise.
6148 (POLL_MSG): Likewise.
6149 (POLL_ERR): Likewise.
6150 (POLL_PRI): Likewise.
6151 (POLL_HUP): Likewise.
6152 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6153 (ILL_ILLOPN): Likewise.
6154 (ILL_ILLADR): Likewise.
6155 (ILL_ILLTRP): Likewise.
6156 (ILL_PRVOPC): Likewise.
6157 (ILL_PRVREG): Likewise.
6158 (ILL_COPROC): Likewise.
6159 (ILL_BADSTK): Likewise.
6160 (FPE_INTDIV): Likewise.
6161 (FPE_INTOVF): Likewise.
6162 (FPE_FLTDIV): Likewise.
6163 (FPE_FLTOVF): Likewise.
6164 (FPE_FLTUND): Likewise.
6165 (FPE_FLTRES): Likewise.
6166 (FPE_FLTINV): Likewise.
6167 (FPE_FLTSUB): Likewise.
6168 (SEGV_MAPERR): Likewise.
6169 (SEGV_ACCERR): Likewise.
6170 (BUS_ADRALN): Likewise.
6171 (BUS_ADRERR): Likewise.
6172 (BUS_OBJERR): Likewise.
6173 (BUS_MCEERR_AR): Likewise.
6174 (BUS_MCEERR_AO): Likewise.
6175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6176 (TRAP_TRACE): Likewise.
6177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6179 (CLD_KILLED): Likewise.
6180 (CLD_DUMPED): Likewise.
6181 (CLD_TRAPPED): Likewise.
6182 (CLD_STOPPED): Likewise.
6183 (CLD_CONTINUED): Likewise.
6184 (POLL_IN): Likewise.
6185 (POLL_OUT): Likewise.
6186 (POLL_MSG): Likewise.
6187 (POLL_ERR): Likewise.
6188 (POLL_PRI): Likewise.
6189 (POLL_HUP): Likewise.
6190 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6191 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6194 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6195 before #include of <time.h>.
6196 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6197 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6198 (test-xfail-UNIX98/sched.h/conform): Likewise.
6200 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6202 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6203 error absence of trapping exception support.
6204 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6206 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6208 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6209 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6210 * timezone/Makefile (testdata): Move definition above include of
6212 (test-zones): New variable.
6213 (tests-special): Add zone files.
6214 (build-testdata): Use $(evaluate-test).
6216 * elf/Makefile (tests-special): Rename tests to end with .out.
6217 ($(objpfx)noload-mem): Likewise.
6218 ($(objpfx)tst-leaks1-mem): Likewise.
6219 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6220 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6221 $(objpfx)test-iconvconfig.out.
6222 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6223 set -e inside subshell and redirect output to file.
6224 * iconvdata/Makefile (generated): Rename tests to end with .out.
6226 (tests-special): Rename tests to end with .out.
6227 ($(objpfx)mtrace-tst-loading): Likewise.
6228 * intl/Makefile (generated): Likewise.
6229 (tests-special): Likewise.
6230 ($(objpfx)mtrace-tst-gettext): Likewise.
6231 * misc/Makefile (generated): Likewise.
6232 (tests-special): Likewise.
6233 ($(objpfx)tst-error1-mem): Likewise.
6234 * nptl/Makefile (tests-special): Likewise.
6235 ($(objpfx)tst-stack3-mem): Likewise.
6236 (generated): Likewise.
6237 * posix/Makefile (generated): Likewise.
6238 (tests-special): Likewise.
6239 (xtests-special): Likewise.
6240 ($(objpfx)tst-fnmatch-mem): Likewise.
6241 ($(objpfx)bug-regex2-mem): Likewise.
6242 ($(objpfx)bug-regex14-mem): Likewise.
6243 ($(objpfx)bug-regex21-mem): Likewise.
6244 ($(objpfx)bug-regex31-mem): Likewise.
6245 ($(objpfx)tst-vfork3-mem): Likewise.
6246 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6247 ($(objpfx)tst-pcre-mem): Likewise.
6248 ($(objpfx)tst-boost-mem): Likewise.
6249 ($(objpfx)bug-ga2-mem): Likewise.
6250 ($(objpfx)bug-glob2-mem): Likewise.
6251 * resolv/Makefile (generate): Likewise.
6252 (tests-special): Likewise.
6253 (xtests-special): Likewise.
6254 (generated): Likewise.
6255 ($(objpfx)mtrace-tst-leaks): Likewise.
6256 ($(objpfx)mtrace-tst-leaks2): Likewise.
6258 * scripts/merge-test-results.sh: New file.
6259 * Makefile (tests-special-notdir): New variable.
6260 (tests): Run merge-test-results.sh.
6262 * Rules (tests-special-notdir): New variable.
6263 (xtests-special-notdir): Likewise.
6264 (tests): Run merge-test-results.sh
6267 * Makeconfig (test-xfail-name): New variable.
6268 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6269 compute variable name for expected failures.
6270 * conform/Makefile (conformtest-headers-data): New variable.
6271 (conformtest-standards): Likewise.
6272 (conformtest-headers-ISO): Likewise.
6273 (conformtest-headers-ISO99): Likewise.
6274 (conformtest-headers-ISO11): Likewise.
6275 (conformtest-headers-POSIX): Likewise.
6276 (conformtest-headers-XPG3): Likewise.
6277 (conformtest-headers-XPG4): Likewise.
6278 (conformtest-headers-UNIX98): Likewise.
6279 (conformtest-headers-XOPEN2K): Likewise.
6280 (conformtest-headers-POSIX2008): Likewise.
6281 (conformtest-headers-XOPEN2K8): Likewise.
6282 (conformtest-header-list-base): Likewise.
6283 (conformtest-header-list-tests): Likewise.
6284 (conformtest-header-base): Likewise.
6285 (conformtest-header-tests): Likewise.
6286 (tests-special): Add $(conformtest-header-list-tests). If
6287 [$(fast-check) && !$(cross-compiling)], add
6288 $(conformtest-header-tests) instead of
6289 $(objpfx)run-conformtest.out.
6290 (generated): Add $(conformtest-header-list-base). If
6291 [$(fast-check) && !$(cross-compiling)], add
6292 $(conformtest-header-base). Remove previous setting.
6293 ($(conformtest-header-list-tests)): New target.
6294 (test-xfail-run-conformtest): Remove variable.
6295 ($(objpfx)run-conformtest.out): Remove target.
6296 (test-xfail-ISO11/complex.h/conform): New variable.
6297 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6298 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6299 (test-xfail-XPG3/varargs.h/conform): Likewise.
6300 (test-xfail-XPG4/varargs.h/conform): Likewise.
6301 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6302 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6303 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6304 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6305 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6306 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6307 (test-xfail-XPG3/ftw.h/conform): Likewise.
6308 (test-xfail-XPG3/grp.h/conform): Likewise.
6309 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6310 (test-xfail-XPG3/limits.h/conform): Likewise.
6311 (test-xfail-XPG3/pwd.h/conform): Likewise.
6312 (test-xfail-XPG3/search.h/conform): Likewise.
6313 (test-xfail-XPG3/signal.h/conform): Likewise.
6314 (test-xfail-XPG3/stdio.h/conform): Likewise.
6315 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6316 (test-xfail-XPG3/string.h/conform): Likewise.
6317 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6318 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6319 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6320 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6321 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6322 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6323 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6324 (test-xfail-XPG3/termios.h/conform): Likewise.
6325 (test-xfail-XPG3/time.h/conform): Likewise.
6326 (test-xfail-XPG3/unistd.h/conform): Likewise.
6327 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6328 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6329 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6330 (test-xfail-XPG4/netdb.h/conform): Likewise.
6331 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6332 (test-xfail-XPG4/signal.h/conform): Likewise.
6333 (test-xfail-XPG4/stdio.h/conform): Likewise.
6334 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6335 (test-xfail-XPG4/stropts.h/conform): Likewise.
6336 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6337 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6338 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6339 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6340 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6341 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6342 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6343 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6344 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6345 (test-xfail-XPG4/termios.h/conform): Likewise.
6346 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6347 (test-xfail-XPG4/unistd.h/conform): Likewise.
6348 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6349 (test-xfail-POSIX/sched.h/conform): Likewise.
6350 (test-xfail-POSIX/signal.h/conform): Likewise.
6351 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6352 (test-xfail-POSIX/tar.h/conform): Likewise.
6353 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6354 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6355 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6356 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6357 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6358 (test-xfail-UNIX98/sched.h/conform): Likewise.
6359 (test-xfail-UNIX98/signal.h/conform): Likewise.
6360 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6361 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6362 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6363 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6364 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6365 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6366 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6367 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6368 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6369 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6370 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6371 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6372 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6373 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6374 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6375 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6376 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6377 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6378 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6379 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6380 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6381 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6382 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6383 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6384 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6385 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6386 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6387 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6388 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6389 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6390 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6391 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6392 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6393 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6394 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6395 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6396 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6397 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6398 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6399 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6400 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6401 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6402 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6403 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6404 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6405 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6406 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6407 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6408 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6409 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6410 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6411 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6412 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6413 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6414 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6415 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6416 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6417 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6418 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6419 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6420 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6421 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6422 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6423 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6424 (conformtest-cc-flags): Likewise.
6425 ($(conformtest-header-tests): New target.
6426 * conform/check-header-lists.sh: New file.
6427 * conform/run-conformtest.sh: Remove.
6429 * conform/conformtest.pl: Allow ' and \ in values given for
6431 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6433 [POSIX] (sys/types.h): Likewise.
6434 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6436 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6438 * conform/data/signal.h-data (SIGIO): Remove expectation.
6439 [XPG3] (SIGBUS): Do not expect.
6440 [POSIX || XPG3] (SIGPOLL): Likewise.
6441 [POSIX || XPG3] (SIGPROF): Likewise.
6442 [POSIX || XPG3] (SIGSYS): Likewise.
6443 [XPG3] (SIGTRAP): Likewise.
6444 [POSIX || XPG3] (SIGURG): Likewise.
6445 [POSIX || XPG3] (SIGVTALRM): Likewise.
6446 [POSIX || XPG3] (SIGXCPU): Likewise.
6447 [POSIX || XPG3] (SIGXFSZ): Likewise.
6448 [POSIX] (SA_SIGINFO): Expect.
6449 [XPG3] (siginfo_t): Do not expect type or contents.
6450 [POSIX] (si_pid): Do not expect element.
6451 [POSIX] (si_uid): Likewise.
6452 [POSIX] (si_addr): Likewise.
6453 [POSIX] (si_status): Likewise.
6454 [POSIX] (si_band): Likewise.
6455 [XPG4] (si_value): Likewise.
6456 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6457 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6458 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6459 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6460 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6461 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6462 [POSIX || XPG3] (ILL_COPROC): Likewise.
6463 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6464 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6465 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6466 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6467 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6468 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6469 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6470 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6471 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6472 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6473 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6474 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6475 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6476 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6477 [POSIX || XPG3] (CLD_EXITED): Likewise.
6478 [POSIX || XPG3] (CLD_KILLED): Likewise.
6479 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6480 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6481 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6482 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6483 [POSIX || XPG3] (POLL_IN): Likewise.
6484 [POSIX || XPG3] (POLL_OUT): Likewise.
6485 [POSIX || XPG3] (POLL_MSG): Likewise.
6486 [POSIX || XPG3] (POLL_ERR): Likewise.
6487 [POSIX || XPG3] (POLL_PRI): Likewise.
6488 [POSIX || XPG3] (POLL_HUP): Likewise.
6489 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6490 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6491 (SIG*): Do not allow.
6492 [XPG3] (si_*): Likewise.
6493 [XPG3] (SI_*): Likewise.
6494 [XPG3 || XPG4] (sigev_*): Likewise.
6495 [XPG3 || XPG4] (SIGEV_*): Likewise.
6496 [XPG3 || XPG4] (sival_*): Likewise.
6497 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6498 [POSIX || XPG3] (BUS_*): Likewise.
6499 [POSIX || XPG3] (CLD_*): Likewise.
6500 [POSIX || XPG3] (FPE_*): Likewise.
6501 [POSIX || XPG3] (ILL_*): Likewise.
6502 [POSIX || XPG3] (POLL_*): Likewise.
6503 [POSIX || XPG3] (SEGV_*): Likewise.
6504 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6505 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6506 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6507 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6508 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6509 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6510 Specify type and value.
6511 (TVERSLEN): Likewise.
6512 (REGTYPE): Likewise.
6513 (AREGTYPE): Likewise.
6514 (LNKTYPE): Likewise.
6515 (SYMTYPE): Likewise.
6516 (CHRTYPE): Likewise.
6517 (BLKTYPE): Likewise.
6518 (DIRTYPE): Likewise.
6519 (FIFOTYPE): Likewise.
6520 (CONTTYPE): Likewise.
6525 (TUWRITE): Likewise.
6528 (TGWRITE): Likewise.
6531 (TOWRITE): Likewise.
6533 [POSIX] (TSVTX): Expect constant.
6535 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6537 * Makefile (tests): Change dependencies to ....
6538 (tests-special): ... additions to this variable.
6539 (tests): Depend on $(tests-special).
6540 * Makerules (check-abi-list): New variable.
6541 (check-abi): Depend on $(check-abi-list).
6542 [$(subdir) = elf] (tests-special): Add
6543 $(objpfx)check-abi-libc.out.
6544 [$(build-shared) = yes && subdir] (tests-special): Add
6546 [$(build-shared) = yes && subdir] (tests): Do not depend on
6548 * Rules (tests): Depend on $(tests-special).
6549 (xtests): Depend on $(xtests-special).
6550 * catgets/Makefile (tests): Change dependencies to ....
6551 (tests-special): ... additions to this variable.
6552 * conform/Makefile (tests): Change dependencies to ....
6553 (tests-special): ... additions to this variable.
6554 * elf/Makefile (tests): Change dependencies to ....
6555 (tests-special): ... additions to this variable.
6556 * grp/Makefile (tests): Change dependencies to ....
6557 (tests-special): ... additions to this variable.
6558 * iconv/Makefile (xtests): Change dependencies to ....
6559 (xtests-special): ... additions to this variable.
6560 * iconvdata/Makefile (tests): Change dependencies to ....
6561 (tests-special): ... additions to this variable.
6562 * intl/Makefile (tests): Change dependencies to ....
6563 (tests-special): ... additions to this variable. Also add
6564 $(objpfx)tst-gettext.out.
6565 * io/Makefile (tests): Change dependencies to ....
6566 (tests-special): ... additions to this variable.
6567 * libio/Makefile (tests): Change dependencies to ....
6568 (tests-special): ... additions to this variable.
6569 * malloc/Makefile (tests): Change dependencies to ....
6570 (tests-special): ... additions to this variable.
6571 * misc/Makefile (tests): Change dependencies to ....
6572 (tests-special): ... additions to this variable.
6573 * nptl/Makefile (tests): Change dependencies to ....
6574 (tests-special): ... additions to this variable.
6575 * nptl_db/Makefile (tests): Change dependencies to ....
6576 (tests-special): ... additions to this variable.
6577 * posix/Makefile (tests): Change dependencies to ....
6578 (tests-special): ... additions to this variable.
6579 (xtests): Change dependencies to ....
6580 (xtests-special): ... additions to this variable.
6581 * resolv/Makefile (tests): Change dependencies to ....
6582 (tests-special): ... additions to this variable.
6583 (xtests): Change dependencies to ....
6584 (xtests-special): ... additions to this variable.
6585 * stdio-common/Makefile (tests): Change dependencies to ....
6586 (tests-special): ... additions to this variable.
6587 (do-tst-unbputc): Remove target.
6588 (do-tst-printf): Likewise.
6589 * stdlib/Makefile (tests): Change dependencies to ....
6590 (tests-special): ... additions to this variable.
6591 * string/Makefile (tests): Change dependencies to ....
6592 (tests-special): ... additions to this variable.
6593 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6594 (tests-special): ... additions to this variable.
6596 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6598 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6600 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6601 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6603 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6604 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6605 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6606 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6607 * conform/data/libgen.h-data [XPG3]: Likewise.
6608 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6609 * conform/data/ndbm.h-data [XPG3]: Likewise.
6610 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6611 * conform/data/netdb.h-data [XPG3]: Likewise.
6612 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6613 * conform/data/poll.h-data [XPG3]: Likewise.
6614 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6615 * conform/data/strings.h-data [XPG3]: Likewise.
6616 * conform/data/stropts.h-data [XPG3]: Likewise.
6617 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6618 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6619 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6621 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6622 * conform/data/sys/time.h-data [XPG3]: Likewise.
6623 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6624 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6625 * conform/data/sys/un.h-data [XPG3]: Likewise.
6626 * conform/data/syslog.h-data [XPG3]: Likewise.
6627 * conform/data/ucontext.h-data [XPG3]: Likewise.
6628 * conform/data/utmpx.h-data [XPG3]: Likewise.
6629 * conform/data/varargs.h-data [UNIX98]: Enable file.
6631 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6633 * math/libm-test.inc (struct test_f_f_data): Move expected results
6634 into structure for each rounding mode.
6635 (struct test_ff_f_data): Likewise.
6636 (struct test_ff_f_data_nexttoward): Likewise.
6637 (struct test_fi_f_data): Likewise.
6638 (struct test_fl_f_data): Likewise.
6639 (struct test_if_f_data): Likewise.
6640 (struct test_fff_f_data): Likewise.
6641 (struct test_c_f_data): Likewise.
6642 (struct test_f_f1_data): Likewise.
6643 (struct test_fF_f1_data): Likewise.
6644 (struct test_ffI_f1_data): Likewise.
6645 (struct test_c_c_data): Likewise.
6646 (struct test_cc_c_data): Likewise.
6647 (struct test_f_i_data): Likewise.
6648 (struct test_ff_i_data): Likewise.
6649 (struct test_f_l_data): Likewise.
6650 (struct test_f_L_data): Likewise.
6651 (struct test_fFF_11_data): Likewise.
6653 (RM_FE_DOWNWARD): Likewise.
6654 (RM_FE_TONEAREST): Likewise.
6655 (RM_FE_TOWARDZERO): Likewise.
6656 (RM_FE_UPWARD): Likewise.
6657 (RUN_TEST_LOOP_f_f): Update references to expected results.
6658 (RUN_TEST_LOOP_2_f): Likewise.
6659 (RUN_TEST_LOOP_fff_f): Likewise.
6660 (RUN_TEST_LOOP_c_f): Likewise.
6661 (RUN_TEST_LOOP_f_f1): Likewise.
6662 (RUN_TEST_LOOP_fF_f1): Likewise.
6663 (RUN_TEST_LOOP_fI_f1): Likewise.
6664 (RUN_TEST_LOOP_ffI_f1): Likewise.
6665 (RUN_TEST_LOOP_c_c): Likewise.
6666 (RUN_TEST_LOOP_cc_c): Likewise.
6667 (RUN_TEST_LOOP_f_i): Likewise.
6668 (RUN_TEST_LOOP_f_i_tg): Likewise.
6669 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6670 (RUN_TEST_LOOP_f_b): Likewise.
6671 (RUN_TEST_LOOP_f_b_tg): Likewise.
6672 (RUN_TEST_LOOP_f_l): Likewise.
6673 (RUN_TEST_LOOP_f_L): Likewise.
6674 (RUN_TEST_LOOP_fFF_11): Likewise.
6675 * math/gen-libm-test.pl (parse_args): Output four copies of
6676 expected results for each test.
6678 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6679 (__ASSUME_UTIMES): Remove.
6680 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6681 (__ASSUME_UTIMES): Likewise.
6683 * math/gen-auto-libm-tests.c: Update comment on output format.
6684 (output_for_one_input_case): Generate before-rounding and
6685 after-rounding information as conditions on output flags not
6686 floating-point format.
6687 * math/auto-libm-test-out: Regenerated.
6688 * math/gen-libm-test.pl (cond_value): New function.
6689 (or_cond_value): Use cond_value.
6690 (generate_testfile): Handle conditional exceptions.
6692 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6694 * math/libm-test.inc (max_valid_error): New variable.
6695 (init_max_error): Take new argument specifying whether function
6696 results are exactly determined. Set max_valid_error and bound
6697 other variables for errors based on this argument.
6698 (set_max_error): Do not record results above max_valid_error.
6699 (check_float_internal): Only accept errors of up to 0.5ulps if
6700 also at most max_valid_error.
6701 (START): Take new argument EXACT and pass it to init_max_error.
6702 (acos_test): Update call to START.
6703 (acos_test_tonearest): Likewise.
6704 (acos_test_towardzero): Likewise.
6705 (acos_test_downward): Likewise.
6706 (acos_test_upward): Likewise.
6707 (acosh_test): Likewise.
6708 (asin_test): Likewise.
6709 (asin_test_tonearest): Likewise.
6710 (asin_test_towardzero): Likewise.
6711 (asin_test_downward): Likewise.
6712 (asin_test_upward): Likewise.
6713 (asinh_test): Likewise.
6714 (atan_test): Likewise.
6715 (atanh_test): Likewise.
6716 (atan2_test): Likewise.
6717 (cabs_test): Likewise.
6718 (cacos_test): Likewise.
6719 (cacosh_test): Likewise.
6720 (carg_test): Likewise.
6721 (casin_test): Likewise.
6722 (casinh_test): Likewise.
6723 (catan_test): Likewise.
6724 (catanh_test): Likewise.
6725 (cbrt_test): Likewise.
6726 (ccos_test): Likewise.
6727 (ccosh_test): Likewise.
6728 (ceil_test): Likewise.
6729 (cexp_test): Likewise.
6730 (cimag_test): Likewise.
6731 (clog_test): Likewise.
6732 (clog10_test): Likewise.
6733 (conj_test): Likewise.
6734 (copysign_test): Likewise.
6735 (cos_test): Likewise.
6736 (cos_test_tonearest): Likewise.
6737 (cos_test_towardzero): Likewise.
6738 (cos_test_downward): Likewise.
6739 (cos_test_upward): Likewise.
6740 (cosh_test): Likewise.
6741 (cosh_test_tonearest): Likewise.
6742 (cosh_test_towardzero): Likewise.
6743 (cosh_test_downward): Likewise.
6744 (cosh_test_upward): Likewise.
6745 (cpow_test): Likewise.
6746 (cproj_test): Likewise.
6747 (creal_test): Likewise.
6748 (csin_test): Likewise.
6749 (csinh_test): Likewise.
6750 (csqrt_test): Likewise.
6751 (ctan_test): Likewise.
6752 (ctan_test_tonearest): Likewise.
6753 (ctan_test_towardzero): Likewise.
6754 (ctan_test_downward): Likewise.
6755 (ctan_test_upward): Likewise.
6756 (ctanh_test): Likewise.
6757 (ctanh_test_tonearest): Likewise.
6758 (ctanh_test_towardzero): Likewise.
6759 (ctanh_test_downward): Likewise.
6760 (ctanh_test_upward): Likewise.
6761 (erf_test): Likewise.
6762 (erfc_test): Likewise.
6763 (exp_test): Likewise.
6764 (exp_test_tonearest): Likewise.
6765 (exp_test_towardzero): Likewise.
6766 (exp_test_downward): Likewise.
6767 (exp_test_upward): Likewise.
6768 (exp10_test): Likewise.
6769 (exp10_test_tonearest): Likewise.
6770 (exp10_test_towardzero): Likewise.
6771 (exp10_test_downward): Likewise.
6772 (exp10_test_upward): Likewise.
6773 (pow10_test): Likewise.
6774 (exp2_test): Likewise.
6775 (expm1_test): Likewise.
6776 (expm1_test_tonearest): Likewise.
6777 (expm1_test_towardzero): Likewise.
6778 (expm1_test_downward): Likewise.
6779 (expm1_test_upward): Likewise.
6780 (fabs_test): Likewise.
6781 (fdim_test): Likewise.
6782 (floor_test): Likewise.
6783 (fma_test): Likewise.
6784 (fma_test_towardzero): Likewise.
6785 (fma_test_downward): Likewise.
6786 (fma_test_upward): Likewise.
6787 (fmax_test): Likewise.
6788 (fmin_test): Likewise.
6789 (fmod_test): Likewise.
6790 (fpclassify_test): Likewise.
6791 (frexp_test): Likewise.
6792 (hypot_test): Likewise.
6793 (ilogb_test): Likewise.
6794 (isfinite_test): Likewise.
6795 (finite_test): Likewise.
6796 (isgreater_test): Likewise.
6797 (isgreaterequal_test): Likewise.
6798 (isinf_test): Likewise.
6799 (isless_test): Likewise.
6800 (islessequal_test): Likewise.
6801 (islessgreater_test): Likewise.
6802 (isnan_test): Likewise.
6803 (isnormal_test): Likewise.
6804 (issignaling_test): Likewise.
6805 (isunordered_test): Likewise.
6806 (j0_test): Likewise.
6807 (j1_test): Likewise.
6808 (jn_test): Likewise.
6809 (ldexp_test): Likewise.
6810 (lgamma_test): Likewise.
6811 (gamma_test): Likewise.
6812 (lrint_test): Likewise.
6813 (lrint_test_tonearest): Likewise.
6814 (lrint_test_towardzero): Likewise.
6815 (lrint_test_downward): Likewise.
6816 (lrint_test_upward): Likewise.
6817 (llrint_test): Likewise.
6818 (llrint_test_tonearest): Likewise.
6819 (llrint_test_towardzero): Likewise.
6820 (llrint_test_downward): Likewise.
6821 (llrint_test_upward): Likewise.
6822 (log_test): Likewise.
6823 (log10_test): Likewise.
6824 (log1p_test): Likewise.
6825 (log2_test): Likewise.
6826 (logb_test): Likewise.
6827 (logb_test_downward): Likewise.
6828 (lround_test): Likewise.
6829 (llround_test): Likewise.
6830 (modf_test): Likewise.
6831 (nearbyint_test): Likewise.
6832 (nextafter_test): Likewise.
6833 (nexttoward_test): Likewise.
6834 (pow_test): Likewise.
6835 (pow_test_tonearest): Likewise.
6836 (pow_test_towardzero): Likewise.
6837 (pow_test_downward): Likewise.
6838 (pow_test_upward): Likewise.
6839 (remainder_test): Likewise.
6840 (drem_test): Likewise.
6841 (remainder_test_tonearest): Likewise.
6842 (drem_test_tonearest): Likewise.
6843 (remainder_test_towardzero): Likewise.
6844 (drem_test_towardzero): Likewise.
6845 (remainder_test_downward): Likewise.
6846 (drem_test_downward): Likewise.
6847 (remainder_test_upward): Likewise.
6848 (drem_test_upward): Likewise.
6849 (remquo_test): Likewise.
6850 (rint_test): Likewise.
6851 (rint_test_tonearest): Likewise.
6852 (rint_test_towardzero): Likewise.
6853 (rint_test_downward): Likewise.
6854 (rint_test_upward): Likewise.
6855 (round_test): Likewise.
6856 (scalb_test): Likewise.
6857 (scalbn_test): Likewise.
6858 (scalbln_test): Likewise.
6859 (signbit_test): Likewise.
6860 (sin_test): Likewise.
6861 (sin_test_tonearest): Likewise.
6862 (sin_test_towardzero): Likewise.
6863 (sin_test_downward): Likewise.
6864 (sin_test_upward): Likewise.
6865 (sincos_test): Likewise.
6866 (sinh_test): Likewise.
6867 (sinh_test_tonearest): Likewise.
6868 (sinh_test_towardzero): Likewise.
6869 (sinh_test_downward): Likewise.
6870 (sinh_test_upward): Likewise.
6871 (sqrt_test): Likewise.
6872 (sqrt_test_tonearest): Likewise.
6873 (sqrt_test_towardzero): Likewise.
6874 (sqrt_test_downward): Likewise.
6875 (sqrt_test_upward): Likewise.
6876 (tan_test): Likewise.
6877 (tan_test_tonearest): Likewise.
6878 (tan_test_towardzero): Likewise.
6879 (tan_test_downward): Likewise.
6880 (tan_test_upward): Likewise.
6881 (tanh_test): Likewise.
6882 (tgamma_test): Likewise.
6883 (trunc_test): Likewise.
6884 (y0_test): Likewise.
6885 (y1_test): Likewise.
6886 (yn_test): Likewise.
6887 (significand_test): Likewise.
6889 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6890 individual tests in comment.
6891 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6892 (prev_max_error): New variable.
6893 (prev_real_max_error): Likewise.
6894 (prev_imag_max_error): Likewise.
6895 (compare_ulp_data): Don't refer to test names in comment.
6896 (find_test_ulps): Remove function.
6897 (find_function_ulps): Likewise.
6898 (find_complex_function_ulps): Likewise.
6899 (init_max_error): Take function name as argument. Look up ulps
6901 (print_ulps): Remove function.
6902 (print_max_error): Use prev_max_error instead of calling
6904 (print_complex_max_error): Use prev_real_max_error and
6905 prev_imag_max_error instead of calling find_complex_function_ulps.
6906 (check_float_internal): Take max_ulp parameter instead of calling
6907 find_test_ulps. Don't call print_ulps.
6908 (check_float): Update call to check_float_internal.
6909 (check_complex): Update calls to check_float_internal.
6910 (START): Pass argument to init_max_error.
6911 * math/gen-libm-test.pl (%results): Don't include "kind"
6913 (parse_ulps): Don't handle ulps of individual tests.
6914 (print_ulps_file): Likewise.
6915 (output_ulps): Likewise.
6916 * math/README.libm-test: Update.
6917 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6919 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6920 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6921 * sysdeps/arm/libm-test-ulps: Likewise.
6922 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6923 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6924 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6925 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6926 * sysdeps/microblaze/libm-test-ulps: Likewise.
6927 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6928 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6929 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6930 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6931 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6932 * sysdeps/sh/libm-test-ulps: Likewise.
6933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6934 * sysdeps/tile/libm-test-ulps: Likewise.
6935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6937 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6939 * math/libm-test.inc (print_complex_max_error): Check separately
6940 whether real and imaginary errors are within allowed range and
6941 pass 0 to print_complex_function_ulps instead of value within
6944 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6946 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6948 (get_handles_fopen): Likewise.
6949 (do_write_test): Likewise.
6951 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6953 * libio/fileops.c (do_ftell): Use cached offset when
6955 * libio/iofwide.c (do_ftell_wide): Likewise.
6956 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6958 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6961 * libio/libioP.h (get_file_offset): New function.
6962 * libio/fileops.c (get_file_offset): Likewise.
6963 (do_ftell): Likewise.
6964 (_IO_new_file_seekoff): Split out ftell logic.
6965 * libio/wfileops.c (do_ftell_wide): Likewise.
6966 (_IO_wfile_seekoff): Split out ftell logic.
6967 * libio/tst-ftell-active-handler.c: New test case.
6968 * libio/Makefile (tests): Add it.
6970 2014-03-03 Roland McGrath <roland@hack.frob.com>
6972 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6973 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6975 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6978 * nscd/connections.c (nscd_init): Call do_exit.
6979 (start_threads): Call do_exit and notify_parent.
6980 (begin_drop_privileges): Call do_exit.
6981 (finish_drop_privileges): Likewise.
6982 * nscd/selinux.c (preserve_capabilities): Likewise.
6983 (install_real_capabilities): Likewise.
6984 (nscd_selinux_enabled): Likewise.
6985 (avc_create_thread): Likewise.
6986 (avc_alloc_lock): Likewise.
6987 (nscd_avc_init): Likewise.
6988 * nscd/nscd.c (parent_fd): New static variable.
6989 (main): Create a pipe between parent and child processes.
6990 Skip closing parent_fd.
6991 (monitor_child): New function.
6992 (do_exit): Likewise.
6993 (notify_parent): Likewise.
6994 * nscd/nscd.h (notify_parent): Likewise.
6995 (do_exit): Likewise.
6997 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6999 * malloc/malloc.c (__libc_calloc): Revert last change.
7001 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7005 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7007 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7011 (__libc_ifunc_impl_list): Likewise.
7012 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7013 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7014 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7015 * string/strrchr.c: Define STRRCHR.
7017 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7019 * benchtest/bench-strtok.c (simple_strtok): Delete.
7020 (strtok_string): Use as benchmark.
7021 * string/strtok (STRTOK): New macro.
7023 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7025 * manual/threads.texi: Add header and standard comments to all
7028 * elf/dl-lookup.c (check_match): New function.
7029 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7030 (do_lookup_x): Remove nested function check_match. Use non-nested
7031 function check_match.
7033 2014-02-28 Roland McGrath <roland@hack.frob.com>
7035 * csu/Makefile (generated, before-compile): Use += rather than =.
7036 * catgets/Makefile (generated, generated-dirs): Likewise.
7037 * debug/Makefile (generated): Likewise.
7038 * dlfcn/Makefile (generated): Likewise.
7039 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7040 * iconvdata/Makefile (before-compile, generated): Likewise.
7041 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7042 * libio/Makefile (generated): Likewise.
7043 * malloc/Makefile (generated): Likewise.
7044 * manual/Makefile (generated, generated-dirs): Likewise.
7045 * misc/Makefile (generated): Likewise.
7046 * posix/Makefile (generated): Likewise.
7047 * resolv/Makefile (generated): Likewise.
7048 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7049 * timezone/Makefile (generated, generated-dirs): Likewise.
7051 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7053 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7056 power8 implementation.
7057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7058 file: POWER8 llround ifunc implementation.
7059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7060 (__lllround): Add POWER8 implementation.
7061 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7062 POWER8 llround implementation.
7064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7065 power8 implementation.
7066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7067 file: POWER8 llrint ifunc implementation.
7068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7069 Add POWER8 implementation.
7070 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7071 POWER8 llrint implementation.
7073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7074 power8 implementation.
7075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7076 file: POWER8 finite ifunc implementation.
7077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7078 Add POWER8 implementation.
7079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7081 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7082 POWER8 finite implementation.
7083 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7086 power8 implementation.
7087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7088 file: POWER8 isinf ifunc implementation.
7089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7090 POWER8 implementation.
7091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7093 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7094 isinf implementation.
7095 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7098 (INIT_ARCH): Add hwcap2 initialization.
7099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7100 power8 implementation.
7101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7102 file: POWER8 isnan ifunc implementation.
7103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7104 POWER8 implementation.
7105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7107 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7108 isnan implementation.
7109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7111 2014-02-27 Joey Ye <joey.ye@arm.com>
7113 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7114 (_FP_NANFRAC_Q): Set to zero.
7116 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7119 * math/auto-libm-test-in: New test inputs.
7120 * math/auto-libm-test-out: Regenerate.
7121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7124 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7126 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7128 * scripts/evaluate-test.sh: Take new argument indicating whether
7129 failure is expected.
7130 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7131 indicating whether failure is expected.
7132 * conform/Makefile (test-xfail-run-conformtest): New variable.
7133 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7135 * posix/Makefile (test-xfail-annexc): New variable.
7136 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7138 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7140 * argp/Makefile: Include Makeconfig immediately after defining
7142 * assert/Makefile: Likewise.
7143 * benchtests/Makefile: Likewise.
7144 * catgets/Makefile: Likewise.
7145 * conform/Makefile: Likewise.
7146 * crypt/Makefile: Likewise.
7147 * csu/Makefile: Likewise.
7148 (all): Remove target.
7149 * ctype/Makefile: Include Makeconfig immediately after defining
7151 * debug/Makefile: Likewise.
7152 * dirent/Makefile: Likewise.
7153 * dlfcn/Makefile: Likewise.
7154 * gmon/Makefile: Likewise.
7155 * gnulib/Makefile: Likewise.
7156 * grp/Makefile: Likewise.
7157 * gshadow/Makefile: Likewise.
7158 * hesiod/Makefile: Likewise.
7159 * hurd/Makefile: Likewise.
7160 (all): Remove target.
7161 * iconvdata/Makefile: Include Makeconfig immediately after
7163 * inet/Makefile: Likewise.
7164 * intl/Makefile: Likewise.
7165 * io/Makefile: Likewise.
7166 * libio/Makefile: Likewise.
7167 (all): Remove target.
7168 * locale/Makefile: Include Makeconfig immediately after defining
7170 * login/Makefile: Likewise.
7171 * mach/Makefile: Likewise.
7172 (all): Remove target.
7173 * malloc/Makefile: Include Makeconfig immediately after defining
7175 (all): Remove target.
7176 * manual/Makefile: Include Makeconfig immediately after defining
7178 * math/Makefile: Likewise.
7179 * misc/Makefile: Likewise.
7180 * nis/Makefile: Likewise.
7181 * nss/Makefile: Likewise.
7182 * po/Makefile: Likewise.
7183 (all): Remove target.
7184 * posix/Makefile: Include Makeconfig immediately after defining
7186 * pwd/Makefile: Likewise.
7187 * resolv/Makefile: Likewise.
7188 * resource/Makefile: Likewise.
7189 * rt/Makefile: Likewise.
7190 * setjmp/Makefile: Likewise.
7191 * shadow/Makefile: Likewise.
7192 * signal/Makefile: Likewise.
7193 * socket/Makefile: Likewise.
7194 * soft-fp/Makefile: Likewise.
7195 * stdio-common/Makefile: Likewise.
7196 * stdlib/Makefile: Likewise.
7197 * streams/Makefile: Likewise.
7198 * string/Makefile: Likewise.
7199 * sunrpc/Makefile: Likewise.
7200 (all): Remove target.
7201 * sysvipc/Makefile: Include Makeconfig immediately after defining
7203 * termios/Makefile: Likewise.
7204 * time/Makefile: Likewise.
7205 * timezone/Makefile: Likewise.
7206 (all): Remove target.
7207 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7209 * wctype/Makefile: Likewise.
7211 2014-02-26 Steve Ellcey <sellcey@mips.com>
7213 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7214 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7215 (libc_feholdexcept_setround_mips): Ditto.
7216 (libc_feholdsetround): New.
7217 (libc_feholdsetroundf): New.
7218 (libc_feholdsetroundl): New.
7219 (libc_feupdateenv_test_mips): New.
7220 (libc_feupdateenv_test): New.
7221 (libc_feupdateenv_testf): New.
7222 (libc_feupdateenv_testl): New.
7223 (libc_feresetround): New.
7224 (libc_feresetroundf): New.
7225 (libc_feresetroundl): New.
7226 (libc_fetestexcept_mips): New.
7227 (libc_fetestexcept): New.
7228 (libc_fetestexceptf): New.
7229 (libc_fetestexceptl): New.
7231 (libc_feholdexcept_setround_mips_ctx): New.
7232 (libc_feholdexcept_setround_ctx): New.
7233 (libc_feholdexcept_setroundf_ctx): New.
7234 (libc_feholdexcept_setroundl_ctx): New.
7235 (libc_fesetenv_mips_ctx): New.
7236 (libc_fesetenv_ctx): New.
7237 (libc_fesetenv_ctxf): New.
7238 (libc_fesetenv_ctxl): New.
7239 (libc_feupdateenv_mips_ctx): New.
7240 (libc_feupdateenv_ctx): New.
7241 (libc_feupdateenvf_ctx): New.
7242 (libc_feupdateenvl_ctx): New.
7243 (libc_feholdsetround_mips_ctx): New.
7244 (libc_feholdsetround_ctx): New.
7245 (libc_feholdsetroundf_ctx): New.
7246 (libc_feholdsetroundl_ctx): New.
7247 (libc_feresetround_mips_ctx): New.
7248 (libc_feresetround_ctx): New.
7249 (libc_feresetroundf_ctx): New.
7250 (libc_feresetroundl_ctx): New.
7252 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7254 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7256 * manual/ipc.texi: New file.
7257 * manual/Makefile (chapters): Add ipc.
7258 * manual/job.texi: Add "Inter-Process Communication" to next.
7259 * manual/process.texi: Add "Inter-Process Communication" to prev.
7261 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7265 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7267 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7269 * manual/arith.texi: Fix spaces after sentences.
7270 * manual/charset.texi: Likewise.
7271 * manual/errno.texi: Likewise.
7272 * manual/install.texi: Likewise.
7273 * manual/llio.texi: Likewise.
7274 * manual/locale.texi: Likewise.
7275 * manual/maint.texi: Likewise.
7276 * manual/math.texi: Likewise.
7277 * manual/memory.texi: Likewise.
7278 * manual/message.texi: Likewise.
7279 * manual/probes.texi: Likewise.
7280 * manual/resource.texi: Likewise.
7281 * manual/signal.texi: Likewise.
7282 * manual/socket.texi: Likewise.
7283 * manual/stdio.texi: Likewise.
7284 * manual/string.texi: Likewise.
7285 * manual/time.texi: Likewise.
7286 * manual/users.texi: Likewise.
7288 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7291 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7292 _DEFAULT_SOURCE is defined.
7294 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7295 Carlos O'Donell <carlos@redhat.com>
7298 * elf/dl-tls.c (_dl_count_modids): New function.
7299 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7300 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7301 audit library and increment generation counter.
7302 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7303 * elf/tst-audit9.c: New file.
7304 * elf/tst-auditmod9a.c: New file.
7305 * elf/tst-auditmod9b.c: New file.
7306 * elf/Makefile: Add rules to build and run tst-audit9.
7308 2014-02-25 Florian Weimer <fweimer@redhat.com>
7311 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7313 2014-02-25 Will Newton <will.newton@linaro.org>
7315 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7316 (__longjmp): Restore sp and lr before restoring callee
7317 saved registers. Add longjmp and longjmp_target
7318 SystemTap probe point.
7319 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7320 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7321 Define to zero to match jmpbuf layout.
7322 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7323 (__sigsetjmp): Save sp and lr before saving callee
7324 saved registers. Add setjmp SystemTap probe point.
7326 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7328 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7330 2014-02-24 Andreas Schwab <schwab@suse.de>
7333 * elf/pldd.c (wait_for_ptrace_stop): New function.
7334 (main): Call it after attaching.
7336 2014-02-22 Roland McGrath <roland@hack.frob.com>
7338 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7339 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7340 Versions files is now verboten.
7341 * hurd/Versions (libc: GLIBC_2.0):
7342 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7343 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7344 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7345 * mach/Versions: Likewise.
7347 * csu/Versions: Remove unused %include.
7348 * resolv/Versions: Likewise.
7350 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7352 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7353 ($(objpfx)check-local-headers.out): Likewise.
7354 ($(objpfx)begin-end-check.out): Likewise.
7355 * Makerules (check-abi-%.out): Likewise.
7356 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7357 ($(objpfx)test2.cat): Likewise.
7358 ($(objpfx)de/libc.cat): Likewise.
7359 ($(objpfx)test-gencat.out): Likewise.
7360 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7361 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7362 ($(objpfx)noload-mem): Likewise.
7363 ($(objpfx)tst-pathopt.out): Likewise.
7364 ($(objpfx)tst-rtld-load-self.out): Likewise.
7365 ($(objpfx)tst-array1-cmp.out): Likewise.
7366 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7367 ($(objpfx)tst-array2-cmp.out): Likewise.
7368 ($(objpfx)tst-array3-cmp.out): Likewise.
7369 ($(objpfx)tst-array4-cmp.out): Likewise.
7370 ($(objpfx)tst-array5-cmp.out): Likewise.
7371 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7372 ($(objpfx)check-textrel.out): Likewise.
7373 ($(objpfx)check-execstack.out): Likewise.
7374 ($(objpfx)check-localplt.out): Likewise.
7375 ($(objpfx)order2-cmp.out): Likewise.
7376 ($(objpfx)tst-leaks1-mem): Likewise.
7377 ($(objpfx)tst-leaks1-static-mem): Likewise.
7378 ($(objpfx)tst-initorder-cmp.out): Likewise.
7379 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7380 ($(objpfx)tst-unused-dep.out): Likewise.
7381 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7383 * iconv/Makefile (test-iconvconfig): Likewise.
7384 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7385 ($(objpfx)iconv-test.out): Likewise.
7386 ($(objpfx)tst-tables.out): Likewise.
7387 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7388 ($(objpfx)tst-gettext.out): Likewise.
7389 ($(objpfx)tst-translit.out): Likewise.
7390 ($(objpfx)tst-gettext2.out): Likewise.
7391 ($(objpfx)tst-gettext4.out): Likewise.
7392 ($(objpfx)tst-gettext6.out): Likewise.
7393 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7394 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7395 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7396 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7397 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7398 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7399 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7400 ($(objpfx)wordexp-tst.out): Likewise.
7401 ($(objpfx)annexc.out): Likewise.
7402 ($(objpfx)tst-fnmatch-mem): Likewise.
7403 ($(objpfx)bug-regex2-mem): Likewise.
7404 ($(objpfx)bug-regex14-mem): Likewise.
7405 ($(objpfx)bug-regex21-mem): Likewise.
7406 ($(objpfx)bug-regex31-mem): Likewise.
7407 ($(objpfx)tst-vfork3-mem): Likewise.
7408 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7409 ($(objpfx)tst-pcre-mem): Likewise.
7410 ($(objpfx)tst-boost-mem): Likewise.
7411 ($(objpfx)tst-getconf.out): Likewise.
7412 ($(objpfx)bug-ga2-mem): Likewise.
7413 ($(objpfx)bug-glob2-mem): Likewise.
7414 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7415 ($(objpfx)mtrace-tst-leaks2): Likewise.
7416 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7417 ($(objpfx)tst-printf.out): Likewise.
7418 ($(objpfx)tst-setvbuf1.out): Likewise.
7419 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7420 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7421 ($(objpfx)tst-fmtmsg.out): Likewise.
7422 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7423 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7425 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7426 * bits/sigaction.h [__USE_MISC]: Likewise.
7427 * bits/waitstatus.h: Update #endif comments.
7428 * ctype/ctype.h: Likewise.
7429 * dirent/dirent.h: Likewise.
7430 [__USE_MISC]: Remove redundant conditionals.
7431 * grp/grp.h: Update #endif comments.
7432 [__USE_GNU]: Remove redundant conditionals.
7433 [__USE_MISC]: Likewise.
7434 * inet/netinet/in.h [__USE_GNU]: Likewise.
7435 * io/sys/stat.h [__USE_MISC]: Likewise.
7436 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7437 * libio/bits/stdio.h: Update #endif comments.
7438 [__USE_MISC]: Remove redundant conditionals.
7439 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7440 * libio/stdio.h: Update #endif comments.
7441 [__USE_MISC]: Remove redundant conditionals.
7442 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7443 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7444 * math/math.h: Update #else and #endif comments.
7445 [__USE_MISC]: Remove redundant conditionals.
7446 * misc/sys/uio.h: Update #endif comments.
7447 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7448 * posix/glob.h [__USE_MISC]: Likewise.
7449 * posix/sys/types.h: Update #endif comments.
7450 [__USE_MISC]: Remove redundant conditionals.
7451 * posix/sys/wait.h: Update #endif comments.
7452 [__USE_MISC]: Remove redundant conditionals.
7453 * posix/unistd.h: Update #endif comments.
7454 [__USE_MISC]: Remove redundant conditionals.
7455 * pwd/pwd.h [__USE_GNU]: Likewise.
7456 [__USE_MISC]: Likewise.
7457 * resolv/netdb.h [__USE_GNU]: Likewise.
7458 * signal/signal.h: Update #endif comments.
7459 [__USE_MISC]: Remove redundant conditionals.
7460 * stdlib/stdlib.h: Update #else and #endif comments.
7461 [__USE_MISC]: Remove redundant conditionals.
7462 [__USE_GNU]: Likewise.
7463 * string/bits/string2.h [__USE_MISC]: Likewise.
7464 * string/string.h: Update #endif comments.
7465 [__USE_MISC]: Remove redundant conditionals.
7466 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7468 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7469 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7470 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7472 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7476 [__USE_MISC]: Remove redundant conditionals.
7477 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7478 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7479 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7480 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7481 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7483 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7484 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7486 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7487 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7489 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7491 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7494 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7496 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7497 * sysdeps/x86/bits/string.h: Update #endif comments.
7498 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7500 * time/sys/time.h: Update #endif comments.
7501 * time/time.h: Likewise.
7502 [__USE_MISC]: Remove redundant conditionals.
7504 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7507 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7509 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7511 * Versions.def (librt): Add GLIBC_2.17.
7513 2014-02-21 Adam Conrad <adconrad@0c3.net>
7515 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7516 synonym for _SYS_AUXV_H to allow direct inclusion.
7517 * sysdeps/sparc/bits/hwcap.h: Likewise.
7518 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7519 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7520 * sysdeps/sparc/sysdep.h: Likewise.
7522 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7524 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7526 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7528 * benchtests/bench-strrchr.c: Print length instead of position.
7530 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7533 * sysdeps/unix/sysv/linux/kernel-features.h
7534 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7535 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7536 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7537 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7539 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7540 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7541 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7542 (__ASSUME_SENDMMSG): Define instead of using previous
7543 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7544 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7545 (__ASSUME_SENDMMSG_SYSCALL): Define.
7546 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7547 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7549 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7550 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7552 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7553 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7555 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7556 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7557 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7558 [__ASSUME_SENDMMSG]: Change conditionals to
7559 [__ASSUME_SENDMMSG_SOCKETCALL].
7560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7561 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7563 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7564 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7566 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7567 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7568 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7569 [!__ASSUME_SENDMMSG]: Change conditional to
7570 [!__ASSUME_SENDMMSG_SOCKETCALL].
7571 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7572 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7576 * sysdeps/unix/sysv/linux/kernel-features.h
7577 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7578 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7579 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7580 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7581 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7582 [__i386__ || __sparc__]
7583 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7584 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7585 (__ASSUME_RECVMMSG): Define instead of using previous
7586 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7587 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7588 (__ASSUME_RECVMMSG_SYSCALL): Define.
7589 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7590 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7592 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7593 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7595 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7598 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7599 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7600 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7601 [__ASSUME_RECVMMSG]: Change condition to
7602 [__ASSUME_RECVMMSG_SOCKETCALL].
7603 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7604 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7606 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7607 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7608 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7610 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7611 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7612 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7613 [!__ASSUME_RECVMMSG]: Change condition to
7614 [!__ASSUME_RECVMMSG_SOCKETCALL].
7615 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7616 (__ASSUME_RECVMMSG_SYSCALL): Define.
7619 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7620 __powerpc__ || __s390__ || __sh__ || __sparc__]
7621 (__ASSUME_SOCKETCALL): Define.
7622 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7623 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7624 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7625 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7626 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7627 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7628 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7629 (__ASSUME_ACCEPT4): Define instead of using previous
7630 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7631 __powerpc__ || __sparc__ || __s390__)] condition.
7632 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7633 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7634 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7635 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7636 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7637 [!__ASSUME_ACCEPT4]: Change condition to
7638 [!__ASSUME_ACCEPT4_SOCKETCALL].
7639 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7640 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7641 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7642 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7643 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7644 __ASSUME_ACCEPT4_SYSCALL.
7645 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7646 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7647 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7648 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7649 __ASSUME_ACCEPT4_SYSCALL.
7650 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7651 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7652 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7653 [__ASSUME_ACCEPT4]: Change condition to
7654 [__ASSUME_ACCEPT4_SOCKETCALL].
7655 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7656 (__ASSUME_SOCKETCALL): Define.
7657 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7658 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7659 (__ASSUME_SOCKETCALL): Define.
7660 (__ASSUME_ACCEPT4): Remove.
7661 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7663 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7664 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7666 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7667 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7669 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7671 (HWCAP_ARM_LPAE): Likewise.
7672 (HWCAP_ARM_EVTSTRM): Likewise.
7673 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7674 Add vpfd32, lpae and evtstrm.
7675 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7678 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7680 * math/auto-libm-test-in: Add tests of clog10.
7681 * math/auto-libm-test-out: Regenerated.
7682 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7683 * sysdeps/i386/fpu/libm-test-ulps: Update.
7684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686 2014-02-18 Andreas Schwab <schwab@suse.de>
7689 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7690 Store non-zero if the second buffer was newly allocated.
7691 (send_dg): Likewise.
7692 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7693 to send_vc and send_dg.
7694 (res_nsend): Pass NULL for ansp2_malloced.
7695 * resolv/res_query.c (__libc_res_nquery): Add parameter
7696 answerp2_malloced and pass it down to __libc_res_nsend.
7697 (res_nquery): Pass additional NULL to __libc_res_nquery.
7698 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7699 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7700 second answer buffer if answerp2_malloced was set.
7701 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7702 (__libc_res_nquerydomain): Add parameter
7703 answerp2_malloced and pass it down to __libc_res_nquery.
7704 (res_nquerydomain): Pass additional NULL to
7705 __libc_res_nquerydomain.
7706 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7707 additional NULL to __libc_res_nsend and __libc_res_nquery.
7708 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7709 additional NULL to __libc_res_nsearch.
7710 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7711 parameter of __libc_res_nsearch to check for separately allocated
7713 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7715 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7716 additional NULL to __libc_res_nquery.
7717 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7719 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7720 * include/resolv.h: Update prototypes of __libc_res_nquery,
7721 __libc_res_nsearch, __libc_res_nsend.
7723 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7725 * math/auto-libm-test-in: Add tests of fma.
7726 * math/auto-libm-test-out: Regenerated.
7727 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7728 (fma_towardzero_test_data): Likewise.
7729 (fma_downward_test_data): Likewise.
7730 (fma_upward_test_data): Likewise.
7731 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7733 (rounding_modes): Add values for new field.
7734 (func_calc_method): Add value mpfr_fff_f.
7735 (func_calc_desc): Add mpfr_fff_f union field.
7736 (test_function): Add field exact_args.
7737 (FUNC): Add macro argument EXACT_ARGS.
7738 (FUNC_mpfr_f_f): Update call to FUNC.
7739 (FUNC_mpfr_f_f): Likewise.
7740 (FUNC_mpfr_ff_f): Likewise.
7741 (FUNC_mpfr_if_f): Likewise.
7742 (FUNC_mpc_c_f): Likewise.
7743 (FUNC_mpc_c_c): Likewise.
7744 (test_functions): Add fma. Update calls to FUNC.
7745 (handle_input_arg): Add argument exact_args.
7746 (add_test): Update call to handle_input_arg.
7747 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7748 (output_for_one_input_case): Update call to calc_generic_results.
7749 Recalculate exact zero results in each rounding mode.
7751 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7752 non-negative before setting low bit.
7753 * math/auto-libm-test-in: Mark one asin test possibly having
7755 * math/auto-libm-test-out: Regenerated.
7756 * sysdeps/i386/fpu/libm-test-ulps: Update.
7757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7759 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7761 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7762 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7763 ports/sysdeps/unix/sysv/linux/microblaze.
7764 * README: Add missing listing for microblaze*-*-linux-gnu.
7766 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7768 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7769 * sysdeps/unix/sysv/linux/ia64: Move directory from
7770 ports/sysdeps/unix/sysv/linux/ia64.
7771 * README: Update listing for ia64-*-linux-gnu.
7773 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7774 Joseph Myers <joseph@codesourcery.com>
7776 * Makeconfig (test-name): New variable.
7777 (evaluate-test): Likewise.
7778 * Makerules (do-test-clean): Remove .test-result files.
7779 (common-mostlyclean): Likewise.
7780 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7781 * scripts/evaluate-test.sh: New file.
7783 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7785 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7786 separate $(objpfx)tst-fopenloc-cmp.out and
7787 $(objpfx)tst-fopenloc-mem.out targets.
7788 (tests): Update dependencies.
7789 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7790 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7791 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7792 (tst-rxspencer-no-utf8-ARGS): New variable.
7793 (tst-rxspencer-no-utf8-ENV): Likewise.
7794 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7795 instead of $(objpfx)tst-rxspencer-mem.
7796 ($(objpfx)tst-rxspencer-mem): Change target to
7797 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7798 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7799 * posix/tst-rxspencer-no-utf8.c: New file.
7801 * elf/Makefile ($(objpfx)order.out): Remove rule.
7802 [$(run-built-tests) = yes] (tests): Depend on
7803 $(objpfx)order-cmp.out.
7804 ($(objpfx)order-cmp.out): New rule.
7805 [$(run-built-tests) = yes] (tests): Depend on
7806 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7807 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7808 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7809 $(objpfx)tst-array5-static-cmp.out.
7810 ($(objpfx)tst-array1.out): Remove rule.
7811 ($(objpfx)tst-array1-cmp.out): New rule.
7812 ($(objpfx)tst-array1-static.out): Remove rule.
7813 ($(objpfx)tst-array1-static-cmp.out): New rule.
7814 ($(objpfx)tst-array2.out): Remove rule.
7815 ($(objpfx)tst-array2-cmp.out): New rule.
7816 ($(objpfx)tst-array3.out): Remove rule.
7817 ($(objpfx)tst-array3-cmp.out): New rule.
7818 ($(objpfx)tst-array4.out): Remove rule.
7819 ($(objpfx)tst-array4-cmp.out): New rule.
7820 ($(objpfx)tst-array5.out): Remove rule.
7821 ($(objpfx)tst-array5-cmp.out): New rule.
7822 ($(objpfx)tst-array5-static.out): Remove rule.
7823 ($(objpfx)tst-array5-static-cmp.out): New rule.
7824 [$(run-built-tests) = yes] (tests): Depend on
7825 $(objpfx)order2-cmp.out.
7826 ($(objpfx)order2.out): Remove rule.
7827 ($(objpfx)order2-cmp.out): New rule.
7828 ($(objpfx)tst-initorder.out): Remove rule.
7829 [$(run-built-tests) = yes] (tests): Depend on
7830 $(objpfx)tst-initorder-cmp.out.
7831 ($(objpfx)tst-initorder-cmp.out): New rule.
7832 ($(objpfx)tst-initorder2.out): Remove rule.
7833 [$(run-built-tests) = yes] (tests): Depend on
7834 $(objpfx)tst-initorder2-cmp.out.
7835 ($(objpfx)tst-initorder2-cmp.out): New rule.
7836 [$(run-built-tests) = yes] (tests): Depend on
7837 $(objpfx)tst-unused-dep-cmp.out.
7838 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7839 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7840 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7841 on $(objpfx)tst-setvbuf1-cmp.out.
7842 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7843 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7844 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7845 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7846 ($(objpfx)tst-svc.out): Remove rule.
7847 ($(objpfx)tst-svc-cmp.out): New rule.
7849 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7851 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7852 * ctype/ctype.h [__USE_MISC]: Likewise.
7853 * dirent/dirent.h [__USE_MISC]: Likewise.
7854 * grp/grp.h [__USE_MISC]: Likewise.
7855 * io/fcntl.h [__USE_MISC]: Likewise.
7856 * io/sys/stat.h [__USE_MISC]: Likewise.
7857 * libio/stdio.h [__USE_MISC]: Likewise.
7858 * posix/unistd.h [__USE_MISC]: Likewise.
7859 * pwd/pwd.h [__USE_MISC]: Likewise.
7860 * stdlib.h [__USE_MISC]: Likewise.
7861 * string/bits/string2.h [__USE_MISC]: Likewise.
7862 * string/string.h [__USE_MISC]: Likewise.
7863 * time/time.h [__USE_MISC]: Likewise.
7865 2014-02-13 Andreas Schwab <schwab@suse.de>
7868 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7869 second answer buffer if it was separately allocated.
7871 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7873 * sysdeps/mips/math-tests.h: Include <features.h>.
7874 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7875 (ROUNDING_TESTS_long_double): Do not define.
7876 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7877 (EXCEPTION_TESTS_long_double): Likewise.
7878 * sysdeps/mips/mips64/libm-test-ulps: Update.
7880 * include/features.h (__USE_BSD): Remove macro definitions.
7881 (__USE_SVID): Likewise.
7882 (_BSD_SOURCE): Likewise.
7883 (_SVID_SOURCE): Likewise.
7884 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7885 from definition of _DEFAULT_SOURCE.
7886 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7888 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7889 * bits/mman.h [__USE_BSD]: Likewise.
7890 * bits/termios.h [__USE_BSD]: Likewise.
7891 * bits/waitstatus.h [__USE_BSD]: Likewise.
7892 * ctype/ctype.h [__USE_SVID]: Likewise.
7893 * dirent/dirent.h [__USE_BSD]: Likewise.
7894 * grp/grp.h [__USE_SVID]: Likewise.
7895 [__USE_BSD]: Likewise.
7896 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7897 * io/fcntl.h [__USE_BSD]: Likewise.
7898 * io/ftw.h [__USE_BSD]: Likewise.
7899 * io/sys/stat.h [__USE_BSD]: Likewise.
7900 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7901 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7902 * libio/stdio.h [__USE_SVID]: Likewise.
7903 [__USE_BSD]: Likewise.
7904 * math/math.h [__USE_SVID]: Likewise.
7905 [__USE_BSD]: Likewise.
7906 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7907 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7908 * misc/search.h [__USE_SVID]: Likewise.
7909 * misc/sys/mman.h [__USE_BSD]: Likewise.
7910 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7911 * misc/sys/uio.h [__USE_BSD]: Likewise.
7912 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7913 * posix/glob.h [__USE_BSD]: Likewise.
7914 * posix/regex.h [__USE_BSD]: Likewise.
7915 * posix/sys/types.h [__USE_BSD]: Likewise.
7916 [__USE_SVID]: Likewise.
7917 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7918 * posix/sys/wait.h [__USE_BSD]: Likewise.
7919 [__USE_SVID]: Likewise.
7920 * posix/unistd.h [__USE_BSD]: Likewise.
7921 [__USE_SVID]: Likewise.
7922 * pwd/pwd.h [__USE_SVID]: Likewise.
7923 * resolv/netdb.h [__USE_BSD]: Likewise.
7924 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7925 * signal/signal.h [__USE_BSD]: Likewise.
7926 [__USE_SVID]: Likewise.
7927 * socket/sys/socket.h [__USE_BSD]: Likewise.
7928 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7929 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7930 [__USE_SVID]: Likewise.
7931 * string/bits/string2.h [__USE_BSD]: Likewise.
7932 [__USE_SVID]: Likewise.
7933 * string/bits/string3.h [__USE_BSD]: Likewise.
7934 * string/endian.h [__USE_BSD]: Likewise.
7935 * string/string.h [__USE_SVID]: Likewise.
7936 [__USE_BSD]: Likewise.
7937 * string/strings.h [__USE_BSD]: Likewise.
7938 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7939 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7940 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7941 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7942 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7943 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7947 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7948 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7950 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7951 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7953 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7955 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7956 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7959 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7961 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7962 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7963 * termios/termios.h [__USE_BSD]: Likewise.
7964 * time/sys/time.h [__USE_BSD]: Likewise.
7965 * time/time.h [__USE_BSD]: Likewise.
7966 [__USE_SVID]: Likewise.
7968 * Makefile (subdir_targets): Remove subdir_lint.out.
7970 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7971 (do-tst-printf): Likewise.
7972 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7973 $(objpfx)tst-printf.out.
7975 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7977 * Makerules (check-abi-%): Change target to
7978 $(objpfx)check-abi-%.out.
7979 (check-abi target): Update dependencies.
7980 (check-abi-pattern variable): Redirect output of diff to $@.
7981 (check-abi variable): Likewise.
7982 * elf/Makefile (check-abi): Update dependencies.
7984 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7986 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7987 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7989 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7990 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7991 value has largest subnormal exponent.
7992 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7993 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7994 * sysdeps/aarch64/soft-fp/sfp-machine.h
7995 (_FP_TININESS_AFTER_ROUNDING): New macro.
7996 * sysdeps/alpha/soft-fp/sfp-machine.h
7997 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7998 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8000 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8001 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8002 * sysdeps/mips/soft-fp/sfp-machine.h
8003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8004 * sysdeps/powerpc/soft-fp/sfp-machine.h
8005 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8006 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8008 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8009 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8010 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8011 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8012 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8015 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8018 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8021 2014-02-12 Richard Henderson <rth@redhat.com>
8023 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8024 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8025 * sysdeps/unix/sysv/linux/alpha: Move directory from
8026 ports/sysdeps/unix/sysv/linux/alpha.
8027 * README: Update listing for alpha-*-linux-gnu.
8029 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8031 * include/features.h: Update comment documenting feature test
8033 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8035 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8036 (_SVID_SOURCE): Likewise.
8037 (_DEFAULT_SOURCE): Update description of default features.
8038 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8040 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8041 (S_ISVTX): Likewise.
8042 * manual/math.texi (Mathematical Constants): Likewise.
8043 * manual/signal.texi (Interrupted Primitives): Likewise.
8044 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8045 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8046 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8047 Don't refer to _SVID_SOURCE in warning text.
8049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8051 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8053 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8054 * sysdeps/mips/dl-lookup.c: Remove.
8055 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8057 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8060 * math/auto-libm-test-in: Add testcase for expl.
8061 * math/auto-libm-test-out: Regenerate.
8062 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8063 calculation of unsafe.
8064 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8066 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8068 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8069 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8070 ports/sysdeps/unix/sysv/linux/aarch64.
8071 * README: Update listing for aarch64*-*-linux-gnu.
8073 2014-02-11 Will Newton <will.newton@linaro.org>
8075 * manual/probes.texi (Mathematical Function Probes): Use
8076 "triggered" instead of "hit".
8078 * manual/probes.texi (Internal Probes): Add documentation
8079 of setjmp, longjmp and longjmp_target probes.
8081 * include/stap-probe.h: Add comment about probe argument
8084 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8085 definition. (tr_where, tr_freehook, tr_mallochook,
8086 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8088 2014-02-11 David S. Miller <davem@davemloft.net>
8090 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8091 processing int_tests.
8093 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8095 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8096 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8097 * sysdeps/unix/sysv/linux/mips: Move directory from
8098 ports/sysdeps/unix/sysv/linux/mips.
8099 * README: Update listing for mips-*-linux-gnu and
8102 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8104 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8105 * sysdeps/unix/sysv/linux/m68k: Move directory from
8106 ports/sysdeps/unix/sysv/linux/m68k.
8107 * README: Update listing for m68k-*-linux-gnu.
8109 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8111 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8112 * sysdeps/unix/sysv/linux/generic: Move directory from
8113 ports/sysdeps/unix/sysv/linux/generic.
8114 * sysdeps/unix/sysv/linux/tile: Move directory from
8115 ports/sysdeps/unix/sysv/linux/tile.
8116 * README: Update listing for tile*-*-linux-gnu.
8118 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8120 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8122 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8123 * catgets/open_catalog.c (__open_catalog): Likewise.
8124 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8125 * debug/confstr_chk.c: Likewise.
8126 * debug/fread_chk.c (__fread_chk): Likewise.
8127 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8128 * debug/getgroups_chk.c: Likewise.
8129 * debug/mbsnrtowcs_chk.c: Likewise.
8130 * debug/mbsrtowcs_chk.c: Likewise.
8131 * debug/mbstowcs_chk.c: Likewise.
8132 * debug/memcpy_chk.c: Likewise.
8133 * debug/memmove_chk.c: Likewise.
8134 * debug/mempcpy_chk.c: Likewise.
8135 * debug/memset_chk.c: Likewise.
8136 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8137 * debug/strcat_chk.c (__strcat_chk): Likewise.
8138 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8139 * debug/strncat_chk.c (__strncat_chk): Likewise.
8140 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8141 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8142 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8143 * debug/wcpncpy_chk.c: Likewise.
8144 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8145 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8146 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8147 * debug/wcsncpy_chk.c: Likewise.
8148 * debug/wcsnrtombs_chk.c: Likewise.
8149 * debug/wcsrtombs_chk.c: Likewise.
8150 * debug/wcstombs_chk.c: Likewise.
8151 * debug/wmemcpy_chk.c: Likewise.
8152 * debug/wmemmove_chk.c: Likewise.
8153 * debug/wmempcpy_chk.c: Likewise.
8154 * debug/wmemset_chk.c: Likewise.
8155 * dirent/scandirat.c (SCANDIRAT): Likewise.
8156 * dlfcn/dladdr1.c (dladdr1): Likewise.
8157 * dlfcn/dladdr.c (dladdr): Likewise.
8158 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8159 * dlfcn/dlerror.c (__dlerror): Likewise.
8160 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8161 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8162 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8163 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8164 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8165 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8166 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8167 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8169 * elf/dl-conflict.c: Likewise.
8170 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8171 * elf/dl-dst.h: Likewise.
8172 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8173 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8174 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8175 * elf/dl-init.c (call_init, _dl_init): Likewise.
8176 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8177 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8178 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8180 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8182 * elf/dl-minimal.c (__libc_memalign): Likewise.
8183 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8184 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8185 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8186 * elf/dl-sym.c (do_sym): Likewise.
8187 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8188 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8189 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8190 * elf/dl-writev.h (_dl_writev): Likewise.
8191 * elf/ldconfig.c (search_dir): Likewise.
8192 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8193 (dl_main): Likewise.
8194 * elf/setup-vdso.h (setup_vdso): Likewise.
8195 * grp/compat-initgroups.c (compat_call): Likewise.
8196 * grp/fgetgrent.c (fgetgrent): Likewise.
8197 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8198 * grp/putgrent.c (putgrent): Likewise.
8199 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8201 * hurd/hurdinit.c: Likewise.
8202 * iconvdata/8bit-gap.c (struct): Likewise.
8203 * iconvdata/ansi_x3.110.c : Likewise.
8204 * iconvdata/big5.c : Likewise.
8205 * iconvdata/big5hkscs.c : Likewise.
8206 * iconvdata/cp1255.c: Likewise.
8207 * iconvdata/cp1258.c : Likewise.
8208 * iconvdata/cp932.c : Likewise.
8209 * iconvdata/euc-cn.c: Likewise.
8210 * iconvdata/euc-jisx0213.c : Likewise.
8211 * iconvdata/euc-jp.c: Likewise.
8212 * iconvdata/euc-jp-ms.c : Likewise.
8213 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8214 * iconvdata/gb18030.c : Likewise.
8215 * iconvdata/gbbig5.c (const): Likewise.
8216 * iconvdata/gbgbk.c: Likewise.
8217 * iconvdata/gbk.c : Likewise.
8218 * iconvdata/ibm1364.c : Likewise.
8219 * iconvdata/ibm930.c : Likewise.
8220 * iconvdata/ibm932.c: Likewise.
8221 * iconvdata/ibm933.c : Likewise.
8222 * iconvdata/ibm935.c : Likewise.
8223 * iconvdata/ibm937.c : Likewise.
8224 * iconvdata/ibm939.c : Likewise.
8225 * iconvdata/ibm943.c: Likewise.
8226 * iconvdata/iso_11548-1.c: Likewise.
8227 * iconvdata/iso-2022-cn.c : Likewise.
8228 * iconvdata/iso-2022-cn-ext.c : Likewise.
8229 * iconvdata/iso-2022-jp-3.c: Likewise.
8230 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8231 * iconvdata/iso-2022-kr.c : Likewise.
8232 * iconvdata/iso646.c (gconv_end): Likewise.
8233 * iconvdata/iso_6937-2.c : Likewise.
8234 * iconvdata/iso_6937.c : Likewise.
8235 * iconvdata/iso8859-1.c: Likewise.
8236 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8237 * iconvdata/shift_jisx0213.c : Likewise.
8238 * iconvdata/sjis.c : Likewise.
8239 * iconvdata/t.61.c : Likewise.
8240 * iconvdata/tcvn5712-1.c : Likewise.
8241 * iconvdata/tscii.c: Likewise.
8242 * iconvdata/uhc.c : Likewise.
8243 * iconvdata/unicode.c (gconv_end): Likewise.
8244 * iconvdata/utf-16.c (gconv_end): Likewise.
8245 * iconvdata/utf-32.c (gconv_end): Likewise.
8246 * iconvdata/utf-7.c (base64): Likewise.
8247 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8248 * iconv/gconv_close.c (__gconv_close): Likewise.
8249 * iconv/gconv_open.c (__gconv_open): Likewise.
8250 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8251 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8252 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8253 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8254 (ucs4le_internal_loop_single): Likewise.
8255 * iconv/iconv.c (iconv): Likewise.
8256 * iconv/iconv_close.c: Likewise.
8257 * iconv/loop.c (SINGLE): Likewise.
8258 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8259 * include/atomic.h: Likewise.
8260 * inet/inet6_option.c (option_alloc): Likewise.
8261 * intl/bindtextdom.c (set_binding_values): Likewise.
8262 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8263 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8264 * intl/localealias.c (read_alias_file): Likewise.
8265 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8266 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8267 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8268 * libio/fmemopen.c (fmemopen): Likewise.
8269 * libio/iofgets.c (_IO_fgets): Likewise.
8270 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8271 * libio/iofgetws.c (fgetws): Likewise.
8272 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8273 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8274 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8275 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8276 * locale/findlocale.c (_nl_find_locale): Likewise.
8277 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8278 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8280 * locale/setlocale.c (setlocale): Likewise.
8281 * login/programs/pt_chown.c (main): Likewise.
8282 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8283 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8284 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8285 (mmap, mmap64, mremap, munmap): Likewise.
8286 * math/e_exp2l.c: Likewise.
8287 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8288 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8289 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8290 * math/s_catan.c (__catan): Likewise.
8291 * math/s_catanf.c (__catanf): Likewise.
8292 * math/s_catanh.c (__catanh): Likewise.
8293 * math/s_catanhf.c (__catanhf): Likewise.
8294 * math/s_catanhl.c (__catanhl): Likewise.
8295 * math/s_catanl.c (__catanl): Likewise.
8296 * math/s_ccosh.c (__ccosh): Likewise.
8297 * math/s_ccoshf.c (__ccoshf): Likewise.
8298 * math/s_ccoshl.c (__ccoshl): Likewise.
8299 * math/s_cexp.c (__cexp): Likewise.
8300 * math/s_cexpf.c (__cexpf): Likewise.
8301 * math/s_cexpl.c (__cexpl): Likewise.
8302 * math/s_clog10.c (__clog10): Likewise.
8303 * math/s_clog10f.c (__clog10f): Likewise.
8304 * math/s_clog10l.c (__clog10l): Likewise.
8305 * math/s_clog.c (__clog): Likewise.
8306 * math/s_clogf.c (__clogf): Likewise.
8307 * math/s_clogl.c (__clogl): Likewise.
8308 * math/s_csin.c (__csin): Likewise.
8309 * math/s_csinf.c (__csinf): Likewise.
8310 * math/s_csinh.c (__csinh): Likewise.
8311 * math/s_csinhf.c (__csinhf): Likewise.
8312 * math/s_csinhl.c (__csinhl): Likewise.
8313 * math/s_csinl.c (__csinl): Likewise.
8314 * math/s_csqrt.c (__csqrt): Likewise.
8315 * math/s_csqrtf.c (__csqrtf): Likewise.
8316 * math/s_csqrtl.c (__csqrtl): Likewise.
8317 * math/s_ctan.c (__ctan): Likewise.
8318 * math/s_ctanf.c (__ctanf): Likewise.
8319 * math/s_ctanh.c (__ctanh): Likewise.
8320 * math/s_ctanhf.c (__ctanhf): Likewise.
8321 * math/s_ctanhl.c (__ctanhl): Likewise.
8322 * math/s_ctanl.c (__ctanl): Likewise.
8323 * math/w_pow.c: Likewise.
8324 * math/w_powf.c: Likewise.
8325 * math/w_powl.c: Likewise.
8326 * math/w_scalb.c (sysv_scalb): Likewise.
8327 * math/w_scalbf.c (sysv_scalbf): Likewise.
8328 * math/w_scalbl.c (sysv_scalbl): Likewise.
8329 * misc/error.c (error_tail): Likewise.
8330 * misc/pselect.c (__pselect): Likewise.
8331 * nis/nis_callback.c (__nis_create_callback): Likewise.
8332 * nis/nis_call.c (__nisfind_server): Likewise.
8333 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8334 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8335 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8336 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8337 * nis/nis_lookup.c (nis_lookup): Likewise.
8338 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8339 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8340 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8341 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8342 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8343 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8344 * nis/nss_compat/compat-initgroups.c (add_group)
8345 (internal_getgrent_r): Likewise.
8346 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8347 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8348 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8349 (internal_getspnam_r): Likewise.
8350 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8351 (_nss_nis_getaliasbyname_r): Likewise.
8352 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8353 (_nss_nis_getntohost_r): Likewise.
8354 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8355 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8356 (_nss_nis_getgrgid_r): Likewise.
8357 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8358 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8359 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8360 (_nss_nis_gethostbyname4_r): Likewise.
8361 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8362 (initgroups_netid): Likewise.
8363 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8364 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8365 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8366 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8367 (_nss_nis_getprotobynumber_r): Likewise.
8368 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8369 (_nss_nis_getsecretkey): Likewise.
8370 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8371 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8372 (_nss_nis_getpwuid_r): Likewise.
8373 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8374 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8375 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8376 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8377 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8378 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8379 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8381 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8382 (_nss_nisplus_getntohost_r): Likewise.
8383 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8384 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8385 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8386 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8388 * nis/nss_nisplus/nisplus-initgroups.c
8389 (_nss_nisplus_initgroups_dyn): Likewise.
8390 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8391 (_nss_nisplus_getnetbyaddr_r): Likewise.
8392 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8393 (_nss_nisplus_getprotobynumber_r): Likewise.
8394 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8395 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8396 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8398 * nis/nss_nisplus/nisplus-service.c
8399 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8400 (_nss_nisplus_getservbyport_r): Likewise.
8401 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8402 (_nss_nisplus_getspnam_r): Likewise.
8403 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8405 * nscd/aicache.c (addhstaiX): Likewise.
8406 * nscd/cache.c (cache_search, prune_cache): Likewise.
8407 * nscd/connections.c (register_traced_file, send_ro_fd)
8408 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8409 (main_loop_epoll): Likewise.
8410 * nscd/grpcache.c (addgrbyX): Likewise.
8411 * nscd/hstcache.c (addhstbyX): Likewise.
8412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8413 * nscd/mem.c (gc, mempool_alloc): Likewise.
8414 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8415 (addinnetgrX): Likewise.
8416 * nscd/nscd-client.h (__nscd_acquire_maplock)
8417 (__nscd_drop_map_ref): Likewise.
8418 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8419 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8422 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8424 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8425 (__nscd_get_map_ref): Likewise.
8426 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8427 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8429 * nscd/pwdcache.c (addpwbyX): Likewise.
8430 * nscd/selinux.c (preserve_capabilities): Likewise.
8431 * nscd/servicescache.c (addservbyX): Likewise.
8432 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8433 * posix/fnmatch.c (fnmatch): Likewise.
8434 * posix/getopt.c (_getopt_internal_r): Likewise.
8435 * posix/glob.c (glob, glob_in_dir): Likewise.
8436 * posix/wordexp.c (exec_comm_child): Likewise.
8437 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8438 (getanswer_r, gaih_getanswer_slice): Likewise.
8439 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8440 * resolv/res_init.c: Likewise.
8441 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8442 * resolv/res_query.c (__libc_res_nquery): Likewise.
8443 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8445 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8446 * stdio-common/perror.c (perror): Likewise.
8447 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8448 * stdio-common/tmpnam.c (tmpnam): Likewise.
8449 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8450 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8451 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8453 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8454 * stdlib/putenv.c (putenv): Likewise.
8455 * stdlib/setenv.c (__add_to_environ): Likewise.
8456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8457 * stdlib/strtol_l.c (INTERNAL): Likewise.
8458 * string/memmem.c (memmem): Likewise.
8459 * string/strerror.c (strerror): Likewise.
8460 * string/strnlen.c (__strnlen): Likewise.
8461 * string/test-memmem.c (simple_memmem): Likewise.
8462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8463 * sunrpc/pm_getport.c (__get_socket): Likewise.
8464 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8465 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8466 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8467 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8469 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8470 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8471 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8472 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8473 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8474 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8476 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8478 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8479 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8480 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8481 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8482 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8485 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8486 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8487 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8489 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8491 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8495 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8497 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8499 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8500 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8501 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8504 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8505 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8507 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8508 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8512 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8514 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8520 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8522 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8523 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8524 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8525 * sysdeps/posix/sleep.c: Likewise.
8526 * sysdeps/posix/tempname.c: Likewise.
8527 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8528 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8530 * sysdeps/powerpc/powerpc32/dl-machine.h
8531 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8532 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8534 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8535 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8537 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8539 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8541 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8542 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8543 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8544 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8545 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8546 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8547 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8548 (elf_machine_lazy_rel): Likewise.
8549 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8550 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8551 (elf_machine_lazy_rel): Likewise.
8552 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8553 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8554 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8555 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8556 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8557 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8558 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8561 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8562 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8563 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8564 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8565 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8566 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8567 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8568 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8569 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8570 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8571 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8573 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8574 (__posix_fallocate64_l64): Likewise.
8575 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8576 (posix_fallocate): Likewise.
8577 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8580 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8581 (getifaddrs_internal): Likewise.
8582 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8583 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8584 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8585 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8586 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8587 (__posix_fallocate64_l64): Likewise.
8588 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8590 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8592 (__get_clockfreq): Likewise.
8593 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8594 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8595 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8598 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8599 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8600 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8602 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8603 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8604 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8606 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8607 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8608 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8610 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8611 (posix_fallocate): Likewise.
8612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8613 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8614 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8615 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8616 (elf_machine_rela, elf_machine_rela_relative)
8617 (elf_machine_lazy_rel): Likewise.
8618 * time/asctime.c (asctime_internal): Likewise.
8619 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8620 * time/tzset.c (__tzset_parse_tz): Likewise.
8621 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8622 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8623 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8624 * wcsmbs/wcsmbsload.h: Likewise.
8627 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8629 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8630 (arena_get2): Remove THREAD_STATS conditionals.
8631 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8632 (__malloc_stats, int): Likewise.
8634 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8636 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8637 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8639 * manual/setjmp.texi: Fix typos/grammar errors.
8641 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8642 Only return early when n is <= 0. Delete unused return statement.
8644 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8645 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8646 * debug/tst-longjmp_chk3.c: New file.
8648 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8649 (test_main): Replace code with set_fortify_handler call.
8650 * debug/test-strcpy_chk.c: Likewise.
8651 * debug/tst-chk1.c: Likewise.
8652 * debug/tst-longjmp_chk.c: Likewise.
8653 * test-skeleton.c: Include fcntl.h & paths.h
8654 (set_fortify_handler): Define.
8656 * debug/tst-longjmp_chk.c: Add header comment and include
8658 (do_test): Mark static.
8659 (TEST_FUNCTION): Define.
8661 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8662 (IP_PMTUDISC_INTERFACE): Likewise.
8663 (IP_MULTICAST_IF): Likewise.
8664 (IP_MULTICAST_TTL): Likewise.
8665 (IP_MULTICAST_LOOP): Likewise.
8666 (IP_ADD_MEMBERSHIP): Likewise.
8667 (IP_DROP_MEMBERSHIP): Likewise.
8668 (IP_UNBLOCK_SOURCE): Likewise.
8669 (IP_BLOCK_SOURCE): Likewise.
8670 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8671 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8672 (IP_MSFILTER): Likewise.
8673 (MCAST_JOIN_GROUP): Likewise.
8674 (MCAST_BLOCK_SOURCE): Likewise.
8675 (MCAST_UNBLOCK_SOURCE): Likewise.
8676 (MCAST_LEAVE_GROUP): Likewise.
8677 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8678 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8679 (MCAST_MSFILTER): Likewise.
8680 (IP_MULTICAST_ALL): Likewise.
8681 (IP_UNICAST_IF): Likewise.
8683 * timezone/Makefile: Delete $(have-ksh) check.
8684 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8685 * timezone/tzselect.ksh: Add +x mode bits.
8687 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8688 (ANON_INODE_FS_MAGIC): Likewise.
8689 (BDEVFS_MAGIC): Likewise.
8690 (BINFMTFS_MAGIC): Likewise.
8691 (BTRFS_TEST_MAGIC): Likewise.
8692 (CRAMFS_MAGIC_WEND): Likewise.
8693 (DEBUGFS_MAGIC): Likewise.
8694 (ECRYPTFS_SUPER_MAGIC): Likewise.
8695 (EXT3_SUPER_MAGIC): Likewise.
8696 (EXT4_SUPER_MAGIC): Likewise.
8697 (FUTEXFS_SUPER_MAGIC): Likewise.
8698 (HOSTFS_SUPER_MAGIC): Likewise.
8699 (HUGETLBFS_MAGIC): Likewise.
8700 (MINIX3_SUPER_MAGIC): Likewise.
8701 (MTD_INODE_FS_MAGIC): Likewise.
8702 (NILFS_SUPER_MAGIC): Likewise.
8703 (OPENPROM_SUPER_MAGIC): Likewise.
8704 (PIPEFS_MAGIC): Likewise.
8705 (PSTOREFS_MAGIC): Likewise.
8706 (QNX6_SUPER_MAGIC): Likewise.
8707 (RAMFS_MAGIC): Likewise.
8708 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8709 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8710 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8711 (SECURITYFS_MAGIC): Likewise.
8712 (SELINUX_MAGIC): Likewise.
8713 (SMACK_MAGIC): Likewise.
8714 (SOCKFS_MAGIC): Likewise.
8715 (SQUASHFS_MAGIC): Likewise.
8716 (STACK_END_MAGIC): Likewise.
8717 (TMPFS_MAGIC): Likewise.
8718 (USBDEVICE_SUPER_MAGIC): Likewise.
8719 (V9FS_MAGIC): Likewise.
8720 (XENFS_SUPER_MAGIC): Likewise.
8721 (CRAMFS_MAGIC): Fix typo in comment.
8722 (EXT2_SUPER_MAGIC): Update comment.
8723 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8725 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8727 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8728 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8729 * sysdeps/unix/sysv/linux/arm: Move directory from
8730 ports/sysdeps/unix/sysv/linux/arm.
8731 * README: Update listing for arm-*-linux-gnueabi.
8733 * README: Remove mention of am33.
8735 2014-02-07 Roland McGrath <roland@hack.frob.com>
8737 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8738 than the comma operator, to avoid "rhs of comma has no effect"
8740 (__sigfillset, __sigandset, __sigorset): Likewise.
8741 * include/signal.h (__sigemptyset): Likewise.
8742 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8744 2014-02-07 Allan McRae <allan@archlinux.org>
8746 * version.h (RELEASE): Set to "development".
8747 (VERSION): Set to "2.19.90"
8748 * NEWS: Add 2.20 section.
8750 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8753 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8755 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8757 * manual/contrib.texi: Update entry for Carlos O'Donell,
8758 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8760 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8762 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8764 * sysdeps/unix/sysv/linux/kernel-features.h
8765 [__LINUX_KERNEL_VERSION >= 0x020621]
8766 (__ASSUME_PROC_PID_TASK_COMM): Define.
8768 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8771 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8772 conversion when destination buffer does not have enough space.
8773 * libio/tst-ftell-partial-wide.c: New test case.
8774 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8776 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8777 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8778 Leonard and Allan McRae.
8780 2014-02-04 David S. Miller <davem@davemloft.net>
8782 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8785 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8814 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8816 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8817 * shlib-versions: Likewise.
8819 2014-02-04 Roland McGrath <roland@hack.frob.com>
8820 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8822 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8823 (abilist-pattern): New variable, set to %-le.abilist.
8825 * Makerules (abilist-pattern): New variable.
8826 (vpath): Use $(abilist-pattern) in place of %.abilist.
8827 (check-abi-% pattern rule): Likewise.
8828 (check-abi, update-abi): Likewise.
8830 2014-02-04 Eric Wong <normalperson@yhbt.net>
8832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8834 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8836 * manual/startup.texi: Add next, previous, and top entries for
8837 the `Program Arguments' and `Environment Variables' nodes.
8839 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8841 * manual/macros.texi: Add comments before MTASC-safety macros.
8843 * manual/users.texi: Document MTASC-safety properties.
8845 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8846 (pthread_getspecific, pthread_setspecific): Format with
8847 @deftypefun, and add @safety note.
8848 * manual/signal.texi: Move comments that analyze the above
8849 functions to their home place.
8851 2014-02-03 Allan McRae <allan@archlinux.org>
8853 * po/sl.po: Update Slovenian translation from translation project.
8855 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8857 * manual/time.texi (timegm): Add missing blank after @c.
8858 Reported by Joseph Myers <joseph@codesourcery.com>.
8860 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8862 * manual/check-safety.sh: New.
8863 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8865 * manual/terminal.texi: Document MTASC-safety properties.
8867 * manual/filesys.texi: Document MTASC-safety properties.
8869 * manual/errno.texi: Document MTASC-safety properties.
8871 * manual/intro.texi: Document safety identifiers and
8874 * manual/string.texi (wcstok): Fix prototype.
8875 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8877 * manual/time.texi: Document MTASC-safety properties.
8879 * manual/string.texi: Document MTASC-safety properties.
8881 * manual/threads.texi: Document MTASC-safety properties.
8883 * manual/stdio.texi: Document MTASC-safety properties.
8885 * manual/syslog.texi: Document MTASC-safety properties.
8887 * manual/sysinfo.texi: Document MTASC-safety properties.
8889 * manual/startup.texi: Document MTASC-safety properties.
8891 * manual/socket.texi: Document MTASC-safety properties.
8893 * manual/signal.texi: Document MTASC-safety properties.
8895 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8897 * manual/setjmp.texi: Document MTASC-safety properties.
8899 * manual/search.texi: Document MTASC-safety properties.
8901 * manual/resource.texi: Document MTASC-safety properties.
8903 * manual/process.texi: Document MTASC-safety properties.
8905 * manual/platform.texi: Document MTASC-safety properties.
8907 * manual/pipe.texi: Document MTASC-safety properties.
8909 * manual/pattern.texi: Document MTASC-safety properties.
8911 * manual/message.texi: Document MTASC-safety properties.
8914 * manual/memory.texi: Document MTASC-safety properties.
8916 * manual/math.texi: Document MTASC-safety properties.
8918 * manual/locale.texi: Document MTASC-safety properties.
8920 * manual/llio.texi: Document MTASC-safety properties.
8922 * manual/libdl.texi: New.
8924 * manual/lang.texi: Document MTASC-safety properties.
8926 * manual/job.texi: Document MTASC-safety properties.
8928 * manual/getopt.texi: Document MTASC-safety properties.
8930 * manual/ctype.texi: Document MTASC-safety properties.
8932 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8935 * csu/libc-tls.c (static_map): Remove variable.
8936 (__libc_setup_tls): Use main executable's link map for TLS data.
8937 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8938 casing for LM_ID_BASE and GL(dl_nns).
8939 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8940 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8941 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8942 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8943 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8945 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8948 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8950 * manual/debug.texi: Document MTASC-safety properties.
8952 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8955 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8956 of __x86_64__ when disabling x87 inline functions.
8958 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8960 * manual/charset.texi: Document MTASC-safety properties.
8962 * manual/crypt.texi: Document MTASC-safety properties.
8964 * manual/conf.texi: Document MTASC-safety properties.
8966 * manual/arith.texi: Document MTASC-safety properties.
8968 * manual/argp.texi: Document MTASC-safety properties.
8970 * manual/macros.texi: Introduce macros to document multi
8971 thread, asynchronous signal and asynchronous cancellation
8973 * manual/intro.texi: Introduce the properties themselves.
8975 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8977 * sysdeps/sh/sh4/Makefile: New file.
8979 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8981 * math/gen-libm-test.pl ($srcdir): New variable.
8982 ($auto_input): Use it.
8984 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8987 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8988 access beyond array bounds when parsing netgroups file.
8990 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8991 the old buffer before realloc.
8993 2014-01-27 Allan McRae <allan@archlinux.org>
8995 * po/fr.po: Update French translation from translation project.
8997 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8999 * sysdeps/sh/libm-test-ulps: Regenerate.
9001 2014-01-24 David S. Miller <davem@davemloft.net>
9003 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9005 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9007 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9008 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9010 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9013 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9014 string pointers after reallocation.
9016 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9018 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9019 __SH4A__ instead of __SH_FPU_ANY__.
9021 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9023 * sysdeps/sh/fpu_control.h: New file.
9024 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9025 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9026 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9027 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9028 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9029 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9030 * sysdeps/sh/sys/ucontext.h: Remove.
9031 * sysdeps/sh/sys: Remove directory.
9033 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9035 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9036 s390/sys/ucontext.h.
9037 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9038 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9040 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9045 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9049 Adjust the vDSO correctly for internal calls.
9050 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9052 2014-01-20 Allan McRae <allan@archlinux.org>
9054 * po/ca.po: Update Catalan translation from translation project.
9056 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9058 * sysdeps/s390/sotruss-lib.c: New file.
9060 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9063 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9064 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9065 local calls issues by not having a PLT stub required for IFUNC calls.
9066 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9068 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9070 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9071 * math/test-fpucw-static.c: Likewise.
9073 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9076 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9078 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9080 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9081 implementation for powerpc.
9083 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9086 * sysdeps/posix/system.c (__libc_system): Do not enable
9087 asynchronous cancellation.
9089 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9092 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9093 handling only for numbers special also in the IEEE case.
9095 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9097 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9099 2014-01-11 Allan McRae <allan@archlinux.org>
9101 * po/bg.po: Update Bulgarian translation from translation project.
9103 * po/de.po: Update German translation from translation project.
9105 2014-01-10 Roland McGrath <roland@hack.frob.com>
9107 * sysdeps/generic/gcc-compat.h: New file.
9109 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9111 * benchtests/asin-inputs: Correct slow inputs.
9112 * benchtests/acos-inputs: Likewise.
9114 2014-01-10 Allan McRae <allan@archlinux.org>
9116 * po:sv.po: Update Swedish translation from translation project.
9118 * po/vi.po: Update Vietnamese translation from translation project.
9120 * po/eo.po: Update Esperanto translation from translation project.
9122 * po/cs.po: Update Czech translation from translation project.
9124 * po/nl.po: Update Dutch translation from translation project.
9126 * po/pl.po: Update Polish translation from translation project.
9128 * po/ru.po: Update Russian translation from translation project.
9130 * po/uk.po: Update Ukrainian translation from translation project.
9132 2014-01-08 Brooks Moses <bmoses@google.com>
9134 * elf/dl-load.c: Fix comment typo.
9136 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9138 * po/header.pot: Rename to...
9139 * po/pot.header: ... this.
9140 * po/Makefile: Use pot.header.
9142 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9143 Maxim Kuvyrkov <maxim@kugelworks.com>
9146 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9147 SRC and DEST against LEN.
9149 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9154 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9156 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9160 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9163 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9164 for large positive arguments.
9166 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9168 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9170 * math/auto-libm-test-in: Mark various tests with
9171 xfail-rounding:ldbl-128ibm.
9172 * math/auto-libm-test-out: Regenerated.
9175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9176 Increase overflow threshold.
9178 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9181 * stdio-common/vfprintf.c: Check for integer overflow.
9183 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9185 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9186 the first argument and return value of __tls_get_addr_internal.
9188 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9190 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9191 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9193 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9195 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9196 * sysdeps/s390/rtld-global-offsets.sym: New file.
9197 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9199 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9201 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9203 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9204 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9210 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9211 halfs of GPRs for high_gprs contexts.
9212 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9213 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9215 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9217 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9219 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9220 for high GPRs (uc_high_gprs) and for future extensions
9222 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9223 for future extensions (__reserved).
9224 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9226 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9227 SC_HIGHGPRS offset definition.
9228 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9229 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9231 * Versions.def: Add GLIBC_2.19 for libpthread.
9232 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9233 siglongjmp for libpthread with GLIBC_2.19 symver.
9234 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9235 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9236 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9237 * sysdeps/s390/__longjmp.c: New file.
9238 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9239 * sysdeps/s390/longjmp.c: New file.
9240 * sysdeps/s390/setjmp.S: New file.
9241 * sysdeps/s390/sigjmp.S: New file.
9242 * sysdeps/s390/v1-longjmp.c: New file.
9243 * sysdeps/s390/v1-setjmp.h: New file.
9244 * sysdeps/s390/v1-sigjmp.c: New file.
9245 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9246 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9248 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9249 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9250 versioned symbols for ____longjmp_chk.
9251 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9261 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9262 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9263 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9264 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9265 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9266 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9267 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9268 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9269 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9270 * sysdeps/s390/rtld-__longjmp.c: New file.
9271 * sysdeps/s390/rtld-setjmp.S: New file.
9273 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9277 Return -__logl (x) for small positive arguments without evaluating
9280 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9282 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9284 (__ptrace_peeksiginfo_args): ... this.
9285 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9289 2014-01-06 Allan McRae <allan@archlinux.org>
9291 * inet/netinet/in.h: Fix typo in comment.
9293 2014-01-05 Andreas Jaeger <aj@suse.de>
9295 * sysdeps/i386/fpu/libm-test-ulps: Update.
9297 2014-01-05 Allan McRae <allan@archlinux.org>
9299 * po/libc.pot: Regenerated.
9301 * malloc/memusagestat.c: Fix gettext call formatting.
9303 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9305 * nscd/nscd.c: Improve usage() output.
9307 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9309 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9310 * sysdeps/unix/sysv/linux/configure: Regenerated.
9311 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9312 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9314 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9318 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9320 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9322 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9323 extra tokens at end of #undef directive.
9324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9328 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9330 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9332 * math/auto-libm-test-in: Mark various tests with
9333 xfail-rounding:ldbl-128ibm.
9334 * math/auto-libm-test-out: Regenerated.
9336 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9340 numbers with subnormal high part when calculating exponent.
9343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9349 (__ieee754_acoshl): Use __log1pl not __log1p.
9351 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9353 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9354 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9355 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9356 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9357 (reused_arena, arena_get2): Convert to GNU style.
9358 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9359 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9360 (memalign_check, __malloc_set_state): Likewise.
9361 * malloc/mallocbug.c (main): Likewise.
9362 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9363 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9364 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9365 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9366 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9367 (__posix_memalign, malloc_info): Likewise.
9368 * malloc/malloc.h: Likewise.
9369 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9370 (mallochook, memalignhook, reallochook, mabort): Likewise.
9371 * malloc/mcheck.h: Likewise.
9372 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9373 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9374 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9375 * malloc/morecore.c (__default_morecore): Likewise.
9376 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9377 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9378 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9379 (print_and_abort): Likewise.
9380 * malloc/obstack.h: Likewise.
9381 * malloc/set-freeres.c (__libc_freeres): Likewise.
9382 * malloc/tst-mallocstate.c (main): Likewise.
9383 * malloc/tst-mtrace.c (main): Likewise.
9384 * malloc/tst-realloc.c (do_test): Likewise.
9386 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9389 * nscd/netgroupcache.c (do_notfound): New function.
9390 (addgetnetgrentX): Use it.
9393 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9394 NSS_STATUS_NOTFOUND.
9396 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9398 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9401 2014-01-01 Allan McRae <allan@archlinux.org>
9403 * scripts/update-copyrights: Update configure input file suffix.
9405 * NEWS: Update copyright year.
9406 * catgets/gencat.c: Likewise.
9407 * csu/version.c: Likewise.
9408 * debug/catchsegv.sh: Likewise.
9409 * debug/pcprofiledump.c: Likewise.
9410 * debug/xtrace.sh: Likewise.
9411 * elf/ldconfig.c: Likewise.
9412 * elf/ldd.bash.in: Likewise.
9413 * elf/pldd.c: Likewise.
9414 * elf/sotruss.ksh: Likewise.
9415 * elf/sprof.c: Likewise.
9416 * iconv/iconv_prog.c: Likewise.
9417 * iconv/iconvconfig.c: Likewise.
9418 * locale/programs/locale.c: Likewise.
9419 * locale/programs/localedef.c: Likewise.
9420 * login/programs/pt_chown.c: Likewise.
9421 * malloc/memusage.sh: Likewise.
9422 * malloc/memusagestat.c: Likewise.
9423 * malloc/mtrace.pl: Likewise.
9424 * manual/libc.texinfo: Likewise.
9425 * nscd/nscd.c: Likewise.
9426 * nss/getent.c: Likewise.
9427 * nss/makedb.c: Likewise.
9428 * posix/getconf.c: Likewise.
9429 * scripts/test-installation.pl: Likewise.
9431 * All files with FSF copyright notices: Update copyright dates
9432 using scripts/update-copyrights.
9433 * intl/plural.c: Regenerated.
9434 * locale/programs/charmap-kw.h: Likewise.
9435 * locale/programs/locfile-kw.h: Likewise.
9437 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9439 * sysdeps/unix/sysv/linux/configure: Regenerated.
9440 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9441 the linux/fanotify.h header.
9442 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9443 HAVE_LINUX_FANOTIFY_H is defined.
9445 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9447 * benchtests/cos-inputs: New inputs.
9448 * benchtests/sin-inputs: Likewise.
9450 * benchtests/atan-inputs: New inputs. Fix name of multiple
9451 precision fallback inputs.
9453 * benchtests/atanh-inputs: New inputs.
9454 * benchtests/tanh-inputs: Likewise.
9456 * benchtests/acosh-inputs: New inputs.
9457 * benchtests/asinh-inputs: Likewise.
9459 * benchtests/cosh-inputs: New inputs.
9460 * benchtests/sinh-inputs: Likewise.
9462 * benchtests/acos-inputs: Add more inputs.
9463 * benchtests/asin-inputs: Likewise.
9465 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9468 * manual/arith.texi: Fix spelling.
9469 * manual/charset.texi: Likewise.
9470 * manual/errno.texi: Likewise.
9471 * manual/filesys.texi: Likewise.
9472 * manual/lang.texi: Likewise.
9473 * manual/llio.texi: Likewise.
9474 * manual/locale.texi: Likewise.
9475 * manual/message.texi: Likewise.
9476 * manual/resource.texi: Likewise.
9477 * manual/search.texi: Likewise.
9478 * manual/setjmp.texi: Likewise.
9479 * manual/stdio.texi: Likewise.
9480 * manual/string.texi: Likewise.
9481 * manual/sysinfo.texi: Likewise.
9482 * manual/time.texi: Likewise.
9484 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9486 * po/sl.po: New file.
9488 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9490 * .gitignore: Add core/.gdbinit/.gdb_history.
9492 2013-12-27 Allan McRae <allan@archlinux.org>
9495 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9496 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9498 2013-12-24 Brooks Moses <bmoses@google.com>
9500 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9501 all compilers that claim C++98 compliance, not just GCC.
9502 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9505 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9507 * NEWS: Restore accidentally deleted bug-fix entries.
9509 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9510 Ondřej Bílka <neleai@seznam.cz>
9513 * malloc/malloc.c (_int_free): Perform sanity check only if we
9516 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9519 * manual/stdio.texi (String Input Conversions): Clarify that character
9520 classes are not supported.
9522 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9526 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9530 Calculate results for small negative arguments directly rather
9531 than using reflection formula with special underflow handling.
9533 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9534 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9535 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9536 (fchflags): Likewise.
9538 (setlogin): Likewise.
9539 (sigaltstack): Likewise.
9542 (sigsetmask): Likewise.
9544 (waitpid): Likewise.
9545 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9546 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9548 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9549 * sysdeps/unix/bsd/Makefile: ... here.
9550 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9551 * sysdeps/unix/bsd/Versions: ... here.
9552 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9553 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9554 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9555 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9556 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9557 * sysdeps/unix/bsd/sigblock.c: ... here.
9558 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9559 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9560 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9561 * sysdeps/unix/bsd/sigvec.c: ... here.
9562 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9563 * sysdeps/unix/bsd/tcdrain.c: ... here.
9564 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9565 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9566 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9567 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9568 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9569 * sysdeps/unix/bsd/wait.c: ... here.
9570 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9571 * sysdeps/unix/bsd/wait3.c: ... here.
9572 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9573 * sysdeps/unix/bsd/waitpid.c: ... here.
9575 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9579 round-to-nearest for [!USE_AS_EXPM1L].
9580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9581 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9582 more tests of exp and exp10. Expect some exp10 tests to miss
9583 exceptions or fail in directed rounding modes.
9584 * math/auto-libm-test-out: Regenerated.
9585 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9586 (exp10_test_tonearest): New function.
9587 (exp10_towardzero_test_data): New array.
9588 (exp10_test_towardzero): New function.
9589 (exp10_downward_test_data): New array.
9590 (exp10_test_downward): New function.
9591 (exp10_upward_test_data): New array.
9592 (exp10_test_upward): New function.
9593 (main): Call the new functions.
9594 * sysdeps/i386/fpu/libm-test-ulps: Update.
9595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9597 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9599 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9600 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9601 * math/auto-libm-test-out: Regenerated.
9602 * math/libm-test.inc (acosh_test_data): Add more tests.
9603 (atanh_test_data): Likewise.
9604 (ceil_test_data): Likewise.
9605 (copysign_test_data): Likewise.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 * timezone/checktab.awk: Update from tzcode 2013i.
9610 * timezone/private.h: Likewise.
9611 * timezone/scheck.c: Likewise.
9612 * timezone/tzfile.h: Likewise.
9613 * timezone/tzselect.ksh: Likewise.
9614 * timezone/zdump.c: Likewise.
9615 * timezone/zic.c: Likewise.
9617 * math/auto-libm-test-in: Add tests of cpow.
9618 * math/auto-libm-test-out: Regenerated.
9619 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9620 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9622 (func_calc_desc): Add mpc_cc_c union field.
9623 (test_functions): Add cpow.
9624 (special_fill_2pi): New function.
9625 (special_real_inputs): Add 2pi.
9626 (calc_generic_results): Handle mpc_cc_c.
9627 * sysdeps/i386/fpu/libm-test-ulps: Update.
9628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9631 csqrt, ctan and ctanh.
9632 * math/auto-libm-test-out: Regenerated.
9633 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9634 (TEST_COND_x86): Likewise.
9635 (ccos_test_data): Use AUTO_TESTS_c_c.
9636 (ccosh_test_data): Likewise.
9637 (cexp_test_data): Likewise.
9638 (clog_test_data): Likewise.
9639 (csqrt_test_data): Likewise.
9640 (ctan_test_data): Likewise.
9641 (ctan_tonearest_test_data): Likewise.
9642 (ctan_towardzero_test_data): Likewise.
9643 (ctan_downward_test_data): Likewise.
9644 (ctan_upward_test_data): Likewise.
9645 (ctanh_test_data): Likewise.
9646 (ctanh_tonearest_test_data): Likewise.
9647 (ctanh_towardzero_test_data): Likewise.
9648 (ctanh_downward_test_data): Likewise.
9649 (ctanh_upward_test_data): Likewise.
9650 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9652 (func_calc_desc): Add mpc_c_c union field.
9653 (FUNC_mpc_c_c): New macro.
9654 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9655 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9657 (special_fill_min_subnorm_p120): New function.
9658 (special_real_inputs): Add min_subnorm_p120.
9659 (calc_generic_results): Handle mpc_c_c.
9660 * sysdeps/i386/fpu/libm-test-ulps: Update.
9661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9663 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9665 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9666 (do_sin_slow): New functions.
9667 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9668 (cslow2, csloww1, csloww2): Use the new functions.
9670 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9671 Use M to change sign of result instead of X. Assume X is
9673 (csloww1): Likewise.
9677 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9684 (sloww1): Don't adjust sign of DX.
9685 (csloww1): Likewise.
9686 (sloww2): Use X directly and don't adjust sign of DX.
9687 (csloww2): Likewise.
9689 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9691 * math/auto-libm-test-in: Add tests of cabs and carg.
9692 * math/auto-libm-test-out: Regenerated.
9693 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9694 (carg_test_data): Likewise.
9695 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9697 (func_calc_desc): Add mpc_c_f union field.
9698 (test_functions): Add cabs and carg.
9699 (calc_generic_results): Handle mpc_c_f.
9701 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9702 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9703 as a macro and a compat symbol.
9704 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9705 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9706 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9707 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9708 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9709 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9711 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9713 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9715 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9717 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9719 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9721 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9722 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9725 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9731 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9732 trailing whitespace removed.
9733 * scripts/config.guess: Update to version 2013-11-29.
9734 * scripts/config.sub: Update to version 2013-10-01.
9736 * math/auto-libm-test-in: Add tests of sincos.
9737 * math/auto-libm-test-out: Regenerated.
9738 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9739 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9741 (func_calc_desc): Add mpfr_f_11 union field.
9742 (test_functions): Add sincos.
9743 (calc_generic_results): Handle mpfr_f_11.
9744 * sysdeps/i386/fpu/libm-test-ulps: Update.
9745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9747 2013-12-19 Andreas Schwab <schwab@suse.de>
9749 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9751 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9752 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9753 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9755 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9757 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9758 * sysdeps/i386/fpu/libm-test-ulps: Update.
9759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9763 round-to-nearest mode when using frndint.
9764 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9765 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9766 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9768 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9770 * math/auto-libm-test-out: Regenerated.
9771 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9772 (TEST_COND_x86): Likewise.
9773 (expm1_tonearest_test_data): New array.
9774 (expm1_test_tonearest): New function.
9775 (expm1_towardzero_test_data): New array.
9776 (expm1_test_towardzero): New function.
9777 (expm1_downward_test_data): New array.
9778 (expm1_test_downward): New function.
9779 (expm1_upward_test_data): New array.
9780 (expm1_test_upward): New function.
9781 (main): Run the new test functions.
9782 * sysdeps/i386/fpu/libm-test-ulps: Update.
9783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9785 * include/features.h: Update comment documenting feature test
9786 macros. Mention _DEFAULT_SOURCE in comment.
9787 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9788 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9789 _BSD_SOURCE and _SVID_SOURCE.
9790 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9791 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9792 !_SVID_SOURCE]: Likewise.
9793 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9794 (__USE_POSIX_IMPLICITLY): Define.
9795 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9796 (_POSIX_SOURCE): Undefine and redefine.
9797 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9798 (_POSIX_C_SOURCE): Likewise.
9799 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9800 (Feature Test Macros): Update documentation of default features.
9802 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9804 * benchtests/Makefile: Add bench-strtok.
9805 * benchtests/bench-strtok.c: New file: strtok benchtest.
9807 2013-12-19 Allan McRae <allan@archlinux.org>
9809 * manual/install.texi: Suppress menu for plain text output.
9810 * INSTALL: Regenerated.
9812 2013-12-18 Brooks Moses <bmoses@google.com>
9815 * misc/getauxval.c: Include errno.h.
9816 (__getauxval): Set errno to ENOENT if the requested type is not
9818 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9819 don't declare with __attribute_const__.
9820 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9821 * manual/startup.texi: Document that getauxval sets errno.
9823 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9825 * math/auto-libm-test-in: Add tests of jn and yn.
9826 * math/auto-libm-test-out: Regenerated.
9827 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9828 (yn_test_data): Likewise.
9829 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9831 (func_calc_desc): Add mpfr_if_f union field.
9832 (FUNC_mpfr_if_f): New macro.
9833 (test_functions): Add jn and yn.
9834 (calc_generic_results): Assert type of second input for
9835 mpfr_ff_f. Handle mpfr_if_f.
9836 (output_for_one_input_case): Disable all checking for arguments
9837 fitting floating-point types in case of an integer argument.
9838 * sysdeps/i386/fpu/libm-test-ulps: Update.
9839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9842 Don't expect fegetround reference in libm.so.
9844 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9846 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9847 $(config-cflags-nofma).
9849 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9851 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9852 * math/auto-libm-test-out: Regenerated.
9855 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9856 to determine exponent and adjust argument to have exponent of -1.
9857 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9859 * math/auto-libm-test-out: Regenerated.
9860 * sysdeps/i386/fpu/libm-test-ulps: Update.
9861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9863 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9865 * manual/probes.texi: Remove cases when per-thread arenas are
9868 2013-12-18 Andreas Schwab <schwab@suse.de>
9870 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9871 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9872 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9873 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9874 * sysdeps/i386/i686/multiarch/Makefile: Update.
9875 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9877 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9879 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9880 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9882 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9885 Support TZ transition times < 00:00:00.
9886 This is needed for version-3 tz-format files; it supports time
9887 stamps past 2037 for America/Godthab (the only entry in the tz
9888 database for which this change is relevant).
9889 * manual/time.texi (TZ Variable): Document transition times
9890 from -167:59:59 through -00:00:01.
9891 * time/tzset.c (tz_rule): Time of day is now signed.
9892 (__tzset_parse_tz): Parse negative time of day.
9894 Document TZ transition times >= 25:00:00.
9895 * manual/time.texi (TZ Variable): Document transition times from
9896 25:00:00 through 167:59:59. These are already supported, and this
9897 support will help with version-3 tz-format files.
9899 * manual/time.texi (TZ Variable): Modernize North America example
9900 to reflect current (i.e., 2007-and-later) daylight saving rules.
9902 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9904 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9906 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9907 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9910 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9911 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9912 * sysdeps/unix/bsd/clock.c: Likewise.
9913 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9914 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9915 * sysdeps/unix/bsd/init-posix.c: Likewise.
9916 * sysdeps/unix/bsd/poll.c: Likewise.
9917 * sysdeps/unix/bsd/ptsname.c: Likewise.
9918 * sysdeps/unix/bsd/seekdir.c: Likewise.
9919 * sysdeps/unix/bsd/setegid.c: Likewise.
9920 * sysdeps/unix/bsd/seteuid.c: Likewise.
9921 * sysdeps/unix/bsd/setgid.c: Likewise.
9922 * sysdeps/unix/bsd/setrgid.c: Likewise.
9923 * sysdeps/unix/bsd/setruid.c: Likewise.
9924 * sysdeps/unix/bsd/setsid.c: Likewise.
9925 * sysdeps/unix/bsd/setuid.c: Likewise.
9926 * sysdeps/unix/bsd/sigaction.c: Likewise.
9927 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9928 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9929 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9930 * sysdeps/unix/bsd/telldir.c: Likewise.
9931 * sysdeps/unix/bsd/times.c: Likewise.
9932 * sysdeps/unix/bsd/usleep.c: Likewise.
9934 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9935 ($(objpfx)libbsd-compat.a): Remove rule.
9937 * include/features.h (__FAVOR_BSD): Do not define.
9938 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9939 features conflicting with POSIX.
9940 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9941 (_BSD_SOURCE): Remove description of not being a subset of other
9942 feature test macros.
9943 * manual/job.texi (getpgrp): Do not document BSD version.
9944 (getpgid): Do not document by reference to BSD getpgrp.
9945 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9946 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9947 * signal/signal.h [__FAVOR_BSD]: Likewise.
9948 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9949 instead of making contents conditional on [__FAVOR_BSD].
9950 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9952 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9956 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9959 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9960 values below 2**-450, not 2**-500.
9961 * math/auto-libm-test-in: Don't allow spurious underflow from
9963 * math/auto-libm-test-out: Regenerated.
9967 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9968 values of ha and hb and sort them after adjusting subnormal
9970 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9972 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9973 values of ea and eb and sort them after adjusting subnormal
9975 * math/auto-libm-test-in: Do not expect some hypot tests of
9976 subnormals to fail. Add more hypot tests.
9977 * math/auto-libm-test-out: Regenerated.
9979 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9982 * sysdeps/sh/s_fma.c: New file.
9983 * sysdeps/sh/s_fmaf.c: New file.
9984 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9986 * sysdeps/sh/Implies: Add sh/soft-fp.
9988 2013-12-16 Roland McGrath <roland@hack.frob.com>
9990 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9991 level of indirection to members `objname', `errstring', `malloced'.
9992 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9993 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9994 it as the __longjmp argument (just pass 1 instead).
9995 (_dl_catch_error): Initialize C with argument pointers and address of
9996 volatile local ERRCODE rather than copying values out of C at return.
9998 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10000 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10001 * math/auto-libm-test-out: Regenerated.
10002 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10003 (hypot_test_data): Likewise.
10004 (pow_test_data): Likewise.
10005 (pow_tonearest_test_data): Likewise.
10006 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10008 (func_calc_desc): Add mpfr_ff_f union field.
10009 (FUNC_mpfr_ff_f): New macro.
10010 (test_functions): Add atan2, hypot and pow.
10011 (special_fill_min): New function.
10012 (special_fill_minus_min): Likewise.
10013 (special_fill_min_subnorm): Likewise.
10014 (special_fill_minus_min_subnorm): Likewise.
10015 (special_real_inputs): Add min, -min, min_subnorm and
10017 (calc_generic_results): Handle mpfr_ff_f.
10018 * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021 2013-12-16 Will Newton <will.newton@linaro.org>
10023 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10024 (Aligned Memory Blocks): Add documentation for aligned_alloc
10025 and suggest it as an alternative to posix_memalign.
10026 (Hooks for Malloc): Document __memalign_hook is also called
10027 for aligned_alloc. (Summary of Malloc): Add summary for
10028 aligned alloc. Document __memalign_hook is also called
10031 2013-12-16 Will Newton <will.newton@linaro.org>
10033 * manual/memory.texi (Malloc Examples): Clarify default
10034 alignment documentation. Suggest posix_memalign rather
10035 than memalign or valloc.
10036 (Aligned Memory Blocks): Remove suggestion to use memalign
10037 or valloc. Remove obsolete comment about BSD.
10038 Document memalign errno values and mark the function obsolete.
10039 Document posix_memalign returned error codes. Mark valloc
10040 as obsolete. (Hooks for Malloc): __memalign_hook is also
10041 called for posix_memalign and valloc.
10042 (Summary of Malloc): Add posix_memalign to function summary.
10043 __memalign_hook is also called for posix_memalign and valloc.
10045 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10047 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10051 (sloww): Use mynumber union. Expand ternary operator into
10052 if-else statements.
10053 (cslow): use mynumber union.
10055 2013-12-16 Allan McRae <allan@archlinux.org>
10057 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10058 * configure: Regenerated.
10060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10063 * configure.ac: Added --enable-maintainer-mode. Check for
10064 autoconf when enabled.
10065 * configure: Regenerated.
10067 * nscd/nscd.service: New file.
10068 * nscd/nscd.tmpfiles: New file.
10070 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10073 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10074 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10075 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10076 (strstr): Add __strstr_sse2_unaligned ifunc.
10077 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10078 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10079 (strcasestr): Remove __strcasestr_sse42 ifunc.
10080 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10084 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10086 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10087 * sysdeps/sh/bits/fenv.h: ... here.
10088 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10090 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10095 hypotf multiarch implementations.
10096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10099 multiarch hypot for PPC64.
10100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10103 multiarch hypotf for PPC64.
10105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10106 modff multiarch implementations.
10107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10110 multiarch modf for PPC64.
10111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10114 multiarch modff for PPC64.
10116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10117 and logl multiarch implementations.
10118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10121 multiarch logb for PPC64.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10125 multiarch logb for PPC64.
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10129 multiarch logb for PPC64.
10131 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10132 isinff multiarch implementation.
10133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10137 multiarch isinf for PPC64.
10138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10141 multiarch isinff for PPC64.
10143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10144 finitef multiarch implementation.
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10149 multiarch finite for PPC64.
10150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10153 multiarch finitef for PPC64.
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10156 lrint multiarch implementation.
10157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10161 multiarch llrint for PPC64.
10162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10163 multiarch lrint for PPC64.
10165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10166 copysignf multiarch implementation.
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10172 multiarch copysign for PPC64.
10173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10174 multiarch copysignf for PPC64.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10177 multiarch implementation.
10178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10186 multiarch llround for PPC64.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10188 multiarch trunc for PPC64.
10189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10190 multiarch truncf for PPC64.
10192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10193 multiarch implementation.
10194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10202 multiarch llround for PPC64.
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10204 multiarch round for PPC64.
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10206 multiarch roundf for PPC64.
10208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10209 multiarch implementation.
10210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10218 multiarch llround for PPC64.
10219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10220 multiarch floor for PPC64.
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10222 multiarch floorf for PPC64.
10224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10225 multiarch implementation.
10226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10234 multiarch llround for PPC64.
10235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10236 multiarch ceil for PPC64.
10237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10238 multiarch ceilf for PPC64.
10240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10241 multiarch implementation.
10242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10249 multiarch llround for PPC64.
10250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10251 multiarch lround for PPC64.
10253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10254 multiarch implementation.
10255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10262 multiarch isnan for PPC64.
10263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10264 multiarch isnanf for PPC64.
10266 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10267 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10268 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10269 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10270 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10273 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10274 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10279 multiarch implementations.
10280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10281 (__libc_ifunc_impl_list): Likewise.
10282 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10284 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10285 multiarch stpcpy for PPC64.
10287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10288 multiarch implementations.
10289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10290 (__libc_ifunc_impl_list): Likewise.
10291 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10292 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10293 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10294 multiarch strcpy for PPC64.
10296 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10297 redefine function name.
10298 (_wordcopy_fwd_dest_aligned): Likewise.
10299 (_wordcopy_bwd_aligned): Likewise.
10300 (_wordcopy_bwd_dest_aligned): Likewise.
10301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10302 multiarch implementations.
10303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10304 (__libc_ifunc_impl_list): Likewise.
10305 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10307 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10308 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10309 multiarch wcscpy for PPC64.
10311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10312 multiarch implementations.
10313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10314 (__libc_ifunc_impl_list): Likewise.
10315 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10316 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10317 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10318 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10319 multiarch wcscpy for PPC64.
10321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10322 multiarch implementations.
10323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10324 (__libc_ifunc_impl_list): Likewise.
10325 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10327 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10328 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10329 multiarch wcsrchr for PPC64.
10331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10332 multiarch implementations.
10333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10334 (__libc_ifunc_impl_list): Likewise.
10335 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10336 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10337 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10338 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10339 multiarch wcschr for PPC64.
10341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10342 multiarch implementations.
10343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344 (__libc_ifunc_impl_list): Likewise.
10345 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10346 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10347 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10348 multiarch strchrnul for PPC64.
10350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10353 (__libc_ifunc_impl_list): Likewise.
10354 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10355 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10356 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10357 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10363 (__libc_ifunc_impl_list): Likewise.
10364 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10366 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10367 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10371 multiarch implementations.
10372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10373 (__libc_ifunc_impl_list): Likewise.
10374 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10375 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10376 strncasecmp for PPC64.
10377 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10378 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10379 multiarch strncasecmp_l for PPC64.
10381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10382 multiarch implementations.
10383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10384 (__libc_ifunc_impl_list): Likewise.
10385 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10387 multiarch strcasecmp for PPC64.
10388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10390 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10391 multiarch strcasecmp_l for PPC64.
10393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10396 (__libc_ifunc_impl_list): Likewise.
10397 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10398 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10399 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10405 (__libc_ifunc_impl_list): Likewise.
10406 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10407 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10408 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10414 (__libc_ifunc_impl_list): Likewise.
10415 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10416 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10417 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10418 rawmemrchr for PPC64.
10420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10423 (__libc_ifunc_impl_list): Likewise.
10424 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10425 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10426 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10432 (__libc_ifunc_impl_list): Likewise.
10433 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10434 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10435 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10441 (__libc_ifunc_impl_list): Likewise.
10442 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10443 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10444 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10447 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10448 avoid cretion of __bzero symbol.
10449 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10451 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10453 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10456 multiarch implementations.
10457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10458 (__libc_ifunc_impl_list): Likewise.
10459 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10460 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10461 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10462 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10464 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10465 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10466 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10467 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10468 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10470 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10472 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10476 (__libc_ifunc_impl_list): Likewise.
10477 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10478 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10479 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10480 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10484 multiarch for POWER/PPC64.
10485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10486 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10489 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10490 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10491 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10493 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10496 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10497 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10498 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10499 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10500 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10501 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10502 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10503 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10504 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10505 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10506 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10507 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10508 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10509 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10510 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10519 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10523 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10525 * benchtests/Makefile (bench): Add exp2 and log2.
10526 (LDLIBS-bench-exp2): Add -lm.
10527 (LDLIBS-bench-log2): Likewise.
10528 * benchtests/exp2-inputs: New inputs file.
10529 * benchtests/log2-inputs: New inputs file.
10530 * benchtests/log-inputs: Add new inputs.
10531 * benchtests/tan-inputs: Likewise.
10533 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10535 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10537 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10538 (csloww2): ... from here.
10540 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10541 instead of structures.
10542 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10543 (POLYNOMIAL): Likewise.
10544 (TAYLOR_SLOW): Likewise.
10550 (sloww1); Likewise.
10551 (sloww2): Likewise.
10552 (bsloww1): Likewise.
10553 (bsloww2): Likewise.
10554 (cslow2): Likewise.
10555 (csloww): Likewise.
10556 (csloww1): Likewise.
10557 (csloww2): Likewise.
10559 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10561 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10562 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10563 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10564 * malloc/hooks.c (realloc_check): Likewise.
10566 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10567 * malloc/arena.c: Remove PER_THREAD conditional.
10568 [!PER_THREAD]: Remove code.
10569 (ptmalloc_unlock_all2): Likewise.
10570 (ptmalloc_init): Likewise.
10571 (_int_new_arena): Likewise.
10572 (arena_get2): Likewise.
10573 * malloc/hooks.c (__malloc_get_state): Likewise.
10574 (__malloc_set_state): Likewise.
10575 * malloc/malloc.c: Likewise.
10576 (struct malloc_state): Likewise.
10577 (struct malloc_par): Likewise.
10578 (__libc_realloc): Likewise.
10579 (__libc_mallopt): Likewise.
10581 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10583 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10585 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10587 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10588 macro to a function. Check for zero perturb_byte.
10589 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10591 * malloc/malloc.c: (force_reg): Remove.
10592 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10593 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10594 force_reg by atomic_forced_read.
10595 * malloc/arena.c (ptmalloc_init): Likewise.
10596 * malloc/hooks.c (top_check): Likewise.
10598 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10602 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10606 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10608 * math/auto-libm-test-in: Add tests of lgamma.
10609 * math/auto-libm-test-out: Regenerated.
10610 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10611 (M_LOG_2_SQRT_PIl): Likewise.
10612 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10615 (func_calc_desc): Add mpfr_f_f1 union field.
10616 (ARGS1): New macro.
10624 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10625 (test_functions): Add lgamma.
10626 (calc_generic_results): Handle mpfr_f_f1.
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10632 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10633 __mpn_add_n for PowerPC64/POWER7.
10634 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10635 __mpn_sub_n for PowerPC64/POWER7.
10637 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10638 __mpn_addmul_1 for PowerPC64.
10639 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10640 __mpn_submul_1 for PowerPC64.
10641 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10643 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10646 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10649 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10651 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10653 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10655 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10656 add multiarch folders.
10657 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10658 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10659 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10660 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10661 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10662 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10663 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10664 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10665 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10666 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10667 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10676 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10682 multiarch __ieee754_hypot for PowerPC32.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10688 multiarch __ieee754_hypotf for PowerPC32.
10690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10691 long_double_symbol only if __logbl is defined.
10692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10693 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10695 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10697 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10699 path for implementation.
10700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10701 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10703 logb, and logbl multiarch implementations for PowerPC32.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10709 multiarch logb for PowerPC32.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10715 multiarch logbf for PowerPC32.
10716 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10720 multiarch logbl implementation for PowerPC32.
10722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10723 and modff multiarch implementations.
10724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10729 multiarch modf for PowerPC32.
10730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10735 multiarch modff for PowerPC32.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10738 and lrintf multiarch implementations.
10739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10744 multiarch lrint for PowerPC32.
10745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10746 file: multiarch lrintf for PowerPC32.
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10749 and lroundf multiarch implementations.
10750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10757 multiarch lround for PowerPC32.
10758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10759 file: multiarch lroundf for PowerPC32.
10761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10762 copysign and copysignf multiarch implementations.
10763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10768 file: multiarch copysign for PowerPC32.
10769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10770 file: multiarch copysignf for PowerPC32.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10773 and truncf multiarch implementations.
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10779 multiarch trunc for PowerPC32.
10780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10785 multiarch truncf for PowerPC32.
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10788 and roundf multiarch implementations.
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10794 multiarch round for PowerPC32.
10795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10800 multiarch roundf for PowerPC32.
10802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10803 and floorf multiarch implementations.
10804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10809 multiarch floor for PowerPC32.
10810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10815 multiarch floorf for PowerPC32.
10817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10818 and ceilf multiarch implementations.
10819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10824 multiarch ceil for PowerPC32.
10825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10830 multiarch ceilf for PowerPC32.
10832 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10834 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10835 FINITEF is defined.
10836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10837 and finitef multiarch implementations.
10838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10843 multiarch finite for PowerPC32.
10844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10847 file: multiarch finitef for PowerPC32.
10849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10850 and isinff multiarch implementations.
10851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10856 multiarch isinf for PowerPC32.
10857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10860 multiarch isinff for PowerPC32.
10862 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10863 alias when __isnan is defined.
10864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10865 and isnanf multiarch implementations.
10866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10875 multiarch isnan for PowerPC32.
10876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10881 multiarch isnanf for PowerPC32.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10884 and sqrtf multiarch implementations.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10890 multiarch sqrt for PowerPC32.
10891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10896 multiarch sqrtf for PowerPC32.
10898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10899 and llroundf multiarch implementations.
10900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10907 file: multiarch llround for PowerPC32.
10908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10909 file: multiarch llroundf for PowerPC32.
10911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10912 multiarch PowerPC32 fpu implementations.
10913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10918 multiarch llrint for PowerPC32.
10919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10928 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10930 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10932 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10934 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10935 multiarch wordcopy for PPC32.
10936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10939 (__libc_ifunc_impl_list): Likewise.
10940 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10941 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10942 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10943 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10944 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10945 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10947 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10955 multiarch wcscpy for PPC32.
10956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10959 (__libc_ifunc_impl_list): Likewise.
10960 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10961 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10962 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10963 sysdeps/powerpc/power6/wcscpy.c.
10965 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10973 multiarch wcsrchr for PPC32.
10974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10977 (__libc_ifunc_impl_list): Likewise.
10978 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10979 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10980 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10981 sysdeps/powerpc/power6/wcsrchr.c.
10983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10989 multiarch wcschr for PPc32.
10990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10993 (__libc_ifunc_impl_list): Likewise.
10994 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10995 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10996 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10997 sysdeps/powerpc/power6/wcschr.c.
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11000 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11003 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11004 file: multiarch strchr for PPC32.
11005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11008 (__libc_ifunc_impl_list): Likewise.
11010 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11012 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11017 multiarch strchrnul for PPC32.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11021 (__libc_ifunc_impl_list): Likewise.
11023 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11025 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11026 multiarch strncasecmp for PPC32.
11027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11030 multiarch strncasecmp_l for PPC32.
11031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11032 strncasecmp multiarch objects.
11033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11034 (__libc_ifunc_impl_list): Likewise.
11036 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11038 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11039 multiarch strncasecmp for PPC32.
11040 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11043 multiarch strcasecmp_l for PPC32.
11044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11047 (__libc_ifunc_impl_list): Likewise.
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11051 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11054 multiarch strncmp for PPC32.
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11058 (__libc_ifunc_impl_list): Likewise.
11060 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11061 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11063 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11064 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11068 (__libc_ifunc_impl_list): Likewise.
11070 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11072 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11074 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11078 (__libc_ifunc_impl_list): Likewise.
11080 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11082 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11085 multiarch rawmemchr for PPC32.
11086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11089 (__libc_ifunc_impl_list): Likewise.
11091 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11093 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11095 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11096 file: memrchr multiarch for PPC32.
11097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11100 (__libc_ifunc_impl_list): Likewise.
11102 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11103 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11105 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11106 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11107 multiarch memchr for PPC32.
11108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11111 (__libc_ifunc_impl_list): Likewise.
11113 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11114 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11116 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11118 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11119 file: multiarch mempcpy for PPC32.
11120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11123 (__libc_ifunc_impl_list): Likewise.
11125 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11126 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11127 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11128 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11129 multiarch bzero for PPC32.
11130 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11132 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11134 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11135 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11136 file: multiarch memset for PPC32.
11137 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11139 memset multiarch objects.
11140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11141 (__libc_ifunc_impl_list): Likewise.
11143 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11145 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11148 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11152 (__libc_ifunc_impl_list): Likewise.
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11160 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11163 multiarch memcpy for PPC32.
11164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11167 (__libc_ifunc_impl_list): Likewise.
11169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11170 support multiarch for POWER/PPC32.
11171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11173 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11175 Implies file to make multiarch folder appers before the fpu and
11176 default folder for power4 configuration.
11178 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 * scripts/bench.pl: Append volatile keyword to type.
11182 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11184 * sysdeps/sh/sotruss-lib.c: New file.
11185 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11187 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11191 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11194 * math/w_tgamma.c: Include <errno.h>.
11195 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11196 * math/w_tgammaf.c: Include <errno.h>.
11197 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11198 * math/w_tgammal.c: Include <errno.h>.
11199 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11200 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11201 underflow. Add more tgamma tests.
11202 * math/auto-libm-test-out: Regenerated.
11203 * sysdeps/i386/fpu/libm-test-ulps: Update.
11204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11207 sin, sinh, tan, tanh, tgamma, y0 and y1.
11208 * math/auto-libm-test-out: Regenerated.
11209 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11210 (TEST_COND_x86): Likewise.
11211 (M_E2l): Remove macro.
11213 (M_2_SQRT_PIl): Likewise.
11214 (M_SQRT_PIl): Likewise.
11215 (M_1_DIV_El): Likewise.
11216 (log_test_data): Use AUTO_TESTS_f_f.
11217 (log10_test_data): Likewise.
11218 (log1p_test_data): Likewise.
11219 (log2_test_data): Likewise.
11220 (sin_test_data): Likewise.
11221 (sin_tonearest_test_data): Likewise.
11222 (sin_towardzero_test_data): Likewise.
11223 (sin_downward_test_data): Likewise.
11224 (sin_upward_test_data): Likewise.
11225 (sinh_test_data): Likewise.
11226 (sinh_tonearest_test_data): Likewise.
11227 (sinh_towardzero_test_data): Likewise.
11228 (sinh_downward_test_data): Likewise.
11229 (sinh_upward_test_data): Likewise.
11230 (tan_test_data): Likewise.
11231 (tan_tonearest_test_data): Likewise.
11232 (tan_towardzero_test_data): Likewise.
11233 (tan_downward_test_data): Likewise.
11234 (tan_upward_test_data): Likewise.
11235 (tanh_test_data): Likewise.
11236 (tgamma_test_data): Likewise.
11237 (y0_test_data): Likewise.
11238 (y1_test_data): Likewise.
11239 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11240 (special_real_inputs): Add pi/4.
11241 * sysdeps/i386/fpu/libm-test-ulps: Update.
11242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11244 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11246 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11247 "longjmp_target" static probes.
11248 (__longjmp): Rename to __longjmp_symbol.
11249 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11251 on which longjmp to generate.
11252 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11255 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11256 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11257 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11259 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11260 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11262 __longjmp_symbol based on which __longjmp to generate.
11263 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11265 (setjmp): Rename to setjmp_symbol.
11266 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11267 (_setjmp): Rename to _setjmp_symbol.
11268 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11269 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11270 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11271 which setjmp to generate.
11272 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11273 "longjmp_target" static probes.
11275 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11277 * benchtests/README: Add note about output arguments.
11278 * benchtests/bench-sincos.c: Remove file.
11279 * benchtests/sincos-inputs: New file.
11280 * scripts/bench.pl: Identify output arguments and define
11281 static variables for them.
11283 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11286 * Makefile (INSTALL): Add install-plain.texi as the primary
11288 * manual/install-plain.texi: New file.
11289 * manual/install.texi: Include node directive only for
11290 non-plaintext output.
11292 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11294 * stdlib/longlong.h: Update from GCC.
11298 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11299 * math/w_j0f.c (y0f): Likewise.
11300 * math/w_j0l.c (__y0l): Likewise.
11301 * math/w_j1.c (y1): Likewise.
11302 * math/w_j1f.c (y1f): Likewise.
11303 * math/w_j1l.c (__y1l): Likewise
11304 * math/w_jn.c (yn): Likewise.
11305 * math/w_jnf.c (ynf): Likewise.
11306 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11307 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11308 value for Bessel function domain errors outside _SVID_ mode.
11309 Adjust sign of return value for yn (negative integer, 0).
11310 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11311 by zero in return for negative x and set sign appropriately for
11313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11315 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11316 expectations in error cases.
11317 (y1_test_data): Likewise.
11318 (yn_test_data): Likewise.
11319 * sysdeps/i386/fpu/libm-test-ulps: Update.
11320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11322 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11324 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11325 "64" to "64-v1". Add "64-v2".
11326 (abi-64-options): Rename to ...
11327 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11328 (abi-64-condition): Rename to ...
11329 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11330 (abi-64-ld-soname): Rename to ...
11331 (abi-64-v1-ld-soname): ... this.
11332 (abi-64-v2-options): Define.
11333 (abi-64-v2-condition): Likewise.
11334 (abi-64-v2-ld-soname): Likewise.
11335 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11336 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11341 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11342 Alan Modra <amodra@gmail.com>
11344 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11345 New versions for use with the ELFv2 ABI.
11346 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11347 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11349 (struct La_ppc64v2_retval): Likewise.
11350 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11351 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11352 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11353 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11354 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11355 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11356 Do not save or restore CR.
11357 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11358 (_dl_profile_resolve): Do no save or restore CR. Support extended
11359 return values for ELFv2 ABI. Fix location of FPR return registers.
11360 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11361 updated values for _CALL_ELF == 2.
11362 (La_regs, La_retval, int_retval): Likewise.
11364 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11366 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11367 (FRAME_MIN_SIZE_PARM): Likewise.
11368 (FRAME_BACKCHAIN): Likewise.
11369 (FRAME_CR_SAVE): Likewise.
11370 (FRAME_LR_SAVE): Likewise.
11371 (FRAME_TOC_SAVE): Likewise.
11372 (FRAME_PARM_SAVE): Likewise.
11373 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11374 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11375 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11376 (call_mcount_parm_offset): New macro.
11377 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11378 (PROF): Use symbolic stack frame offsets.
11379 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11380 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11381 Redefine in terms of FRAME_MIN_SIZE.
11382 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11383 (_dl_profile_resolve): Likewise. Update comment.
11384 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11385 symbols stack frame offsets.
11386 (__sigsetjmp): Likewise.
11387 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11388 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11389 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11390 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11393 (FRAME_BACKCHAIN): Remove.
11394 (FRAME_CR_SAVE): Likewise.
11395 (FRAME_LR_SAVE): Likewise.
11396 (FRAME_COMPILER_DW): Likewise.
11397 (FRAME_LINKER_DW): Likewise.
11398 (FRAME_TOC_SAVE): Likewise.
11399 (FRAME_PARM_SAVE): Likewise.
11400 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11401 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11402 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11404 (CHECK_SP): Use symbolic stack frame offsets.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11406 zone" instead of caller's parameter save area for temp storage.
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11408 Likewise. Also, use symbolic stack frame offsets.
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11410 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11411 our own stack frame instead of the caller's.
11412 (__socket): Use symbolic stack frame offsets.
11414 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11415 Alan Modra <amodra@gmail.com>
11417 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11419 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11420 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11421 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11423 (elf_machine_fixup_plt): Call it.
11424 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11426 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11428 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11429 r2 before calling target.
11431 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11432 Alan Modra <amodra@gmail.com>
11434 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11435 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11436 versions of macros to support ELFv2 ABI.
11437 (LOCALENTRY): New macro.
11438 (ENTRY, EALIGN): Use it.
11439 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11440 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11441 fall through into ENTRY entry point.
11442 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11443 Only define if _CALL_ELF != 2.
11445 (elf_machine_matches_host): Verify ABI version matches.
11446 (RTLD_START): Use LOCALENTRY.
11447 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11448 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11449 (PLT_ENTRY_WORDS): New macro.
11450 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11451 (elf_machine_runtime_setup): Support ELFv2 ABI.
11452 (elf_machine_fixup_plt): Likewise.
11453 (elf_machine_plt_conflict): Likewise.
11454 (resolve_ifunc): Likewise.
11455 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11459 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11461 (makecontext): Support ELFv2 ABI.
11462 * elf/elf.h (EF_PPC64_ABI): Define.
11464 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11466 * sysdeps/powerpc/powerpc64/sysdep.h
11467 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11468 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11469 (ENTRY) [ASSEMBLER]: ... but instead here ...
11470 (EALIGN) [ASSEMBLER]: ... and here.
11471 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11472 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11473 (ENTRY_2) [!ASSEMBLER]: Use it.
11474 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11475 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11476 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11477 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11478 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11480 Use PPC64_LOAD_FUNCPTR.
11482 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11484 2013-12-04 Alan Modra <amodra@gmail.com>
11486 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11487 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11488 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11489 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11492 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11493 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11494 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11495 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11496 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11498 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11501 (__makecontext): Fix incorrect CFI when backtracing out of
11502 context created via makecontext.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11504 (__setcontext): Fix incorrect CFI during switch to new context.
11505 (__novec_setcontext): Likewise.
11507 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11510 * time/strptime_l.c (__strptime_internal): Allow modifiers
11512 * time/tst-strptime.c (day_tests): Add testcase.
11514 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11516 * scripts/bench.pl: Skip over blank lines.
11518 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11521 * manual/time.texi (Calendar Time): Clarify what timezone functions
11524 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11528 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11530 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11532 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11533 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11534 * debug/memset_chk.c (__memset_chk): Likewise.
11535 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11536 * debug/strncpy_chk.c: Likewise.
11538 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11543 (__ieee754_exp): For possibly underflowing results, check size of
11544 result and force underflow exception if required.
11545 * math/auto-libm-test-in: Add more tests of exp.
11546 * math/auto-libm-test-out: Regenerated.
11547 * sysdeps/i386/fpu/libm-test-ulps: Update.
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11551 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11552 * math/w_exp2f.c (__exp2f): Likewise.
11553 * math/w_exp2l.c (__exp2l): Likewise.
11554 * math/auto-libm-test-in: Do not allow missing errno on exp2
11556 * math/auto-libm-test-out: Regenerated.
11558 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11561 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11562 handle filename validation.
11563 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11566 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11570 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11571 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11573 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11575 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11577 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11579 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11580 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11581 Add more erfc tests.
11582 * math/auto-libm-test-out: Regenerated.
11583 * sysdeps/i386/fpu/libm-test-ulps: Update.
11584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11586 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11587 exp2, expm1, j0 and j1.
11588 * math/auto-libm-test-out: Regenerated.
11589 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11590 (erfc_test_data): Likewise.
11591 (exp_test_data): Likewise.
11592 (exp_tonearest_test_data): Likewise.
11593 (exp_towardzero_test_data): Likewise.
11594 (exp_downward_test_data): Likewise.
11595 (exp_upward_test_data): Likewise.
11596 (exp10_test_data): Likewise.
11597 (exp2_test_data): Likewise.
11598 (expm1_test_data): Likewise.
11599 (j0_test_data): Likewise.
11600 (j1_test_data): Likewise.
11601 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11602 (input_flag_type): Add flag_xfail_rounding.
11603 (input_flags): Add xfail-rounding.
11604 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11605 (output_for_one_input_case): Handle flag_xfail_rounding.
11606 * sysdeps/i386/fpu/libm-test-ulps: Update.
11607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11609 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11612 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11615 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11618 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11619 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11620 (STAP_PROBE0): New macro.
11621 (STAP_PROBE1): Likewise.
11622 (STAP_PROBE2): Likewise.
11623 (STAP_PROBE3): Likewise.
11624 (STAP_PROBE4): Likewise.
11626 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11628 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11630 2013-12-02 Steve Ellcey <sellcey@mips.com>
11632 * benchtests/Makefile (bench): Add sqrt.
11633 (LDLIBS-bench-sqrt): New.
11634 * benchtests/sqrt-input: New.
11636 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11638 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11639 (GAIH_EAI): Likewise.
11640 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11641 (gaih_inet): Likewise.
11642 (getaddrinfo): Don't use GAIH_EAI.
11644 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11645 (struct gaih): Remove definition.
11647 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11649 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11650 Use HERRNOP directly.
11652 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11656 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11658 * math/gen-auto-libm-tests.c (test_functions): Add more
11659 single-argument functions.
11660 (special_fill_pi_2): New function.
11661 (special_fill_minus_pi_2): Likewise.
11662 (special_fill_pi_6): Likewise.
11663 (special_fill_minus_pi_6): Likewise.
11664 (special_fill_pi_3): Likewise.
11665 (special_fill_2pi_3): Likewise.
11666 (special_fill_e): Likewise.
11667 (special_fill_1_e): Likewise.
11668 (special_fill_e_minus_1): Likewise.
11669 (special_real_inputs): Add more special inputs.
11670 (output_for_one_input_case): Do not require ERANGE on underflow to
11671 zero if round-to-nearest result does not underflow to zero, unless
11672 exact results required.
11673 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11674 atan, atanh, cbrt, cos and cosh.
11675 * math/auto-libm-test-out: Regenerated.
11676 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11677 (acos_tonearest_test_data): Likewise.
11678 (acos_towardzero_test_data): Likewise.
11679 (acos_downward_test_data): Likewise.
11680 (acos_upward_test_data): Likewise.
11681 (acosh_test_data): Likewise.
11682 (asin_test_data): Likewise.
11683 (asin_tonearest_test_data): Likewise.
11684 (asin_towardzero_test_data): Likewise.
11685 (asin_upward_test_data): Likewise.
11686 (asinh_test_data): Likewise.
11687 (atan_test_data): Likewise.
11688 (atanh_test_data): Likewise.
11689 (cbrt_test_data): Likewise.
11690 (cos_test_data): Likewise.
11691 (cos_tonearest_test_data): Likewise.
11692 (cos_towardzero_test_data): Likewise.
11693 (cos_downward_test_data): Likewise.
11694 (cos_upward_test_data): Likewise.
11695 (cosh_test_data): Likewise.
11696 (cosh_tonearest_test_data): Likewise.
11697 (cosh_towardzero_test_data): Likewise.
11698 (cosh_downward_test_data): Likewise.
11699 (cosh_upward_test_data): Likewise.
11700 * sysdeps/i386/fpu/libm-test-ulps: Update.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11706 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11707 * math/w_exp10f.c (__exp10f): Likewise.
11708 * math/w_exp10l.c (__exp10l): Likewise.
11709 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11710 errno settings in existing tests.
11713 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11714 precision control set to double precision.
11715 * sysdeps/i386/fpu/w_sqrt.c: New file.
11716 * math/auto-libm-test-in: Add more tests.
11717 * math/auto-libm-test-out: Update.
11719 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11720 (sqrt_test_tonearest): New function.
11721 (sqrt_towardzero_test_data): New variable.
11722 (sqrt_test_towardzero): New function.
11723 (sqrt_downward_test_data): New variable.
11724 (sqrt_test_downward): New function.
11725 (sqrt_upward_test_data): New variable.
11726 (sqrt_test_upward): New function.
11727 (main): Call the new functions.
11729 * math/gen-auto-libm-tests.c: New file.
11730 * math/auto-libm-test-in: Likewise.
11731 * math/auto-libm-test-out: New generated file.
11732 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11734 (%beautify): Add generated representations of zero.
11735 (top level): Set $auto_input and call parse_auto_input.
11736 (beautify): Remove trailing "f" from hex float constants.
11737 (parse_args): Handle XFAIL_TEST.
11738 (convert_condition): New function.
11739 (or_value): Likewise.
11740 (or_cond_value): Likewise.
11741 (generate_testfile): Handle AUTO_TESTS_* lines.
11742 (parse_auto_input): New function.
11743 * math/libm-test.inc (XFAIL_TEST): New macro.
11744 (ERRNO_UNCHANGED): Update value.
11745 (ERRNO_EDOM): Likewise.
11746 (ERRNO_ERANGE): Likewise.
11747 (IGNORE_RESULT): Likewise.
11748 (TEST_COND_flt_32): New macro.
11749 (TEST_COND_dbl_64): Likewise.
11750 (TEST_COND_ldbl_96_intel): Likewise.
11751 (TEST_COND_ldbl_96_m68k): Likewise.
11752 (TEST_COND_ldbl_128): Likewise.
11753 (TEST_COND_ldbl_128ibm): Likewise.
11754 (TEST_COND_long32): Likewise.
11755 (TEST_COND_long64): Likewise.
11756 (TEST_COND_before_rounding): Likewise.
11757 (TEST_COND_after_rounding): Likewise.
11758 (enable_test): Handle XFAIL_TEST flag.
11759 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11760 with finite results.
11761 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11762 auto-libm-test-out.
11764 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11768 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11769 __tls_get_addr_internal instead of __tls_get_offset in order to
11770 avoid GOT pointer dependency. Make rtld export
11771 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11772 __tls_get_addr since we are a __tls_get_offset platform.
11773 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11774 GOT pointer being set up before.
11775 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11777 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11779 * manual/math.texi (Errors in Math Functions): Document accuracy
11783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11784 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11800 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11801 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11802 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11803 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11804 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11806 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11808 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11810 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11811 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11812 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11813 atomic-feupdateenv and flt-rounds.
11814 * sysdeps/powerpc/nofpu/Versions (libc): Add
11815 __atomic_feholdexcept, __atomic_feclearexcept,
11816 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11818 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11819 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11820 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11825 * manual/arith.texi (FP Exceptions): Document that exceptions may
11826 not be raised when matherr is used.
11827 (Math Error Reporting): Document overflow in directed rounding
11828 modes. Document that errno may not be set when finite values are
11829 returned on overflow. Document intent to set errno on underflow
11830 only for underflow to zero.
11833 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11834 round-to-nearest then adjust result for other rounding modes.
11835 * include/fenv.h (fegetround): Use libm_hidden_proto.
11836 * math/fegetround.c (fegetround): Use libm_hidden_def.
11837 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11838 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11839 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11840 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11842 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11843 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11844 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11845 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11847 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11850 * nss/Versions (libnss_files): Add
11851 _nss_files_gethostbyname3_r.
11852 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11854 (HOST_DB_LOOKUP): Remove macro.
11855 (_nss_files_gethostbyname_r): Implement function without the
11856 HOST_DB_LOOKUP macro.
11857 (_nss_files_gethostbyname2_r): Likewise.
11859 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11861 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11863 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11865 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11866 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11869 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11871 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11872 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11873 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11874 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11875 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11876 __fe_nomask_env_priv and attribute_hidden.
11877 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11878 (libc_feupdateenv_test_ppc): Likewise.
11879 (libc_feresetround_ppc): Likewise.
11880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11881 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11882 compat_symbol macro.
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11884 (__fe_nomask_env): Likewise.
11885 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11887 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11889 * string/Makefile: Remove ifunc tests.
11890 * string/test-string.h: Define TEST_IFUNC.
11891 * string/test-bcopy-ifunc.c: Remove.
11892 * string/test-bzero-ifunc.c: Likewise.
11893 * string/test-memccpy-ifunc.c: Likewise.
11894 * string/test-memchr-ifunc.c: Likewise.
11895 * string/test-memcmp-ifunc.c: Likewise.
11896 * string/test-memcpy-ifunc.c: Likewise.
11897 * string/test-memmem-ifunc.c: Likewise.
11898 * string/test-memmove-ifunc.c: Likewise.
11899 * string/test-mempcpy-ifunc.c: Likewise.
11900 * string/test-memrchr-ifunc.c: Likewise.
11901 * string/test-memset-ifunc.c: Likewise.
11902 * string/test-rawmemchr-ifunc.c: Likewise.
11903 * string/test-stpcpy-ifunc.c: Likewise.
11904 * string/test-stpncpy-ifunc.c: Likewise.
11905 * string/test-strcasecmp-ifunc.c: Likewise.
11906 * string/test-strcasestr-ifunc.c: Likewise.
11907 * string/test-strcat-ifunc.c: Likewise.
11908 * string/test-strchr-ifunc.c: Likewise.
11909 * string/test-strchrnul-ifunc.c: Likewise.
11910 * string/test-strcmp-ifunc.c: Likewise.
11911 * string/test-strcpy-ifunc.c: Likewise.
11912 * string/test-strcspn-ifunc.c: Likewise.
11913 * string/test-strlen-ifunc.c: Likewise.
11914 * string/test-strncasecmp-ifunc.c: Likewise.
11915 * string/test-strncat-ifunc.c: Likewise.
11916 * string/test-strncmp-ifunc.c: Likewise.
11917 * string/test-strncpy-ifunc.c: Likewise.
11918 * string/test-strnlen-ifunc.c: Likewise.
11919 * string/test-strpbrk-ifunc.c: Likewise.
11920 * string/test-strrchr-ifunc.c: Likewise.
11921 * string/test-strspn-ifunc.c: Likewise.
11922 * string/test-strstr-ifunc.c: Likewise.
11924 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11926 * benchtests/Makefile: Remove ifunc tests.
11927 * benchtests/bench-string.h: Define TEST_IFUNC.
11928 * benchtests/bench-bcopy-ifunc.c: Remove.
11929 * benchtests/bench-bzero-ifunc.c: Likewise.
11930 * benchtests/bench-memccpy-ifunc.c: Likewise.
11931 * benchtests/bench-memchr-ifunc.c: Likewise.
11932 * benchtests/bench-memcmp-ifunc.c: Likewise.
11933 * benchtests/bench-memcpy-ifunc.c: Likewise.
11934 * benchtests/bench-memmem-ifunc.c: Likewise.
11935 * benchtests/bench-memmove-ifunc.c: Likewise.
11936 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11937 * benchtests/bench-memrchr-ifunc.c: Likewise.
11938 * benchtests/bench-memset-ifunc.c: Likewise.
11939 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11940 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11941 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11942 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11943 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11944 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11945 * benchtests/bench-strcat-ifunc.c: Likewise.
11946 * benchtests/bench-strchr-ifunc.c: Likewise.
11947 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11948 * benchtests/bench-strcmp-ifunc.c: Likewise.
11949 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11950 * benchtests/bench-strcpy-ifunc.c: Likewise.
11951 * benchtests/bench-strcspn-ifunc.c: Likewise.
11952 * benchtests/bench-strlen-ifunc.c: Likewise.
11953 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11954 * benchtests/bench-strncat-ifunc.c: Likewise.
11955 * benchtests/bench-strncmp-ifunc.c: Likewise.
11956 * benchtests/bench-strncpy-ifunc.c: Likewise.
11957 * benchtests/bench-strnlen-ifunc.c: Likewise.
11958 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11959 * benchtests/bench-strrchr-ifunc.c: Likewise.
11960 * benchtests/bench-strsep-ifunc.c: Likewise.
11961 * benchtests/bench-strspn-ifunc.c: Likewise.
11962 * benchtests/bench-strstr-ifunc.c: Likewise.
11964 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11966 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11968 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11970 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11971 * rt/aio.h: Likewise.
11972 * sysdeps/gnu/bits/utmp.h: Likewise.
11973 * sysdeps/gnu/bits/utmpx.h: Likewise.
11974 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11975 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11976 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11977 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11978 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11979 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11980 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11981 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11982 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11985 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11988 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11989 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11990 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11992 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11993 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11994 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11995 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11996 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11997 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11998 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12000 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12001 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12002 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12003 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12004 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12006 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12007 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12008 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12009 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12010 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12011 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12012 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12013 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12014 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12015 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12017 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12020 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12021 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12023 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12025 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12026 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12029 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12031 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12032 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12033 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12034 (__fesetround): Remove define.
12035 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12036 rounding and exceptions handling.
12037 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12038 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12039 (__fe_nomask_env): Likewise.
12040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12041 __fegetround instead of fegetround.
12042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12043 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12045 2013-11-21 Roland McGrath <roland@hack.frob.com>
12047 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12050 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12052 2013-11-21 Meador Inge <meadori@codesourcery.com>
12055 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12056 (encrypt_r): Likewise.
12057 * malloc/obstack.h (obstack_free): Likewise.
12058 * posix/unistd.h (encrypt): Likewise.
12060 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12062 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12063 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12064 DL_CALL_DT_FINI() that call the functions directly.
12065 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12066 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12067 * elf/dl-fini.c: Likewise.
12069 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12071 * malloc/hooks.c (memalign_check): Add alignment rounding.
12072 * malloc/malloc.c (_mid_memalign): New function.
12073 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12074 Implement by calling _mid_memalign.
12075 * manual/probes.texi (Memory Allocation Probes): Remove
12076 memory_valloc_retry and memory_pvalloc_retry.
12078 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12080 * locale/programs/locarchive.c (open_archive): Add const
12081 qualifier to ARCHIVEFNAME and copy default fname to
12085 * libio/tst-widetext.input: Rename Oriya to Odia.
12086 * locale/iso-639.def: Likewise.
12088 * manual/probes.texi (Mathematical Function Probes): Add
12089 documentation for sin, cos, asin and acos probes.
12090 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12091 (__sin32): Add slowasin probe.
12092 (__cos32): Add slowacos probe.
12093 (__mpsin): Add slowsin probe.
12094 (__mpcos): Add slowcos probe.
12096 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12099 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12100 thread-local __sim_exceptions_thread and global
12101 __sim_exceptions_global.
12102 (__sim_disabled_exceptions): Change to thread-local
12103 __sim_disabled_exceptions_thread and global
12104 __sim_disabled_exceptions_global.
12105 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12106 and global __sim_round_mode_global.
12107 (__simulate_exceptions): Use thread-local floating-point state and
12108 set global state from it as needed.
12109 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12110 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12111 __sim_round_mode_thread.
12112 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12113 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12114 and global __sim_exceptions_global.
12115 (__sim_disabled_exceptions): Change to thread-local
12116 __sim_disabled_exceptions_thread and global
12117 __sim_disabled_exceptions_global.
12118 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12119 and global __sim_round_mode_global.
12120 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12121 (SIM_SET_GLOBAL): Likewise.
12122 * sysdeps/powerpc/soft-fp/sfp-machine.h
12123 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12124 __sim_round_mode_thread.
12125 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12126 __sim_disabled_exceptions_thread.
12127 (__sim_exceptions): Change to __sim_exceptions_thread.
12128 (__sim_disabled_exceptions): Change to
12129 __sim_disabled_exceptions_thread.
12130 (__sim_round_mode): Change to __sim_round_mode_thread.
12131 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12132 thread-local floating-point state and set global state from it as
12134 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12135 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12136 (__sim_disabled_exceptions): Remove extern declaration.
12137 (feenableexcept): Use thread-local floating-point state and set
12138 global state from it as needed.
12139 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12140 extern declaration.
12141 (__sim_disabled_exceptions): Likewise.
12142 (__sim_round_mode): Likewise.
12143 (__fegetenv): Use thread-local floating-point state.
12144 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12145 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12146 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12147 floating-point state and set global state from it as needed.
12148 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12149 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12150 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12152 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12153 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12155 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12156 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12157 Use __sim_round_mode_thread.
12158 * math/test-fenv-tls.c: New file.
12159 * math/Makefile (tests): Add test-fenv-tls.
12160 ($(objpfx)test-fenv-tls): Depend on
12161 $(common-objpfx)nptl/libpthread.so.
12163 2013-11-19 Andreas Schwab <schwab@suse.de>
12165 * locale/programs/locale.c (show_info): Decode wordarray elements.
12166 * locale/categories.def (LC_MONETARY): Add element for
12167 _NL_MONETARY_CRNCYSTR.
12168 * locale/C-monetary.c (conversion_rate): New variable.
12169 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12172 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12174 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12175 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12177 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12179 * elf/Makefile (tst-auxv): New test.
12180 * elf/tst-auxv.c: New
12181 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12183 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12185 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12186 (hidden_proto): Caller changed.
12187 (hidden_tls_proto): New macro.
12188 (libc_hidden_tls_proto): Likewise.
12189 (rtld_hidden_tls_proto): Likewise.
12190 (libm_hidden_tls_proto): Likewise.
12191 (libresolv_hidden_tls_proto): Likewise.
12192 (librt_hidden_tls_proto): Likewise.
12193 (libdl_hidden_tls_proto): Likewise.
12194 (libnss_files_hidden_tls_proto): Likewise.
12195 (libnsl_hidden_tls_proto): Likewise.
12196 (libnss_nisplus_hidden_tls_proto): Likewise.
12197 (libutil_hidden_tls_proto): Likewise.
12199 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12202 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12203 (decompose_rpath): Defer expansion to fillin_rpath.
12204 (_dl_init_paths): Pass linkmap to fillin_rpath.
12206 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12208 * benchtests/Makefile: Add strsep.
12209 * benchtests/bench-strsep.c: New file: strsep benchtest.
12210 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12212 2013-11-18 Andreas Schwab <schwab@suse.de>
12214 * locale/programs/locale.c (show_info) [case byte]: Check for
12215 '\377' instead of '\177'.
12216 * locale/C-monetary.c (not_available): Always use "\377".
12217 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12218 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12219 detect unavailable sign_posn locale elements.
12220 * locale/localeconv.c (__localeconv): For grouping and
12221 mon_grouping handle "\177" and "\377" like no grouping.
12222 (INT_ELEM): New macro. Use it to set all numeric members.
12223 * locale/programs/ld-monetary.c (monetary_read)
12224 <tok_mon_grouping>: Normalize single -1 to the empty string.
12225 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12228 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12231 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12232 when we match (nil).
12233 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12235 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12237 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12238 (NO_TEST_INLINE): Update value.
12239 (ERRNO_UNCHANGED): Likewise.
12240 (ERRNO_EDOM): Likewise.
12241 (ERRNO_ERANGE): Likewise.
12242 (IGNORE_RESULT): Likewise.
12243 (check_float_internal): Check signs of NaN results if
12244 TEST_NAN_SIGN used.
12245 (check_complex): Pass TEST_NAN_SIGN flag through to second
12246 check_float_internal call.
12247 (copysign_test_data): Add tests with quiet NaNs as second
12248 argument. Use TEST_NAN_SIGN.
12249 (fabs_test_data): Add test of negative quiet NaN argument. Use
12251 (signbit_test_data): Add tests of quiet NaN argument.
12252 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12254 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12256 (parse_args): Handle function results specified as IGNORE.
12257 * math/libm-test.inc (IGNORE_RESULT): New macro.
12258 (check_float_internal): Do not check numerical result if flag
12260 (check_complex): Pass through IGNORE_RESULT to second
12261 check_float_internal call.
12262 (check_int): Do not check numerical result if flag IGNORE_RESULT
12264 (check_long): Likewise.
12265 (check_bool): Likewise.
12266 (check_longlong): Likewise.
12267 (lrint_test_data): Add tests of infinite and NaN arguments.
12268 (lrint_tonearest_test_data): Likewise.
12269 (lrint_towardzero_test_data): Likewise.
12270 (lrint_downward_test_data): Likewise.
12271 (lrint_upward_test_data): Likewise.
12272 (llrint_test_data): Likewise.
12273 (llrint_tonearest_test_data): Likewise.
12274 (llrint_towardzero_test_data): Likewise.
12275 (llrint_downward_test_data): Likewise.
12276 (llrint_upward_test_data): Likewise.
12277 (lround_test_data): Likewise.
12278 (llround_test_data): Likewise.
12280 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12281 (ERRNO_UNCHANGED): Update value.
12282 (ERRNO_EDOM): Likewise.
12283 (ERRNO_ERANGE): Likewise.
12284 (NO_TEST_INLINE_FLOAT): New macro.
12285 (NO_TEST_INLINE_DOUBLE): Likewise.
12286 (enable_test): New function.
12287 (RUN_TEST_f_f): Check enable_test before running test.
12288 (RUN_TEST_2_f): Likewise.
12289 (RUN_TEST_fff_f): Likewise.
12290 (RUN_TEST_c_f): Likewise.
12291 (RUN_TEST_f_f1): Likewise.
12292 (RUN_TEST_fF_f1): Likewise.
12293 (RUN_TEST_fI_f1): Likewise.
12294 (RUN_TEST_ffI_f1): Likewise.
12295 (RUN_TEST_c_c): Likewise.
12296 (RUN_TEST_cc_c): Likewise.
12297 (RUN_TEST_f_i): Likewise.
12298 (RUN_TEST_f_i_tg): Likewise.
12299 (RUN_TEST_ff_i_tg): Likewise.
12300 (RUN_TEST_f_b): Likewise.
12301 (RUN_TEST_f_b_tg): Likewise.
12302 (RUN_TEST_f_l): Likewise.
12303 (RUN_TEST_f_L): Likewise.
12304 (RUN_TEST_fFF_11): Likewise.
12305 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12307 (cosh_test_data): Likewise.
12308 (exp_test_data): Likewise.
12309 (expm1_test_data): Likewise.
12310 (hypot_test_data): Likewise.
12311 (pow_test_data): Likewise.
12312 (sinh_test_data): Likewise.
12313 (tanh_test_data): Likewise.
12314 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12317 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12318 tests with quiet NaN input and output.
12319 (acosh_test_data): Likewise.
12320 (asin_test_data): Likewise.
12321 (asinh_test_data): Likewise.
12322 (atan_test_data): Likewise.
12323 (atanh_test_data): Likewise.
12324 (atan2_test_data): Likewise.
12325 (cbrt_test_data): Likewise.
12326 (cos_test_data): Likewise.
12327 (cosh_test_data): Likewise.
12328 (erf_test_data): Likewise.
12329 (erfc_test_data): Likewise.
12330 (exp_test_data): Likewise.
12331 (exp10_test_data): Likewise.
12332 (exp2_test_data): Likewise.
12333 (expm1_test_data): Likewise.
12334 (hypot_test_data): Likewise.
12335 (j0_test_data): Likewise.
12336 (j1_test_data): Likewise.
12337 (jn_test_data): Likewise.
12338 (lgamma_test_data): Likewise.
12339 (log_test_data): Likewise.
12340 (log10_test_data): Likewise.
12341 (log1p_test_data): Likewise.
12342 (log2_test_data): Likewise.
12343 (pow_test_data): Likewise.
12344 (scalb_test_data): Likewise.
12345 (sin_test_data): Likewise.
12346 (sincos_test_data): Likewise.
12347 (sinh_test_data): Likewise.
12348 (tan_test_data): Likewise.
12349 (tanh_test_data): Likewise.
12350 (tgamma_test_data): Likewise.
12351 (y0_test_data): Likewise.
12352 (y1_test_data): Likewise.
12353 (yn_test_data): Likewise.
12356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12357 argument being NaN and avoid computations with second argument in
12359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12361 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12363 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12365 * locale/iso-639.def: Add Chitwani Tharu (the).
12367 2013-11-14 Andreas Schwab <schwab@suse.de>
12369 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12370 word instead of empty string.
12372 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12375 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12377 (__fe_nomask_env): Likewise.
12379 2013-11-13 Steve Ellcey <sellcey@mips.com>
12381 * benchtests/bench-timing.h: Include time.h.
12383 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12386 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12388 * sysdeps/unix/sysv/linux/configure: Regenerated.
12390 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12393 * stdlib/strtod_l.c (round_and_return): Do not consider
12394 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12395 exponent one less than half the least subnormal exponent.
12396 * stdlib/test-strtod-round-data: Add more tests.
12397 * stdlib/tst-strtod-round.c (tests): Regenerated.
12399 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12402 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12403 (__fe_mask_env): Likewise.
12404 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12405 libm_hidden_proto and add function prototype.
12406 (__fe_mask_env): Add function prototype.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12408 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12410 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12412 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12414 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12416 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12417 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12419 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12421 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12422 of htab_find_slot().
12424 2013-11-11 David S. Miller <davem@davemloft.net>
12427 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12428 symbol in the non-vis3 case in static builds.
12429 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12430 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12431 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12432 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12434 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12437 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12440 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12442 * benchtests/Makefile: Add bench-strtod.
12443 * benchtests/bench-strtod.c: New file: strtod benchtest
12445 2013-11-11 Andreas Schwab <schwab@suse.de>
12448 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12449 terminating NUL in key length.
12451 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12454 Add artificial ODP entry for vDSO symbol for PPC64.
12455 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12456 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12458 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12461 * nss/getent.c (services_keys): Recognize services starting with digit.
12463 2013-11-06 David S. Miller <davem@davemloft.net>
12466 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12467 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12469 2013-11-06 Will Newton <will.newton@linaro.org>
12471 * manual/memory.texi (Malloc Examples): Remove register
12472 keyword from examples.
12474 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12476 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12478 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12481 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12482 depending on [__GCC_IEC_559 > 0].
12483 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12484 depending on [__GCC_IEC_559_COMPLEX > 0].
12486 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12488 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12491 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12493 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12495 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12498 * malloc/malloc (malloc_info): Do not handle first bin as
12501 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12503 * locale/iso-639.def: Add Central Nahuatl (nhn).
12505 2013-11-01 Bruno Haible <bruno@clisp.org>
12508 * manual/math.texi (BSD Random): Specify range upper bound as
12511 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12513 * locale/iso-639.def: Add Meadow Mari (mhr).
12515 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12517 [BZ #14752], [BZ #15763]
12518 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12520 * rt/tst_shm.c: Add test for escaping directory.
12522 2013-10-31 Andreas Schwab <schwab@suse.de>
12525 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12526 followed by 'x' as part of digit sequence.
12527 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12529 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12532 * configure.ac: allow GNU Make 4.0 and greater.
12533 * configure: Regenerated.
12535 2013-10-30 Will Newton <will.newton@linaro.org>
12538 * malloc/hooks.c (memalign_check): Limit alignment to the
12539 maximum representable power of two.
12540 * malloc/malloc.c (__libc_memalign): Likewise.
12541 * malloc/tst-memalign.c (do_test): Add test for very
12542 large alignment values.
12543 * malloc/tst-posix_memalign.c (do_test): Likewise.
12545 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12548 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12549 (munmap_chunk): Likewise.
12550 (mremap_chunk): Likewise.
12552 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12555 * stdlib/div.c (div): Remove obsolete code.
12556 * stdlib/ldiv.c (ldiv): Likewise.
12557 * stdlib/lldiv.c (lldiv): Likewise.
12559 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12562 * nss/nss_files/files-XXX.c (get_contents_ret): New
12564 (get_contents): New function.
12565 (internal_getent): Use it. Expand size of LINEBUFLEN.
12567 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12569 * configure.in: Moved to ...
12570 * configure.ac: ... here. Change reference to configure.in
12572 * sysdeps/arm/preconfigure.ac: ... here.
12573 configure.in to configure.ac.
12574 * sysdeps/gnu/configure.in: Moved to ...
12575 * sysdeps/gnu/configure.ac: ... here.
12576 * sysdeps/i386/configure.in: Moved to ...
12577 * sysdeps/i386/configure.ac: ... here.
12578 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12579 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12580 * sysdeps/mach/configure.in: Moved to ...
12581 * sysdeps/mach/configure.ac: ... here.
12582 * sysdeps/mach/hurd/configure.in: Moved to ...
12583 * sysdeps/mach/hurd/configure.ac: ... here.
12584 * sysdeps/powerpc/configure.in: Moved to ...
12585 * sysdeps/powerpc/configure.ac: ... here.
12586 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12587 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12588 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12589 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12590 * sysdeps/s390/s390-32/configure.in: Moved to ...
12591 * sysdeps/s390/s390-32/configure.ac: ... here.
12592 * sysdeps/s390/s390-64/configure.in: Moved to ...
12593 * sysdeps/s390/s390-64/configure.ac: ... here.
12594 * sysdeps/sh/configure.in: Moved to ...
12595 * sysdeps/sh/configure.ac: ... here.
12596 * sysdeps/sparc/configure.in: Moved to ...
12597 * sysdeps/sparc/configure.ac: ... here.
12598 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12599 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12600 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12601 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12602 * sysdeps/x86_64/configure.in: Moved to ...
12603 * sysdeps/x86_64/configure.ac: ... here.
12604 * sysdeps/x86_64/preconfigure.in: Moved to ...
12605 * sysdeps/x86_64/preconfigure.ac: ... here.
12606 * aclocal.m4: Change reference to configure.in to configure.ac.
12607 * config.h.in: Likewise.
12608 * manual/install.texi: Likewise.
12609 * manual/maint.texi: Likewise.
12610 * Makefile: Likewise.
12611 * malloc/Makefile: Likewise.
12612 * nscd/Makefile: Likewise.
12613 * Makeconfig: Change reference to configure.in and
12614 preconfigure.in to configure.ac and preconfigure.ac
12616 * INSTALL: Regenerated.
12617 * configure: Likewise.
12618 * sysdeps/gnu/configure: Likewise.
12619 * sysdeps/i386/configure: Likewise.
12620 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12621 * sysdeps/mach/configure: Likewise.
12622 * sysdeps/mach/hurd/configure: Likewise.
12623 * sysdeps/powerpc/configure: Likewise.
12624 * sysdeps/powerpc/powerpc32/configure: Likewise.
12625 * sysdeps/powerpc/powerpc64/configure: Likewise.
12626 * sysdeps/s390/s390-32/configure: Likewise.
12627 * sysdeps/s390/s390-64/configure: Likewise.
12628 * sysdeps/sh/configure: Likewise.
12629 * sysdeps/sparc/configure: Likewise.
12630 * sysdeps/unix/sysv/linux/configure: Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12632 * sysdeps/x86_64/configure: Likewise.
12633 * sysdeps/x86_64/preconfigure: Likewise.
12635 2013-10-29 Andreas Schwab <schwab@suse.de>
12637 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12639 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12641 * benchtests/pow-inputs: Add new inputs.
12643 * benchtests/exp-inputs: Add new inputs.
12645 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12646 conditional check for return value.
12647 (__cos32): Likewise.
12649 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12651 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12652 to provide a boost for large inputs with word alignment.
12653 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12654 implementation based on optimized PPC64 strcpy.
12655 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12656 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12657 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12658 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12660 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12663 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12665 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12668 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12669 * time/tst-strptime.c (day_tests): Add testcase.
12671 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12674 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12676 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12679 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12680 MAP_FAILED on error.
12682 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12685 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12686 heap for large requests.
12688 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12691 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12692 result if the result has no associated interface.
12693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12694 interface for all 127.X.Y.Z addresses.
12696 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12698 * locale/iso-639.def: Add Ligurian (lij)
12700 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12703 * sunrpc/rpc_main.c: Document rpcgen -5.
12705 2013-10-19 Michael Stahl <mstahl@redhat.com>
12707 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12709 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12712 * posix/glob.c: Match only directories when trailing slash is present.
12713 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12714 (main): Add testcase.
12716 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12719 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12721 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12723 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12724 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12725 AUTH_DES and cindex for FIPS 140-2.
12726 (DES Encryption): Add cindex FIPS 46-3.
12728 * locale/locarchive.h (struct locarhandle): Add fname.
12729 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12730 if an optional argument was specified to --list-archive,
12732 * locale/programs/locarchive.c (show_archive_content): Take new
12733 argument fname and pass it via ah.fname to open_archive.
12734 * locale/programs/localedef.h: Update decl.
12735 (open_archive): If AH->fname is non-null, open that file
12736 rather than the default file name, and don't ignore ENOENT.
12737 (create_archive): Set AH.fname to NULL.
12738 (delete_locales_from_archive): Likewise.
12739 (add_locales_to_archive): Likewise.
12740 * locale/programs/locfile.c (write_all_categories): Likewise.
12742 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12743 Aldy Hernandez <aldyh@redhat.com>
12745 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12746 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12747 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12748 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12749 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12750 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12752 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12753 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12754 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12755 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12756 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12757 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12758 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12759 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12761 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12763 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12765 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12767 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12768 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12770 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12771 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12772 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12773 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12775 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12776 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12777 * sysdeps/powerpc/preconfigure: Likewise.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12780 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12781 Replace contents of file by #include of <fenv_libc.h>.
12782 * sysdeps/powerpc/soft-fp/sfp-machine.h
12783 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12785 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12790 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12792 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12798 Allow copysignl PLT reference to be missing.
12800 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12801 Joseph Myers <joseph@codesourcery.com
12804 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12806 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12808 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12810 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12811 * elf/tst-tls1.c: Likewise.
12812 * elf/tst-tls10.h: Likewise.
12813 * elf/tst-tls14.c: Likewise.
12814 * elf/tst-tls2.c: Likewise.
12815 * elf/tst-tls3.c: Likewise.
12816 * elf/tst-tls4.c: Likewise.
12817 * elf/tst-tls5.c: Likewise.
12818 * elf/tst-tls6.c: Likewise.
12819 * elf/tst-tls7.c: Likewise.
12820 * elf/tst-tls8.c: Likewise.
12821 * elf/tst-tls9.c: Likewise.
12822 * elf/tst-tlsmod1.c: Likewise.
12823 * elf/tst-tlsmod13.c: Likewise.
12824 * elf/tst-tlsmod13a.c: Likewise.
12825 * elf/tst-tlsmod14a.c: Likewise.
12826 * elf/tst-tlsmod16a.c: Likewise.
12827 * elf/tst-tlsmod16b.c: Likewise.
12828 * elf/tst-tlsmod2.c: Likewise.
12829 * elf/tst-tlsmod3.c: Likewise.
12830 * elf/tst-tlsmod4.c: Likewise.
12831 * elf/tst-tlsmod5.c: Likewise.
12832 * elf/tst-tlsmod6.c: Likewise.
12834 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12837 * malloc/malloc.c: remove checks for statistics.
12839 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12842 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12843 * inet/tst-network.c: Add testcase.
12845 2013-10-17 Andreas Schwab <schwab@suse.de>
12848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12849 to determine canonical name.
12851 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12853 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12854 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12877 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12912 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12915 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12916 make result into a quiet NaN.
12918 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12920 * soft-fp/adddf3.c: Fix horizontal whitespace.
12921 * soft-fp/addsf3.c: Likewise.
12922 * soft-fp/addtf3.c: Likewise.
12923 * soft-fp/divdf3.c: Likewise.
12924 * soft-fp/divsf3.c: Likewise.
12925 * soft-fp/divtf3.c: Likewise.
12926 * soft-fp/double.h: Likewise.
12927 * soft-fp/eqdf2.c: Likewise.
12928 * soft-fp/eqsf2.c: Likewise.
12929 * soft-fp/eqtf2.c: Likewise.
12930 * soft-fp/extenddftf2.c: Likewise.
12931 * soft-fp/extended.h: Likewise.
12932 * soft-fp/extendsfdf2.c: Likewise.
12933 * soft-fp/extendsftf2.c: Likewise.
12934 * soft-fp/extendxftf2.c: Likewise.
12935 * soft-fp/fixdfdi.c: Likewise.
12936 * soft-fp/fixdfsi.c: Likewise.
12937 * soft-fp/fixdfti.c: Likewise.
12938 * soft-fp/fixsfdi.c: Likewise.
12939 * soft-fp/fixsfsi.c: Likewise.
12940 * soft-fp/fixsfti.c: Likewise.
12941 * soft-fp/fixtfdi.c: Likewise.
12942 * soft-fp/fixtfsi.c: Likewise.
12943 * soft-fp/fixtfti.c: Likewise.
12944 * soft-fp/fixunsdfdi.c: Likewise.
12945 * soft-fp/fixunsdfsi.c: Likewise.
12946 * soft-fp/fixunsdfti.c: Likewise.
12947 * soft-fp/fixunssfdi.c: Likewise.
12948 * soft-fp/fixunssfsi.c: Likewise.
12949 * soft-fp/fixunssfti.c: Likewise.
12950 * soft-fp/fixunstfdi.c: Likewise.
12951 * soft-fp/fixunstfsi.c: Likewise.
12952 * soft-fp/fixunstfti.c: Likewise.
12953 * soft-fp/floatdidf.c: Likewise.
12954 * soft-fp/floatdisf.c: Likewise.
12955 * soft-fp/floatditf.c: Likewise.
12956 * soft-fp/floatsidf.c: Likewise.
12957 * soft-fp/floatsisf.c: Likewise.
12958 * soft-fp/floatsitf.c: Likewise.
12959 * soft-fp/floattidf.c: Likewise.
12960 * soft-fp/floattisf.c: Likewise.
12961 * soft-fp/floattitf.c: Likewise.
12962 * soft-fp/floatundidf.c: Likewise.
12963 * soft-fp/floatundisf.c: Likewise.
12964 * soft-fp/floatunditf.c: Likewise.
12965 * soft-fp/floatunsidf.c: Likewise.
12966 * soft-fp/floatunsisf.c: Likewise.
12967 * soft-fp/floatunsitf.c: Likewise.
12968 * soft-fp/floatuntidf.c: Likewise.
12969 * soft-fp/floatuntisf.c: Likewise.
12970 * soft-fp/floatuntitf.c: Likewise.
12971 * soft-fp/fmadf4.c: Likewise.
12972 * soft-fp/fmasf4.c: Likewise.
12973 * soft-fp/fmatf4.c: Likewise.
12974 * soft-fp/gedf2.c: Likewise.
12975 * soft-fp/gesf2.c: Likewise.
12976 * soft-fp/getf2.c: Likewise.
12977 * soft-fp/ledf2.c: Likewise.
12978 * soft-fp/lesf2.c: Likewise.
12979 * soft-fp/letf2.c: Likewise.
12980 * soft-fp/muldf3.c: Likewise.
12981 * soft-fp/mulsf3.c: Likewise.
12982 * soft-fp/multf3.c: Likewise.
12983 * soft-fp/negdf2.c: Likewise.
12984 * soft-fp/negsf2.c: Likewise.
12985 * soft-fp/negtf2.c: Likewise.
12986 * soft-fp/op-1.h: Likewise.
12987 * soft-fp/op-2.h: Likewise.
12988 * soft-fp/op-4.h: Likewise.
12989 * soft-fp/op-8.h: Likewise.
12990 * soft-fp/op-common.h: Likewise.
12991 * soft-fp/quad.h: Likewise.
12992 * soft-fp/single.h: Likewise.
12993 * soft-fp/soft-fp.h: Likewise.
12994 * soft-fp/sqrtdf2.c: Likewise.
12995 * soft-fp/sqrtsf2.c: Likewise.
12996 * soft-fp/sqrttf2.c: Likewise.
12997 * soft-fp/subdf3.c: Likewise.
12998 * soft-fp/subsf3.c: Likewise.
12999 * soft-fp/subtf3.c: Likewise.
13000 * soft-fp/truncdfsf2.c: Likewise.
13001 * soft-fp/trunctfdf2.c: Likewise.
13002 * soft-fp/trunctfsf2.c: Likewise.
13003 * soft-fp/trunctfxf2.c: Likewise.
13004 * soft-fp/unorddf2.c: Likewise.
13005 * soft-fp/unordsf2.c: Likewise.
13006 * soft-fp/unordtf2.c: Likewise.
13008 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13010 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13011 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13013 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13015 * elf/dl-libc.c: Clear initfini list after freeing.
13017 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13019 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13020 * soft-fp/addsf3.c: Likewise.
13021 * soft-fp/addtf3.c: Likewise.
13022 * soft-fp/divdf3.c: Likewise.
13023 * soft-fp/divsf3.c: Likewise.
13024 * soft-fp/divtf3.c: Likewise.
13025 * soft-fp/double.h: Likewise.
13026 * soft-fp/eqdf2.c: Likewise.
13027 * soft-fp/eqsf2.c: Likewise.
13028 * soft-fp/eqtf2.c: Likewise.
13029 * soft-fp/extenddftf2.c: Likewise.
13030 * soft-fp/extended.h: Likewise.
13031 * soft-fp/extendsfdf2.c: Likewise.
13032 * soft-fp/extendsftf2.c: Likewise.
13033 * soft-fp/extendxftf2.c: Likewise.
13034 * soft-fp/fixdfdi.c: Likewise.
13035 * soft-fp/fixdfsi.c: Likewise.
13036 * soft-fp/fixdfti.c: Likewise.
13037 * soft-fp/fixsfdi.c: Likewise.
13038 * soft-fp/fixsfsi.c: Likewise.
13039 * soft-fp/fixsfti.c: Likewise.
13040 * soft-fp/fixtfdi.c: Likewise.
13041 * soft-fp/fixtfsi.c: Likewise.
13042 * soft-fp/fixtfti.c: Likewise.
13043 * soft-fp/fixunsdfdi.c: Likewise.
13044 * soft-fp/fixunsdfsi.c: Likewise.
13045 * soft-fp/fixunsdfti.c: Likewise.
13046 * soft-fp/fixunssfdi.c: Likewise.
13047 * soft-fp/fixunssfsi.c: Likewise.
13048 * soft-fp/fixunssfti.c: Likewise.
13049 * soft-fp/fixunstfdi.c: Likewise.
13050 * soft-fp/fixunstfsi.c: Likewise.
13051 * soft-fp/fixunstfti.c: Likewise.
13052 * soft-fp/floatdidf.c: Likewise.
13053 * soft-fp/floatdisf.c: Likewise.
13054 * soft-fp/floatditf.c: Likewise.
13055 * soft-fp/floatsidf.c: Likewise.
13056 * soft-fp/floatsisf.c: Likewise.
13057 * soft-fp/floatsitf.c: Likewise.
13058 * soft-fp/floattidf.c: Likewise.
13059 * soft-fp/floattisf.c: Likewise.
13060 * soft-fp/floattitf.c: Likewise.
13061 * soft-fp/floatundidf.c: Likewise.
13062 * soft-fp/floatundisf.c: Likewise.
13063 * soft-fp/floatunsidf.c: Likewise.
13064 * soft-fp/floatunsisf.c: Likewise.
13065 * soft-fp/floatuntidf.c: Likewise.
13066 * soft-fp/floatuntisf.c: Likewise.
13067 * soft-fp/floatuntitf.c: Likewise.
13068 * soft-fp/fmadf4.c: Likewise.
13069 * soft-fp/fmasf4.c: Likewise.
13070 * soft-fp/fmatf4.c: Likewise.
13071 * soft-fp/gedf2.c: Likewise.
13072 * soft-fp/gesf2.c: Likewise.
13073 * soft-fp/getf2.c: Likewise.
13074 * soft-fp/ledf2.c: Likewise.
13075 * soft-fp/lesf2.c: Likewise.
13076 * soft-fp/letf2.c: Likewise.
13077 * soft-fp/muldf3.c: Likewise.
13078 * soft-fp/mulsf3.c: Likewise.
13079 * soft-fp/multf3.c: Likewise.
13080 * soft-fp/negdf2.c: Likewise.
13081 * soft-fp/negsf2.c: Likewise.
13082 * soft-fp/negtf2.c: Likewise.
13083 * soft-fp/op-1.h: Likewise.
13084 * soft-fp/op-2.h: Likewise.
13085 * soft-fp/op-4.h: Likewise.
13086 * soft-fp/op-8.h: Likewise.
13087 * soft-fp/op-common.h: Likewise.
13088 * soft-fp/quad.h: Likewise.
13089 * soft-fp/single.h: Likewise.
13090 * soft-fp/soft-fp.h: Likewise.
13091 * soft-fp/sqrtdf2.c: Likewise.
13092 * soft-fp/sqrtsf2.c: Likewise.
13093 * soft-fp/sqrttf2.c: Likewise.
13094 * soft-fp/subdf3.c: Likewise.
13095 * soft-fp/subsf3.c: Likewise.
13096 * soft-fp/subtf3.c: Likewise.
13097 * soft-fp/truncdfsf2.c: Likewise.
13098 * soft-fp/trunctfdf2.c: Likewise.
13099 * soft-fp/trunctfsf2.c: Likewise.
13100 * soft-fp/trunctfxf2.c: Likewise.
13101 * soft-fp/unorddf2.c: Likewise.
13102 * soft-fp/unordsf2.c: Likewise.
13103 * soft-fp/unordtf2.c: Likewise.
13105 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13108 * misc/error.c (error_tail): Fix possible buffer overflow.
13110 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13113 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13116 2013-10-14 P. J. McDermott <pj@pehjota.net>
13119 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13120 testing pipefail option.
13122 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13124 * soft-fp/double.h: Indent preprocessor directives inside #if.
13125 * soft-fp/extended.h: Likewise.
13126 * soft-fp/op-2.h: Likewise.
13127 * soft-fp/op-4.h: Likewise.
13128 * soft-fp/op-common.h: Likewise.
13129 * soft-fp/quad.h: Likewise.
13130 * soft-fp/single.h: Likewise.
13131 * soft-fp/soft-fp.h: Likewise.
13133 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13135 * iconv/iconv_prog.c: Fix typos.
13136 * stdio-common/psiginfo-data.h: Likewise.
13138 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13141 * locale/setlocale.c: Fix typo.
13143 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13146 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13147 signaling NaN arguments.
13148 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13149 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13152 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13153 unordered operands.
13154 * soft-fp/gesf2.c (__gesf2): Likewise.
13155 * soft-fp/getf2.c (__getf2): Likewise.
13156 * soft-fp/ledf2.c (__ledf2): Likewise.
13157 * soft-fp/lesf2.c (__lesf2): Likewise.
13158 * soft-fp/letf2.c (__letf2): Likewise.
13160 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13161 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13162 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13163 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13164 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13165 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13166 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13167 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13168 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13169 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13170 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13171 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13172 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13173 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13174 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13175 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13176 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13177 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13178 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13179 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13180 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13181 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13182 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13183 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13184 * soft-fp/floattidf.c (__floattidf): Likewise.
13185 * soft-fp/floattisf.c (__floattisf): Likewise.
13186 * soft-fp/floattitf.c (__floattitf): Likewise.
13187 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13188 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13189 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13190 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13191 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13192 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13193 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13194 * soft-fp/gesf2.c (__gesf2): Likewise.
13195 * soft-fp/getf2.c (__getf2): Likewise.
13196 * soft-fp/ledf2.c (__ledf2): Likewise.
13197 * soft-fp/lesf2.c (__lesf2): Likewise.
13198 * soft-fp/letf2.c (__letf2): Likewise.
13200 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13201 Undefine and redefine.
13202 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13203 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13204 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13205 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13206 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13207 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13208 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13209 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13210 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13211 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13212 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13213 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13214 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13215 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13216 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13219 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13220 without decrementing exponent if mantissa >= that for the
13221 denominator, not >.
13222 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13223 denominator, not >. Decrement exponent in < case instead of
13224 incrementing in >= case.
13225 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13226 without decrementing exponent if mantissa >= that for the
13227 denominator, not >.
13229 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13230 computing saturated result for unsigned overflow.
13232 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13233 Jeff Law <law@redhat.com>
13235 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13236 (atan2Mp): Add systemtap probe marker.
13237 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13238 (__ieee754_log): Add systemtap probe marker.
13239 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13240 (atanMp): Add systemtap probe marker.
13241 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13242 (tanMp): Add systemtap probe marker.
13243 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13244 (__slowexp): Add systemtap probe marker.
13245 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13246 (__slowpow): Add systemtap probe marker.
13247 * manual/probes.texi: Document probes.
13249 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13252 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13254 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13256 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13257 written to buffer but not flushed.
13258 * libio/iofwrite_u.c: Likewise.
13259 * libio/iopadn.c: Return bytes returned even if EOF was
13261 * libio/iowpadn.c: Likewise.
13262 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13263 if _IO_padn does not write the whole buffer.
13264 [!COMPILE_WPRINTF] (PAD): Likewise.
13266 2013-10-10 David S. Miller <davem@davemloft.net>
13268 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13271 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13273 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13274 instead of FSF address.
13275 * soft-fp/fixdfti.c: Likewise.
13276 * soft-fp/fixsfti.c: Likewise.
13277 * soft-fp/fixtfti.c: Likewise.
13278 * soft-fp/fixunsdfti.c: Likewise.
13279 * soft-fp/fixunssfti.c: Likewise.
13280 * soft-fp/fixunstfti.c: Likewise.
13281 * soft-fp/floattidf.c: Likewise.
13282 * soft-fp/floattisf.c: Likewise.
13283 * soft-fp/floattitf.c: Likewise.
13284 * soft-fp/floatuntidf.c: Likewise.
13285 * soft-fp/floatuntisf.c: Likewise.
13286 * soft-fp/floatuntitf.c: Likewise.
13287 * soft-fp/trunctfxf2.c: Likewise.
13289 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13290 * soft-fp/fixdfti.c: Likewise.
13291 * soft-fp/fixsfti.c: Likewise.
13292 * soft-fp/fixtfti.c: Likewise.
13293 * soft-fp/fixunsdfti.c: Likewise.
13294 * soft-fp/fixunssfti.c: Likewise.
13295 * soft-fp/fixunstfti.c: Likewise.
13296 * soft-fp/floattidf.c: Likewise.
13297 * soft-fp/floattisf.c: Likewise.
13298 * soft-fp/floattitf.c: Likewise.
13299 * soft-fp/floatuntidf.c: Likewise.
13300 * soft-fp/floatuntisf.c: Likewise.
13301 * soft-fp/floatuntitf.c: Likewise.
13302 * soft-fp/trunctfxf2.c: Likewise.
13304 2013-10-10 David S. Miller <davem@davemloft.net>
13306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13308 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13310 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13311 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13312 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13313 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13314 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13315 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13316 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13319 for NaNs before doing comparisons on argument.
13320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13323 2013-10-10 Will Newton <will.newton@linaro.org>
13325 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13326 passed to _int_memalign does not overflow.
13328 2013-10-10 Torvald Riegel <triegel@redhat.com>
13330 * scripts/bench.pl: Add include-sources directive.
13331 * benchtests/README: Update documentation.
13333 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13335 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13336 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13337 instead of FP_INIT_ROUNDMODE.
13338 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13339 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13342 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13343 copy class of input value.
13344 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13345 not handle exceptions.
13346 * soft-fp/negsf2.c (__negsf2): Likewise.
13347 * soft-fp/negtf2.c (__negtf2): Likewise.
13348 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13350 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13352 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13353 semicolon. From Linux kernel.
13355 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13357 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13359 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13362 * manual/socket.texi: Added statement about buffer
13363 for gethostbyname2_r.
13365 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13367 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13368 Use .p2align directive instead, throughout.
13369 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13370 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13371 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13374 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13375 * sysdeps/x86_64/strchr.S: Likewise.
13376 * sysdeps/x86_64/strrchr.S: Likewise.
13378 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13380 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13382 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13384 * sysdeps/generic/math_private.h (__mpsin1): Remove
13386 (__mpcos1): Likewise.
13387 (__mpsin): New argument __range_reduce.
13388 (__mpcos): Likewise.
13389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13390 (slow): Use __mpsin and __mpcos.
13394 (sloww1): Likewise.
13395 (sloww2): Likewise.
13396 (bsloww): Likewise.
13397 (bsloww1): Likewise.
13398 (bsloww2): Likewise.
13399 (cslow2): Likewise.
13400 (csloww): Likewise.
13401 (csloww1): Likewise.
13402 (csloww2): Likewise.
13403 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13404 range_reduce. Merge in __mpsin1.
13405 (__mpcos): Likewise.
13406 (__mpsin1): Remove.
13407 (__mpcos1): Likewise.
13409 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13411 * locale/loadlocale.c (_nl_intern_locale_data): Use
13413 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13414 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13415 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13416 obstack data is appropriately aligned.
13417 (obstack_int32_grow_fast): Likewise.
13418 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13419 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13420 (add_locale_uint32_array): Likewise.
13422 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13424 * benchtests/Makefile: Remove ARGLIST and RET variables.
13425 ($(objpfx)bench-%.c): Pass only function name to the script.
13426 * benchtests/README: Update documentation.
13427 * benchtests/acos-inputs: Add new directives.
13428 * benchtests/acosh-inputs: Likewise.
13429 * benchtests/asin-inputs: Likewise.
13430 * benchtests/asinh-inputs: Likewise.
13431 * benchtests/atan-inputs: Likewise.
13432 * benchtests/atanh-inputs: Likewise.
13433 * benchtests/cos-inputs: Likewise.
13434 * benchtests/cosh-inputs: Likewise.
13435 * benchtests/exp-inputs: Likewise.
13436 * benchtests/log-inputs: Likewise.
13437 * benchtests/pow-inputs: Likewise.
13438 * benchtests/rint-inputs: Likewise.
13439 * benchtests/sin-inputs: Likewise.
13440 * benchtests/sinh-inputs: Likewise.
13441 * benchtests/tan-inputs: Likewise.
13442 * benchtests/tanh-inputs: Likewise.
13443 * scripts/bench.pl: Add support for new directives.
13445 2013-10-07 Alan Modra <amodra@gmail.com>
13447 * README: Fix careless merge.
13449 2013-10-05 Alan Modra <amodra@gmail.com>
13451 * NEWS: Mention powerpc64le support and bugs fixed.
13452 * README: Both big-endian and little-endian powerpc64 supported.
13454 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13456 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13457 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13458 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13459 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13461 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13463 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13466 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13468 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13469 Move -mhard-float appending from
13470 ports/sysdeps/powerpc/powerpc32/Makefile.
13471 [$(with-fp) = yes] (ASFLAGS): Likewise.
13472 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13473 * sysdeps/powerpc/nofpu: Move directory from
13474 ports/sysdeps/powerpc/nofpu.
13475 * sysdeps/powerpc/soft-fp: Move directory from
13476 ports/sysdeps/powerpc/soft-fp.
13477 * sysdeps/powerpc/powerpc32/405: Move directory from
13478 ports/sysdeps/powerpc/powerpc32/405.
13479 * sysdeps/powerpc/powerpc32/440: Move directory from
13480 ports/sysdeps/powerpc/powerpc32/440.
13481 * sysdeps/powerpc/powerpc32/464: Move directory from
13482 ports/sysdeps/powerpc/powerpc32/464.
13483 * sysdeps/powerpc/powerpc32/476: Move directory from
13484 ports/sysdeps/powerpc/powerpc32/476.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13486 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13488 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13490 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13492 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13494 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13495 * README: Update for powerpc-*-linux-gnu software floating point
13498 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13499 case to powerpc/powerpc32*.
13500 * sysdeps/unix/sysv/linux/configure: Regenerated.
13502 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13503 (_FPU_MASK_OM): Define as 0x04.
13504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13512 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13515 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13518 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13519 and setcontext_e500.
13521 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13523 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13525 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13527 * manual/threads.texi (Default Thread Attributes): Fix typo.
13529 2013-10-04 Will Newton <will.newton@linaro.org>
13531 * malloc/Makefile: Add tst-memalign.
13532 * malloc/tst-memalign.c: New file.
13534 * malloc/tst-posix_memalign.c: Add comments.
13535 (do_test): Add comments and call free on all potentially
13536 allocated pointers. Add space after cast.
13538 * malloc/tst-pvalloc.c: Add comments.
13539 (do_test): Add comments and call free on all potentially
13540 allocated pointers. Remove duplicate check for NULL pointer.
13541 Add space after cast.
13543 * malloc/tst-valloc.c: Add comments.
13544 (do_test): Add comments and call free on all potentially
13545 allocated pointers. Remove duplicate check for NULL pointer.
13546 Add space after cast.
13548 2013-10-04 Alan Modra <amodra@gmail.com>
13550 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13551 Use stdint types in rather than __attribute__((mode())).
13552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13554 2013-10-04 Alan Modra <amodra@gmail.com>
13556 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13557 Correct handling of unaligned relocs for little-endian.
13558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13560 2013-10-04 Alan Modra <amodra@gmail.com>
13562 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13563 * configure: Regenerate.
13564 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13565 * shlib-versions: Likewise.
13567 2013-10-04 Alan Modra <amodra@gmail.com>
13569 * string/tester.c (test_memrchr): Increment reported test cycle.
13571 2013-10-04 Alan Modra <amodra@gmail.com>
13573 * string/test-memcpy.c (do_one_test): When reporting errors, print
13574 string address and don't overrun end of string.
13576 2013-10-04 Alan Modra <amodra@gmail.com>
13578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13579 insrdi. Make better use of reg selection to speed exit slightly.
13580 Schedule entry path a little better. Remove useless "are we done"
13581 checks on entry to main loop. Handle wrapping around zero address.
13582 Correct main loop count. Handle single left-over word from main
13583 loop inline rather than by using loop_small. Remove extra word
13584 case in loop_small caused by wrong loop count. Add little-endian
13586 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13591 support. Avoid rlwimi.
13592 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13594 2013-10-04 Alan Modra <amodra@gmail.com>
13596 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13597 insrdi. Formatting.
13598 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13599 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13600 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13601 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13602 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13603 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13605 2013-10-04 Alan Modra <amodra@gmail.com>
13607 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13610 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13611 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13612 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13613 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13615 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13616 use of regs. Use power7 mtocrf. Tidy function tails.
13618 2013-10-04 Alan Modra <amodra@gmail.com>
13620 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13621 Formatting. Consistently use rXXX register defines or rN defines.
13622 Use early exit labels that avoid restoring unused non-volatile regs.
13623 Make cr field use more consistent with rWORDn compares. Rename
13624 regs used as shift registers for unaligned loop, using rN defines
13625 for short lifetime/multiple use regs.
13626 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13628 addi 1,1,64 to pop stack frame. Simplify return value code.
13629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13631 2013-10-04 Alan Modra <amodra@gmail.com>
13633 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13634 support. Correct typos, formatting. Optimize tail. Use insrdi
13635 rather than rlwimi.
13636 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13638 little-endian support. Correct typos.
13639 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13640 rather than rlwimi.
13641 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13642 in loop and entry code to keep "and." results.
13643 (strchr): Add little-endian support. Comment. Move cntlzd
13645 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13647 2013-10-04 Alan Modra <amodra@gmail.com>
13649 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13650 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13651 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13652 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13654 2013-10-04 Alan Modra <amodra@gmail.com>
13656 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13657 (rTMP): Define as r11.
13658 (strcmp): Add little-endian support. Optimise tail.
13659 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13660 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13661 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13662 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13663 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13667 2013-10-04 Alan Modra <amodra@gmail.com>
13669 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13670 little-endian support. Remove unnecessary "are we done" tests.
13671 Handle "s" wrapping around zero and extremely large "size".
13672 Correct main loop count. Handle single left-over word from main
13673 loop inline rather than by using small_loop. Correct comments.
13674 Delete "zero" tail, use "end_max" instead.
13675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13677 2013-10-04 Alan Modra <amodra@gmail.com>
13679 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13680 support. Don't branch over align.
13681 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13682 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13683 support. Rearrange tmp reg use to suit. Comment.
13684 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13686 2013-10-04 Alan Modra <amodra@gmail.com>
13688 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13690 2013-10-04 Alan Modra <amodra@gmail.com>
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13693 conditional form of branch and link when obtaining pc.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13696 2013-10-04 Alan Modra <amodra@gmail.com>
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13703 2013-10-04 Alan Modra <amodra@gmail.com>
13705 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13706 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13707 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13708 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13709 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13710 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13711 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13713 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13714 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13716 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13717 Alistair Popple <alistair@ozlabs.au.ibm.com>
13718 Alan Modra <amodra@gmail.com>
13721 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13722 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13723 _dl_hwcap access for little-endian.
13724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13725 destroy vmx regs when saving unaligned.
13726 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13727 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13728 destroy vmx regs when saving unaligned.
13730 2013-10-04 Alan Modra <amodra@gmail.com>
13732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13733 Don't use a union to pack hi/low value.
13735 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13737 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13739 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13741 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13742 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13743 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13745 2013-10-04 Alan Modra <amodra@gmail.com>
13747 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13748 constants to usual value for .cst8 section, and remove redundant
13750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13751 constant for 0x1p52. Load little-endian words of double from
13752 correct stack offsets.
13754 2013-10-04 Alan Modra <amodra@gmail.com>
13756 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13757 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13758 words of double from correct stack offsets.
13759 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13760 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13761 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13763 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13766 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13767 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13771 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13772 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13773 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13774 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13775 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13777 2013-10-04 Alan Modra <amodra@gmail.com>
13779 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13780 64-bit int/double union.
13781 (_FPU_SETCW): Likewise.
13782 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13783 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13785 2013-10-04 Alan Modra <amodra@gmail.com>
13787 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13788 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13790 2013-10-04 Alan Modra <amodra@gmail.com>
13792 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13793 use vector int constants.
13794 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13796 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13798 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13799 array with long long.
13800 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13801 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13802 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13803 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13804 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13805 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13806 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13807 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13808 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13809 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13810 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13811 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13812 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13814 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13816 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13817 (__signbit): Likewise. Correct for little-endian.
13818 (__signbitl): Call __signbit.
13819 (lrint): Correct for little-endian.
13820 (lrintf): Call lrint.
13822 2013-10-04 Alan Modra <amodra@gmail.com>
13824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13825 union 32-bit int array member with 64-bit int array.
13826 (t515, tm256): Double rather than long double.
13827 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13829 2013-10-04 Alan Modra <amodra@gmail.com>
13831 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13833 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13835 version of math_ldbl.h.
13837 2013-10-04 Alan Modra <amodra@gmail.com>
13839 [BZ #15734], [BZ #15735]
13840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13841 all uses of ieee875 long double macros and unions. Simplify test
13842 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13843 ldbl_extract_mantissa value for ix,iy exponents. Properly
13844 normalize after ldbl_extract_mantissa, and don't add hidden bit
13845 already handled. Don't treat low word of ieee854 mantissa like
13846 low word of IBM long double and mask off bit when testing for
13848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13849 all uses of ieee875 long double macros and unions. Simplify tests
13850 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13851 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13852 two1022, instead use their values. Recognise that tests for large
13853 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13855 Rewrite all uses of ieee875 long double macros and unions. Simplify
13856 test for 0.0L and nan. Correct negation.
13857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13858 ieee875 long double macros and unions. Correct output for large
13859 magnitude x. Correct absolute value calculation.
13860 (__erfcl): Likewise.
13861 * math/libm-test.inc: Add tests for errors discovered in IBM long
13862 double versions of fmodl, remainderl, erfl and erfcl.
13864 2013-10-04 Alan Modra <amodra@gmail.com>
13866 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13867 all uses of ieee854 long double macros and unions. Simplify tests
13868 for long doubles that are fully specified by the high double.
13869 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13871 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13872 Remove dead code too.
13873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13874 (__ieee754_ynl): Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13878 Remove dead code too.
13879 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13881 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13882 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13889 Comment on variable precision.
13890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13893 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13897 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13899 2013-10-04 Alan Modra <amodra@gmail.com>
13901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13903 all uses of ieee854 long double macros and unions.
13904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13913 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13917 Simplify sign and nan test too.
13918 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13923 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13933 2013-10-04 Alan Modra <amodra@gmail.com>
13935 * stdio-common/printf_size.c (__printf_size): Don't use
13936 union ieee854_long_double in fpnum union.
13937 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13938 signbit macro to retrieve sign from long double.
13939 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13940 retrieve sign from long double.
13941 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13942 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13944 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13945 * math/test-misc.c (main): Don't use union ieee854_long_double.
13947 2013-10-04 Alan Modra <amodra@gmail.com>
13950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13951 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13952 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13953 calculation. Remove unnecessary test for denormal exponent.
13954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13955 Correct handling of denormals. Avoid undefined shift behaviour.
13956 Correct normalisation of low mantissa when low double is denormal.
13957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13958 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13959 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13960 Correct normalisation of low mantissa. Test for overflow of high
13961 mantissa and normalise.
13962 (ldbl_nearbyint): Use more readable constant for two52.
13963 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13964 (__mpn_construct_long_double): Fix test for overflow of high
13965 mantissa and correct normalisation. Avoid undefined shift.
13967 2013-10-04 Alan Modra <amodra@gmail.com>
13969 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13970 (union ibm_extended_long_double): Define as an array of ieee754_double.
13971 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13972 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13973 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13974 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13981 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13983 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13985 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13986 page size instead of calling getpagesize.
13988 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13989 (LOCFILE_ALIGN_MASK): Likewise.
13990 (LOCFILE_ALIGN_UP): Likewise.
13991 (LOCFILE_ALIGNED_P): Likewise.
13992 * locale/programs/ld-collate.c (collate_output): Use the new
13993 macros instead of __alignof__ (int32_t).
13994 * locale/weight.h (findidx): Likewise.
13996 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13999 * manual/string.texi: Fix strncat and wcsncat.
14001 2013-10-03 Brooks Moses <bmoses@google.com>
14004 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14005 * Makerules: ...here, and adjust associated comments.
14007 2013-10-02 Will Newton <will.newton@linaro.org>
14009 * malloc/Makefile: Add tst-pvalloc.
14010 * malloc/tst-pvalloc.c: New file.
14012 2013-10-02 Will Newton <will.newton@linaro.org>
14014 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14015 improve test coverage.
14017 2013-10-02 Will Newton <will.newton@linaro.org>
14019 * malloc/Makefile: Add tst-posix_memalign.
14020 * malloc/tst-posix_memalign.c: New file.
14022 2013-10-01 Eric Blake <eblake@redhat.com>
14024 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14025 Use __THROWNL rather than __THROW on static functions.
14027 2013-09-30 Petr Machata <pmachata@redhat.com>
14029 * elf/elf.h (R_AARCH64_ABS16): New macro.
14030 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14031 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14032 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14033 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14034 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14035 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14036 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14037 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14038 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14039 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14040 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14041 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14042 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14043 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14044 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14045 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14046 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14047 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14048 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14049 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14050 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14051 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14052 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14053 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14054 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14055 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14056 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14057 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14058 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14059 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14060 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14061 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14062 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14063 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14064 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14065 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14066 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14067 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14068 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14069 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14070 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14071 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14072 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14073 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14074 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14075 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14076 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14077 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14078 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14079 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14080 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14081 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14082 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14083 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14084 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14085 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14086 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14087 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14088 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14089 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14090 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14091 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14092 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14093 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14094 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14095 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14096 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14097 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14098 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14099 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14100 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14101 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14102 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14103 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14104 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14105 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14106 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14107 (R_AARCH64_TLSDESC_LDR): Likewise.
14108 (R_AARCH64_TLSDESC_ADD): Likewise.
14109 (R_AARCH64_TLSDESC_CALL): Likewise.
14111 2013-09-30 Andreas Schwab <schwab@suse.de>
14114 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14115 the nss database lookup.
14116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14119 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14121 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14123 2013-09-28 P. J. McDermott <pj@pehjota.net>
14125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14126 ${Bash-specific parameter/pattern/string} parameter expansion.
14127 * sysdeps/unix/make-syscalls.sh: Likewise.
14129 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14131 * sysdeps/sh/stackguard-macros.h: New file.
14133 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14137 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14139 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14140 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14142 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14144 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14145 Fix thread ID register.
14147 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14149 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14150 [POSIX || UNIX98]: Require rather than permitting all symbols from
14152 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14153 element of struct sched_param.
14154 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14155 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14156 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14157 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14160 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14162 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14163 argument calculation.
14165 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14167 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14169 [POSIX] (pthread_attr_t): Do not require type.
14170 [POSIX] (pthread_cond_t): Likewise.
14171 [POSIX] (pthread_condattr_t): Likewise.
14172 [POSIX] (pthread_key_t): Likewise.
14173 [POSIX] (pthread_mutex_t): Likewise.
14174 [POSIX] (pthread_mutexattr_t): Likewise.
14175 [POSIX] (pthread_once_t): Likewise.
14176 [POSIX] (pthread_t): Likewise.
14177 [POSIX-based standards] (pthread_atfork): Expect function.
14179 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14180 Richard Sandiford <richard@codesourcery.com>
14182 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14183 (swap_endianness_p): New extern variable.
14184 (set_big_endian): New inline function.
14185 (maybe_swap_uint32): Likewise.
14186 (maybe_swap_uint32_array): Likewise.
14187 (maybe_swap_uint32_obstack): Likewise.
14188 * locale/programs/locfile.c: Include <stdbool.h>.
14189 (swap_endianness_p): New variable.
14190 (add_locale_uint32): Call maybe_swap_uint32.
14191 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14192 (write_locale_data): Call maybe_swap_uint32_array.
14193 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14195 (obstack_int32_grow_fast): Likewise.
14196 (output_weightwc): Call maybe_swap_uint32_obstack.
14197 (collate_output): Likewise.
14198 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14199 (OPT_LITTLE_ENDIAN): Likewise.
14200 (options): Add --little-endian and --big-endian options.
14201 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14202 * locale/programs/locarchive.c: Include "locfile.h".
14206 (create_archive): Use the new macros to access fields of
14207 structures directly mapped from or written to locale archives.
14208 (oldlocrecentcmp): Likewise.
14209 (enlarge_archive): Likewise.
14210 (insert_name): Likewise.
14211 (add_alias): Likewise.
14212 (add_locale): Likewise.
14213 (delete_locales_from_archive): Likewise.
14214 (show_archive_content): Likewise.
14215 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14218 2013-09-24 Roland McGrath <roland@hack.frob.com>
14220 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14221 http://www.gnu.org/doc/freemanuals.texi.
14222 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14224 2013-09-24 Will Newton <will.newton@linaro.org>
14226 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14229 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14231 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14234 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14236 * manual/threads.texi (POSIX Threads): Fix a typo.
14238 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14241 * string/tst-strcoll-overflow.c: New test case.
14242 * string/Makefile (xtests): Add tst-strcoll-overflow.
14243 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14244 cache if string sizes may cause integer overflow.
14247 * string/strcoll_l.c (coll_seq): New members rule, idx,
14248 save_idx and back_us.
14249 (get_next_seq_nocache): New function.
14250 (do_compare_nocache): New function.
14251 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14254 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14257 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14258 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14259 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14262 * elf/Makefile (tests): Add tst-ptrguard1.
14263 (tests-static): Add tst-ptrguard1-static.
14264 (tst-ptrguard1-ARGS): Define.
14265 (tst-ptrguard1-static-ARGS): Define.
14266 * elf/tst-ptrguard1.c: New file.
14267 * elf/tst-ptrguard1-static.c: New file.
14268 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14269 * sysdeps/i386/stackguard-macros.h: Likewise.
14270 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14271 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14272 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14273 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14274 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14275 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14277 2013-09-23 Hector Marco <hecmargi@upv.es>
14278 Ismael Ripoll <iripoll@disca.upv.es>
14279 Carlos O'Donell <carlos@redhat.com>
14282 * sysdeps/generic/stackguard-macros.h: Define
14283 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14284 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14285 Define __pointer_chk_guard_local.
14286 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14287 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14289 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14292 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14294 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14296 * include/string.h (__ffs): Declare as hidden.
14297 * string/ffs.c (__ffs): Define as hidden.
14298 * sysdeps/i386/ffs.c (__ffs): Likewise.
14299 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14300 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14301 * sysdeps/s390/ffs.c (__ffs): Likewise.
14302 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14304 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14306 * NEWS: Mention malloc probes.
14308 * malloc/arena.c (new_heap): New memory_heap_new probe.
14309 (grow_heap): New memory_heap_more probe.
14310 (shrink_heap): New memory_heap_less probe.
14311 (heap_trim): New memory_heap_free probe.
14312 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14313 (systrim): New memory_sbrk_less probe.
14314 * manual/probes.texi: Document them.
14316 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14317 * manual/probes.texi: Document it.
14319 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14320 (__libc_realloc): Add memory_realloc_retry probe.
14321 (__libc_memalign): Add memory_memalign_retry probe.
14322 (__libc_valloc): Add memory_valloc_retry probe.
14323 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14324 (__libc_calloc): Add memory_calloc_retry probe.
14325 * manual/probes.texi: Document them.
14327 * malloc/arena.c (get_free_list): Add probe
14328 memory_arena_reuse_free_list.
14329 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14330 and memory_arena_reuse.
14331 (arena_get2) [!PER_THREAD]: Likewise.
14332 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14333 memory_arena_reuse_realloc.
14334 * manual/probes.texi: Document them.
14336 * malloc/malloc.c (__libc_free): Add
14337 memory_mallopt_free_dyn_thresholds probe.
14338 (__libc_mallopt): Add multiple memory_mallopt probes.
14339 * manual/probes.texi: Document them.
14341 * malloc/malloc.c: Include stap-probe.h.
14342 (__libc_mallopt): Add memory_mallopt probe.
14343 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14344 * manual/probes.texi: New.
14345 * manual/Makefile (chapters): Add probes.
14346 * manual/threads.texi: Set next node.
14348 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14350 [BZ #15963, #13985]
14351 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14352 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14353 Add `Chinese' to `nan' entry name.
14355 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14357 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14358 (POLYNOMIAL): Likewise.
14359 (TAYLOR_SINCOS): Likewise.
14360 (TAYLOR_SLOW): Likewise.
14361 (__sin): Use TAYLOR_SINCOS.
14363 (slow): Use TAYLOR_SLOW.
14365 (bsloww): Likewise.
14366 (csloww): Likewise.
14368 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14370 * stdlib/strtod_l.c: Fix buffer overrun.
14372 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14374 * benchtests/Makefile (bench): Add sincos.
14375 * benchtests/bench-sincos.c: New file.
14377 * math/libm-test.inc (cos_test_data): New test inputs.
14378 (sin_test_data): Likewise.
14380 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14386 (sloww1): Likewise.
14387 (sloww2): Likewise.
14388 (bsloww1): Likewise.
14389 (bsloww2): Likewise.
14390 (cslow2): Likewise.
14391 (csloww1): Likewise.
14392 (csloww2): Likewise.
14394 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14403 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14405 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14406 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14407 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14408 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14409 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14410 * elf/cache.c (print_entry): Handle the new cache flags.
14412 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14413 Aldy Hernandez <aldyh@redhat.com>
14415 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14416 Change condition to [_SOFT_FLOAT].
14417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14429 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14432 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14435 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14438 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14439 (__longjmp): Use LOAD_GP to load saved GPRs.
14440 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14441 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14442 (__sigsetjmp): Use SAVE_GP to save GPRs.
14444 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14445 Do not append -msoft-float.
14446 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14448 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14450 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14452 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14455 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14456 (_FPU_GETCW): Use initial "__" on variable and field names but not
14457 on macro parameter name.
14458 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14459 parentheses around reference to macro parameter.
14461 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14463 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14465 (ctype_startup): Use uint32_t in cast and sizeof for
14468 2013-09-11 Jia Liu <proljc@gmail.com>
14470 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14472 [__FreeBSD__]: Likewise.
14474 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14477 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14478 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14479 (strchr): Remove __strchr_sse42 ifunc selection.
14480 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14481 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14483 2013-09-11 Will Newton <will.newton@linaro.org>
14485 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14486 parameter to RES. Remove hardcoded 1000 value.
14487 * benchtests/bench-skeleton.c (main): Pass RES parameter
14488 to TIMING_INIT and multiply result by 1000.
14490 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14494 2013-09-11 Andreas Schwab <schwab@suse.de>
14496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14498 (O_TMPFILE) [__USE_GNU]: Define.
14499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14502 2013-09-11 Will Newton <will.newton@linaro.org>
14505 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14508 2013-09-11 Will Newton <will.newton@linaro.org>
14511 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14514 2013-09-11 Will Newton <will.newton@linaro.org>
14517 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14520 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14522 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14528 2013-09-10 Allan McRae <allan@archlinux.org>
14531 * manual/arith.texi (Parsing of Floats): Clarify
14535 * manual/install.texi (Running make install): Mention
14537 * INSTALL: Regenerated.
14539 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14541 * csu/init-first.c (_init): Remove the !SHARED condition around
14542 FPU control word initialization.
14543 * elf/dl-support.c (_dl_fpu_control): New variable.
14544 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14545 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14546 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14547 * math/test-fpucw-static.c: New file.
14548 * math/test-fpucw-ieee.c: New file.
14549 * math/test-fpucw-ieee-static.c: New file.
14550 * math/Makefile (tests): Add `test-fpucw-ieee' and
14552 (tests-static): New variable.
14553 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14555 [($(build-shared),yes)]
14556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14558 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14561 2013-09-09 Allan McRae <allan@archlinux.org>
14564 * manual/string.texi (Collation Functions): Fix typo in
14566 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14569 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14572 * libio/memstream.c (open_memstream): Fix memory leak.
14573 * libio/wmemstream.c (open_wmemstream): Likewise.
14576 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14578 2013-09-09 Will Newton <will.newton@linaro.org>
14580 * malloc/Makefile: Add tst-realloc to tests.
14581 * malloc/tst-realloc.c: New file.
14583 2013-09-09 Allan McRae <allan@archlinux.org>
14586 * COPYING: Update from GNU website to fix FSF address.
14587 * COPYING.LIB: Likewise.
14589 2013-09-06 David S. Miller <davem@davemloft.net>
14591 * po/zh_TW.po: Update Chinese (traditional) translation from
14592 translation project.
14594 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14595 Joseph Myers <joseph@codesourcery.com>
14597 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14599 (obstack_chunk_alloc): New macro.
14600 (obstack_chunk_free): Likewise.
14601 (record_offset): New function.
14602 (init_locale_data): Likewise.
14603 (align_locale_data): Likewise.
14604 (add_locale_empty): Likewise.
14605 (add_locale_raw_data): Likewise.
14606 (add_locale_raw_obstack): Likewise.
14607 (add_locale_string): Likewise.
14608 (add_locale_wstring): Likewise.
14609 (add_locale_uint32): Likewise.
14610 (add_locale_uint32_array): Likewise.
14611 (add_locale_char): Likewise.
14612 (start_locale_structure): Likewise.
14613 (end_locale_structure): Likewise.
14614 (start_locale_prelude): Likewise.
14615 (end_locale_prelude): Likewise.
14616 (write_locale_data): Take locale_file structure rather than an
14618 * locale/programs/locfile.h: Include "obstack.h".
14619 (struct locale_file): Change to store locale file contents instead
14621 (init_locale_data): New prototype.
14622 (align_locale_data): Likewise.
14623 (add_locale_empty): Likewise.
14624 (add_locale_raw_data): Likewise.
14625 (add_locale_raw_obstack): Likewise.
14626 (add_locale_string): Likewise.
14627 (add_locale_wstring): Likewise.
14628 (add_locale_uint32): Likewise.
14629 (add_locale_uint32_array): Likewise.
14630 (add_locale_char): Likewise.
14631 (start_locale_structure): Likewise.
14632 (end_locale_structure): Likewise.
14633 (start_locale_prelude): Likewise.
14634 (end_locale_prelude): Likewise.
14635 (write_locale_data): Update prototype.
14636 * locale/programs/3level.h (struct TABLE): Remove result field.
14637 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14638 Use new locale_file interface.
14639 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14640 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14641 * locale/programs/ld-address.c (address_output): Use new
14642 locale_file interface.
14643 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14645 (collate_finish): Don't call collseq_table_finalize.
14646 (collate_output): Use new locale_file interface.
14647 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14649 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14650 (TABLE): Move defines earlier in file.
14651 (ELEMENT): Likewise.
14652 (DEFAULT): Likewise.
14653 (wctrans_table_add): Move macro and inline function earlier in
14655 (struct wctype_table): Move type earlier in file.
14656 (add_locale_wctype_table): New static prototype.
14657 (struct locale_ctype_t): Use logical types instead of struct iovec
14658 pointers for members.
14659 (ctype_output): Use new locale_file interface.
14660 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14661 new locale_file interface.
14662 (allocate_arrays): Update for use of new locale_file interface.
14663 * locale/programs/ld-identification.c (identification_output): Use
14664 new locale_file interface.
14665 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14666 * locale/programs/ld-messages.c (messages_output): Likewise.
14667 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14668 * locale/programs/ld-name.c (name_output): Likewise.
14669 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14670 * locale/programs/ld-paper.c (paper_output): Likewise.
14671 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14672 * locale/programs/ld-time.c (time_output): Likewise.
14674 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14676 * benchtests/Makefile: Add memrchr benchmark.
14677 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14678 benchmark as memrchr.
14679 * benchtests/bench-memrchr-ifunc.c: New file.
14680 * benchtests/bench-memrchr.c: New file.
14682 2013-09-06 Will Newton <will.newton@linaro.org>
14684 * benchtests/Makefile (string-bench): Add memcpy.
14686 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14687 Cong Wang <amwang@redhat.com>
14690 * sysdeps/unix/sysv/linux/bits/in.h
14691 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14692 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14693 before __USE_KERNEL_IPV6_DEFS uses.
14694 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14696 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14697 sockaddr_in6, or ipv6_mreq.
14699 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14702 memory access for final bytes in some large inputs.
14703 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14705 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14707 * string/test-memrchr.c: New file.
14708 * string/test-memrchr-ifunc.c: New file.
14709 * string/Makefile: Add new memrchr testcase.
14711 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14713 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14714 fanotify_init returns EPERM.
14716 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14718 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14720 (top level): Treat second token from macro or constant entries for
14721 allowed headers as allowed.
14722 * include/complex.h: Condition internal declarations on
14724 * include/fenv.h: Condition include of <stdbool.h> and internal
14725 declarations on [!_ISOMAC].
14727 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14730 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14732 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14734 * configure.in (--enable-versioning): Remove configure option.
14735 (libc_cv_asm_symver_directive): Remove configure test.
14736 (libc_cv_ld_version_script_option): Likewise.
14737 (VERSIONING): Remove variable and AC_SUBST.
14738 (DO_VERSIONING): Remove AC_DEFINE.
14739 * configure: Regenerated.
14740 * config.h.in (DO_VERSIONING): Remove macro.
14741 * Makerules [$(versioning) = yes]: Change conditionals to
14742 [$(build-shared) = yes].
14743 * config.make.in (versioning): Remove variable.
14744 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14745 [$(build-shared) = yes].
14746 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14747 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14748 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14749 [$(build-shared) = yes].
14750 * extra-lib.mk [$(versioning) = yes]: Likewise.
14751 * hurd/Makefile [$(versioning) = yes]: Likewise.
14752 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14754 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14756 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14757 [SHARED && !NO_HIDDEN].
14758 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14760 [SHARED && DO_VERSIONING]: Likewise..
14761 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14762 [$(build-shared) = yes].
14763 * manual/install.texi (--disable-versioning): Remove
14765 * INSTALL: Regenerated.
14766 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14768 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14769 [$(build-shared) = yes].
14770 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14771 * sysdeps/i386/i686/multiarch/strstr-c.c
14772 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14773 [SHARED && !NO_HIDDEN].
14774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14775 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14776 * sysdeps/powerpc/powerpc32/dl-machine.c
14777 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14778 * sysdeps/powerpc/powerpc32/sysdep.h
14779 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14780 to [SHARED && PIC && !NO_HIDDEN].
14781 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14782 conditional to [SHARED].
14784 2013-09-04 Will Newton <will.newton@linaro.org>
14786 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14787 * benchtests/bench-string.h: Include bench-timing.h instead
14788 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14789 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14790 call to HP_TIMING_DIFF_INIT.
14791 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14792 instead of hp-timing.h macros.
14793 * benchtests/bench-memchr.c: Likewise.
14794 * benchtests/bench-memcmp.c: Likewise.
14795 * benchtests/bench-memcpy.c: Likewise.
14796 * benchtests/bench-memmem.c: Likewise.
14797 * benchtests/bench-memmove.c: Likewise.
14798 * benchtests/bench-memset.c: Likewise.
14799 * benchtests/bench-rawmemchr.c: Likewise.
14800 * benchtests/bench-strcasecmp.c: Likewise.
14801 * benchtests/bench-strcasestr.c: Likewise.
14802 * benchtests/bench-strcat.c: Likewise.
14803 * benchtests/bench-strchr.c: Likewise.
14804 * benchtests/bench-strcmp.c: Likewise.
14805 * benchtests/bench-strcpy.c: Likewise.
14806 * benchtests/bench-strcpy_chk.c: Likewise.
14807 * benchtests/bench-strlen.c: Likewise.
14808 * benchtests/bench-strncasecmp.c: Likewise.
14809 * benchtests/bench-strncat.c: Likewise.
14810 * benchtests/bench-strncmp.c: Likewise.
14811 * benchtests/bench-strncpy.c: Likewise.
14812 * benchtests/bench-strnlen.c: Likewise.
14813 * benchtests/bench-strpbrk.c: Likewise.
14814 * benchtests/bench-strrchr.c: Likewise.
14815 * benchtests/bench-strspn.c: Likewise.
14816 * benchtests/bench-strstr.c: Likewise.
14818 2013-09-04 Will Newton <will.newton@linaro.org>
14820 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14822 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14825 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14826 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14827 * math/libm-test.inc (lgamma_test_data): Add more tests.
14828 * sysdeps/i386/fpu/libm-test-ulps: Update.
14829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14833 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14837 Add strcmp-sse2-unaligned
14838 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14840 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14842 * Versions.def (libc): Add GLIBC_2.19.
14844 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14846 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14847 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14849 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14853 intermediate calculations in recurrence.
14854 (__ieee754_ynf): Likewise.
14855 * math/libm-test.inc (jn_test_data): Do not allow spurious
14856 underflow exception. Add more tests.
14857 (yn_test_data): Add more tests.
14858 * sysdeps/i386/fpu/libm-test-ulps: Update.
14859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14861 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14863 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14865 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14867 * csu/init-first.c: Fix then/than typos.
14868 * locale/programs/ld-collate.c: Likewise.
14869 * locale/programs/linereader.h: Likewise.
14870 * manual/charset.texi: Likewise.
14871 * manual/filesys.texi: Likewise.
14872 * manual/stdio.texi: Likewise.
14873 * manual/string.texi: Likewise.
14874 * stdlib/fmtmsg.c: Likewise.
14875 * sysdeps/i386/stpncpy.S: Likewise.
14876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14877 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14879 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14881 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14883 * elf/dl-open.c: Fix typos.
14884 * iconvdata/gbbig5.c: Likewise.
14885 * iconvdata/iso-2022-jp.c: Likewise.
14886 * iconv/gconv_int.h: Likewise.
14887 * iconv/loop.c: Likewise.
14888 * nis/rpcsvc/nis.h: Likewise.
14889 * resolv/ns_name.c: Likewise.
14890 * stdio-common/vfscanf.c: Likewise.
14891 * streams/stropts.h: Likewise.
14892 * sunrpc/rpc_thread.c: Likewise.
14893 * sysdeps/i386/strpbrk.S: Likewise.
14894 * sysdeps/ieee754/k_standard.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14897 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14898 * sysdeps/mach/hurd/profil.c: Likewise.
14899 * sysdeps/s390/dl-procinfo.h: Likewise.
14900 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14902 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14903 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14906 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14908 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14911 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14913 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14914 aix specific files.
14915 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14916 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14917 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14920 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14921 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14924 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14925 Roland McGrath <roland@hack.frob.com>
14927 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14928 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14930 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14932 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14933 __executable_start symbol instead of _start.
14935 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14937 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14938 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14940 * sysdeps/gnu/ldsodefs.h: ... this new file.
14942 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14943 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14944 instead of ELFOSABI_LINUX.
14946 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14947 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14948 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14949 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14951 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14952 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14956 (ibm_extended_long_double): Add ieee_nan member.
14957 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14958 (do_test): New function.
14960 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14962 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14963 functions, renamed from truncdfsf_test, trunctfsf_test,
14965 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14967 (do_test): Run all these.
14969 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14971 * argp/argp-help.c: Fix typos.
14972 * argp/argp-parse.c: Likewise.
14973 * debug/backtracesyms.c: Likewise.
14974 * elf/elf.h: Likewise.
14975 * malloc/malloc.c: Likewise.
14976 * nis/nis_print.c: Likewise.
14977 * resolv/res_comp.c: Likewise.
14978 * stdlib/stdlib.h: Likewise.
14979 * sunrpc/clnt_tcp.c: Likewise.
14980 * sunrpc/clnt_udp.c: Likewise.
14981 * sunrpc/clnt_unix.c: Likewise.
14982 * sysdeps/unix/bsd/ptsname.c: Likewise.
14983 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14991 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14993 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14995 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14998 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15001 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15002 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15003 ($(objpfx)bug-dl-leaf): New rule.
15004 ($(objpfx)bug-dl-leaf.so): Likewise.
15005 ($(objpfx)bug-dl-leaf.out): Likewise.
15006 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15007 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15008 * dlfcn/bug-dl-leaf.c: New test.
15009 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15010 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15011 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15012 (dlclose): Likewise.
15013 (dlmopen): Likewise.
15015 2013-08-27 Roland McGrath <roland@hack.frob.com>
15017 * include/netdb.h [!_ISOMAC]:
15018 Don't include <tls.h>.
15019 (h_errno, __libc_h_errno): Move declaration and macros out of
15022 * include/resolv.h [_RESOLV_H_]:
15023 Don't include <tls.h>.
15024 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15025 * resolv/res_libc.c: Don't include <tls.h>.
15026 (_res): Use __attribute__ ((nocommon)) in place of
15027 __attribute__ ((section (".bss"))).
15029 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15030 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15032 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15034 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15035 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15037 * resolv/res_mkquery.c: Include <sys/time.h>.
15039 * inet/ifreq.c: Moved to ...
15040 * sysdeps/unix/ifreq.c: ... here.
15041 * inet/ifreq.c: New file, true stub version.
15043 * socket/sa_len.c: New file.
15044 * socket/Makefile (aux): Add it.
15045 * sysdeps/unix/sysv/linux/Makefile
15046 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15047 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15048 and #include <socket/sa_len.c>.
15049 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15050 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15052 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15053 * bits/socket.h: ... here.
15055 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15056 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15057 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15059 2013-08-27 Andreas Schwab <schwab@suse.de>
15062 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15063 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15064 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15065 * string/test-strcasecmp.c (test_main): Run tests in several
15067 * string/test-strncasecmp.c (test_main): Likewise.
15069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15070 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15071 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15073 (__strncasecmp_ssse3) [PIC]: Likewise.
15075 2013-08-26 Roland McGrath <roland@hack.frob.com>
15077 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15079 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15080 instead of explicitly declaring xdecrypt.
15081 * nis/nss_nis/nis-publickey.c: Likewise.
15083 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15086 * nscd/aicache.c: Include res_hconf.h.
15087 (addhstaiX): Initialize res_hconf.
15089 2013-08-26 Andreas Schwab <schwab@suse.de>
15091 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15092 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15094 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15096 * nscd/aicache.c (addhstaiX): Fix indentation.
15098 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15100 * configure.ac: Quote $build_pt_chown test.
15101 * configure: Regenerated.
15103 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15106 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15107 * math/s_cexpf.c (__cexpf): Likewise.
15108 * math/s_cexpl.c (__cexpl): Likewise.
15109 * math/libm-test.inc (cexp_test_data): Correct expected return
15110 value for NaN + i0. Add another test.
15112 2013-08-22 David S. Miller <davem@davemloft.net>
15114 * po/ca.po: Update Catalan translation from translation project.
15115 * po/uk.po: Add Ukrainian translations from translation project.
15117 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15120 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15121 is infinite, not alongside NaN test.
15122 * math/s_fdimf.c (__fdimf): Likewise.
15123 * math/s_fdiml.c (__fdiml): Likewise.
15124 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15125 errno is unchanged.
15127 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15129 * argp/argp-help.c: Fix typos.
15130 * crypt/speeds.c: Likewise.
15131 * csu/check_fds.c: Likewise.
15132 * elf/dl-load.c: Likewise.
15133 * elf/dl-open.c: Likewise.
15134 * elf/reldep3.c: Likewise.
15135 * elf/reldep.c: Likewise.
15136 * elf/sprof.c: Likewise.
15137 * iconv/iconv_charmap.c: Likewise.
15138 * iconv/skeleton.c: Likewise.
15139 * iconv/strtab.c: Likewise.
15140 * io/lockf64.c: Likewise.
15141 * libio/libioP.h: Likewise.
15142 * resolv/gai_notify.c: Likewise.
15143 * resolv/ns_name.c: Likewise.
15144 * resolv/ns_samedomain.c: Likewise.
15145 * resolv/res_send.c: Likewise.
15146 * stdlib/random.c: Likewise.
15147 * sunrpc/rpc/xdr.h: Likewise.
15148 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15149 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15156 * sysdeps/mach/hurd/check_fds.c: Likewise.
15157 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15158 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15159 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15161 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15162 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15163 * sysdeps/pthread/aio_notify.c: Likewise.
15164 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15165 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15168 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15170 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15172 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15173 version if bit_Slow_SSE4_2 is set.
15174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15177 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15180 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15181 trampoline stack frame information.
15182 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15184 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15185 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15186 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15187 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15188 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15189 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15191 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15192 interrupting a syscall and set with option SA_SIGINFO.
15194 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15197 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15198 argument is infinite.
15199 * math/s_cprojf.c (__cprojf): Likewise.
15200 * math/s_cprojl.c (__cprojl): Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15202 * math/libm-test.inc (cproj_test_data): Add more tests.
15204 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15206 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15207 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15208 size. Use __ffs to determine corresponding shift.
15210 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15211 Roland McGrath <roland@hack.frob.com>
15213 * Makefile (INSTALL): Remove trailing blank lines from output of
15216 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15218 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15219 Align 32 bit compat elf_greg to 8 bytes.
15221 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15223 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15225 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15227 * string/strcoll_l.c (coll_seq): New structure.
15228 (get_next_seq_cached): New function.
15229 (get_next_seq): New function.
15230 (do_compare): New function.
15231 (STRCOLL): Use GNU style definition. Simplify implementation
15232 by using get_next_seq, get_next_seq_cached and do_compare.
15234 2013-08-16 Florian Weimer <fweimer@redhat.com>
15238 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15240 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15242 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15243 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15244 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15246 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15247 GETDENTS_64BIT_ALIGNED.
15248 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15249 * manual/filesys.texi (Reading/Closing Directory): Document
15250 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15252 * manual/conf.texi (Limits for Files): Add portability note to
15253 NAME_MAX, PATH_MAX.
15254 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15256 2013-08-13 Andreas Schwab <schwab@suse.de>
15259 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15261 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15262 LDBL_MAX_EXP >= 16384]: Add tests for it.
15264 2013-08-12 David S. Miller <davem@davemloft.net>
15266 * version.h (RELEASE): Set to "development".
15267 (VERSION): Set to "2.18.90".
15268 * NEWS: Add 2.19 section.
15270 2013-08-03 David S. Miller <davem@davemloft.net>
15272 * po/ko.po: Update Korean translation from translation project.
15274 2013-08-01 David S. Miller <davem@davemloft.net>
15276 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15277 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15280 2013-07-30 David S. Miller <davem@davemloft.net>
15282 * po/fr.po: Update French translation from translation project.
15284 2013-07-28 David S. Miller <davem@davemloft.net>
15286 * po/cs.po: Update Czech translation from translation project.
15288 * po/sv.po: Update Swedish translation from translation project.
15290 2013-07-27 David S. Miller <davem@davemloft.net>
15292 * po/eo.po: Update Esperanto translation from translation project.
15294 * po/vi.po: Update Vietnamese translation from translation project.
15296 * po/de.po: Update German translation from translation project.
15298 2013-07-26 David S. Miller <davem@davemloft.net>
15300 * po/bg.po: Update Bulgarian translation from translation project.
15302 * po/nl.po: Update Dutch translation from translation project.
15303 * po/pl.po: Update Polish translation from translation project.
15304 * po/ru.po: Update Russian translation from translation project.
15306 2013-07-24 David S. Miller <davem@davemloft.net>
15308 * po/libc.pot: Update.
15310 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15312 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15313 variable page size.
15314 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15315 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15316 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15318 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15320 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15322 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15323 Andreas Schwab <schwab@suse.de>
15324 Roland McGrath <roland@hack.frob.com>
15325 Joseph Myers <joseph@codesourcery.com>
15326 Carlos O'Donell <carlos@redhat.com>
15329 * config.h.in: Define HAVE_PT_CHOWN.
15330 * config.make.in (build-pt-chown): New variable.
15331 * configure.in (--enable-pt_chown): New configure option.
15332 * configure: Regenerate.
15333 * login/Makefile: Include Makeconfig. Build pt_chown only if
15334 build-pt-chown is enabled.
15335 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15336 pt_chown to fix pty ownership.
15337 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15339 * manual/install.texi (Configuring and compiling): Mention
15340 --enable-pt_chown. Add @findex for grantpt.
15341 * INSTALL: Regenerate.
15343 2013-07-20 David S. Miller <davem@davemloft.net>
15345 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15346 difference between 32-bit and 64-bit.
15348 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15351 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15352 Avoid system header dependency with -ffreestanding.
15353 ($(objpfx)bits/syscall%d): Likewise.
15355 2013-07-13 David S. Miller <davem@davemloft.net>
15357 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15358 underflows from atanl/atan2l due to bug 15319.
15359 (casinh_test_data): Likewise.
15361 2013-07-07 David S. Miller <davem@davemloft.net>
15363 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15365 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15367 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15370 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15372 * configure.in (--enable-lock-elision): Fix message text.
15373 * INSTALL: Regenerate.
15374 * configure: Regenerate.
15376 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15380 2013-07-03 Andreas Jaeger <aj@suse.de>
15382 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15384 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15385 (ptrace_peeksiginfo_args): Add.
15386 (__ptrace_peeksiginfo_flags): Add.
15387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15391 2013-07-03 Allan McRae <allan@archlinux.org>
15393 * sysdeps/i386/fpu/libm-test-ulps: Update.
15395 2013-07-02 David S. Miller <davem@davemloft.net>
15397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15399 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15403 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15405 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15408 2013-07-02 Andi Kleen <ak@linux.intel.com>
15410 * config.h.in (ENABLE_LOCK_ELISION): Add.
15411 * configure.in (--enable-lock-elision): Add option.
15412 * manual/install.texi: Document --enable lock elision.
15413 * configure: Regenerate
15414 * INSTALL: Regenerate.
15416 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15418 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15419 SSE4.2 strcasecmp for libc.a.
15420 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15422 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15425 * soft-fp/op-common.h (_FP_FMA): New macro.
15426 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15427 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15428 (_FP_MUL_MEAT_1_imm): ... here.
15429 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15430 (_FP_MUL_MEAT_1_wide): ... here.
15431 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15432 (_FP_MUL_MEAT_1_hard): ... here.
15433 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15434 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15435 (_FP_MUL_MEAT_2_wide): ... here.
15436 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15437 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15438 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15439 (_FP_MUL_MEAT_2_gmp): ... here.
15440 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15441 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15442 (_FP_MUL_MEAT_4_wide): ... here.
15443 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15444 (_FP_MUL_MEAT_4_gmp): ... here.
15445 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15446 (_FP_WFRACBITS_DW_S): Likewise.
15447 (_FP_WFRACXBITS_DW_S): Likewise.
15448 (_FP_HIGHBIT_DW_S): Likewise.
15449 (FP_FMA_S): Likewise.
15450 (_FP_FRAC_HIGH_DW_S): Likewise.
15451 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15452 (_FP_WFRACBITS_DW_D): Likewise.
15453 (_FP_WFRACXBITS_DW_D): Likewise.
15454 (_FP_HIGHBIT_DW_D): Likewise.
15455 (FP_FMA_D): Likewise.
15456 (_FP_FRAC_HIGH_DW_D): Likewise.
15457 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15458 (_FP_WFRACBITS_DW_E): Likewise.
15459 (_FP_WFRACXBITS_DW_E): Likewise.
15460 (_FP_HIGHBIT_DW_E): Likewise.
15461 (FP_FMA_E): Likewise.
15462 (_FP_FRAC_HIGH_DW_E): Likewise.
15463 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15464 (_FP_WFRACBITS_DW_Q): Likewise.
15465 (_FP_WFRACXBITS_DW_Q): Likewise.
15466 (_FP_HIGHBIT_DW_Q): Likewise.
15467 (FP_FMA_Q): Likewise.
15468 (_FP_FRAC_HIGH_DW_Q): Likewise.
15469 * soft-fp/fmasf4.c: New file.
15470 * soft-fp/fmadf4.c: Likewise.
15471 * soft-fp/fmatf4.c: Likewise.
15473 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15476 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15480 (index_Slow_SSE4_2): Likewise.
15481 (index_Prefer_PMINUB_for_stringop): Likewise.
15482 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15483 bit_Slow_SSE4_2 is set.
15484 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15485 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15487 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15489 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15490 rtld_global._dl_hwcap2.
15491 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15493 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15494 POWER8 feature descriptions defined in _dl_hwcap2.
15495 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15496 string handling for POWER8 feature bits.
15497 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15498 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15499 _dl_powerpc_cap_flags.
15500 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15501 * sysdeps/powerpc/rtld-global-offsets.sym
15502 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15503 _dl_hwcap2 in the rtld_global_ro structure.
15505 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15507 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15508 hardware capabilities in support of AT_HWCAP2.
15509 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15510 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15512 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15513 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15514 explicitly the unknown a_type display mechanism is used.
15515 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15516 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15518 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15519 to macro prototype for AT_HWCAP2 support.
15520 * sysdeps/i386/dl-procinfo.h: Likewise.
15521 * sysdeps/s390/dl-procinfo.h: Likewise.
15522 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15523 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15524 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15525 return -1 for unknown a_type display fallback.
15526 * sysdeps/sparc/dl-procinfo.h: Likewise.
15527 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15528 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15530 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15533 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15535 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15538 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15539 mprotect making __stack_prot writable.
15541 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15542 Joseph Myers <joseph@codesourcery.com>
15544 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15545 as being properly aligned.
15547 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15549 * dlfcn/modstatic5.c: New file.
15550 * dlfcn/tststatic5.c: New file.
15551 * dlfcn/Makefile (tests): Add tststatic5.
15552 (tests-static): Likewise.
15553 (modules-names): Add modstatic5.
15554 (tststatic5-ENV): New variable.
15555 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15558 * elf/dl-support.c (_dl_main_map): New variable.
15559 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15560 (_dl_nns, _dl_load_adds): Set to 1.
15561 (_dl_initial_searchlist): Refer to _dl_main_map.
15562 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15563 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15564 call to _dl_get_origin.
15565 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15567 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15568 * dlfcn/modstatic3.c: New file.
15569 * dlfcn/tststatic3.c: New file.
15570 * dlfcn/tststatic4.c: New file.
15571 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15572 (tests-static): Likewise.
15573 (modules-names): Add modstatic3.
15574 (tststatic3-ENV, tststatic4-ENV): New variables.
15575 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15576 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15578 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15580 * configure.in (CC): Require GCC version 4.4 or later.
15581 * configure: Regenerated.
15582 * manual/install.texi (Tools for Compilation): Update GCC version
15584 * INSTALL: Regenerated.
15586 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15589 * string/test-memcmp.c (check2): New.
15590 (main): Call check2.
15592 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15594 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15597 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15599 (dl_open_worker) [!SHARED]: ... here.
15601 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15603 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15605 2013-06-25 Richard Henderson <rth@redhat.com>
15607 * locale/programs/locarchive.c: Include <libc-internal.h>
15609 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15611 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15612 trailing whitespace removed.
15614 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15617 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15618 * locale/programs/locarchive.c: Include libc-mmap.h.
15619 (prepare_address_space): Take two new outputs (the mmap base and len).
15620 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15622 (create_archive): Declare new mmap base and len values for
15623 prepare_address_space, and store the result in ah.
15624 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15625 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15626 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15627 Declare new mmap base and len values for
15628 prepare_address_space, and store the result in new_ah.
15629 (open_archive): Declare new mmap base and len values for
15630 prepare_address_space, and store the result in ah.
15631 (close_archive): If ah->mmap_base is not NULL, use that and
15632 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15633 * sysdeps/generic/libc-mmap.h: New file.
15635 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15637 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15638 (ALIGN_UP): Likewise.
15639 (PTR_ALIGN_DOWN): Likewise.
15640 (PTR_ALIGN_UP): Likewise.
15642 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15644 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15645 entry mapped to PPC_PLATFORM_POWER8.
15646 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15648 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15649 (_dl_string_platform): Add case for exporting platform position for
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15652 search path to sysdeps/powerpc/powerpc32/power8 directory.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15654 search path to sysdeps/powerpc/powerpc64/power8 directory.
15655 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15656 power7 directories.
15657 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15658 power7 directories.
15660 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15662 * INSTALL: Regenerate.
15664 * nscd/connections.c (nscd_init): Fix comment.
15666 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15668 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15671 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15672 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15674 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15676 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15678 (DL_DST_REQ_STATIC): Remove macro.
15680 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15683 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15684 with a shift of 0 bits.
15686 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15688 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15691 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15694 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15696 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15698 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15699 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15700 accepts -fno-tree-loop-distribute-patterns.
15701 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15702 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15704 * string/memset.c (memset): Likewise.
15705 * string/test-memmove.c (simple_memmove): Disable loop transformation
15707 * string/test-memset.c (simple_memset): Likewise.
15708 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15709 * benchtests/bench-memset.c (simple_memset): Likewise.
15710 * configure: Regenerated.
15712 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15714 * math/test-misc.c (main): Ignore fesetround failure when failures
15715 of subsequent rounding tests would be ignored.
15718 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15719 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15720 * math/fegetenv.c (__fegetenv): Return 0.
15721 * math/fegetexcept.c (fegetexcept): Return 0.
15722 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15724 * math/feholdexcpt.c (feholdexcept): Return 0.
15725 * math/fesetenv.c (__fesetenv): Return 0.
15726 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15727 argument FE_TONEAREST.
15728 * math/feupdateenv.c (__feupdateenv): Return 0.
15729 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15731 2013-06-18 Roland McGrath <roland@hack.frob.com>
15733 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15734 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15735 ($(objpfx)rtld-%.os rules): Use them.
15737 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15739 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15742 2013-06-17 Roland McGrath <roland@hack.frob.com>
15744 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15745 length of target pattern, then descending length of dependency pattern.
15746 * configure.in (AWK): Require gawk 3.1.2 or newer.
15747 * manual/install.texi (Tools for Compilation): Say that we do.
15748 * configure: Regenerated.
15750 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15751 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15752 * scripts/sysd-rules.awk: ... this new script.
15753 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15754 than a glob-style pattern.
15756 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15758 * math/test-misc.c (main): Do not treat incorrectly rounded
15759 conversions as failure unless ROUNDING_TESTS passes.
15761 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15764 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15765 restore exception state around main square root computation, then
15766 check for inexactness explicitly.
15768 * math/libm-test.inc (fma_test_data): Add another test.
15770 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15772 * manual/threads.texi (Non-POSIX Extensions): New document
15773 node. Document pthread_getattr_default_np and
15774 pthread_setattr_default_np.
15776 * Versions.def (libpthread): Add GLIBC_2.18.
15777 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15786 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15797 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15800 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15802 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15803 H.J. Lu <hjl.tools@gmail.com>
15806 * sysdeps/x86_64/rtld-memset.c: Remove file.
15807 * sysdeps/x86_64/rtld-memset.S: New file.
15809 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15811 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15812 (test_in_one_mode): Take arguments for whether the rounding mode
15813 is supported for each floating-point type.
15814 (do_test): Pass new arguments to test_in_one_mode using
15817 2013-06-13 Roland McGrath <roland@hack.frob.com>
15819 * posix/tst-waitid.c (do_test): Distinguish different instances of
15820 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15821 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15822 before entering the kernel for waitpid.
15824 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15826 * NEWS: Fix note on clock function precision. Text by Roland
15829 2013-06-13 Roland McGrath <roland@hack.frob.com>
15831 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15832 it into place only when and if the sanity check passes.
15834 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15836 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15837 output for whether conversion result is exact. Take argument
15838 indicating whether type is IBM long double.
15839 (round_for_all): Change need_exact field to ibm_ld.
15840 * stdlib/tst-strtod-round.c (struct exactness): New type.
15841 (struct test): Change bool ld_ok field to struct exactness exact.
15842 (TEST): Update all definitions for change to field.
15843 (tests): Regenerate array contents.
15844 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15845 field value. Check for IBM long double here.
15846 (do_test): Update calls to test_in_one_mode.
15848 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15851 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15852 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15854 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15857 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15858 generated by the compiler on loop optimizations.
15859 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15860 general definitions.
15862 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15864 * math/bug-nextafter.c: Include <math-tests.h>.
15865 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15867 * math/bug-nexttoward.c: Include <math-tests.h>.
15868 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15870 * math/test-misc.c: Include <math-tests.h>.
15871 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15874 2013-06-12 Andreas Jaeger <aj@suse.de>
15876 * po/ia.po: Update Interlingua translation from translation
15879 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15881 * include/fenv.h: Include stdbool.h.
15882 (struct rm_ctx): New structure.
15883 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15885 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15886 (SET_RESTORE_ROUNDF): Likewise.
15887 (SET_RESTORE_ROUNDL): Likewise.
15888 (SET_RESTORE_ROUND_NOEX): Likewise.
15889 (SET_RESTORE_ROUND_NOEXF): Likewise.
15890 (SET_RESTORE_ROUND_NOEXL): Likewise.
15891 (SET_RESTORE_ROUND_53BIT): Likewise.
15892 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15893 (libc_feresetround_noexf_ctx): Likewise.
15894 (libc_feresetround_noexl_ctx): Likewise.
15895 (libc_feholdsetround_53bit_ctx): Likewise.
15896 (libc_feresetround_53bit_ctx): Likewise.
15897 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15898 (libc_feholdexcept_setround_sse_ctx): New function.
15899 (libc_fesetenv_sse_ctx): Likewise.
15900 (libc_feupdateenv_sse_ctx): Likewise.
15901 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15902 (libc_feholdexcept_setround_387_ctx): Likewise.
15903 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15904 (libc_feholdsetround_387_prec_ctx): Likewise.
15905 (libc_feholdsetround_387_ctx): Likewise.
15906 (libc_feholdsetround_387_53bit_ctx): Likewise.
15907 (libc_feholdsetround_sse_ctx): Likewise.
15908 (libc_feresetround_sse_ctx): Likewise.
15909 (libc_feresetround_387_ctx): Likewise.
15910 (libc_feupdateenv_387_ctx): Likewise.
15911 (libc_feholdexcept_setroundf_ctx): Define macro.
15912 (libc_fesetenvf_ctx): Likewise.
15913 (libc_feupdateenvf_ctx): Likewise.
15914 (libc_feholdsetroundf_ctx): Likewise.
15915 (libc_feresetroundf_ctx): Likewise.
15916 (libc_feholdexcept_setround_ctx): Likewise.
15917 (libc_fesetenv_ctx): Likewise.
15918 (libc_feupdateenv_ctx): Likewise.
15919 (libc_feholdsetround_ctx): Likewise.
15920 (libc_feresetround_ctx): Likewise.
15921 (libc_feholdexcept_setroundl_ctx): Likewise.
15922 (libc_feupdateenvl_ctx): Likewise.
15923 (libc_feholdsetroundl_ctx): Likewise.
15924 (libc_feresetroundl_ctx): Likewise.
15925 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15926 (libc_feresetround_53bit_ctx): Likewise.
15928 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15930 * locale/iso-639.def: Convert to UTF-8.
15932 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15934 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15935 (EXCEPTION_TESTS_double): Likewise.
15936 (EXCEPTION_TESTS_long_double): Likewise.
15937 (EXCEPTION_TESTS): Likewise.
15938 * math/libm-test.inc (test_exceptions): Only test exceptions if
15939 EXCEPTION_TESTS (FLOAT).
15941 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15943 * benchtests/Makefile (string-bench): Add strcpy_chk and
15945 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15946 * benchtests/bench-stpcpy_chk.c: New file.
15947 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15948 * benchtests/bench-strcpy_chk.c: New file.
15949 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15951 (do_test): Likewise.
15953 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15956 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15957 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15958 with tabs where appropriate.
15959 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15961 [PPC_PLATFORM_PPC440]: Likewise.
15962 [PPC_PLATFORM_PPC464]: Likewise.
15963 [PPC_PLATFORM_PPC476]: Likewise.
15964 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15965 ppc464, and ppc476 platform strings merging from ports/
15968 2013-06-11 Andreas Schwab <schwab@suse.de>
15971 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15972 (from_ucs4_idx): Regenerate.
15973 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15974 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15975 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15976 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15977 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15978 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15979 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15980 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15981 from FROM_LOOP and TO_LOOP specific macros.
15982 (BODY): Handle combining characters.
15983 * iconvdata/BIG5HKSCS.irreversible: Update.
15984 * iconvdata/BIG5HKSCS.precomposed: New file.
15985 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15987 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15989 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15991 * include/sys/time.h: Fix indentation and add copyright header.
15993 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15994 (do_test): Likewise.
15995 * string/test-memchr.c (do_one_test): Likewise.
15996 (do_test): Likewise.
15997 * string/test-memcmp.c (do_one_test): Likewise.
15998 (do_test): Likewise.
15999 * string/test-memcpy.c (do_one_test): Likewise.
16000 (do_test): Likewise.
16001 * string/test-memmem.c (do_one_test): Likewise.
16002 (do_test): Likewise.
16003 (do_random_tests): Likewise.
16004 * string/test-memmove.c (do_one_test): Likewise.
16005 (do_test): Likewise.
16006 * string/test-memset.c (do_one_test): Likewise.
16007 (do_test): Likewise.
16008 * string/test-rawmemchr.c (do_one_test): Likewise.
16009 (do_test): Likewise.
16010 * string/test-strcasecmp.c (do_one_test): Likewise.
16011 (do_test): Likewise.
16012 * string/test-strcasestr.c (do_one_test): Likewise.
16013 (do_test): Likewise.
16014 * string/test-strcat.c (do_one_test): Likewise.
16015 (do_test): Likewise.
16016 * string/test-strchr.c (do_one_test): Likewise.
16017 (do_test): Likewise.
16018 * string/test-strcmp.c (do_one_test): Likewise.
16019 (do_test): Likewise.
16020 * string/test-strcpy.c (do_one_test): Likewise.
16021 (do_test): Likewise.
16022 * string/test-string.h: Likewise.
16023 (test_init): Likewise.
16024 * string/test-strlen.c (do_one_test): Likewise.
16025 (do_test): Likewise.
16026 * string/test-strncasecmp.c (do_one_test): Likewise.
16027 (do_test): Likewise.
16028 * string/test-strncat.c (do_one_test): Likewise.
16029 (do_test): Likewise.
16030 * string/test-strncmp.c (do_one_test): Likewise.
16031 (do_test_limit): Likewise.
16032 (do_test): Likewise.
16033 * string/test-strncpy.c (do_one_test): Likewise.
16034 (do_test): Likewise.
16035 * string/test-strnlen.c (do_one_test): Likewise.
16036 (do_test): Likewise.
16037 * string/test-strpbrk.c (do_one_test): Likewise.
16038 (do_test): Likewise.
16039 * string/test-strrchr.c (do_one_test): Likewise.
16040 (do_test): Likewise.
16041 * string/test-strspn.c (do_one_test): Likewise.
16042 (do_test): Likewise.
16043 * string/test-strstr.c (do_one_test): Likewise.
16044 (do_test): Likewise.
16046 * benchtests/Makefile (string-bench): Add string benchmarks.
16047 * benchtests/bench-bcopy-ifunc.c: New file.
16048 * benchtests/bench-bcopy.c: New file.
16049 * benchtests/bench-bzero-ifunc.c: New file.
16050 * benchtests/bench-bzero.c: New file.
16051 * benchtests/bench-memccpy-ifunc.c: New file.
16052 * benchtests/bench-memccpy.c: New file.
16053 * benchtests/bench-memchr-ifunc.c: New file.
16054 * benchtests/bench-memchr.c: New file.
16055 * benchtests/bench-memcmp-ifunc.c: New file.
16056 * benchtests/bench-memcmp.c: New file.
16057 * benchtests/bench-memmem-ifunc.c: New file.
16058 * benchtests/bench-memmem.c: New file.
16059 * benchtests/bench-memmove-ifunc.c: New file.
16060 * benchtests/bench-memmove.c: New file.
16061 * benchtests/bench-mempcpy-ifunc.c: New file.
16062 * benchtests/bench-mempcpy.c: New file.
16063 * benchtests/bench-memset-ifunc.c: New file.
16064 * benchtests/bench-memset.c: New file.
16065 * benchtests/bench-rawmemchr-ifunc.c: New file.
16066 * benchtests/bench-rawmemchr.c: New file.
16067 * benchtests/bench-stpcpy-ifunc.c: New file.
16068 * benchtests/bench-stpcpy.c: New file.
16069 * benchtests/bench-stpncpy-ifunc.c: New file.
16070 * benchtests/bench-stpncpy.c: New file.
16071 * benchtests/bench-strcasecmp-ifunc.c: New file.
16072 * benchtests/bench-strcasecmp.c: New file.
16073 * benchtests/bench-strcasestr-ifunc.c: New file.
16074 * benchtests/bench-strcasestr.c: New file.
16075 * benchtests/bench-strcat-ifunc.c: New file.
16076 * benchtests/bench-strcat.c: New file.
16077 * benchtests/bench-strchr-ifunc.c: New file.
16078 * benchtests/bench-strchr.c: New file.
16079 * benchtests/bench-strchrnul-ifunc.c: New file.
16080 * benchtests/bench-strchrnul.c: New file.
16081 * benchtests/bench-strcmp-ifunc.c: New file.
16082 * benchtests/bench-strcmp.c: New file.
16083 * benchtests/bench-strcpy-ifunc.c: New file.
16084 * benchtests/bench-strcpy.c: New file.
16085 * benchtests/bench-strcspn-ifunc.c: New file.
16086 * benchtests/bench-strcspn.c: New file.
16087 * benchtests/bench-strlen-ifunc.c: New file.
16088 * benchtests/bench-strlen.c: New file.
16089 * benchtests/bench-strncasecmp-ifunc.c: New file.
16090 * benchtests/bench-strncasecmp.c: New file.
16091 * benchtests/bench-strncat-ifunc.c: New file.
16092 * benchtests/bench-strncat.c: New file.
16093 * benchtests/bench-strncmp-ifunc.c: New file.
16094 * benchtests/bench-strncmp.c: New file.
16095 * benchtests/bench-strncpy-ifunc.c: New file.
16096 * benchtests/bench-strncpy.c: New file.
16097 * benchtests/bench-strnlen-ifunc.c: New file.
16098 * benchtests/bench-strnlen.c: New file.
16099 * benchtests/bench-strpbrk-ifunc.c: New file.
16100 * benchtests/bench-strpbrk.c: New file.
16101 * benchtests/bench-strrchr-ifunc.c: New file.
16102 * benchtests/bench-strrchr.c: New file.
16103 * benchtests/bench-strspn-ifunc.c: New file.
16104 * benchtests/bench-strspn.c: New file.
16105 * benchtests/bench-strstr-ifunc.c: New file.
16106 * benchtests/bench-strstr.c: New file.
16108 * benchtests/Makefile: Disable parallel execution of targets.
16109 (string-bench): Add memcpy.
16110 (benchset): New variable to store a list of benchmark sets.
16111 (bench-func): Renamed from bench.
16112 (bench-set): New target.
16113 (bench): Depend on bench-func and bench-set.
16114 * benchtests/README: Add section on benchmark sets.
16115 * benchtests/bench-memcpy-ifunc.c: New file.
16116 * benchtests/bench-memcpy.c: New file.
16117 * benchtests/bench-string.h: New file.
16119 2013-06-11 Andreas Schwab <schwab@suse.de>
16122 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16123 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16124 values in the triple.
16125 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16126 terminator in the group key.
16128 2013-06-11 Andreas Jaeger <aj@suse.de>
16130 * po/zh_TW.po: Update Chinese (traditional) translation from
16131 translation project.
16133 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16135 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16136 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16137 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16138 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16139 (clock_getcpuclockid): Likewise.
16140 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16141 Add weak_alias and libc_hidden_def.
16142 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16143 * rt/clock_gettime.c (clock_gettime): Rename to
16144 __clock_gettime. Add weak_alias and libc_hidden_def.
16145 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16146 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16147 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16148 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16149 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16151 * rt/clock_settime.c (clock_settime): Rename to
16152 __clock_settime. Add weak_alias and libc_hidden_def.
16153 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16155 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16157 * mach/err_boot.sub: Remove trailing whitespace.
16158 * mach/err_ipc.sub: Likewise.
16159 * mach/err_mach.sub: Likewise.
16161 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16162 (ROUNDING_TESTS_double): Likewise.
16163 (ROUNDING_TESTS_long_double): Likewise.
16164 (ROUNDING_TESTS): Likewise.
16165 * math/libm-test.inc: Include <math-tests.h>.
16166 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16167 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16168 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16169 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16171 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16173 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16176 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16178 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16179 otherwise empty TRANS lines.
16180 * sysdeps/gnu/errlist.c: Regenerated.
16182 * catgets/gencat.c (error_print): Use (void) in function
16184 * crypt/crypt_util.c (__init_des): Likewise.
16185 * crypt/speeds.c (Stop): Likewise.
16187 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16188 * inet/ruserpass.c (token): Likewise.
16189 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16190 * intl/localealias.c (extend_alias_table): Likewise.
16191 * intl/plural-exp.c (init_germanic_plural): Likewise.
16192 * libio/fcloseall.c (__fcloseall): Likewise.
16193 * libio/genops.c (_IO_flush_all): Likewise.
16194 (_IO_flush_all_linebuffered): Likewise.
16195 (_IO_cleanup): Likewise.
16196 (_IO_iter_begin): Likewise.
16197 (_IO_iter_end): Likewise.
16198 (_IO_list_lock): Likewise.
16199 (_IO_list_unlock): Likewise.
16200 (_IO_list_resetlock): Likewise.
16201 * libio/getchar.c (getchar): Likewise.
16202 * libio/getchar_u.c (getchar_unlocked): Likewise.
16203 * libio/getwchar.c (getwchar): Likewise.
16204 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16205 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16206 * login/getpt.c (__getpt): Likewise.
16207 * login/tst-utmp.c (main): Likewise.
16208 * malloc/hooks.c (__malloc_check_init): Likewise.
16209 * malloc/malloc.c (__malloc_stats): Likewise.
16210 * malloc/mtrace.c (tr_break): Likewise.
16211 (mtrace): Likewise.
16212 (muntrace): Likewise.
16213 * misc/fstab.c (endfsent): Likewise.
16214 * misc/getclktck.c (__getclktck): Likewise.
16215 * misc/getdtsz.c (__getdtablesize): Likewise.
16216 * misc/gethostid.c (gethostid): Likewise.
16217 * misc/getpagesize.c (__getpagesize): Likewise.
16218 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16219 (__get_nprocs): Likewise.
16220 (__get_phys_pages): Likewise.
16221 (__get_avphys_pages): Likewise.
16222 * misc/getttyent.c (getttyent): Likewise.
16223 (setttyent): Likewise.
16224 (endttyent): Likewise.
16225 * misc/getusershell.c (getusershell): Likewise.
16226 (endusershell): Likewise.
16227 (setusershell): Likewise.
16228 (initshells): Likewise.
16229 * misc/hsearch.c (__hdestroy): Likewise.
16230 * misc/sync.c (sync): Likewise.
16231 * misc/syslog.c (closelog_internal): Likewise.
16232 (closelog): Likewise.
16233 * misc/ttyslot.c (ttyslot): Likewise.
16234 * misc/vhangup.c (vhangup): Likewise.
16235 * posix/fork.c (__fork): Likewise.
16236 * posix/getegid.c (__getegid): Likewise.
16237 * posix/geteuid.c (__geteuid): Likewise.
16238 * posix/getgid.c (__getgid): Likewise.
16239 * posix/getpid.c (__getpid): Likewise.
16240 * posix/getppid.c (__getppid): Likewise.
16241 * posix/getuid.c (__getuid): Likewise.
16242 * posix/pause.c (pause): Likewise.
16243 * posix/setpgrp.c (setpgrp): Likewise.
16244 * posix/setsid.c (__setsid): Likewise.
16245 * posix/test-vfork.c (noop): Likewise.
16246 * resolv/gethnamaddr.c (_endhtent): Likewise.
16247 (_gethtent): Likewise.
16248 (ht_endhostent): Likewise.
16249 (gethostent): Likewise.
16250 (dns_service): Likewise.
16251 * stdlib/drand48.c (drand48): Likewise.
16252 * stdlib/lrand48.c (lrand48): Likewise.
16253 * stdlib/mrand48.c (mrand48): Likewise.
16254 * stdlib/rand.c (rand): Likewise.
16255 * stdlib/random.c (__random): Likewise.
16256 * stdlib/setenv.c (clearenv): Likewise.
16257 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16258 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16259 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16260 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16261 (__get_nprocs): Likewise.
16262 (__get_phys_pages): Likewise.
16263 (__get_avphys_pages): Likewise.
16264 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16265 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16266 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16267 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16268 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16269 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16270 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16271 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16272 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16273 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16274 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16275 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16276 * sysdeps/posix/clock.c (clock): Likewise.
16277 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16278 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16279 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16280 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16281 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16283 (__get_nprocs_conf): Likewise.
16284 (__get_phys_pages): Likewise.
16285 (__get_avphys_pages): Likewise.
16286 * time/clock.c (clock): Likewise.
16287 * time/tzset.c (__tzname_max): Likewise.
16289 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16291 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16292 (__bswap_32): Do not use "register".
16293 * crypt/crypt.c (_ufc_doit_r): Likewise.
16294 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16295 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16296 * gmon/gmon.c (__monstartup): Likewise.
16297 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16298 * hurd/hurdmalloc.c (more_memory): Likewise.
16299 (malloc): Likewise.
16301 (realloc): Likewise.
16302 (malloc_fork_prepare): Likewise.
16303 (malloc_fork_parent): Likewise.
16304 (malloc_fork_child): Likewise.
16305 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16306 (_svcauth_des): Likewise.
16307 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16308 * inet/inet_net.c (inet_network): Likewise.
16309 * inet/inet_netof.c (inet_netof): Likewise.
16310 * inet/rcmd.c (__validuser2_sa): Likewise.
16311 * io/fts.c (fts_open): Likewise.
16312 (fts_load): Likewise.
16313 (fts_close): Likewise.
16314 (fts_read): Likewise.
16315 (fts_children): Likewise.
16316 (fts_build): Likewise.
16317 (fts_stat): Likewise.
16318 (fts_sort): Likewise.
16319 (fts_alloc): Likewise.
16320 (fts_lfree): Likewise.
16321 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16322 (_IO_file_xsgetn): Likewise.
16323 (_IO_file_xsgetn_mmap): Likewise.
16324 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16325 (_IO_cookie_write): Likewise.
16326 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16327 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16328 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16329 * malloc/obstack.c (_obstack_begin): Likewise.
16330 (_obstack_begin_1): Likewise.
16331 (_obstack_newchunk): Likewise.
16332 (_obstack_allocated_p): Likewise.
16333 (obstack_free): Likewise.
16334 (_obstack_memory_used): Likewise.
16335 * misc/getttyent.c (getttynam): Likewise.
16336 (getttyent): Likewise.
16339 * misc/getusershell.c (initshells): Likewise.
16340 * misc/syslog.c (__vsyslog_chk): Likewise.
16341 * misc/ttyslot.c (ttyslot): Likewise.
16342 * nis/nis_hash.c (__nis_hash): Likewise.
16343 * posix/fnmatch_loop.c (FCT): Likewise.
16344 * posix/getconf.c (print_all): Likewise.
16346 * posix/getopt.c (exchange): Likewise.
16347 * posix/glob.c (globfree): Likewise.
16348 (prefix_array): Likewise.
16349 (__glob_pattern_type): Likewise.
16350 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16351 (NS_GET32): Likewise.
16352 (NS_PUT16): Likewise.
16353 (NS_PUT32): Likewise.
16354 * resolv/gethnamaddr.c (getanswer): Likewise.
16355 (gethostbyname2): Likewise.
16356 (gethostbyaddr): Likewise.
16357 (_gethtent): Likewise.
16358 (_gethtbyname2): Likewise.
16359 (_gethtbyaddr): Likewise.
16360 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16361 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16362 * resolv/res_init.c (__res_vinit): Likewise.
16363 (net_mask): Likewise.
16364 * resolv/res_mkquery.c (outchar): Likewise.
16366 * stdio-common/printf_fp.c (outchar): Likewise.
16368 * stdio-common/printf_fphex.c (outchar): Likewise.
16370 * stdio-common/printf_size.c (outchar): Likewise.
16372 * stdio-common/test_rdwr.c (main): Likewise.
16373 * stdio-common/tfformat.c (matches): Likewise.
16374 * stdio-common/vfprintf.c (outchar): Likewise.
16375 (printf_unknown): Likewise.
16376 (buffered_vfprintf): Likewise.
16377 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16378 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16379 (ReadFile): Likewise.
16380 * stdlib/qsort.c (SWAP): Likewise.
16381 (_quicksort): Likewise.
16382 * stdlib/setenv.c (__add_to_environ): Likewise.
16383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16384 * stdlib/strtol_l.c (__strtol_l): Likewise.
16385 * stdlib/tst-strtod.c (main): Likewise.
16386 * stdlib/tst-strtol.c (main): Likewise.
16387 * stdlib/tst-strtoll.c (main): Likewise.
16388 * string/bits/string2.h (__strcmp_cc): Likewise.
16389 (__strcmp_cg): Likewise.
16390 (__strcspn_c1): Likewise.
16391 (__strcspn_c2): Likewise.
16392 (__strcspn_c3): Likewise.
16393 (__strspn_c1): Likewise.
16394 (__strspn_c2): Likewise.
16395 (__strspn_c3): Likewise.
16396 (__strsep_1c): Likewise.
16397 (__strsep_2c): Likewise.
16398 (__strsep_3c): Likewise.
16399 * string/memccpy.c (__memccpy): Likewise.
16400 * string/stpcpy.c (__stpcpy): Likewise.
16401 * string/strcmp.c (strcmp): Likewise.
16402 * string/strrchr.c (strrchr): Likewise.
16403 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16405 * sysdeps/mach/hurd/getcwd.c
16406 (_hurd_canonicalize_directory_name_internal): Likewise.
16407 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16408 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16409 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16410 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16411 Likewise, in both definitions.
16412 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16414 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16415 64] (__bswap_64): Likewise.
16416 * time/test_time.c (main): Likewise.
16417 * time/tzfile.c (__tzfile_read): Likewise.
16418 (__tzfile_compute): Likewise.
16419 * time/tzset.c (__tzset_parse_tz): Likewise.
16420 (tzset_internal): Likewise.
16421 (compute_change): Likewise.
16422 * wcsmbs/wcscat.c (__wcscat): Likewise.
16423 * wcsmbs/wcschr.c (wcschr): Likewise.
16424 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16425 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16426 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16427 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16428 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16429 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16430 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16431 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16432 * wcsmbs/wmemset.c (wmemset): Likewise.
16434 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16436 * scripts/config.guess: Update to version 2013-05-16.
16437 * scripts/config.sub: Update to version 2013-04-24.
16438 * scripts/install-sh: Update to version 2011-11-20.07.
16439 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16440 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16442 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16444 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16445 * elf/sln.c: Likewise.
16446 * hurd/hurd/ioctl.h: Likewise.
16447 * hurd/hurdmalloc.c: Likewise.
16448 * hurd/xattr.c: Likewise.
16449 * include/shlib-compat.h: Likewise.
16450 * inet/ruserpass.c: Likewise.
16451 * libio/iofgets_u.c: Likewise.
16452 * libio/iofgetws_u.c: Likewise.
16453 * locale/programs/ld-identification.c: Likewise.
16454 * locale/programs/ld-time.c: Likewise.
16455 * mach/msg-destroy.c: Likewise.
16456 * nss/nss_files/files-netgrp.c: Likewise.
16457 * resolv/res_data.c: Likewise.
16458 * soft-fp/op-1.h: Likewise.
16459 * soft-fp/op-2.h: Likewise.
16460 * soft-fp/op-4.h: Likewise.
16461 * soft-fp/op-common.h: Likewise.
16462 * stdio-common/printf_fphex.c: Likewise.
16463 * stdlib/strtod_l.c: Likewise.
16464 * sunrpc/rpc/clnt.h: Likewise.
16465 * sysdeps/generic/framestate.c: Likewise.
16466 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16467 * sysdeps/i386/bsd-setjmp.S: Likewise.
16468 * sysdeps/i386/__longjmp.S: Likewise.
16469 * sysdeps/i386/setjmp.S: Likewise.
16470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16471 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16475 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16476 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16479 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16480 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16481 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16482 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16483 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16487 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16488 * sysdeps/ieee754/support.c: Likewise.
16489 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16490 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16491 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16493 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16494 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16495 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16496 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16497 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16498 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16499 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16500 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16501 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16502 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16503 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16504 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16505 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16508 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16510 * posix/transbug.c: Remove executable mode.
16512 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16514 * crypt/speeds.c: Remove trailing whitespace.
16515 * dlfcn/default.c: Likewise.
16516 * elf/ifuncdep2.c: Likewise.
16517 * elf/ifuncmain1.c: Likewise.
16518 * elf/ifuncmain1vis.c: Likewise.
16519 * elf/testobj.h: Likewise.
16520 * elf/tst-stackguard1.c: Likewise.
16521 * gmon/sys/gmon.h: Likewise.
16522 * hurd/hurdmsg.c: Likewise.
16523 * hurd/new-fd.c: Likewise.
16524 * hurd/ports-get.c: Likewise.
16525 * iconvdata/ibm1008_420.c: Likewise.
16526 * inet/tst-getni1.c: Likewise.
16527 * inet/tst-getni2.c: Likewise.
16528 * libio/ioungetc.c: Likewise.
16529 * libio/wfiledoalloc.c: Likewise.
16530 * manual/libm-err-tab.pl: Likewise.
16531 * math/w_dremf.c: Likewise.
16532 * misc/ftruncate.c: Likewise.
16533 * posix/bug-glob2.c: Likewise.
16534 * posix/tst-pcre.c: Likewise.
16535 * posix/wait4.c: Likewise.
16536 * resolv/README: Likewise.
16537 * resolv/res_debug.h: Likewise.
16538 * resolv/tst-inet_ntop.c: Likewise.
16539 * setjmp/bug269-setjmp.c: Likewise.
16540 * soft-fp/extended.h: Likewise.
16541 * soft-fp/op-1.h: Likewise.
16542 * soft-fp/op-2.h: Likewise.
16543 * soft-fp/op-4.h: Likewise.
16544 * soft-fp/op-8.h: Likewise.
16545 * soft-fp/testit.c: Likewise.
16546 * stdio-common/bug16.c: Likewise.
16547 * stdlib/random.c: Likewise.
16548 * sunrpc/rpcsvc/rquota.x: Likewise.
16549 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16550 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16551 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16552 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16553 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16557 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16558 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16562 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16564 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16565 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16567 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16568 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16569 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16570 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16571 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16572 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16573 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16574 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16577 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16578 * sysdeps/ieee754/s_lib_version.c: Likewise.
16579 * sysdeps/mach/hurd/check_fds.c: Likewise.
16580 * sysdeps/mach/hurd/getsockname.c: Likewise.
16581 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16582 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16583 * sysdeps/powerpc/bits/link.h: Likewise.
16584 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16585 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16586 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16587 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16588 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16589 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16590 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16591 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16592 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16593 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16594 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16595 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16596 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16597 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16598 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16599 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16601 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16602 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16603 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16604 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16605 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16607 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16608 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16609 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16612 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16614 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16615 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16616 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16618 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16619 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16620 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16621 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16622 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16623 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16624 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16625 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16626 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16627 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16628 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16629 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16630 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16631 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16632 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16633 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16636 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16637 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16638 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16639 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16640 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16641 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16644 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16645 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16646 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16647 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16648 * sysdeps/powerpc/sysdep.h: Likewise.
16649 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16650 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16651 * sysdeps/sh/dl-trampoline.S: Likewise.
16652 * sysdeps/sh/memset.S: Likewise.
16653 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16654 * sysdeps/sh/strlen.S: Likewise.
16655 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16656 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16657 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16658 * sysdeps/sparc/sparc32/rem.S: Likewise.
16659 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16660 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16661 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16662 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16663 * sysdeps/sparc/sparc32/urem.S: Likewise.
16664 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16665 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16666 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16667 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16668 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16669 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16670 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16671 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16672 * sysdeps/unix/bsd/times.c: Likewise.
16673 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16674 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16678 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16679 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16680 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16682 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16683 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16685 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16686 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16687 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16688 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16689 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16690 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16691 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16692 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16693 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16694 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16695 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16696 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16697 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16698 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16699 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16701 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16702 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16703 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16704 * sysdeps/x86_64/strcspn.S: Likewise.
16706 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16708 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16709 generated file. Regenerate properly from gen-translit.pl.
16710 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16711 locale/C-translit.h.
16713 2013-06-05 Andreas Schwab <schwab@suse.de>
16716 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16717 week as 6 instead of -1.
16718 * time/tst-strptime.c (day_tests): Add test case.
16720 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16722 * sysdeps/generic/math_private.h
16723 (libc_feholdexcept_setround_53bit): Replace with
16724 libc_feholdsetround_53bit.
16725 (libc_feupdateenv_53bit): Replace with
16726 libc_feresetround_53bit.
16727 (SET_RESTORE_ROUND_53BIT): Adjust.
16729 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16731 * string/test-strchrnul.c: Add copyright header.
16733 * posix/tst-getaddrinfo4.c: Increase test timeout.
16735 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16738 * math/libm-test.inc (MAX_EXP): Remove
16740 (ulp): Use MIN_EXP - MANT_DIG.
16741 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16743 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16745 * po/be.po: Revert last change.
16746 * po/zh_CN.po: Likewise.
16747 * po/header.pot: Likewise.
16749 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16751 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16752 link-libc-deps to empty as target-specific variable.
16753 * Makerules (link-libc-args): New variable.
16754 (libc-for-link): Likewise.
16755 (link-libc-deps): Likewise.
16756 (lib%.so): Depend on $(link-libc-deps). Link with
16758 (build-module): Link with $(link-libc-args).
16759 (build-module-asneeded): Likewise.
16760 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16762 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16763 target-specific variable.
16764 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16765 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16766 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16768 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16770 ($(objpfx)libpcprofile.so): Likewise.
16771 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16773 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16774 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16775 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16777 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16778 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16779 * login/Makefile ($(objpfx)libutil.so): Likewise.
16780 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16781 * math/Makefile ($(objpfx)libm.so): Likewise.
16782 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16783 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16784 variable instead of depending directly on libc.
16785 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16786 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16788 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16790 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16791 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16792 ($(objpfx)libanl.so): Likewise.
16793 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16795 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16797 * sysdeps/i386/fpu/Makefile: Remove file.
16798 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16799 ($(objpfx)libm.so): Remove dependency on ld.so.
16801 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16804 * nis/yp_xdr.c (XDRMAXNAME): Define.
16805 (XDRMAXRECORD): Define.
16806 (xdr_domainname): Use XDRMAXNAME.
16807 (xdr_mapname): Likewise.
16808 (xdr_peername): Likewise.
16809 (xdr_keydat): Use XDRMAXRECORD.
16810 (xdr_valdat): Likewise.
16812 2013-05-30 Jeff Law <law@redhat.com>
16815 * manual/errno.texi (ESTALE): Update to account for more than
16816 just NFS file systems.
16817 * sysdeps/gnu/errlist.c: Regenerated.
16819 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16822 * elf/Makefile (tests): Add tst-null-argv.
16823 (modules-names): Add tst-null-argv-lib.
16824 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16825 (tst-null-argv-ENV): Set environment for tst-null-argv.
16826 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16827 (RTLD_PROGNAME): New macro.
16828 * elf/tst-null-argv.c: New test case.
16829 * elf/tst-null-argv-lib.c: Library for test case.
16830 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16831 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16832 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16833 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16834 * elf/dl-init.c (call_init): Likewise.
16835 (_dl_init): Likewise.
16836 * elf/dl-load.c (print_search_path): Likewise.
16837 (_dl_map_object): Likewise.
16838 * elf/dl-lookup.c (do_lookup_x): Likewise.
16839 (add_dependency): Likewise.
16840 (_dl_lookup_symbol_x): Likewise.
16841 (_dl_debug_bindings): Likewise.
16842 * elf/dl-open.c (_dl_show_scope): Likewise.
16843 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16844 * elf/dl-version.c (match_symbol): Likewise.
16845 (_dl_check_map_versions): Likewise.
16846 * elf/rtld.c (dl_main): Likewise.
16847 (print_unresolved): Use RTLD_PROGNAME.
16848 (print_missing_version): Likewise.
16849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16850 (elf_machine_rela): Likewise.
16851 * sysdeps/powerpc/powerpc32/dl-machine.c
16852 (__process_machine_rela): Likewise.
16853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16866 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16868 * po/be.po: Add descriptive title.
16869 * po/zh_CN.po: Likewise.
16870 * po/header.pot: Likewise.
16872 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16874 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16876 (enlarge_archive): Likewise.
16878 2013-05-28 Ben North <ben@redfrontdoor.org>
16880 * manual/arith.texi (frexp): It is the magnitude of the return
16881 value which lies in [0.5, 1), not the return value itself.
16883 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16887 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16889 * stdio-common/bug26.c (main): Correct fscanf template.
16891 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16892 declare _dl_skip_args.
16894 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16897 * manual/platform.texi: Add missing @end deftypefun.
16899 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16903 bit of mantissa of 2^16382.
16904 * math/libm-test.inc (hypot_test_data): Add more tests.
16906 * math/libm-test.inc: Add drem and pow10 to list of tested
16908 (pow10_test): New function.
16909 (drem_test): Likewise.
16910 (drem_test_tonearest): Likewise.
16911 (drem_test_towardzero): Likewise.
16912 (drem_test_downward): Likewise.
16913 (drem_test_upward): Likewise.
16914 (main): Call the new functions.
16916 * math/libm-test.inc (finite_test_data): Remove.
16917 (finite_test): Run tests from isfinite_test_data.
16918 (gamma_test_data): Remove.
16919 (gamma_test): Run tests from lgamma_test_data.
16920 * sysdeps/i386/fpu/libm-test-ulps: Update.
16921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16923 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16925 * manual/platform.texi: Add PowerPC PPR function set documentation.
16926 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16929 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16931 * math/libm-test.inc (MAX_EXP): Define.
16933 (ulp): New function.
16934 (check_float_internal): Use ULPDIFF.
16935 (cpow_test): Disable failing test.
16936 (check_ulp): Test ulp() implemetnation.
16937 (main): Call check_ulp before starting tests.
16939 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16941 * math/gen-libm-test.pl (generate_testfile): Do not handle
16942 START_DATA and END_DATA.
16943 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16945 (acos_tonearest_test_data): Likewise.
16946 (acos_towardzero_test_data): Likewise.
16947 (acos_downward_test_data): Likewise.
16948 (acos_upward_test_data): Likewise.
16949 (acosh_test_data): Likewise.
16950 (asin_test_data): Likewise.
16951 (asin_tonearest_test_data): Likewise.
16952 (asin_towardzero_test_data): Likewise.
16953 (asin_downward_test_data): Likewise.
16954 (asin_upward_test_data): Likewise.
16955 (asinh_test_data): Likewise.
16956 (atan_test_data): Likewise.
16957 (atanh_test_data): Likewise.
16958 (atan2_test_data): Likewise.
16959 (cabs_test_data): Likewise.
16960 (cacos_test_data): Likewise.
16961 (cacosh_test_data): Likewise.
16962 (carg_test_data): Likewise.
16963 (casin_test_data): Likewise.
16964 (casinh_test_data): Likewise.
16965 (catan_test_data): Likewise.
16966 (catanh_test_data): Likewise.
16967 (cbrt_test_data): Likewise.
16968 (ccos_test_data): Likewise.
16969 (ccosh_test_data): Likewise.
16970 (ceil_test_data): Likewise.
16971 (cexp_test_data): Likewise.
16972 (cimag_test_data): Likewise.
16973 (clog_test_data): Likewise.
16974 (clog10_test_data): Likewise.
16975 (conj_test_data): Likewise.
16976 (copysign_test_data): Likewise.
16977 (cos_test_data): Likewise.
16978 (cos_tonearest_test_data): Likewise.
16979 (cos_towardzero_test_data): Likewise.
16980 (cos_downward_test_data): Likewise.
16981 (cos_upward_test_data): Likewise.
16982 (cosh_test_data): Likewise.
16983 (cosh_tonearest_test_data): Likewise.
16984 (cosh_towardzero_test_data): Likewise.
16985 (cosh_downward_test_data): Likewise.
16986 (cosh_upward_test_data): Likewise.
16987 (cpow_test_data): Likewise.
16988 (cproj_test_data): Likewise.
16989 (creal_test_data): Likewise.
16990 (csin_test_data): Likewise.
16991 (csinh_test_data): Likewise.
16992 (csqrt_test_data): Likewise.
16993 (ctan_test_data): Likewise.
16994 (ctan_tonearest_test_data): Likewise.
16995 (ctan_towardzero_test_data): Likewise.
16996 (ctan_downward_test_data): Likewise.
16997 (ctan_upward_test_data): Likewise.
16998 (ctanh_test_data): Likewise.
16999 (ctanh_tonearest_test_data): Likewise.
17000 (ctanh_towardzero_test_data): Likewise.
17001 (ctanh_downward_test_data): Likewise.
17002 (ctanh_upward_test_data): Likewise.
17003 (erf_test_data): Likewise.
17004 (erfc_test_data): Likewise.
17005 (exp_test_data): Likewise.
17006 (exp_tonearest_test_data): Likewise.
17007 (exp_towardzero_test_data): Likewise.
17008 (exp_downward_test_data): Likewise.
17009 (exp_upward_test_data): Likewise.
17010 (exp10_test_data): Likewise.
17011 (exp2_test_data): Likewise.
17012 (expm1_test_data): Likewise.
17013 (fabs_test_data): Likewise.
17014 (fdim_test_data): Likewise.
17015 (finite_test_data): Likewise.
17016 (floor_test_data): Likewise.
17017 (fma_test_data): Likewise.
17018 (fma_towardzero_test_data): Likewise.
17019 (fma_downward_test_data): Likewise.
17020 (fma_upward_test_data): Likewise.
17021 (fmax_test_data): Likewise.
17022 (fmin_test_data): Likewise.
17023 (fmod_test_data): Likewise.
17024 (fpclassify_test_data): Likewise.
17025 (frexp_test_data): Likewise.
17026 (gamma_test_data): Likewise.
17027 (hypot_test_data): Likewise.
17028 (ilogb_test_data): Likewise.
17029 (isfinite_test_data): Likewise.
17030 (isgreater_test_data): Likewise.
17031 (isgreaterequal_test_data): Likewise.
17032 (isinf_test_data): Likewise.
17033 (isless_test_data): Likewise.
17034 (islessequal_test_data): Likewise.
17035 (islessgreater_test_data): Likewise.
17036 (isnan_test_data): Likewise.
17037 (isnormal_test_data): Likewise.
17038 (issignaling_test_data): Likewise.
17039 (isunordered_test_data): Likewise.
17040 (j0_test_data): Likewise.
17041 (j1_test_data): Likewise.
17042 (jn_test_data): Likewise.
17043 (ldexp_test_data): Likewise.
17044 (lgamma_test_data): Likewise.
17045 (lrint_test_data): Likewise.
17046 (lrint_tonearest_test_data): Likewise.
17047 (lrint_towardzero_test_data): Likewise.
17048 (lrint_downward_test_data): Likewise.
17049 (lrint_upward_test_data): Likewise.
17050 (llrint_test_data): Likewise.
17051 (llrint_tonearest_test_data): Likewise.
17052 (llrint_towardzero_test_data): Likewise.
17053 (llrint_downward_test_data): Likewise.
17054 (llrint_upward_test_data): Likewise.
17055 (log_test_data): Likewise.
17056 (log10_test_data): Likewise.
17057 (log1p_test_data): Likewise.
17058 (log2_test_data): Likewise.
17059 (logb_test_data): Likewise.
17060 (logb_downward_test_data): Likewise.
17061 (lround_test_data): Likewise.
17062 (llround_test_data): Likewise.
17063 (modf_test_data): Likewise.
17064 (nearbyint_test_data): Likewise.
17065 (nextafter_test_data): Likewise.
17066 (nexttoward_test_data): Likewise.
17067 (pow_test_data): Likewise.
17068 (pow_tonearest_test_data): Likewise.
17069 (pow_towardzero_test_data): Likewise.
17070 (pow_downward_test_data): Likewise.
17071 (pow_upward_test_data): Likewise.
17072 (remainder_test_data): Likewise.
17073 (remainder_tonearest_test_data): Likewise.
17074 (remainder_towardzero_test_data): Likewise.
17075 (remainder_downward_test_data): Likewise.
17076 (remainder_upward_test_data): Likewise.
17077 (remquo_test_data): Likewise.
17078 (rint_test_data): Likewise.
17079 (rint_tonearest_test_data): Likewise.
17080 (rint_towardzero_test_data): Likewise.
17081 (rint_downward_test_data): Likewise.
17082 (rint_upward_test_data): Likewise.
17083 (round_test_data): Likewise.
17084 (scalb_test_data): Likewise.
17085 (scalbn_test_data): Likewise.
17086 (scalbln_test_data): Likewise.
17087 (signbit_test_data): Likewise.
17088 (sin_test_data): Likewise.
17089 (sin_tonearest_test_data): Likewise.
17090 (sin_towardzero_test_data): Likewise.
17091 (sin_downward_test_data): Likewise.
17092 (sin_upward_test_data): Likewise.
17093 (sincos_test_data): Likewise.
17094 (sinh_test_data): Likewise.
17095 (sinh_tonearest_test_data): Likewise.
17096 (sinh_towardzero_test_data): Likewise.
17097 (sinh_downward_test_data): Likewise.
17098 (sinh_upward_test_data): Likewise.
17099 (sqrt_test_data): Likewise.
17100 (tan_test_data): Likewise.
17101 (tan_tonearest_test_data): Likewise.
17102 (tan_towardzero_test_data): Likewise.
17103 (tan_downward_test_data): Likewise.
17104 (tan_upward_test_data): Likewise.
17105 (tanh_test_data): Likewise.
17106 (tgamma_test_data): Likewise.
17107 (trunc_test_data): Likewise.
17108 (y0_test_data): Likewise.
17109 (y1_test_data): Likewise.
17110 (yn_test_data): Likewise.
17111 (significand_test_data): Likewise.
17113 * math/gen-libm-test.pl (@functions): Remove variable.
17114 (generate_testfile): Don't handle START and END lines.
17115 * math/libm-test.inc (START): New macro.
17117 (END_COMPLEX): Likewise.
17118 (acos_test): Use END macro without arguments.
17119 (acos_test_tonearest): Likewise.
17120 (acos_test_towardzero): Likewise.
17121 (acos_test_downward): Likewise.
17122 (acos_test_upward): Likewise.
17123 (acosh_test): Likewise.
17124 (asin_test): Likewise.
17125 (asin_test_tonearest): Likewise.
17126 (asin_test_towardzero): Likewise.
17127 (asin_test_downward): Likewise.
17128 (asin_test_upward): Likewise.
17129 (asinh_test): Likewise.
17130 (atan_test): Likewise.
17131 (atanh_test): Likewise.
17132 (atan2_test): Likewise.
17133 (cabs_test): Likewise.
17134 (cacos_test): Use END_COMPLEX macro without arguments.
17135 (cacosh_test): Likewise.
17136 (carg_test): Use END macro without arguments.
17137 (casin_test): Use END_COMPLEX macro without arguments.
17138 (casinh_test): Likewise.
17139 (catan_test): Likewise.
17140 (catanh_test): Likewise.
17141 (cbrt_test): Use END macro without arguments.
17142 (ccos_test): Use END_COMPLEX macro without arguments.
17143 (ccosh_test): Likewise.
17144 (ceil_test): Use END macro without arguments.
17145 (cexp_test): Use END_COMPLEX macro without arguments.
17146 (cimag_test): Use END macro without arguments.
17147 (clog_test): Use END_COMPLEX macro without arguments.
17148 (clog10_test): Likewise.
17149 (conj_test): Likewise.
17150 (copysign_test): Use END macro without arguments.
17151 (cos_test): Likewise.
17152 (cos_test_tonearest): Likewise.
17153 (cos_test_towardzero): Likewise.
17154 (cos_test_downward): Likewise.
17155 (cos_test_upward): Likewise.
17156 (cosh_test): Likewise.
17157 (cosh_test_tonearest): Likewise.
17158 (cosh_test_towardzero): Likewise.
17159 (cosh_test_downward): Likewise.
17160 (cosh_test_upward): Likewise.
17161 (cpow_test): Use END_COMPLEX macro without arguments.
17162 (cproj_test): Likewise.
17163 (creal_test): Use END macro without arguments.
17164 (csin_test): Use END_COMPLEX macro without arguments.
17165 (csinh_test): Likewise.
17166 (csqrt_test): Likewise.
17167 (ctan_test): Likewise.
17168 (ctan_test_tonearest): Likewise.
17169 (ctan_test_towardzero): Likewise.
17170 (ctan_test_downward): Likewise.
17171 (ctan_test_upward): Likewise.
17172 (ctanh_test): Likewise.
17173 (ctanh_test_tonearest): Likewise.
17174 (ctanh_test_towardzero): Likewise.
17175 (ctanh_test_downward): Likewise.
17176 (ctanh_test_upward): Likewise.
17177 (erf_test): Use END macro without arguments.
17178 (erfc_test): Likewise.
17179 (exp_test): Likewise.
17180 (exp_test_tonearest): Likewise.
17181 (exp_test_towardzero): Likewise.
17182 (exp_test_downward): Likewise.
17183 (exp_test_upward): Likewise.
17184 (exp10_test): Likewise.
17185 (exp2_test): Likewise.
17186 (expm1_test): Likewise.
17187 (fabs_test): Likewise.
17188 (fdim_test): Likewise.
17189 (finite_test): Likewise.
17190 (floor_test): Likewise.
17191 (fma_test): Likewise.
17192 (fma_test_towardzero): Likewise.
17193 (fma_test_downward): Likewise.
17194 (fma_test_upward): Likewise.
17195 (fmax_test): Likewise.
17196 (fmin_test): Likewise.
17197 (fmod_test): Likewise.
17198 (fpclassify_test): Likewise.
17199 (frexp_test): Likewise.
17200 (gamma_test): Likewise.
17201 (hypot_test): Likewise.
17202 (ilogb_test): Likewise.
17203 (isfinite_test): Likewise.
17204 (isgreater_test): Likewise.
17205 (isgreaterequal_test): Likewise.
17206 (isinf_test): Likewise.
17207 (isless_test): Likewise.
17208 (islessequal_test): Likewise.
17209 (islessgreater_test): Likewise.
17210 (isnan_test): Likewise.
17211 (isnormal_test): Likewise.
17212 (issignaling_test): Likewise.
17213 (isunordered_test): Likewise.
17214 (j0_test): Likewise.
17215 (j1_test): Likewise.
17216 (jn_test): Likewise.
17217 (ldexp_test): Likewise.
17218 (lgamma_test): Likewise.
17219 (lrint_test): Likewise.
17220 (lrint_test_tonearest): Likewise.
17221 (lrint_test_towardzero): Likewise.
17222 (lrint_test_downward): Likewise.
17223 (lrint_test_upward): Likewise.
17224 (llrint_test): Likewise.
17225 (llrint_test_tonearest): Likewise.
17226 (llrint_test_towardzero): Likewise.
17227 (llrint_test_downward): Likewise.
17228 (llrint_test_upward): Likewise.
17229 (log_test): Likewise.
17230 (log10_test): Likewise.
17231 (log1p_test): Likewise.
17232 (log2_test): Likewise.
17233 (logb_test): Likewise.
17234 (logb_test_downward): Likewise.
17235 (lround_test): Likewise.
17236 (llround_test): Likewise.
17237 (modf_test): Likewise.
17238 (nearbyint_test): Likewise.
17239 (nextafter_test): Likewise.
17240 (nexttoward_test): Likewise.
17241 (pow_test): Likewise.
17242 (pow_test_tonearest): Likewise.
17243 (pow_test_towardzero): Likewise.
17244 (pow_test_downward): Likewise.
17245 (pow_test_upward): Likewise.
17246 (remainder_test): Likewise.
17247 (remainder_test_tonearest): Likewise.
17248 (remainder_test_towardzero): Likewise.
17249 (remainder_test_downward): Likewise.
17250 (remainder_test_upward): Likewise.
17251 (remquo_test): Likewise.
17252 (rint_test): Likewise.
17253 (rint_test_tonearest): Likewise.
17254 (rint_test_towardzero): Likewise.
17255 (rint_test_downward): Likewise.
17256 (rint_test_upward): Likewise.
17257 (round_test): Likewise.
17258 (scalb_test): Likewise.
17259 (scalbn_test): Likewise.
17260 (scalbln_test): Likewise.
17261 (signbit_test): Likewise.
17262 (sin_test): Likewise.
17263 (sin_test_tonearest): Likewise.
17264 (sin_test_towardzero): Likewise.
17265 (sin_test_downward): Likewise.
17266 (sin_test_upward): Likewise.
17267 (sincos_test): Likewise.
17268 (sinh_test): Likewise.
17269 (sinh_test_tonearest): Likewise.
17270 (sinh_test_towardzero): Likewise.
17271 (sinh_test_downward): Likewise.
17272 (sinh_test_upward): Likewise.
17273 (sqrt_test): Likewise.
17274 (tan_test): Likewise.
17275 (tan_test_tonearest): Likewise.
17276 (tan_test_towardzero): Likewise.
17277 (tan_test_downward): Likewise.
17278 (tan_test_upward): Likewise.
17279 (tanh_test): Likewise.
17280 (tgamma_test): Likewise.
17281 (trunc_test): Likewise.
17282 (y0_test): Likewise.
17283 (y1_test): Likewise.
17284 (yn_test): Likewise.
17285 (significand_test): Likewise.
17287 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17290 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17292 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17295 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17296 __ppc_mdoio and __ppc_mdoom.
17297 * manual/platform.texi: Document new functions __ppc_yield,
17298 __ppc_mdoio and __ppc_mdoom.
17300 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17302 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17303 (main): Mention "tls" pseudo-hwcap is legacy.
17304 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17306 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17308 * math/gen-libm-test.pl (parse_args): Output only string of
17309 arguments as text for test name, not full call or descriptions of
17310 tests for extra outputs.
17311 (generate_testfile): Do not pass function name to parse_args.
17312 Generate this_func variable from START.
17313 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17315 (struct test_ff_f_data): Likewise.
17316 (test_ff_f_data_nexttoward): Likewise.
17317 (struct test_fi_f_data): Likewise.
17318 (struct test_fl_f_data): Likewise.
17319 (struct test_if_f_data): Likewise.
17320 (struct test_fff_f_data): Likewise.
17321 (struct test_c_f_data): Likewise.
17322 (struct test_f_f1_data): Likewise. Remove field extra_name.
17323 (struct test_fF_f1_data): Likewise.
17324 (struct test_ffI_f1_data): Likewise.
17325 (struct test_c_c_data): Rename test_name field to arg_str.
17326 (struct test_cc_c_data): Likewise.
17327 (struct test_f_i_data): Likewise.
17328 (struct test_ff_i_data): Likewise.
17329 (struct test_f_l_data): Likewise.
17330 (struct test_f_L_data): Likewise.
17331 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17333 (COMMON_TEST_SETUP): New macro.
17334 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17335 (COMMON_TEST_CLEANUP): Likewise.
17336 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17337 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17339 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17340 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17342 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17343 (RUN_TEST_fff_f): Take argument string. Call new setup and
17345 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17346 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17348 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17349 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17351 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17352 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17354 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17355 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17357 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17358 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17360 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17361 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17363 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17364 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17366 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17367 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17369 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17370 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17372 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17373 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17375 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17376 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17378 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17379 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17381 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17382 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17384 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17385 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17387 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17388 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17390 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17392 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17394 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17395 to _sifields.sigfault.
17396 (si_addr_lsb): Define new macro.
17397 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17399 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17401 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17404 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17406 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17408 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17409 loading the domain.
17411 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17413 * math/gen-libm-test.pl (parse_args): Do not include expected
17414 result in test name.
17415 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17418 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17419 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17422 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17424 * benchtests/Makefile: Sort function entries.
17426 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17427 tanh, asinh, acosh, atanh.
17428 * benchtests/acos-inputs: New file.
17429 * benchtests/acosh-inputs: New file.
17430 * benchtests/asin-inputs: New file.
17431 * benchtests/asinh-inputs: New file.
17432 * benchtests/atanh-inputs: New file.
17433 * benchtests/cosh-inputs: New file.
17434 * benchtests/log-inputs: New file.
17435 * benchtests/sinh-inputs: New file.
17436 * benchtests/tanh-inputs: New file.
17438 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17441 * posix/tst-getaddrinfo4.c: New test.
17442 * posix/Makefile (tests): Add it.
17444 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17447 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17448 when no services were used.
17449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17450 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17452 2013-05-21 Andreas Schwab <schwab@suse.de>
17455 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17456 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17458 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17459 redundant variable declarations and reallocation of buffer when
17460 parsing as IPv6 address. Always set NSS status when called from
17461 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17462 buffer too small. Correct computation of needed size.
17463 * nss/Makefile (tests): Add test-digits-dots.
17464 * nss/test-digits-dots.c: New test.
17466 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17468 * benchtests/Makefile: Remove instructions for adding
17470 * benchtests/README: New file to explain how to execute and
17471 enhance the benchmark tests.
17473 2013-05-21 Andreas Schwab <schwab@suse.de>
17476 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17477 * setjmp/tst-sigsetjmp.c: New test.
17479 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17481 * sysdeps/x86_64/memset.S (memset): New implementation.
17482 (__bzero): Likewise.
17483 (__memset_tail): New function.
17485 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17487 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17488 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17489 __memcpy_sse2_unaligned ifunc selection.
17490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17491 Add memcpy-sse2-unaligned.S.
17492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17493 Add: __memcpy_sse2_unaligned.
17495 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17498 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17499 math_force_eval before restoring floating-point envrionment.
17500 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17503 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17505 (__nearbyintl): Use math_force_eval before restoring
17506 floating-point environment.
17507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17509 * math/gen-libm-test.pl (special_functions): Remove.
17510 (parse_args): Don't handle TEST_extra. Handle functions with no
17512 * math/libm-test.inc (struct test_sincos_data): Replace with
17513 struct test_fFF_11_data.
17514 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17515 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17516 (sincos_test_data): Change element type to struct
17517 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17518 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17519 RUN_TEST_LOOP_sincos.
17520 * math/README.libm-test: Don't mention special handling of
17521 individual functions.
17522 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17524 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17525 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17526 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17529 * math/gen-libm-test.pl (get_variable): Remove function.
17530 (parse_args): Don't show pointer parameters to call in test
17531 names. Use "extra output N" in test names for extra outputs
17532 rather than naming variables.
17534 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17537 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17538 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17539 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17541 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17543 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17546 * math/gen-libm-test.pl (@tests): Remove variable.
17547 ($count): Likewise.
17548 (new_test): Remove function.
17549 (show_exceptions): New function.
17550 (special_functions): Use show_exceptions instead of new_test.
17551 (parse_args): Likewise.
17552 (generate_testfile): Pass only function name in generated call to
17553 print_max_error or print_complex_max_error.
17554 (get_ulps): Do not handle complex tests specially.
17555 (output_test): Rename to ...
17556 (get_all_ulps_for_test): ... this. Return a string rather than
17557 printing to a file. Require ulps to be present.
17558 (output_ulps): Generate arrays rather than #defines.
17559 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17560 (struct ulp_data): New type.
17561 (BUILD_COMPLEX_ULP): Remove macro.
17562 (compare_ulp_data): New function.
17563 (find_ulps): Likewise.
17564 (find_test_ulps): Likewise.
17565 (find_function_ulps): Likewise.
17566 (find_complex_function_ulps): Likewise.
17567 (print_max_error): Determine allowed ulps using
17568 find_function_ulps.
17569 (print_complex_max_error): Determine allowed ulps using
17570 find_complex_function_ulps.
17571 (check_float_internal): Determine max ulps using find_test_ulps.
17572 (check_float): Do not take max_ulp parameter. Update call to
17573 check_float_internal.
17574 (check_complex): Likewise.
17575 (check_int): Do not take max_ulp parameter.
17576 (check_long): Likewise.
17577 (check_bool): Likewise.
17578 (check_longlong): Likewise.
17579 (struct test_f_f_data): Remove max_ulp field.
17580 (struct test_ff_f_data): Likewise.
17581 (struct test_ff_f_data_nexttoward): Likewise.
17582 (struct test_fi_f_data): Likewise.
17583 (struct test_fl_f_data): Likewise.
17584 (struct test_if_f_data): Likewise.
17585 (struct test_fff_f_data): Likewise.
17586 (struct test_c_f_data): Likewise.
17587 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17588 (struct test_fF_f1_data): Likewise.
17589 (struct test_ffI_f1_data): Likewise.
17590 (struct test_c_c_data): Remove max_ulp field.
17591 (struct test_cc_c_data): Likewise.
17592 (struct test_f_i_data): Likewise.
17593 (struct test_ff_i_data): Likewise.
17594 (struct test_f_l_data): Likewise.
17595 (struct test_f_L_data): Likewise.
17596 (struct test_sincos_data): Likewise.
17597 (RUN_TEST_f_f): Do not handle ulps.
17598 (RUN_TEST_LOOP_f_f): Likewise.
17599 (RUN_TEST_2_f): Likewise.
17600 (RUN_TEST_LOOP_2_f): Likewise.
17601 (RUN_TEST_fff_f): Likewise.
17602 (RUN_TEST_LOOP_fff_f): Likewise.
17603 (RUN_TEST_c_f): Likewise.
17604 (RUN_TEST_LOOP_c_f): Likewise.
17605 (RUN_TEST_f_f1): Likewise.
17606 (RUN_TEST_LOOP_f_f1): Likewise.
17607 (RUN_TEST_fF_f1): Likewise.
17608 (RUN_TEST_LOOP_fF_f1): Likewise.
17609 (RUN_TEST_fI_f1): Likewise.
17610 (RUN_TEST_LOOP_fI_f1): Likewise.
17611 (RUN_TEST_ffI_f1): Likewise.
17612 (RUN_TEST_LOOP_ffI_f1): Likewise.
17613 (RUN_TEST_c_c): Likewise.
17614 (RUN_TEST_LOOP_c_c): Likewise.
17615 (RUN_TEST_cc_c): Likewise.
17616 (RUN_TEST_LOOP_cc_c): Likewise.
17617 (RUN_TEST_f_i): Likewise.
17618 (RUN_TEST_LOOP_f_i): Likewise.
17619 (RUN_TEST_f_i_tg): Likewise.
17620 (RUN_TEST_LOOP_f_i_tg): Likewise.
17621 (RUN_TEST_ff_i_tg): Likewise.
17622 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17623 (RUN_TEST_f_b): Likewise.
17624 (RUN_TEST_LOOP_f_b): Likewise.
17625 (RUN_TEST_f_b_tg): Likewise.
17626 (RUN_TEST_LOOP_f_b_tg): Likewise.
17627 (RUN_TEST_f_l): Likewise.
17628 (RUN_TEST_LOOP_f_l): Likewise.
17629 (RUN_TEST_f_L): Likewise.
17630 (RUN_TEST_LOOP_f_L): Likewise.
17631 (RUN_TEST_sincos): Likewise.
17632 (RUN_TEST_LOOP_sincos): Likewise.
17634 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17638 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17639 main case of finite arguments, set rounding mode to FE_TONEAREST
17640 and discard exceptions.
17641 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17643 (remainder_tonearest_test_data): New variable.
17644 (remainder_test_tonearest): New function.
17645 (remainder_towardzero_test_data): New variable.
17646 (remainder_test_towardzero): New function.
17647 (remainder_downward_test_data): New variable.
17648 (remainder_test_downward): New function.
17649 (remainder_upward_test_data): New variable.
17650 (remainder_test_upward): New function.
17651 (main): Call the new test functions.
17653 * math/libm-test.inc (struct test_f_f1_data): Remove field
17655 (struct test_fF_f1_data): Likewise.
17656 (struct test_ffI_f1_data): Likewise.
17657 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17658 based on value of EXTRA_EXPECTED.
17659 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17660 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17661 EXTRA_VAR based on value of EXTRA_EXPECTED.
17662 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17663 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17664 EXTRA_VAR based on value of EXTRA_EXPECTED.
17665 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17666 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17667 EXTRA_VAR based on value of EXTRA_EXPECTED.
17668 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17669 * math/gen-libm-test.pl (parse_args): Don't output initializers
17670 for extra output values.
17672 * math/libm-test.inc (check_int): Expect result to be exactly
17673 equal to expected value and do not handle ulps.
17674 (check_long): Likewise.
17675 (check_longlong): Likewise.
17677 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17679 (cimag_test_data): Likewise.
17680 (conj_test_data): Likewise.
17681 (copysign_test_data): Likewise.
17682 (cproj_test_data): Likewise.
17683 (creal_test_data): Likewise.
17684 (fabs_test_data): Likewise.
17685 (fdim_test_data): Likewise.
17686 (finite_test_data): Likewise.
17687 (floor_test_data): Likewise.
17688 (fmax_test_data): Likewise.
17689 (fmin_test_data): Likewise.
17690 (fmod_test_data): Likewise.
17691 (fpclassify_test_data): Likewise.
17692 (frexp_test_data): Likewise.
17693 (ilogb_test_data): Likewise.
17694 (isfinite_test_data): Likewise.
17695 (isgreater_test_data): Likewise.
17696 (isgreaterequal_test_data): Likewise.
17697 (isinf_test_data): Likewise.
17698 (isless_test_data): Likewise.
17699 (islessequal_test_data): Likewise.
17700 (islessgreater_test_data): Likewise.
17701 (isnan_test_data): Likewise.
17702 (isnormal_test_data): Likewise.
17703 (issignaling_test_data): Likewise.
17704 (isunordered_test_data): Likewise.
17705 (ldexp_test_data): Likewise.
17706 (lrint_test_data): Likewise.
17707 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17708 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17709 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17710 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17711 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17712 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17714 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17715 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17716 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17717 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17719 (lrint_downward_test_data): Test for "inexact" exceptions.
17720 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17721 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17722 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17724 (lrint_upward_test_data): Test for "inexact" exceptions.
17725 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17727 (llrint_test_data): Test for "inexact" exceptions.
17728 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17729 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17730 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17731 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17732 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17733 (llrint_downward_test_data): Test for "inexact" exceptions.
17734 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17735 (llrint_upward_test_data): Test for "inexact" exceptions.
17736 (logb_test_data): Likewise.
17737 (logb_downward_test_data): Likewise.
17738 (nextafter_test_data): Likewise.
17739 (nexttoward_test_data): Likewise.
17740 (remainder_test_data): Likewise.
17741 (remquo_test_data): Likewise.
17742 (scalbn_test_data): Likewise.
17743 (scalbln_test_data): Likewise.
17744 (signbit_test_data): Likewise.
17745 (sqrt_test_data): Likewise.
17746 (significand_test_data): Likewise.
17748 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17751 * benchtests/bench-modf.c (struct args): Mark arg0 as
17753 * scripts/bench.pl: Mark members of struct args as volatile.
17755 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17758 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17759 negative infinity on POWER6 or lower.
17760 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17762 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17765 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17766 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17767 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17768 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17769 (_FP_SETQNAN): New macro.
17770 (_FP_SETQNAN_SEMIRAW): Likewise.
17771 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17772 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17773 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17774 (FP_EXTEND): Use _FP_FRAC_SNANP.
17775 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17776 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17778 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17780 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17783 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17785 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17786 with DIVIDE_BY_ZERO_EXCEPTION.
17787 (gamma_test_data): Likewise.
17788 (lgamma_test_data): Likewise.
17789 (log_test_data): Likewise.
17790 (log10_test_data): Likewise.
17791 (log2_test_data): Likewise.
17792 (tgamma_test_data): Likewise.
17794 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17795 (acos_test_tonearest): Likewise.
17796 (acos_test_towardzero): Likewise.
17797 (acos_test_downward): Likewise.
17798 (acos_test_upward): Likewise.
17799 (acosh_test): Likewise.
17800 (asin_test): Likewise.
17801 (asin_test_tonearest): Likewise.
17802 (asin_test_towardzero): Likewise.
17803 (asin_test_downward): Likewise.
17804 (asin_test_upward): Likewise.
17805 (asinh_test): Likewise.
17806 (atan_test): Likewise.
17807 (atanh_test): Likewise.
17808 (atan2_test): Likewise.
17809 (cabs_test): Likewise.
17810 (cacos_test): Likewise.
17811 (cacosh_test): Likewise.
17812 (casin_test): Likewise.
17813 (casinh_test): Likewise.
17814 (catan_test): Likewise.
17815 (catanh_test): Likewise.
17816 (cbrt_test): Likewise.
17817 (ccos_test): Likewise.
17818 (ccosh_test): Likewise.
17819 (cexp_test): Likewise.
17820 (clog_test): Likewise.
17821 (clog10_test): Likewise.
17822 (cos_test): Likewise.
17823 (cos_test_tonearest): Likewise.
17824 (cos_test_towardzero): Likewise.
17825 (cos_test_downward): Likewise.
17826 (cos_test_upward): Likewise.
17827 (cosh_test): Likewise.
17828 (cosh_test_tonearest): Likewise.
17829 (cosh_test_towardzero): Likewise.
17830 (cosh_test_downward): Likewise.
17831 (cosh_test_upward): Likewise.
17832 (cpow_test): Likewise.
17833 (csin_test): Likewise.
17834 (csinh_test): Likewise.
17835 (csqrt_test): Likewise.
17836 (ctan_test): Likewise.
17837 (ctan_test_tonearest): Likewise.
17838 (ctan_test_towardzero): Likewise.
17839 (ctan_test_downward): Likewise.
17840 (ctan_test_upward): Likewise.
17841 (ctanh_test): Likewise.
17842 (ctanh_test_tonearest): Likewise.
17843 (ctanh_test_towardzero): Likewise.
17844 (ctanh_test_downward): Likewise.
17845 (ctanh_test_upward): Likewise.
17846 (erf_test): Likewise.
17847 (erfc_test): Likewise.
17848 (exp_test): Likewise.
17849 (exp_test_tonearest): Likewise.
17850 (exp_test_towardzero): Likewise.
17851 (exp_test_downward): Likewise.
17852 (exp_test_upward): Likewise.
17853 (exp10_test): Likewise.
17854 (exp2_test): Likewise.
17855 (expm1_test): Likewise.
17856 (fmod_test): Likewise.
17857 (gamma_test): Likewise.
17858 (hypot_test): Likewise.
17859 (j0_test): Likewise.
17860 (j1_test): Likewise.
17861 (jn_test): Likewise.
17862 (lgamma_test): Likewise.
17863 (log_test): Likewise.
17864 (log10_test): Likewise.
17865 (log1p_test): Likewise.
17866 (log2_test): Likewise.
17867 (logb_test_downward): Likewise.
17868 (pow_test): Likewise.
17869 (pow_test_tonearest): Likewise.
17870 (pow_test_towardzero): Likewise.
17871 (pow_test_downward): Likewise.
17872 (pow_test_upward): Likewise.
17873 (remainder_test): Likewise.
17874 (remquo_test): Likewise.
17875 (sin_test): Likewise.
17876 (sin_test_tonearest): Likewise.
17877 (sin_test_towardzero): Likewise.
17878 (sin_test_downward): Likewise.
17879 (sin_test_upward): Likewise.
17880 (sincos_test): Likewise.
17881 (sinh_test): Likewise.
17882 (sinh_test_tonearest): Likewise.
17883 (sinh_test_towardzero): Likewise.
17884 (sinh_test_downward): Likewise.
17885 (sinh_test_upward): Likewise.
17886 (sqrt_test): Likewise.
17887 (tan_test): Likewise.
17888 (tan_test_tonearest): Likewise.
17889 (tan_test_towardzero): Likewise.
17890 (tan_test_downward): Likewise.
17891 (tan_test_upward): Likewise.
17892 (tanh_test): Likewise.
17893 (tgamma_test): Likewise.
17894 (y0_test): Likewise.
17895 (y1_test): Likewise.
17896 (yn_test): Likewise.
17898 * math/gen-libm-test.pl (adjust_arg): Remove function.
17899 (special_function): Remove argument $in_func. Only handle
17900 generating output for tables of tests, not inside functions.
17901 (parse_args): Likewise.
17902 (generate_testfile): Remove variable $in_func. Update call to
17904 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17905 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17906 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17907 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17908 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17909 (MAX_VALUE_INIT): Rename macro to max_value.
17910 (MIN_VALUE_INIT): Rename macro to min_value.
17911 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17912 (plus_zero): Remove variable.
17913 (minus_zero): Likewise.
17914 (plus_infty): Likewise.
17915 (minus_infty): Likewise.
17916 (qnan_value): Likewise.
17917 (max_value): Likewise.
17918 (min_value): Likewise.
17919 (min_subnorm_value): Likewise.
17921 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17923 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17924 uint64_t or uint32_t usage.
17925 * crypt/sha256-block.c: Likewise.
17926 * crypt/sha256-crypt.c: Likewise.
17927 * crypt/sha256.c: Likewise.
17928 * crypt/sha512-block.c: Likewise.
17929 * crypt/sha512-crypt.c: Likewise.
17930 * crypt/sha512.c: Likewise.
17931 * debug/backtrace-tst.c: Likewise.
17932 * debug/pcprofiledump.c: Likewise.
17933 * elf/cache.c: Likewise.
17934 * elf/dl-cache.c: Likewise.
17935 * elf/dl-misc.c: Likewise.
17936 * elf/dl-profile.c: Likewise.
17937 * elf/dl-support.c: Likewise.
17938 * elf/ldconfig.c: Likewise.
17939 * elf/sprof.c: Likewise.
17940 * iconv/dummy-repertoire.c: Likewise.
17941 * iconv/iconv_charmap.c: Likewise.
17942 * iconv/skeleton.c: Likewise.
17943 * iconvdata/8bit-generic.c: Likewise.
17944 * iconvdata/cp737.h: Likewise.
17945 * iconvdata/cp775.h: Likewise.
17946 * iconvdata/ibm1008.h: Likewise.
17947 * iconvdata/ibm1025.h: Likewise.
17948 * iconvdata/ibm1046.h: Likewise.
17949 * iconvdata/ibm1097.h: Likewise.
17950 * iconvdata/ibm1112.h: Likewise.
17951 * iconvdata/ibm1122.h: Likewise.
17952 * iconvdata/ibm1123.h: Likewise.
17953 * iconvdata/ibm1124.h: Likewise.
17954 * iconvdata/ibm1129.h: Likewise.
17955 * iconvdata/ibm1130.h: Likewise.
17956 * iconvdata/ibm1132.h: Likewise.
17957 * iconvdata/ibm1133.h: Likewise.
17958 * iconvdata/ibm1137.h: Likewise.
17959 * iconvdata/ibm1140.h: Likewise.
17960 * iconvdata/ibm1141.h: Likewise.
17961 * iconvdata/ibm1142.h: Likewise.
17962 * iconvdata/ibm1143.h: Likewise.
17963 * iconvdata/ibm1144.h: Likewise.
17964 * iconvdata/ibm1145.h: Likewise.
17965 * iconvdata/ibm1146.h: Likewise.
17966 * iconvdata/ibm1147.h: Likewise.
17967 * iconvdata/ibm1148.h: Likewise.
17968 * iconvdata/ibm1149.h: Likewise.
17969 * iconvdata/ibm1153.h: Likewise.
17970 * iconvdata/ibm1154.h: Likewise.
17971 * iconvdata/ibm1155.h: Likewise.
17972 * iconvdata/ibm1156.h: Likewise.
17973 * iconvdata/ibm1157.h: Likewise.
17974 * iconvdata/ibm1158.h: Likewise.
17975 * iconvdata/ibm1160.h: Likewise.
17976 * iconvdata/ibm1161.h: Likewise.
17977 * iconvdata/ibm1162.h: Likewise.
17978 * iconvdata/ibm1163.h: Likewise.
17979 * iconvdata/ibm1164.h: Likewise.
17980 * iconvdata/ibm1166.h: Likewise.
17981 * iconvdata/ibm1167.h: Likewise.
17982 * iconvdata/ibm12712.h: Likewise.
17983 * iconvdata/ibm1390.h: Likewise.
17984 * iconvdata/ibm1399.h: Likewise.
17985 * iconvdata/ibm16804.h: Likewise.
17986 * iconvdata/ibm4517.h: Likewise.
17987 * iconvdata/ibm4899.h: Likewise.
17988 * iconvdata/ibm4909.h: Likewise.
17989 * iconvdata/ibm4971.h: Likewise.
17990 * iconvdata/ibm5347.h: Likewise.
17991 * iconvdata/ibm803.h: Likewise.
17992 * iconvdata/ibm856.h: Likewise.
17993 * iconvdata/ibm901.h: Likewise.
17994 * iconvdata/ibm902.h: Likewise.
17995 * iconvdata/ibm9030.h: Likewise.
17996 * iconvdata/ibm9066.h: Likewise.
17997 * iconvdata/ibm921.h: Likewise.
17998 * iconvdata/ibm922.h: Likewise.
17999 * iconvdata/ibm9448.h: Likewise.
18000 * iconvdata/isiri-3342.h: Likewise.
18001 * iconvdata/jis0201.h: Likewise.
18002 * include/link.h: Likewise.
18003 * include/netdb.h: Likewise.
18004 * inet/check_native.c: Likewise.
18005 * inet/check_pf.c: Likewise.
18006 * inet/getipv4sourcefilter.c: Likewise.
18007 * inet/getnameinfo.c: Likewise.
18008 * inet/getsourcefilter.c: Likewise.
18009 * inet/htonl.c: Likewise.
18010 * inet/setipv4sourcefilter.c: Likewise.
18011 * inet/setsourcefilter.c: Likewise.
18012 * inet/test-inet6_opt.c: Likewise.
18013 * inet/tst-network.c: Likewise.
18014 * locale/C-collate.c: Likewise.
18015 * locale/C-ctype.c: Likewise.
18016 * locale/C-time.c: Likewise.
18017 * locale/C-translit.h: Likewise.
18018 * locale/loadarchive.c: Likewise.
18019 * locale/programs/3level.h: Likewise.
18020 * locale/programs/charmap.c: Likewise.
18021 * locale/programs/charmap.h: Likewise.
18022 * locale/programs/ld-address.c: Likewise.
18023 * locale/programs/ld-collate.c: Likewise.
18024 * locale/programs/ld-ctype.c: Likewise.
18025 * locale/programs/ld-identification.c: Likewise.
18026 * locale/programs/ld-measurement.c: Likewise.
18027 * locale/programs/ld-messages.c: Likewise.
18028 * locale/programs/ld-monetary.c: Likewise.
18029 * locale/programs/ld-name.c: Likewise.
18030 * locale/programs/ld-numeric.c: Likewise.
18031 * locale/programs/ld-paper.c: Likewise.
18032 * locale/programs/ld-telephone.c: Likewise.
18033 * locale/programs/ld-time.c: Likewise.
18034 * locale/programs/linereader.c: Likewise.
18035 * locale/programs/locale.c: Likewise.
18036 * locale/programs/locarchive.c: Likewise.
18037 * locale/programs/locfile.h: Likewise.
18038 * locale/programs/repertoire.c: Likewise.
18039 * locale/programs/simple-hash.c: Likewise.
18040 * locale/programs/simple-hash.h: Likewise.
18041 * malloc/memusage.c: Likewise.
18042 * malloc/memusagestat.c: Likewise.
18043 * nis/nis_defaults.c: Likewise.
18044 * nis/nis_hash.c: Likewise.
18045 * nis/nis_print.c: Likewise.
18046 * nis/nis_xdr.c: Likewise.
18047 * nscd/connections.c: Likewise.
18048 * nscd/hstcache.c: Likewise.
18049 * nscd/nscd_gethst_r.c: Likewise.
18050 * nscd/nscd_getserv_r.c: Likewise.
18051 * nscd/nscd_helper.c: Likewise.
18052 * nscd/servicescache.c: Likewise.
18053 * nss/makedb.c: Likewise.
18054 * nss/nss_db/db-XXX.c: Likewise.
18055 * nss/nss_db/db-initgroups.c: Likewise.
18056 * nss/nss_db/db-netgrp.c: Likewise.
18057 * nss/nss_files/files-network.c: Likewise.
18058 * nss/nss_files/files-parse.c: Likewise.
18059 * posix/bug-regex5.c: Likewise.
18060 * posix/fnmatch_loop.c: Likewise.
18061 * posix/regcomp.c: Likewise.
18062 * posix/regexec.c: Likewise.
18063 * posix/tst-rfc3484-2.c: Likewise.
18064 * posix/tst-rfc3484-3.c: Likewise.
18065 * posix/tst-rfc3484.c: Likewise.
18066 * resolv/nss_dns/dns-canon.c: Likewise.
18067 * resolv/nss_dns/dns-network.c: Likewise.
18068 * resolv/res_init.c: Likewise.
18069 * resolv/res_mkquery.c: Likewise.
18070 * resolv/tst-aton.c: Likewise.
18071 * stdlib/cxa_atexit.c: Likewise.
18072 * stdlib/cxa_finalize.c: Likewise.
18073 * stdlib/gen-fpioconst.c: Likewise.
18074 * stdlib/strtol_l.c: Likewise.
18075 * string/tst-endian.c: Likewise.
18076 * sunrpc/auth_des.c: Likewise.
18077 * sunrpc/clnt_udp.c: Likewise.
18078 * sunrpc/rtime.c: Likewise.
18079 * sunrpc/svcauth_des.c: Likewise.
18080 * sunrpc/xdr.c: Likewise.
18081 * sunrpc/xdr_intXX_t.c: Likewise.
18082 * sunrpc/xdr_rec.c: Likewise.
18083 * sysdeps/generic/ldconfig.h: Likewise.
18084 * sysdeps/generic/ldsodefs.h: Likewise.
18085 * sysdeps/generic/memusage.h: Likewise.
18086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18096 * sysdeps/posix/getaddrinfo.c: Likewise.
18097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18099 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18100 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18101 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18102 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18103 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18104 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18105 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18107 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18108 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18109 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18110 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18112 * sysdeps/x86_64/dl-tls.h: Likewise.
18113 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18114 * time/alt_digit.c: Likewise.
18115 * time/era.c: Likewise.
18116 * wcsmbs/tst-c16c32-1.c: Likewise.
18118 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18120 * math/libm-test.inc (struct test_sincos_data): New type.
18121 (RUN_TEST_LOOP_sincos): New macro.
18122 (sincos_test_data): New variable.
18123 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18125 2013-05-16 Richard Henderson <rth@redhat.com>
18127 * math/atest-exp2.c (LIMB64): New macro.
18128 (CONSTSZ): New macro.
18129 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18131 (print_mpn_fp): ... to function scope.
18132 (read_mpn_hex): Remove.
18133 (get_log2): Remove.
18134 (exp2_mpn): Use mp_log2.
18135 (main): Use mp_exp1.
18137 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18139 * math/libm-test.inc: Remove comment about not testing "inexact"
18141 (INEXACT_EXCEPTION): New macro.
18142 (NO_INEXACT_EXCEPTION): Likewise.
18143 (INVALID_EXCEPTION_OK): Update value.
18144 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18145 (OVERFLOW_EXCEPTION_OK): Likewise.
18146 (UNDERFLOW_EXCEPTION_OK): Likewise.
18147 (IGNORE_ZERO_INF_SIGN): Likewise.
18148 (ERRNO_UNCHANGED): Likewise.
18149 (ERRNO_EDOM): Likewise.
18150 (ERRNO_ERANGE): Likewise.
18151 (test_exceptions): Handle testing "inexact" exceptions.
18152 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18153 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18154 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18155 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18157 (rint_towardzero_test_data): Likewise.
18158 (rint_downward_test_data): Likewise.
18159 (rint_upward_test_data): Likewise.
18161 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18162 with OVERFLOW_EXCEPTION.
18163 (exp10_test_data): Likewise.
18164 (exp2_test_data): Likewise.
18165 (expm1_test_data): Likewise.
18166 (lgamma_test_data): Likewise.
18167 (pow_test_data): Likewise.
18168 (tgamma_test_data): Likewise.
18169 (yn_test_data): Remove duplicate test of overflow.
18171 * math/libm-test.inc (struct test_cc_c_data): New type.
18172 (RUN_TEST_LOOP_cc_c): New macro.
18173 (cpow_test_data): New variable.
18174 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18176 * math/libm-test.inc (struct test_f_L_data): New type.
18177 (RUN_TEST_LOOP_f_L): New macro.
18178 (llrint_test_data): New variable.
18179 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18180 (llrint_tonearest_test_data): New variable.
18181 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18182 (llrint_towardzero_test_data): New variable.
18183 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18184 (llrint_downward_test_data): New variable.
18185 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18186 (llrint_upward_test_data): New variable.
18187 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18188 (llround_test_data): New variable.
18189 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18191 2013-05-13 Peter Collingbourne <pcc@google.com>
18193 * math/atest-exp2.c (get_log2): Remove const attribute.
18195 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18197 * math/libm-test.inc (struct test_f_l_data): New type.
18198 (RUN_TEST_LOOP_f_l): New macro.
18199 (lrint_test_data): New variable.
18200 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18201 (lrint_tonearest_test_data): New variable.
18202 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18203 (lrint_towardzero_test_data): New variable.
18204 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18205 (lrint_downward_test_data): New variable.
18206 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18207 (lrint_upward_test_data): New variable.
18208 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18209 (lround_test_data): New variable.
18210 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18212 2013-05-15 Peter Collingbourne <pcc@google.com>
18214 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18215 (EXTRACT_WORDS64) Use where appropriate.
18216 (INSERT_WORDS64) Likewise.
18218 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18219 constraints with x constraints.
18220 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18222 * malloc/obstack.c (_obstack_compat): Add initializer.
18224 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18226 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18227 si_trapno and add si_addr_lsb to _sifields.sigfault.
18228 (si_trapno): Remove macro.
18229 (si_addr_lsb): Define new macro.
18230 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18232 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18234 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18235 instead of TEST_f_l.
18236 (llrint_test_tonearest): Likewise.
18237 (llrint_test_towardzero): Likewise.
18238 (llrint_test_downward): Likewise.
18239 (llrint_test_upward): Likewise.
18240 (llround_test): Likewise.
18242 * math/libm-test.inc (struct test_f_i_data): Add comment.
18243 (RUN_TEST_LOOP_f_b): New macro.
18244 (RUN_TEST_LOOP_f_b_tg): Likewise.
18245 (finite_test_data): New variable.
18246 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18247 (isfinite_test_data): New variable.
18248 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18249 (isinf_test_data): New variable.
18250 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18251 (isnan_test_data): New variable.
18252 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18253 (isnormal_test_data): New variable.
18254 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18255 (issignaling_test_data): New variable.
18256 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18257 (signbit_test_data): New variable.
18258 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18260 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18261 with INVALID_EXCEPTION.
18262 (acosh_test_data): Likewise.
18263 (asin_test_data): Likewise.
18264 (atanh_test_data): Likewise.
18265 (fmod_test_data): Likewise.
18266 (log_test_data): Likewise.
18267 (log10_test_data): Likewise.
18268 (log2_test_data): Likewise.
18269 (pow_test_data): Likewise.
18270 (sqrt_test_data): Likewise.
18271 (y0_test_data): Likewise.
18272 (y1_test_data): Likewise.
18273 (yn_test_data): Likewise.
18275 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18278 * math/libm-test.inc (struct test_ff_i_data): New type.
18279 (RUN_TEST_LOOP_ff_i_tg): New macro.
18280 (isgreater_test_data): New variable.
18281 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18282 (isgreaterequal_test_data): New variable.
18283 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18284 (isless_test_data): New variable.
18285 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18286 (islessequal_test_data): New variable.
18287 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18288 (islessgreater_test_data): New variable.
18289 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18290 (isunordered_test_data): New variable.
18291 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18293 2013-05-14 David S. Miller <davem@davemloft.net>
18295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18297 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18299 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18301 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18303 (struct test_f_i_data): Change type of max_ulp to int.
18305 * math/libm-test.inc (test_ffI_f1_data): New type.
18306 (RUN_TEST_LOOP_ffI_f1): New macro.
18307 (remquo_test_data): New variable.
18308 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18310 * setjmp/tst-setjmp-fp.c: New file.
18311 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18312 (link-libm): New variable.
18313 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18315 * math/libm-test.inc (struct test_f_i_data): New type.
18316 (RUN_TEST_LOOP_f_i): New macro.
18317 (RUN_TEST_LOOP_f_i_tg): Likewise.
18318 (fpclassify_test_data): New variable.
18319 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18320 (ilogb_test_data): New variable.
18321 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18323 * math/libm-test.inc (scalbln_test): Correct function name in END
18326 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18327 (RUN_TEST_LOOP_fI_f1): New macro.
18328 (frexp_test_data): New variable.
18329 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18331 * math/libm-test.inc (struct test_fF_f1_data): New type.
18332 (RUN_TEST_LOOP_fF_f1): New macro.
18333 (modf_test_data): New variable.
18334 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18336 * math/libm-test.inc (struct test_f_f1_data): New type.
18337 (RUN_TEST_LOOP_f_f1): New macro.
18338 (gamma_test_data): New variable.
18339 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18340 (lgamma_test_data): New variable.
18341 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18343 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18345 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18346 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18347 (main): Comment "tls" pseudo-hwcap.
18349 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18351 * math/libm-test.inc (struct test_fl_f_data): New type.
18352 (RUN_TEST_LOOP_fl_f): New variable.
18353 (scalbln_test_data): New variable.
18354 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18356 * math/libm-test.inc (struct test_fi_f_data): New type.
18357 (RUN_TEST_LOOP_fi_f): New macro.
18358 (ldexp_test_data): New variable.
18359 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18360 (scalbn_test_data): New variable.
18361 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18363 * math/libm-test.inc (struct test_c_f_data): New type.
18364 (RUN_TEST_LOOP_c_f): New macro.
18365 (cabs_test_data): New variable.
18366 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18367 (carg_test_data): New variable.
18368 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18369 (cimag_test_data): New variable.
18370 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18371 (creal_test_data): New variable.
18372 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18374 * math/libm-test.inc (struct test_if_f_data): New type.
18375 (RUN_TEST_LOOP_if_f): New macro.
18376 (jn_test_data): New variable.
18377 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18378 (yn_test_data): New variable.
18379 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18381 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18383 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18385 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18386 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18388 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18390 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18391 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18392 (bench-deps): Add bench-timing.h.
18393 * benchtests-bench-skeleton.c: Include bench-timing.h.
18394 (main): Use TIMING_* macros instead of clock_gettime.
18395 * benchtests/bench-timing.h: New file.
18398 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18399 Renamed from _LIB_VERSION.
18400 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18402 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18404 * math/libm-test.inc (struct test_fff_f_data): New type.
18405 (RUN_TEST_LOOP_fff_f): New macro.
18406 (fma_test_data): New variable.
18407 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18408 (fma_towardzero_test_data): New variable.
18409 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18410 (fma_downward_test_data): New variable.
18411 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18412 (fma_upward_test_data): New variable.
18413 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18415 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18416 (struct test_c_c_data): New type.
18417 (RUN_TEST_LOOP_c_c): New macro.
18418 (cacos_test_data): New variable.
18419 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18420 (cacosh_test_data): New variable.
18421 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18422 (casin_test_data): New variable.
18423 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18424 (casinh_test_data): New variable.
18425 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18426 (catan_test_data): New variable.
18427 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18428 (catanh_test_data): New variable.
18429 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18430 (ccos_test_data): New variable.
18431 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18432 (ccosh_test_data): New variable.
18433 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18434 (cexp_test_data): New variable.
18435 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18436 (clog_test_data): New variable.
18437 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18438 (clog10_test_data): New variable.
18439 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18440 (conj_test_data): New variable.
18441 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18442 (cproj_test_data): New variable.
18443 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18444 (csin_test_data): New variable.
18445 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18446 (csinh_test_data): New variable.
18447 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18448 (csqrt_test_data): New variable.
18449 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18450 (ctan_test_data): New variable.
18451 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18452 (ctan_tonearest_test_data): New variable.
18453 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18454 (ctan_towardzero_test_data): New variable.
18455 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18456 (ctan_downward_test_data): New variable.
18457 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18458 (ctan_upward_test_data): New variable.
18459 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18460 (ctanh_test_data): New variable.
18461 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18462 (ctanh_tonearest_test_data): New variable.
18463 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18464 (ctanh_towardzero_test_data): New variable.
18465 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18466 (ctanh_downward_test_data): New variable.
18467 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18468 (ctanh_upward_test_data): New variable.
18469 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18470 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18473 * math/libm-test.inc (struct test_ff_f_data): New type.
18474 (struct test_ff_f_data_nexttoward): Likewise.
18475 (RUN_TEST_LOOP_2_f): New macro.
18476 (RUN_TEST_LOOP_ff_f): Likewise.
18477 (atan2_test_data): New variable.
18478 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18479 (copysign_test_data): New variable.
18480 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18481 (fdim_test_data): New variable.
18482 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18483 (fmax_test_data): New variable.
18484 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18485 (fmin_test_data): New variable.
18486 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18487 (fmod_test_data): New variable.
18488 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18489 (hypot_test_data): New variable.
18490 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18491 (nextafter_test_data): New variable.
18492 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18493 (nexttoward_test_data): New variable.
18494 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18495 (pow_test_data): New variable.
18496 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18497 (pow_tonearest_test_data): New variable.
18498 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18499 (pow_towardzero_test_data): New variable.
18500 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18501 (pow_downward_test_data): New variable.
18502 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18503 (pow_upward_test_data): New variable.
18504 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18505 (remainder_test_data): New variable.
18506 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18507 (scalb_test_data): New variable.
18508 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18509 * sysdeps/i386/fpu/libm-test-ulps: Update.
18511 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18513 * math/libm-test.inc (fma_test): Use max_value instead of local
18515 (nextafter_test): Likewise.
18517 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18518 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18519 (acos_downward_test_data): New variable.
18520 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18521 (acos_upward_test_data): New variable.
18522 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18523 (acosh_test_data): New variable.
18524 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18525 (asin_test_data): New variable.
18526 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18527 (asin_tonearest_test_data): New variable.
18528 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18529 (asin_towardzero_test_data): New variable.
18530 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18531 (asin_downward_test_data): New variable.
18532 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18533 (asin_upward_test_data): New variable.
18534 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18535 (asinh_test_data): New variable.
18536 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18537 (atan_test_data): New variable.
18538 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18539 (atanh_test_data): New variable.
18540 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18541 (cbrt_test_data): New variable.
18542 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18543 (ceil_test_data): New variable.
18544 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18545 (cos_test_data): New variable.
18546 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18547 (cos_tonearest_test_data): New variable.
18548 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18549 (cos_towardzero_test_data): New variable.
18550 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18551 (cos_downward_test_data): New variable.
18552 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18553 (cos_upward_test_data): New variable.
18554 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18555 (cosh_test_data): New variable.
18556 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18557 (cosh_tonearest_test_data): New variable.
18558 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18559 (cosh_towardzero_test_data): New variable.
18560 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18561 (cosh_downward_test_data): New variable.
18562 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18563 (cosh_upward_test_data): New variable.
18564 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18565 (erf_test_data): New variable.
18566 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18567 (erfc_test_data): New variable.
18568 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18569 (exp_test_data): New variable.
18570 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18571 (exp_tonearest_test_data): New variable.
18572 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18573 (exp_towardzero_test_data): New variable.
18574 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18575 (exp_downward_test_data): New variable.
18576 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18577 (exp_upward_test_data): New variable.
18578 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18579 (exp10_test_data): New variable.
18580 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18581 (exp2_test_data): New variable.
18582 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18583 (expm1_test_data): New variable.
18584 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18585 (fabs_test_data): New variable.
18586 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18587 (floor_test_data): New variable.
18588 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18589 (j0_test_data): New variable.
18590 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18591 (j1_test_data): New variable.
18592 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18593 (log_test_data): New variable.
18594 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18595 (log10_test_data): New variable.
18596 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18597 (log1p_test_data): New variable.
18598 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18599 (log2_test_data): New variable.
18600 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18601 (logb_test_data): New variable.
18602 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18603 (logb_downward_test_data): New variable.
18604 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18605 (nearbyint_test_data): New variable.
18606 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18607 (rint_test_data): New variable.
18608 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18609 (rint_tonearest_test_data): New variable.
18610 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18611 (rint_towardzero_test_data): New variable.
18612 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18613 (rint_downward_test_data): New variable.
18614 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18615 (rint_upward_test_data): New variable.
18616 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18617 (round_test_data): New variable.
18618 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18619 (sin_test_data): New variable.
18620 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18621 (sin_tonearest_test_data): New variable.
18622 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18623 (sin_towardzero_test_data): New variable.
18624 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18625 (sin_downward_test_data): New variable.
18626 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18627 (sin_upward_test_data): New variable.
18628 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18629 (sinh_test_data): New variable.
18630 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18631 (sinh_tonearest_test_data): New variable.
18632 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18633 (sinh_towardzero_test_data): New variable.
18634 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18635 (sinh_downward_test_data): New variable.
18636 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18637 (sinh_upward_test_data): New variable.
18638 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18639 (sqrt_test_data): New variable.
18640 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18641 (tan_test_data): New variable.
18642 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18643 (tan_tonearest_test_data): New variable.
18644 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18645 (tan_towardzero_test_data): New variable.
18646 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18647 (tan_downward_test_data): New variable.
18648 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18649 (tan_upward_test_data): New variable.
18650 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18651 (tanh_test_data): New variable.
18652 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18653 (tgamma_test_data): New variable.
18654 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18655 (trunc_test_data): New variable.
18656 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18657 (y0_test_data): New variable.
18658 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18659 (y1_test_data): New variable.
18660 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18661 (significand_test_data): New variable.
18662 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18664 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18667 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18669 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18671 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18673 2013-05-10 Andreas Jaeger <aj@suse.de>
18676 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18677 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18679 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18681 * math/gen-libm-test.pl (adjust_arg): New function.
18682 (special_functions): Handle generating output in both functions
18684 (parse_args): Likewise.
18685 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18686 $in_func argument to parse_args.
18687 * math/libm-test.inc (struct test_f_f_data): New type.
18688 (IF_ROUND_INIT_): New macro.
18689 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18690 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18691 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18692 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18693 (ROUND_RESTORE_): Likewise.
18694 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18695 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18696 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18697 (ROUND_RESTORE_FE_UPWARD): Likewise.
18698 (RUN_TEST_LOOP_f_f): New macro.
18699 (acos_test_data): New variable.
18700 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18701 (acos_tonearest_test_data): New variable.
18702 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18704 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18706 * benchtests/bench-skeleton.c (startup): Fix coding style.
18708 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18711 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18712 negative infinity argument.
18713 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18714 negative infinity argument.
18715 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18716 negative infinity argument.
18717 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18720 2013-05-10 Florian Weimer <fweimer@redhat.com>
18722 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18723 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18724 * iconv/iconv_prog.c (main): Likewise.
18725 * locale/programs/charmap-dir.c (charmap_readdir)
18726 (fopen_uncompressed): Likewise.
18727 * locale/programs/locfile.c (siblings_uncached)
18728 (write_locale_data): Use lstat64 instead of lstat.
18729 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18732 2013-05-10 Andreas Jaeger <aj@suse.de>
18735 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18737 Include <locale.h>.
18739 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18741 * elf/dl-close.c (_dl_close_worker): Add comments.
18743 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18748 (__ieee754_rem_pio2l): Update comments.
18751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18753 (__ieee754_rem_pio2l): Update comments.
18755 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18756 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18758 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18761 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18762 (M_PI_34_LOG10El): Likewise.
18763 (M_PI2_LOG10El): Likewise.
18764 (M_PI4_LOG10El): Likewise.
18765 (M_PI_LOG10El): Likewise.
18767 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18771 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18773 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18774 (MINUS_ZERO_INIT): Likewise.
18775 (PLUS_INFTY_INIT): Likewise.
18776 (MINUS_INFTY_INIT): Likewise.
18777 (QNAN_VALUE_INIT): Likewise.
18778 (MAX_VALUE_INIT): Likewise.
18779 (MIN_VALUE_INIT): Likewise.
18780 (MIN_SUBNORM_VALUE_INIT): Likewise.
18781 (plus_zero): Initialize with PLUS_ZERO_INIT.
18782 (minus_zero): Initialize with MINUS_ZERO_INIT.
18783 (plus_infty): Initialize with PLUS_INFTY_INIT.
18784 (minus_infty): Initialize with MINUS_INFTY_INIT.
18785 (qnan_value): Initialize with QNAN_VALUE_INIT.
18786 (max_value): Initialize with MAX_VALUE_INIT.
18787 (min_value): Initialize with MIN_VALUE_INIT.
18788 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18790 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18791 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18792 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18793 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18795 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18796 (RUN_TEST_2_f): Likewise.
18797 (RUN_TEST_ff_f): Likewise.
18798 (RUN_TEST_fi_f): Likewise.
18799 (RUN_TEST_fl_f): Likewise.
18800 (RUN_TEST_fff_f): Likewise.
18801 (RUN_TEST_c_f): Likewise.
18802 (RUN_TEST_f_f1): Likewise.
18803 (RUN_TEST_fF_f1): Likewise.
18804 (RUN_TEST_fI_f1): Likewise.
18805 (RUN_TEST_ffI_f1): Likewise.
18806 (RUN_TEST_c_c): Likewise.
18807 (RUN_TEST_cc_c): Likewise.
18808 (RUN_TEST_f_i): Likewise.
18809 (RUN_TEST_f_i_tg): Likewise.
18810 (RUN_TEST_ff_i_tg): Likewise.
18811 (RUN_TEST_f_b): Likewise.
18812 (RUN_TEST_f_b_tg): Likewise.
18813 (RUN_TEST_f_l): Likewise.
18814 (RUN_TEST_f_L): Likewise.
18815 (RUN_TEST_sincos): Likewise.
18816 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18817 whether to show exceptions. Do not include ");\n" in return
18819 (special_functions): Output call to RUN_TEST_sincos instead of
18820 check_float calls. Update calls to new_test.
18821 (parse_args): Output call to single RUN_TEST_* macro instead of
18822 check_* calls and other assignments. Update calls to new_test.
18828 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18829 input to result for tgamma overflow.
18830 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18831 (gamma_coeff): New variable.
18832 (NCOEFF): New macro.
18833 (gamma_positive): New function.
18834 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18835 underflow here. Use gamma_positive instead of exp (lgamma) for
18837 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18838 (gamma_coeff): New variable.
18839 (NCOEFF): New macro.
18840 (gammaf_positive): New function.
18841 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18842 underflow here. Use gamma_positive instead of exp (lgamma) for
18844 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18845 (gamma_coeff): New variable.
18846 (NCOEFF): New macro.
18847 (gammal_positive): New function.
18848 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18849 underflow here. Use gamma_positive instead of exp (lgamma) for
18851 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18852 (gamma_coeff): New variable.
18853 (NCOEFF): New macro.
18854 (gammal_positive): New function.
18855 (__ieee754_gammal_r): Handle positive infinity, overflow and
18856 underflow here. Handle NaN the same as positive infinity. Remove
18857 check x < 0xffffffff for negative integers. Use gamma_positive
18858 instead of exp (lgamma) for other arguments.
18859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18860 (gamma_coeff): New variable.
18861 (NCOEFF): New macro.
18862 (gammal_positive): New function.
18863 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18864 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18869 * sysdeps/generic/math_private.h (__gamma_productf): New
18871 (__gamma_product): Likewise.
18872 (__gamma_productl): Likewise.
18873 * math/Makefile (libm-calls): Add gamma_product.
18874 * math/libm-test.inc (tgamma_test): Add more tests.
18875 * sysdeps/i386/fpu/libm-test-ulps: Update.
18876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18878 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18880 * benchtests/bench-skeleton.c (main): Preheat CPU.
18882 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18884 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18886 2013-05-07 Roland McGrath <roland@hack.frob.com>
18888 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18889 and _dl_skip_args_internal.
18891 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18893 * manual/message.texi (Message Translation): Talk about users.
18894 Message to key mapping impacts design.
18896 2013-05-06 Roland McGrath <roland@hack.frob.com>
18898 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18900 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18902 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18903 * sysdeps/wordsize-64/glob64.c: ... here.
18905 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18906 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18909 * debug/getlogin_r_chk.c: Moved to ...
18910 * login/getlogin_r_chk.c: ... here.
18911 * debug/Makefile (routines): Move getlogin_r_chk to ...
18912 * login/Makefile (routines): ... here.
18913 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18914 * login/Versions (libc: GLIBC_2.4): ... here.
18916 * io/poll.c (__poll): Renamed from poll.
18917 Add libc_hidden_def.
18918 (poll): Define as weak alias.
18920 * debug/ptsname_r_chk.c: Moved to ...
18921 * login/ptsname_r_chk.c: ... here.
18922 * debug/Makefile (routines): Move ptsname_r_chk to ...
18923 * login/Makefile (routines): ... here.
18924 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18925 * login/Versions (libc: GLIBC_2.4): ... here.
18927 * posix/getlogin.c: Moved to ...
18928 * login/getlogin.c: ... here.
18929 * posix/getlogin_r.c: Moved to ...
18930 * login/getlogin_r.c: ... here.
18931 * posix/getlogin_r.c: Moved to ...
18932 * login/getlogin_r.c: ... here.
18933 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18934 * login/Makefile (routines): ... here.
18935 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18936 * login/Versions (libc: GLIBC_2.0): ... here.
18938 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18939 (setrlimit): Define as weak alias.
18941 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18942 Call __ names for open, ftruncate, and close.
18943 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18944 (truncate): Define as weak alias.
18946 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18948 * math/gen-libm-test.pl (parse_args): Initialize x before each
18949 test of frexp, modf and remquo.
18951 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18952 test signgam value.
18954 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18958 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18962 2013-05-06 Roland McGrath <roland@hack.frob.com>
18964 * elf/dl-writev.h: New file.
18965 * elf/dl-misc.c: Include it.
18966 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18967 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18969 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18971 * math/libm-test.inc (noXFails): Remove variable.
18972 (noXPasses): Likewise.
18973 (BUILD_COMPLEX_INT): Remove macro.
18974 (print_screen): Remove xfail argument.
18975 (print_screen_max_error): Likewise.
18976 (update_stats): Likewise.
18977 (print_max_error): Likewise. Update calls to other affected
18979 (print_complex_max_error): Likewise.
18980 (test_single_exception): Update calls to print_screen.
18981 (test_single_errno): Likewise.
18982 (check_float_internal): Remove xfail argument. Update calls to
18983 other affected functions.
18984 (check_float): Likewise.
18985 (check_complex): Likewise.
18986 (check_int): Likewise.
18987 (check_long): Likewise.
18988 (check_bool): Likewise.
18989 (check_longlong): Likewise.
18990 (main): Don't print noXFails and noXPasses.
18991 * math/gen-libm-test.pl (top level): Don't mention expected
18992 failure handling in comment.
18993 (new_test): Don't handle expected failures.
18994 (parse_args): Don't mention expected failure handling in comment.
18995 (generate_testfile): Don't handle expected failures.
18996 (parse_ulps): Likewise.
18997 (print_ulps_file): Likewise.
18998 (get_failure): Remove function.
18999 (output_test): Don't handle expected failures.
19000 * make/README.libm-test: Don't mention expected failure handling.
19002 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19003 (minus_zero): Likewise.
19004 (plus_infty): Likewise.
19005 (minus_infty): Likewise.
19006 (qnan_value): Likewise.
19007 (max_value): Likewise.
19008 (min_value): Likewise.
19009 (min_subnorm_value): Likewise.
19010 (initialize): Do not initialize those variables dynamically.
19012 2013-05-03 Roland McGrath <roland@hack.frob.com>
19014 * io/open.c (__open_2): Moved to ...
19015 * io/open_2.c: ... this new file.
19016 * io/open64.c (__open64_2): Moved to ...
19017 * io/open64_2.c: ... this new file.
19018 * io/openat.c (__openat_2): Moved to ...
19019 * io/openat_2.c: ... this new file.
19020 * io/openat64.c (__openat64_2): Moved to ...
19021 * io/openat64_2.c: ... this new file.
19022 * io/Makefile (routines): Add them.
19023 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19024 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19025 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19026 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19027 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19028 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19029 (__openat64): Add hidden_ver.
19030 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19031 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19033 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19034 Separately conditionalize setting of GLRO(dl_sysinfo) so
19035 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19036 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19038 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19040 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19043 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19044 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19045 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19046 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19047 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19049 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19051 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19052 test signgam value.
19054 * math/libm-test.inc (hypot_test): Do not use
19055 IGNORE_ZERO_INF_SIGN.
19057 2013-05-03 Andreas Jaeger <aj@suse.de>
19059 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19061 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19062 (PF_MAX): Adjust for VSOCK change.
19064 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19068 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19071 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19072 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19073 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19075 2013-05-02 David S. Miller <davem@davemloft.net>
19077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19079 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19081 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19083 2013-05-01 Roland McGrath <roland@hack.frob.com>
19085 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19087 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19090 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19091 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19092 Use __attribute__ ((__gnu_inline__)).
19093 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19094 Don't use __attribute__ ((__gnu_inline__)).
19096 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19099 * math/s_catan.c (__catan): Handle small real or imaginary part of
19100 input specially to avoid spurious underflow.
19101 * math/s_catanf.c (__catanf): Likewise.
19102 * math/s_catanh.c (__catanh): Likewise.
19103 * math/s_catanhf.c (__catanhf): Likewise.
19104 * math/s_catanhl.c (__catanhl): Likewise.
19105 * math/s_catanl.c (__catanl): Likewise.
19106 * math/libm-test.inc (catan_test): Add more tests.
19107 (catanh_test): Likewise.
19108 * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19115 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19118 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19119 accurately for denominator in atan2.
19120 * math/s_catanf.c (__catanf): Likewise.
19121 * math/s_catanh.c (__catanh): Likewise.
19122 * math/s_catanhf.c (__catanhf): Likewise.
19123 * math/s_catanhl.c (__catanhl): Likewise.
19124 * math/s_catanl.c (__catanl): Likewise.
19125 * math/libm-test.inc (catan_test): Add more tests.
19126 (catanh_test): Likewise.
19127 * sysdeps/i386/fpu/libm-test-ulps: Update.
19128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19132 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19134 * benchtests/Makefile (bench): Remove slow benchmarks.
19135 * benchtests/atan-inputs: Add slow benchmark inputs.
19136 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19137 (BENCH_FUNC): Accept variant offset.
19139 * benchtests/bench-skeleton.c (main): Run benchmark for each
19141 * benchtests/cos-inputs: Add slow benchmark inputs.
19142 * benchtests/exp-inputs: Likewise.
19143 * benchtests/pow-inputs: Likewise.
19144 * benchtests/sin-inputs: Likewise.
19145 * benchtests/slowatan-inputs: Remove.
19146 * benchtests/slowatan.c: Remove.
19147 * benchtests/slowcos-inputs: Remove.
19148 * benchtests/slowcos.c: Remove.
19149 * benchtests/slowexp-inputs: Remove.
19150 * benchtests/slowexp.c: Remove.
19151 * benchtests/slowpow-inputs: Remove.
19152 * benchtests/slowpow.c: Remove.
19153 * benchtests/slowsin-inputs: Remove.
19154 * benchtests/slowsin.c: Remove.
19155 * benchtests/slowtan-inputs: Remove.
19156 * benchtests/slowtan.c: Remove.
19157 * benchtests/tan-inputs: Add slow benchmark inputs.
19158 * scripts/bench.pl: Parse comments and directives.
19160 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19162 ($(objpfx)bench-%.c): Remove *-ITER.
19163 * benchtests/bench-modf.c: Remove definition of ITER.
19164 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19165 (main): Loop for DURATION seconds instead of fixed number of
19167 * scripts/bench.pl: Don't expect iterations in parameters.
19169 2013-04-29 Roland McGrath <roland@hack.frob.com>
19171 * io/fchdir.c (__fchdir): Renamed from fchdir.
19172 (fchdir): Define as weak alias.
19174 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19176 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19177 (ERRNO_EDOM): Likewise.
19178 (ERRNO_ERANGE): Likewise.
19179 (noErrnoTests): New variable.
19180 (init_max_error): Set errno to 0.
19181 (test_single_errno): New function.
19182 (test_errno): Likewise.
19183 (check_float_internal): Call test_errno. Set errno to 0.
19184 (check_complex): Refer to errno tests in comment.
19185 (check_int): Call test_errno. Set errno to 0.
19186 (check_long): Likewise.
19187 (check_bool): Likewise.
19188 (check_longlong): Likewise.
19189 (cos_test): Use ERRNO_* flags for errno tests instead of
19191 (expm1_test): Likewise.
19192 (fmod_test): Likewise.
19193 (ilogb_test): Likewise.
19194 (lgamma_test): Likewise.
19195 (pow_test): Likewise.
19196 (remainder_test): Likewise.
19197 (sin_test): Likewise.
19198 (tan_test): Likewise.
19199 (yn_test): Likewise.
19200 (initialize): Set errno to 0.
19201 (main): Print number of errno tests.
19202 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19204 2013-04-29 Andreas Jaeger <aj@suse.de>
19207 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19211 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19212 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19216 * stdlib/random.c (__initstate): Return NULL if
19220 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19221 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19224 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19228 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19230 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19231 of individual tests.
19232 (casin_test): Likewise.
19233 (casinh_test): Likewise.
19235 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19238 * math/s_catan.c (__catan): Handle arguments with large real or
19239 imaginary part separately without squaring.
19240 * math/s_catanf.c (__catanf): Likewise.
19241 * math/s_catanh.c (__catanh): Likewise.
19242 * math/s_catanhf.c (__catanhf): Likewise.
19243 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19245 (__catanhl): Handle arguments with large real or imaginary part
19246 separately without squaring.
19247 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19249 (__catanl): Handle arguments with large real or imaginary part
19250 separately without squaring.
19251 * math/libm-test.inc (catan_test): Add more tests.
19252 (catanh_test): Likewise.
19253 * sysdeps/i386/fpu/libm-test-ulps: Update.
19254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19256 2013-04-27 Andreas Jaeger <aj@suse.de>
19259 * stdlib/stdlib.h: Update guards for qecvt.
19260 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19263 2013-04-27 Allan McRae <allan@archlinux.org>
19265 * sysdeps/i386/fpu/libm-test-ulps: Update.
19267 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19270 * math/s_catan.c: Include <float.h>.
19271 (__catan): Ensure underflow exception occurs for underflowed
19273 * math/s_catanf.c: Include <float.h>.
19274 (__catanf): Ensure underflow exception occurs for underflowed
19276 * math/s_catanh.c: Include <float.h>.
19277 (__catanh): Ensure underflow exception occurs for underflowed
19279 * math/s_catanhf.c: Include <float.h>.
19280 (__catanhf): Ensure underflow exception occurs for underflowed
19282 * math/s_catanhl.c: Include <float.h>.
19283 (__catanhl): Ensure underflow exception occurs for underflowed
19285 * math/s_catanl.c: Include <float.h>.
19286 (__catanl): Ensure underflow exception occurs for underflowed
19288 * math/libm-test.inc (catan_test): Add more tests.
19289 (catanh_test): Likewise.
19292 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19293 underflowed result.
19294 * math/s_ccoshf.c (__ccoshf): Likewise.
19295 * math/s_ccoshl.c (__ccoshl): Likewise.
19296 * math/s_csin.c (__csin): Likewise.
19297 * math/s_csinf.c (__csinf): Likewise.
19298 * math/s_csinh.c (__csinh): Likewise.
19299 * math/s_csinhf.c (__csinhf): Likewise.
19300 * math/s_csinhl.c (__csinhl): Likewise.
19301 * math/s_csinl.c (__csinl): Likewise.
19302 * math/libm-test.inc (ccos_test): Add more tests.
19303 (ccosh_test): Likewise.
19304 (csin_test): Likewise.
19305 (csinh_test): Likewise.
19307 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19309 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19310 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19311 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19312 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19313 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19314 powerpc/power5+/fpu folders.
19315 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19318 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19322 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19324 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19325 additions to variable.
19326 [$(config-machine) = x86_64] (modules-names): Likewise.
19327 ($(objpfx)tst-audit3): Remove dependency.
19328 ($(objpfx)tst-audit3.out): Likewise.
19329 ($(objpfx)tst-audit4): Likewise.
19330 ($(objpfx)tst-audit4.out): Likewise.
19331 ($(objpfx)tst-audit5): Likewise.
19332 ($(objpfx)tst-audit5.out): Likewise.
19333 ($(objpfx)tst-audit6): Likewise.
19334 ($(objpfx)tst-audit6.out): Likewise.
19335 ($(objpfx)tst-audit7): Likewise.
19336 ($(objpfx)tst-audit7.out): Likewise.
19337 (tst-audit3-ENV): Remove variable.
19338 (tst-audit4-ENV): Likewise.
19339 (tst-audit5-ENV): Likewise.
19340 (tst-audit6-ENV): Likewise.
19341 (tst-audit7-ENV): Likewise.
19342 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19343 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19344 addition to variable.
19345 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19346 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19347 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19348 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19349 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19350 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19351 tst-audit3, tst-audit4 and tst-audit5.
19352 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19353 tst-audit6 and tst-audit7.
19354 [$(subdir) = elf] (modules-names): Add audit modules for those
19356 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19357 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19358 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19359 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19360 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19361 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19362 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19363 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19364 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19365 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19366 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19367 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19368 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19369 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19370 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19371 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19373 [$(subdir) = elf && $(config-cflags-avx) = yes]
19374 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19375 [$(subdir) = elf && $(config-cflags-avx) = yes]
19376 (CFLAGS-tst-auditmod4a.c): Likewise.
19377 [$(subdir) = elf && $(config-cflags-avx) = yes]
19378 (CFLAGS-tst-auditmod4b.c): Likewise.
19379 [$(subdir) = elf && $(config-cflags-avx) = yes]
19380 (CFLAGS-tst-auditmod6b.c): Likewise.
19381 [$(subdir) = elf && $(config-cflags-avx) = yes]
19382 (CFLAGS-tst-auditmod6c.c): Likewise.
19383 [$(subdir) = elf && $(config-cflags-avx) = yes]
19384 (CFLAGS-tst-auditmod7b.c): Likewise.
19385 * elf/tst-audit3.c: Move to ...
19386 * sysdeps/x86_64/tst-audit3.c: ... here.
19387 * elf/tst-audit4.c: Move to ...
19388 * sysdeps/x86_64/tst-audit4.c: ... here.
19389 * elf/tst-audit5.c: Move to ...
19390 * sysdeps/x86_64/tst-audit5.c: ... here.
19391 * elf/tst-audit6.c: Move to ...
19392 * sysdeps/x86_64/tst-audit6.c: ... here.
19393 * elf/tst-audit7.c: Move to ...
19394 * sysdeps/x86_64/tst-audit7.c: ... here.
19395 * elf/tst-auditmod3a.c: Move to ...
19396 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19397 * elf/tst-auditmod3b.c: Move to ...
19398 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19399 * elf/tst-auditmod4a.c: Move to ...
19400 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19401 * elf/tst-auditmod4b.c: Move to ...
19402 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19403 * elf/tst-auditmod5a.c: Move to ...
19404 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19405 * elf/tst-auditmod5b.c: Move to ...
19406 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19407 * elf/tst-auditmod6a.c: Move to ...
19408 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19409 * elf/tst-auditmod6b.c: Move to ...
19410 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19411 * elf/tst-auditmod6c.c: Move to ...
19412 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19413 * elf/tst-auditmod7a.c: Move to ...
19414 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19415 * elf/tst-auditmod7b.c: Move to ...
19416 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19418 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19421 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19422 define unconditionally.
19423 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19424 define unconditionally.
19425 (INT8_C, INT16_C, etc.): Likewise.
19427 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19429 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19430 __ehdr_start with hidden visibility.
19432 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19434 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19436 * math/libm-test.inc (cos_test): Use accurate hex constants.
19437 (sincost_test): Likewise.
19439 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19441 * math/libm-test.inc (catan_test): Add more tests.
19442 (catanh_test): Likewise.
19444 * math/s_catanf.c (__catanf): Use suffixed floating-point
19446 * math/s_catanhf.c (__catanhf): Likewise.
19447 * math/s_catanhl.c (__catanhl): Likewise.
19448 * math/s_catanl.c (__catanl): Likewise.
19451 * math/s_catan.c (__catan): Calculate imaginary part of result
19452 with log1p not log unless computing log of number close to 0.
19453 * math/s_catanf.c (__catanf): Likewise.
19454 * math/s_catanl.c (__catanl): Likewise.
19455 * math/s_catanh.c (__catanh): Calculate real part of result with
19456 log1p not log unless computing log of number close to 0.
19457 * math/s_catanhf.c (__catanhf): Likewise.
19458 * math/s_catanhl.c (__catanhl): Likewise.
19459 * math/libm-test.inc (catan_test): Add more tests.
19460 (catanh_test): Likewise.
19461 * sysdeps/i386/fpu/libm-test-ulps: Update.
19462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19464 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19466 * benchtests/Makefile: Mention files in which fast and slow
19467 paths of math functions are implemented.
19469 2013-04-23 Roland McGrath <roland@hack.frob.com>
19471 * sysdeps/posix/timespec_get.c: New file.
19473 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19475 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19477 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19479 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19480 powerpc/power5/fpu folders.
19481 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19482 * benchtests/Makefile: Add modf testcase.
19483 * benchtests/bench-modf.c: New file: Benchmark test for mo
19485 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19488 * time/Makefile (tests): Add tst-strptime-whitespace.
19489 * time/strptime_l.c (get_number): Use ISSPACE.
19490 (__strptime_internal): Likewise.
19491 * time/tst-strptime-whitespace.c: New test case.
19493 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19495 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19497 (_nss_files_init): Set it here.
19499 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19501 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19502 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19505 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19507 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19509 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19514 2013-04-21 David S. Miller <davem@davemloft.net>
19516 * po/ru.po: Update Russion translation from translation project.
19518 2013-04-17 Adam Conrad <adconrad@0c3.net>
19520 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19523 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19525 * configure.in: Remove i386 configure warning. Remove i386 case.
19526 * configure: Regenerate.
19527 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19528 Add example to error message.
19529 * sysdeps/i386/configure: Regenerate.
19531 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19533 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19535 * benchtests/cos-inputs: New file.
19536 * benchtests/slowcos-inputs: New file.
19537 * benchtests/slowcos.c: New file.
19538 * benchtests/slowtan-inputs: New file.
19539 * benchtests/slowtan.c: New file.
19540 * benchtests/tan-inputs: New file.
19542 2013-04-16 Roland McGrath <roland@hack.frob.com>
19544 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19547 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19549 * benchtests/Makefile: Include cppflags-iterator.mk to add
19550 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19552 * Makefile.in (bench-clean): New target.
19553 * benchtests/Makefile (bench-clean): Likewise.
19555 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19557 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19559 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19561 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19563 2013-04-15 Andreas Schwab <schwab@suse.de>
19565 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19567 * nscd/pwdcache.c (cache_addpw): Likewise.
19568 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19571 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19573 * benchtests/Makefile (bench): Write all output to
19574 bench-out.tmp together.
19576 2013-04-15 Andreas Schwab <schwab@suse.de>
19578 * nscd/nscd.c (main): Don't fork again after closing files.
19580 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19582 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19584 * benchtests/Rules (bench-deps): Collect dependencies into a
19585 single variable. Add Makefile to dependencies.
19586 ($(objpfx)bench-%.c): Depend on bench-deps.
19588 2013-04-12 Roland McGrath <roland@hack.frob.com>
19589 Xavier Roche <roche+kml2@exalead.com>
19592 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19593 just that it's a file descriptor.
19594 * manual/llio.texi (Synchronizing AIO Operations): Update description
19595 for EBADF error from aio_fsync.
19597 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19599 * Rules (bench): Move target definition...
19600 * benchtests/Makefile: ... here.
19602 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19604 * math/libm-test.inc (cos_test): Fix PI/2 test.
19605 (sincos_test): Likewise.
19606 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19607 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19609 2013-04-11 Andreas Schwab <schwab@suse.de>
19612 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19613 accept exponent character only when digits were seen.
19614 * stdio-common/Makefile (tests): Add bug26.
19615 * stdio-common/bug26.c: New file.
19618 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19621 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19623 * Makeconfig (rtld-prefix): Define built linker prefix.
19624 * Rules (run-bench): Use it.
19625 * math/Makefile (run-regen-ulps): Likewise.
19627 * Rules (bench): Remove eval.
19629 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19630 Roland McGrath <roland@hack.frob.com>
19631 Ondrej Bilka <neleai@seznam.cz>
19634 * time/getdate.c: Include ctype.h and alloca.h.
19635 (__getdate_r): Trim leading and trailing spaces of input.
19636 * time/tst-getdate.c (tests): Add tests with leading and
19639 2013-04-08 Roland McGrath <roland@hack.frob.com>
19642 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19643 when computing value.
19645 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19647 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19648 Use testrun.sh to run libm tests.
19651 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19653 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19656 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19658 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19660 * Makefile.in (regen-ulps): New target.
19661 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19662 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19663 [ifneq (no,$(PERL)] (regen-ulps): New target.
19664 [ifeq (no,$(PERL)] (regen-ulps): New target.
19665 * math/libm-test.inc (ulps_file_name): Define.
19666 (output_dir): New variable.
19667 (options): Add "output-dir" option.
19668 (parse_opt): Handle 'o' case.
19669 (main): If output_dir is non-NULL use it as a prefix
19671 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19673 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19675 [BZ #10060, #10062]
19676 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19677 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19678 fail configure if __sync_val_compare_and_swap is not inlined.
19679 * sysdeps/i386/configure: Regenerate.
19680 * configure.in: Build for i686 when configured for i386.
19681 * configure: Regenerate.
19682 * README: Remove i386 reference.
19684 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19686 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19687 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19689 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19691 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19692 (lmsnanval): New variables.
19693 (F): Add conversion tests.
19694 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19695 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19697 * stdio-common/tstdiomisc.c (F): Properly collect individual
19700 [BZ #14686, #15336]
19701 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19702 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19703 Instead, use input NaN values or generate a qNaN by arithmetic
19704 operation. Also fix bugs to comply with the standard.
19705 * math/libm-test.inc (remainder_test): Add more tests.
19707 [BZ #15335, #15342]
19708 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19710 input NaN values or generate a qNaN by arithmetic operation.
19712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19715 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19718 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19721 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19722 underflowed result.
19723 * math/s_cexpf.c (__cexpf): Likewise.
19724 * math/s_cexpl.c (__cexpl): Likewise.
19725 * math/libm-test.inc (cexp_test): Add more tests.
19727 2013-04-03 Andreas Schwab <schwab@suse.de>
19730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19731 order arrays from heap if bigger than alloca cutoff.
19733 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19735 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19736 (SNAN_TESTS_double): Refer to GCC PR56831.
19737 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19740 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19742 * Rules (bench): Move bench.out after the run is complete.
19744 * Rules (bench): Echo currently running benchmark.
19746 * benchtests/Makefile (bench): Add atan and slowatan.
19747 * benchtests/atan-inputs: New file.
19748 * benchtests/slowatan-inputs: New file.
19749 * benchtests/slowatan.c: New file.
19751 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19756 * sysdeps/unix/sysv/linux/kernel-features.h
19757 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19758 __ASSUME_XFS_RESTRICTED_CHOWN.
19759 * sysdeps/unix/sysv/linux/pathconf.c
19760 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19761 Save and restore errno.
19763 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19766 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19767 arguments using __kernel_casinh.
19768 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19769 arguments using __kernel_casinhf.
19770 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19771 arguments using __kernel_casinhl.
19772 * math/libm-test.inc (cacosh_test): Add more tests.
19773 * sysdeps/i386/fpu/libm-test-ulps: Update.
19774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19776 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19778 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19781 * bench/Makefile (bench): Add sin and slowsin.
19782 * benchtests/sin-inputs: New file.
19783 * benchtests/slowsin-inputs: New file.
19784 * benchtests/slowsin.c: New file.
19786 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19787 (bench): Add slowexp and slowpow.
19788 (exp-ITER): Increase iterations.
19789 (pow-ITER): Likewise.
19790 * benchtests/exp-inputs: Change input.
19791 * benchtests/pow-inputs: Likewise.
19792 * benchtests/slowexp-inputs: New file.
19793 * benchtests/slowexp.c: New file.
19794 * benchtests/slowpow-inputs: New file.
19795 * benchtests/slowpow.c: New file.
19797 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19799 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19801 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19802 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19804 * benchtests/Makefile: Add rint benchtest.
19805 * benchtests/rint-inputs: Input for rint benchtest.
19807 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19809 * Versions.def (libm): Add GLIBC_2.18.
19810 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19811 hidden libm prototypes.
19812 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19813 * math/Makefile (libm-calls): Add s_issignaling.
19814 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19815 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19816 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19818 * math/math.h [__USE_GNU] (issignaling): New macro.
19819 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19820 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19821 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19825 * manual/arith.texi (issignaling): New section.
19826 * manual/libm-err-tab.pl (@all_functions): Update comment.
19827 * math/gen-libm-test.pl (parse_args): Apply special handling for
19829 * math/libm-test.inc (print_float, issignaling_test): New
19831 (check_float_internal): Add issignaling checks.
19832 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19833 default definition.
19834 * sysdeps/powerpc/math-tests.h: New file.
19835 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19837 * math/test-snan.c (TEST_FUNC): Likewise.
19839 2013-03-30 David S. Miller <davem@davemloft.net>
19841 * po/de.po: Update from translation team.
19843 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19846 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19847 imaginary part less than 1.0 and real part less than 0.5
19849 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19850 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19851 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19852 (cacos_test): Add more tests.
19853 (casin_test): Likewise.
19854 (casinh_test): Likewise.
19855 * sysdeps/i386/fpu/libm-test-ulps: Update.
19856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19858 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19860 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19861 ONE with its value.
19863 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19864 (__pow_mp): Replace ONE and MONE with their values.
19865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19866 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19867 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19868 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19869 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19870 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19872 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19874 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19875 (__pow_mp): Replace ZERO and MZERO with their values.
19876 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19878 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19880 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19881 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19884 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19886 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19888 2013-03-28 Roland McGrath <roland@hack.frob.com>
19890 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19891 Declare with __attribute__ ((weak)).
19892 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19893 Call __call_tls_dtors only if it's not NULL.
19895 2013-03-28 Roland McGrath <roland@hack.frob.com>
19897 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19898 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19899 magic __ehdr_start linker symbol if it's defined.
19900 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19901 them up here if it was already done.
19903 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19904 (_dl_aux_init): Use const in cast when setting it.
19905 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19906 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19907 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19909 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19911 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19912 * csu/libc-tls.c: Nor here.
19913 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19915 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19916 (__libc_message): Never call vsyslog.
19918 2013-03-28 Alan Modra <amodra@gmail.com>
19920 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19922 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19925 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19928 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19932 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19935 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19936 Don't add gid passed as argument.
19938 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19940 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19943 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19944 imaginary part between 1.0 and 1.5 and real part less than 0.5
19946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19948 * math/libm-test.inc (cacos_test): Add more tests.
19949 (casin_test): Likewise.
19950 (casinh_test): Likewise.
19951 * sysdeps/i386/fpu/libm-test-ulps: Update.
19952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19956 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19959 (denorm): Likewise.
19960 (__dbl_mp): Likewise.
19961 (add_magnitudes): Likewise.
19962 (sub_magnitudes): Likewise.
19970 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19972 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19973 (__dubcos): Likewise.
19974 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19975 (__ieee754_acos): Likewise.
19976 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19977 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19978 (__exp1): Likewise.
19979 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19982 (my_log2): Likewise.
19983 (checkint): Likewise.
19984 * sysdeps/ieee754/dbl-64/e_remainder.c
19985 (__ieee754_remainder): Likewise.
19986 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19988 (bsloww): Likewise.
19989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19991 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19992 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19993 MANTISSA_STORE_T to store computations on mantissa. Use
19994 macros for rounding and division.
19995 (denorm): Likewise.
19996 (__dbl_mp): Likewise.
19997 (add_magnitudes): Likewise.
19998 (sub_magnitudes): Likewise.
20001 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20002 powers of two in terms of TWOPOW macro.
20003 (mp_no): Make type of mantissa as MANTISSA_T.
20004 [!RADIXI]: Define RADIXI.
20005 [!TWO52]: Define TWO52.
20006 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20008 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20010 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20011 llroundl symbol when building for PPC32.
20013 2013-03-24 Mark H Weaver <mhw@netris.org>
20015 * manual/arith.texi (Normalization Functions): Fix prototypes for
20016 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20018 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20022 high value to check if expl overflow.
20023 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20024 to check for underflow and overflow.
20025 * math/libm-test.inc: Add exp test.
20027 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20030 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20033 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20035 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20038 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20040 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20041 wrap blocks consisting of several statements.
20043 * sysdeps/generic/math-tests.h: New file.
20044 * sysdeps/i386/fpu/math-tests.h: Likewise.
20045 * math/test-snan.c: Include it.
20046 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20048 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20051 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20052 (__ieee754_j0l): Do not improve calculations using cos of twice
20053 input for inputs above LDBL_MAX / 2.0L.
20054 (__ieee754_y0l): Likewise.
20055 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20056 (__ieee754_j1l): Do not improve calculations using cos of twice
20057 input for inputs above LDBL_MAX / 2.0L.
20058 (__ieee754_y1l): Likewise.
20059 * math/libm-test.inc (j0_test): Add another test.
20060 (j1_test): Likewise.
20061 (y0_test): Likewise.
20062 (y1_test): Likewise.
20063 * sysdeps/i386/fpu/libm-test-ulps: Update.
20065 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20067 * Rules ($(objpfx)bench-%.c): Include code from a C source
20070 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20073 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20074 imaginary part 1.0 and real part less than 0.5 specially.
20075 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20076 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20077 * math/libm-test.inc (cacos_test): Add more tests.
20078 (casin_test): Likewise.
20079 (casinh_test): Likewise.
20080 * sysdeps/i386/fpu/libm-test-ulps: Update.
20081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20083 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20085 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20086 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20088 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20090 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20091 * config.make.in (config-cflags-sse4): Remove variable.
20092 (config-cflags-avx): Likewise.
20093 (config-cflags-sse2avx): Likewise.
20094 (config-cflags-novzeroupper): Likewise.
20095 (config-asflags-i686): Likewise.
20096 (have-mfma4): Likewise.
20097 (have-as-vis3): Likewise.
20099 * configure.in (MIG): Do not AC_SUBST.
20100 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20101 (libc_cv_cc_sse4): Do not AC_SUBST.
20102 (libc_cv_cc_avx): Likewise.
20103 (libc_cv_cc_sse2avx): Likewise.
20104 (libc_cv_cc_novzeroupper): Likewise.
20105 (libc_cv_cc_fma4): Likewise.
20106 (libc_cv_as_i686): Likewise.
20107 (libc_cv_sparc_as_vis3): Likewise.
20108 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20110 (config-asflags-i686): Likewise.
20111 (config-cflags-avx): Likewise.
20112 (config-cflags-sse2avx): Likewise.
20113 (have-mfma4): Likewise.
20114 (config-cflags-novzeroupper): Likewise.
20115 * sysdeps/mach/configure.in (MIG): Likewise.
20116 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20117 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20119 (config-cflags-avx): Likewise.
20120 (config-cflags-sse2avx): Likewise.
20121 (have-mfma4): Likewise.
20122 (config-cflags-novzeroupper): Likewise.
20123 * configure: Regenerated.
20124 * sysdeps/i386/configure: Likewise.
20125 * sysdeps/mach/configure: Likewise.
20126 * sysdeps/sparc/configure: Likewise.
20127 * sysdeps/x86_64/configure: Likewise.
20129 2013-03-20 Roland McGrath <roland@hack.frob.com>
20132 * locale/programs/localedef.c (options): Put N_ translation marker
20133 on argument names, not just descriptions.
20135 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20137 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20139 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20142 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20144 2013-03-19 Roland McGrath <roland@hack.frob.com>
20146 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20147 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20148 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20149 [!BEFORE_ABORT] (before_abort): New function.
20150 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20151 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20152 (writev_for_fatal): New function.
20153 (WRITEV_FOR_FATAL): New macro; call that.
20154 (backtrace_and_maps): New function.
20155 (BEFORE_ABORT): New macro; call that.
20156 (struct str_list): Type removed.
20157 (__libc_message, __libc_fatal): Functions removed.
20158 Include <sysdeps/posix/libc_fatal.c> instead.
20160 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20162 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20164 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20167 2013-03-19 Andreas Schwab <schwab@suse.de>
20169 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20170 * sysdeps/gnu/configure: Regenerate.
20172 * configure.in: Substitute libc_cv_rtlddir.
20173 * configure: Regenerate.
20174 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20175 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20176 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20177 * elf/Makefile (install-others, CFLAGS-interp.c)
20178 (ldso_install, common-ldd-rewrite): Likewise.
20179 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20180 $(inst_slibdir)/$(rtld-installed-name).
20181 * scripts/rellns-sh: Add -p option.
20182 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20185 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20187 * manual/nptl.texi: Renamed to ...
20188 * manual/threads.texi: ... this.
20189 * manual/Makefile (chapters): Update.
20191 2013-03-18 Roland McGrath <roland@hack.frob.com>
20194 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20195 on argument names, not just descriptions.
20196 * malloc/memusagestat.c (options): Likewise.
20197 * nss/getent.c (options): Likewise.
20199 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20202 * iconv/iconv_prog.c (options): Put N_ translation marker
20203 on argument names, not just descriptions.
20204 * iconv/iconvconfig.c (options): Likewise.
20206 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20208 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20209 implementation which is faster on all x86_64 architectures.
20210 Tested on AMD, Intel Nehalem, SNB, IVB.
20211 * sysdeps/x86_64/strnlen.S: Likewise.
20213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20214 Remove all multiarch strlen and strnlen versions.
20215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20216 Remove strlen and strnlen related parts.
20218 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20219 Inline strlen part.
20220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20222 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20223 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20224 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20225 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20226 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20227 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20229 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20231 * manual/memory.texi (Malloc Tunable Parameters):
20232 Sort parameters alphabetically. Add comments for missing entries.
20234 2013-03-17 David S. Miller <davem@davemloft.net>
20236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20238 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20241 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20242 for arguments at most half maximum finite value.
20243 * math/libm-test.inc (j0_test): Add more tests.
20244 (j1_test): Likewise.
20245 (y0_test): Likewise.
20246 (y1_test): Likewise.
20247 * sysdeps/i386/fpu/libm-test-ulps: Update.
20248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20252 1 / x and functions P and Q for arguments above 0x1p256L.
20253 (__ieee754_y0l): Likewise.
20254 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20255 (__ieee754_y1l): Likewise.
20256 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20257 (j1_test): Likewise.
20258 (y0_test): Likewise.
20259 (y1_test): Likewise.
20261 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20263 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20266 2013-03-15 Roland McGrath <roland@hack.frob.com>
20268 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20269 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20270 zero since it's initialized to EXEC_PAGESIZE.
20272 * sysdeps/unix/sysv/linux/ldsodefs.h
20273 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20274 * sysdeps/generic/ldsodefs.h: ... here.
20276 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20278 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20280 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20282 * math/test-snan.c: Renamed from
20283 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20284 * math/Makefile (tests): Add test-snan.
20285 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20288 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20289 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20291 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20292 __builtin_nan family of functions.
20293 * math/libm-test.inc (initialize): Initialize qnan_value with
20294 __builtin_nan family of functions.
20295 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20297 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20299 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20300 storage class. Initialize qNaN_var and sNaN_var with
20301 __builtin_nan and __builtin_nans families of functions,
20304 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20305 (sqrt_test): Remove duplicate test with qNaN input.
20306 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20307 (round_test, signbit_test, significand_test): Note missing +/-Inf
20308 as well as qNaN tests.
20310 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20311 qNaN_var. Fix a few strings, too.
20312 * math/libm-test.inc (nan_value): Rename to qnan_value.
20313 * math/gen-libm-test.pl (%beautify): Adjust to that.
20314 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20315 * math/test-misc.c (main): Likewise.
20316 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20317 to __qnan_bytes, and __qnan_union, respectively.
20318 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20320 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20321 and lqnanval, respectively.
20322 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20323 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20324 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20325 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20327 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20328 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20331 * math/test-misc.c (main): Fix copy'n'pastos.
20332 * misc/tst-efgcvt.c (special): Likewise.
20334 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20335 Remove declarations.
20337 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20339 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20340 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20341 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20344 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20347 macro to return vdso values correctly in IFUNC implementations.
20348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20349 Optimization by using IFUNC.
20351 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20352 Richard Henderson <rth@redhat.com>
20353 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20355 * Makefile.in (bench): New target.
20356 * NEWS: Mention the benchmark framework.
20357 * Rules (bench): Likewise.
20358 (binaries-bench): Generate binaries for functions to
20360 * benchtests/Makefile: New makefile for benchmark tests.
20361 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20363 * benchtests/exp-inputs: New input file for EXP function.
20364 * benchtests/pow-inputs: New input file for POW function.
20365 * scripts/bench.pl: New script to generate source files for
20366 benchmark programs.
20368 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20370 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20372 computations on mantissa. Use macros for rounding and
20374 (denorm): Likewise.
20375 (__dbl_mp): Likewise.
20376 (add_magnitudes): Likewise.
20377 (sub_magnitudes): Likewise.
20380 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20381 powers of two in terms of TWOPOW macro.
20382 (mp_no): Make type of mantissa as MANTISSA_T.
20383 [!RADIXI]: Define RADIXI.
20384 [!TWO52]: Define TWO52.
20385 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20387 * manual/nptl.texi (cindex): Modify threads to pthreads.
20389 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20391 * sysdeps/x86_64/preconfigure: Regenerated.
20393 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20396 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20398 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20399 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20401 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20402 * math/libm-test.inc (j0_test): Do not allow one spurious
20403 underflow exception.
20404 (y1_test): Likewise.
20406 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20408 * manual/Makefile (chapters): Add nptl.
20409 * manual/debug.texi (Debugging Support): Add link to Threads
20411 * manual/nptl.texi: New file.
20413 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20415 2013-03-14 Petr Baudis <pasky@ucw.cz>
20417 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20418 for non-NULL pointer before the memory validity test. Pointed
20419 out by Holger Brunck <holger.brunck@keymile.com>.
20421 2013-03-13 Andreas Schwab <schwab@suse.de>
20423 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20426 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20428 * timezone/zic.c: Update from tzcode 2013b.
20430 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20432 * manual/install.texi (Configuring and compiling):
20433 Mention i686 and i586.
20434 * INSTALL: Regenerate.
20436 2013-03-12 Roland McGrath <roland@hack.frob.com>
20438 * sysdeps/init_array/elf-init.c: New file.
20440 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20441 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20443 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20444 __gmon_start__ as global, but as static with a .preinit_array pointer.
20445 * sysdeps/init_array/gmon-start.c: New file. Use that.
20446 * sysdeps/init_array/crti.S: New file, empty except for comments.
20447 * sysdeps/init_array/crtn.S: Likewise.
20449 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20451 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20454 Remove Prefer_SSE_for_memop.
20455 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20456 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20457 HAS_PREFER_SSE_FOR_MEMOP.
20458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20461 Remove bzero, memset ifunc support.
20462 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20463 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20464 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20467 2013-03-11 Andreas Schwab <schwab@suse.de>
20470 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20473 (GLIBC_2.16): Remove pthread_atfork.
20475 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20477 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20478 (ptestcases.h): Likewise.
20480 2013-03-08 Roland McGrath <roland@hack.frob.com>
20482 * Makeconfig ($(common-objpfx)config.status): Depend on
20483 sysdeps/*/preconfigure{,.in} too.
20485 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20487 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20488 (__free_hook): Use void * instead of __malloc_ptr_t.
20489 (__malloc_hook): Likewise.
20490 (__realloc_hook): Likewise.
20491 (__memalign_hook): Likewise.
20492 (__after_morecore_hook): Likewise.
20493 * malloc/arena.c (save_malloc_hook): Likewise.
20494 (save_free_hook): Likewise.
20495 * malloc/hooks.c (malloc_hook_ini): Likewise.
20496 (realloc_hook_ini): Likewise.
20497 (memalign_hook_ini): Likewise.
20498 * malloc/malloc.c (malloc_hook_ini): Likewise.
20499 (realloc_hook_ini): Likewise.
20500 (memalign_hook_ini): Likewise.
20501 (__free_hook): Likewise.
20502 (__malloc_hook): Likewise.
20503 (__realloc_hook): Likewise.
20504 (__memalign_hook): Likewise.
20505 (__libc_malloc): Likewise.
20506 (__libc_free): Likewise.
20507 (__libc_realloc): Likewise.
20508 (__libc_memalign): Likewise.
20509 (__libc_valloc): Likewise.
20510 (__libc_pvalloc): Likewise.
20511 (__libc_calloc): Likewise.
20512 (__posix_memalign): Likewise.
20513 * malloc/morecore.c (__sbrk): Likewise.
20514 (__default_morecore): Likewise.
20516 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20518 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20519 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20520 __malloc_ptrdiff_t.
20522 * malloc/malloc.h (__malloc_size_t): Remove macro.
20523 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20525 (old_memalign_hook): Likewise.
20526 (old_realloc_hook): Likewise.
20527 (struct hdr): Likewise.
20529 (mallochook): Likewise.
20530 (memalignhook): Likewise.
20531 (reallochook): Likewise.
20532 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20533 (tr_old_realloc_hook): Likewise.
20534 (tr_old_memalign_hook): Likewise.
20535 (tr_mallochook): Likewise.
20536 (tr_reallochook): Likewise.
20537 (tr_memalignhook): Likewise.
20539 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20542 default_ldbl_pack and using as default implementation.
20543 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20545 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20546 redundant definition.
20547 (ldbl_insert_mantissa): Likewise.
20548 (ldbl_canonicalize): Likewise.
20549 (ldbl_nearbyint): Likewise.
20550 (ldbl_pack): Rename to ldbl_pack_ppc.
20551 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20552 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20553 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20555 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20558 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20559 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20560 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20562 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20563 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20564 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20566 2013-03-07 Andreas Jaeger <aj@suse.de>
20568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20571 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20573 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20574 Include mpa.h and declare __MPEXP.
20575 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20576 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20577 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20578 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20579 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20580 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20581 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20583 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20584 (__slowpow): Use long double EXPL and LOGL functions to
20586 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20587 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20588 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20589 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20590 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20591 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20594 intermediate variable to calculate exponent.
20596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20600 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20601 [!NO__SQR]: Define __sqr.
20602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20603 and NO__SQR. Remove all code except __mul and __sqr. Include
20604 sysdeps/ieee754/dbl-64/mpa.c.
20605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20608 * posix/Makefile (tests): Add tst-pathconf.
20609 * posix/tst-pathconf.c: New test case.
20610 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20612 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20614 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20616 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20618 2013-03-06 Andreas Jaeger <aj@suse.de>
20620 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20621 definition via __MAP_ANONYMOUS.
20623 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20624 it's not part of Linux headers.
20626 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20627 (MAP_HUGE_MASK): Define.
20629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20631 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20634 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20635 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20637 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20640 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20642 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20643 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20644 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20645 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20646 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20647 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20653 Handle f2fs and efivarfs.
20655 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20658 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20659 (EFIVARFS_MAGIC): Add.
20660 (F2FS_LINK_MAX): Add.
20662 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20664 * stdio-common/vfprintf.c: Replace __builtin_expect with
20667 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20670 * sysdeps/generic/bp-sym.h: Remove file.
20671 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20672 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20673 <bp-sym.h> and <bp-asm.h>.
20674 (__longjmp): Don't use BP_SYM.
20675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20677 (memcpy): Don't use BP_SYM.
20678 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20679 <bp-sym.h> and <bp-asm.h>.
20680 (memcpy): Don't use BP_SYM.
20681 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20683 (memcpy): Don't use BP_SYM.
20684 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20686 (memset): Don't use BP_SYM.
20687 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20688 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20689 (__bzero): Don't use BP_SYM.
20690 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20691 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20693 <bp-sym.h> and <bp-asm.h>.
20694 (memcmp): Don't use BP_SYM. Remove comment about bounded
20696 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20697 <bp-sym.h> and <bp-asm.h>.
20698 (memcpy): Don't use BP_SYM.
20699 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20700 <bp-sym.h> and <bp-asm.h>.
20701 (memset): Don't use BP_SYM.
20702 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20703 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20704 (__bzero): Don't use BP_SYM.
20705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20707 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20708 <bp-sym.h> and <bp-asm.h>.
20709 (strncmp): Don't use BP_SYM. Remove comment about bounded
20711 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20712 <bp-sym.h> and <bp-asm.h>.
20713 (memcpy): Don't use BP_SYM.
20714 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20715 <bp-sym.h> and <bp-asm.h>.
20716 (memset): Don't use BP_SYM.
20717 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20718 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20719 (__bzero): Don't use BP_SYM.
20720 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20721 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20723 <bp-sym.h> and <bp-asm.h>.
20724 (__memchr): Don't use BP_SYM.
20725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20726 <bp-sym.h> and <bp-asm.h>.
20727 (memcmp): Don't use BP_SYM. Remove comment about bounded
20729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20730 <bp-sym.h> and <bp-asm.h>.
20731 (memcpy): Don't use BP_SYM.
20732 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20733 <bp-sym.h> and <bp-asm.h>.
20734 (__mempcpy): Don't use BP_SYM.
20735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20736 <bp-sym.h> and <bp-asm.h>.
20737 (__memrchr): Don't use BP_SYM.
20738 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20739 <bp-sym.h> and <bp-asm.h>.
20740 (memset): Don't use BP_SYM.
20741 (__bzero): Likewise.
20742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20743 <bp-sym.h> and <bp-asm.h>.
20744 (__rawmemchr): Don't use BP_SYM.
20745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20746 <bp-sym.h> and <bp-asm.h>.
20747 (__STRCMP): Don't use BP_SYM.
20748 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20749 <bp-sym.h> and <bp-asm.h>.
20750 (strchr): Don't use BP_SYM.
20751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20752 <bp-sym.h> and <bp-asm.h>.
20753 (__strchrnul): Don't use BP_SYM.
20754 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20755 <bp-sym.h> and <bp-asm.h>.
20756 (strlen): Don't use BP_SYM.
20757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20758 <bp-sym.h> and <bp-asm.h>.
20759 (strncmp): Don't use BP_SYM. Remove comment about bounded
20761 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20762 <bp-sym.h> and <bp-asm.h>.
20763 (__strnlen): Don't use BP_SYM.
20764 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20765 <bp-sym.h> and <bp-asm.h>.
20766 (__GI__setjmp): Don't use BP_SYM.
20767 (_setjmp): Likewise.
20768 (__sigsetjmp): Likewise.
20769 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20770 (L(start_addresses)): Don't use BP_SYM.
20771 (_start): Likewise.
20772 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20774 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20775 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20776 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20777 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20778 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20780 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20781 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20782 about bounded pointers.
20783 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20784 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20785 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20787 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20788 about bounded pointers. Remove GKM FIXME comments.
20789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20790 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20792 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20793 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20794 Remove GKM FIXME comments.
20795 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20796 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20797 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20799 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20800 about bounded pointers. Remove GKM FIXME comment.
20801 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20803 (strncmp): Don't use BP_SYM. Remove comment about bounded
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20806 <bp-sym.h> and <bp-asm.h>.
20807 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20809 <bp-sym.h> and <bp-asm.h>.
20810 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20813 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20815 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20818 2013-03-05 David S. Miller <davem@davemloft.net>
20820 * po/es.po: Update from translation team.
20822 2013-03-05 Andreas Jaeger <aj@suse.de>
20824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20825 <bits/mman-linux.h>.
20826 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20828 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20829 <bits/mman-linux.h> to end of file.
20830 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20833 <bits/mman-linux.h> to end of file.
20834 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20837 <bits/mman-linux.h> to end of file.
20839 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20840 (MCL_CURRENT, MCL_FUTURE): Define here.
20842 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20845 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20847 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20849 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20852 fourth parameter needed for rt_sigprocmask syscall.
20853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20854 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20856 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20857 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20858 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20860 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20863 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20864 comment about bounded pointers.
20865 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20866 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20868 2013-03-04 Andreas Jaeger <aj@suse.de>
20870 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20871 common definitions.
20873 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20874 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20876 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20878 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20880 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20884 __ieee754_sqrl instead of __sqrl.
20886 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20888 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20889 * sysdeps/powerpc/fpu_control.h: ... here.
20890 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20891 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20892 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20893 * sysdeps/powerpc/bits/mathinline.h: ... here.
20895 2013-03-01 Roland McGrath <roland@hack.frob.com>
20897 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20898 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20899 to just [NEED_DL_SYSINFO_DSO].
20900 * elf/dl-support.c: Likewise.
20901 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20902 * elf/rtld.c (dl_main): Likewise.
20903 * elf/setup-vdso.h (setup_vdso): Likewise.
20904 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20905 * sysdeps/unix/sysv/linux/dl-sysdep.c
20906 (_dl_discover_osversion): Likewise.
20908 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20910 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20911 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20913 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20915 * NEWS: Mention libm performance improvements and non-x86 PI
20918 * csu/libc-start.c (__pthread_initialize_minimal): Change
20919 function arguments.
20920 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20922 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20925 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20926 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20927 <bp-sym.h> and <bp-asm.h>.
20928 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20929 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20931 (memcpy): Don't use BP_SYM.
20932 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20934 (__mpn_add_n): Don't use BP_SYM.
20935 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20936 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20938 (__mpn_addmul_1): Don't use BP_SYM.
20939 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20940 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20942 (_setjmp): Don't use BP_SYM.
20943 (__novmx_setjmp): Likewise.
20944 (__GI__setjmp): Likewise.
20945 (__vmx_setjmp): Likewise.
20946 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20948 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20949 (__bzero): Don't use BP_SYM.
20950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20952 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20953 <bp-sym.h> and <bp-asm.h>.
20954 (memcpy): Don't use BP_SYM.
20955 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20956 <bp-sym.h> and <bp-asm.h>.
20957 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20958 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20959 <bp-sym.h> and <bp-asm.h>.
20960 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20961 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20963 (__mpn_lshift): Don't use BP_SYM.
20964 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20965 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20967 (memset): Don't use BP_SYM.
20968 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20969 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20970 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20972 (__mpn_mul_1): Don't use BP_SYM.
20973 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20975 <bp-sym.h> and <bp-asm.h>.
20976 (memcmp): Don't use BP_SYM.
20977 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20978 <bp-sym.h> and <bp-asm.h>.
20979 (memcpy): Don't use BP_SYM.
20980 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20981 <bp-sym.h> and <bp-asm.h>.
20982 (memset): Don't use BP_SYM.
20983 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20984 <bp-sym.h> and <bp-asm.h>.
20985 (strncmp): Don't use BP_SYM.
20986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20987 <bp-sym.h> and <bp-asm.h>.
20988 (memcpy): Don't use BP_SYM.
20989 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20990 <bp-sym.h> and <bp-asm.h>.
20991 (memset): Don't use BP_SYM.
20992 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20993 <bp-sym.h> and <bp-asm.h>.
20994 (__memchr): Don't use BP_SYM.
20995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20996 <bp-sym.h> and <bp-asm.h>.
20997 (memcmp): Don't use BP_SYM.
20998 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20999 <bp-sym.h> and <bp-asm.h>.
21000 (memcpy): Don't use BP_SYM.
21001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21002 <bp-sym.h> and <bp-asm.h>.
21003 (__mempcpy): Don't use BP_SYM.
21004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21005 <bp-sym.h> and <bp-asm.h>.
21006 (__memrchr): Don't use BP_SYM.
21007 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21008 <bp-sym.h> and <bp-asm.h>.
21009 (memset): Don't use BP_SYM.
21010 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21011 <bp-sym.h> and <bp-asm.h>.
21012 (__rawmemchr): Don't use BP_SYM.
21013 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21014 <bp-sym.h> and <bp-asm.h>.
21015 (__STRCMP): Don't use BP_SYM.
21016 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21017 <bp-sym.h> and <bp-asm.h>.
21018 (strchr): Don't use BP_SYM.
21019 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21020 <bp-sym.h> and <bp-asm.h>.
21021 (__strchrnul): Don't use BP_SYM.
21022 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21023 <bp-sym.h> and <bp-asm.h>.
21024 (strlen): Don't use BP_SYM.
21025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21026 <bp-sym.h> and <bp-asm.h>.
21027 (strncmp): Don't use BP_SYM.
21028 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21029 <bp-sym.h> and <bp-asm.h>.
21030 (__strnlen): Don't use BP_SYM.
21031 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21033 (__mpn_rshift): Don't use BP_SYM.
21034 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21035 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21036 <bp-sym.h> and <bp-asm.h>.
21037 (__sigsetjmp): Don't use BP_SYM.
21038 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21039 (L(start_addresses)): Don't use BP_SYM.
21040 (_start): Likewise.
21041 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21043 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21044 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21045 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21046 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21048 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21049 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21050 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21051 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21053 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21055 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21056 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21058 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21060 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21061 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21062 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21064 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21066 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21068 (strncmp): Don't use BP_SYM,
21069 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21071 (__mpn_sub_n): Don't use BP_SYM.
21072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21073 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21075 (__mpn_submul_1): Don't use BP_SYM.
21076 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21078 <bp-sym.h> and <bp-asm.h>.
21079 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21081 <bp-sym.h> and <bp-asm.h>.
21082 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21085 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21088 Use ZK to minimize writes to Z.
21089 (sub_magnitudes): Simplify code a bit.
21090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21091 Use ZK to minimize writes to Z.
21092 (sub_magnitudes): Simplify code a bit.
21094 2013-02-27 Roland McGrath <roland@hack.frob.com>
21096 * csu/gmon-start.c: Add special exception to license text.
21098 2013-02-27 Richard Henderson <rth@redhat.com>
21100 * scripts/config.guess: Update from config.git.
21101 * scripts/config.sub: Likewise.
21103 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21105 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21107 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21109 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21111 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21113 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21115 2013-02-26 Roland McGrath <roland@hack.frob.com>
21117 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21118 [$(build-shared = yes].
21120 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21122 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21123 (__mul): Reduce iterations for calculating mantissa.
21125 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21127 (__mpranred): Likewise.
21130 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21131 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21133 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21135 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21136 Define __attribute__.
21138 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21140 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21142 * posix/regex_internal.h (__attribute): Remove.
21143 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21144 (re_string_context_at): Likewise.
21145 (bitset_not): Use __attribute__ and mark function as possibly
21147 (bitset_merge): Likewise.
21148 (bitset_mask): Likewise.
21149 (re_string_char_size_at): Likewise.
21150 (re_string_wchar_at): Likewise.
21151 (re_string_elem_size_at): Likewise.
21153 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21155 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21159 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21163 (denorm): Likewise.
21164 (__dbl_mp): Likewise.
21165 (add_magnitudes): Likewise.
21166 (sub_magnitudes): Likewise.
21170 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21173 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21176 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21180 up changes with default code.
21181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21184 2013-02-24 Allan McRae <allan@archlinux.org>
21186 * manual/socket.texi (The Internet Namespace): Order menu items
21187 to match that in the file.
21189 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21190 node listing of the info page menu.
21192 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21195 * sysdeps/i386/bp-asm.h: Remove file.
21196 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21197 (PARMS): Do not use macros from bp-asm.h.
21201 (__mpn_add_n): Do not use BP_SYM
21202 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21204 (PARMS): Do not use macros from bp-asm.h.
21207 (__mpn_addmul_1): Do not use BP_SYM
21208 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21210 (PARMS): Do not use macros from bp-asm.h.
21211 (SIGMSK): Likewise.
21212 (_setjmp): Likewise. Do not use BP_SYM.
21213 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21215 (PARMS): Do not use macros from bp-asm.h.
21216 (SIGMSK): Likewise.
21217 (setjmp): Likewise. Do not use BP_SYM.
21218 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21220 (PARMS): Do not use macros from bp-asm.h.
21221 (__frexp): Do not use BP_SYM.
21223 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21225 (PARMS): Do not use macros from bp-asm.h.
21226 (__frexpf): Do not use BP_SYM.
21227 (frexpf): Likewise.
21228 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21230 (PARMS): Do not use macros from bp-asm.h.
21231 (__frexpl): Do not use BP_SYM.
21232 (frexpl): Likewise.
21233 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21235 (PARMS): Do not use macros from bp-asm.h.
21236 (__remquo): Do not use BP_SYM.
21237 (remquo): Likewise.
21238 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21240 (PARMS): Do not use macros from bp-asm.h.
21241 (__remquof): Do not use BP_SYM.
21242 (remquof): Likewise.
21243 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21245 (PARMS): Do not use macros from bp-asm.h.
21246 (__remquol): Do not use BP_SYM.
21247 (remquol): Likewise.
21248 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21250 (PARMS): Do not use macros from bp-asm.h.
21253 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21254 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21256 (PARMS): Do not use macros from bp-asm.h.
21257 (strlen): Do not use BP_SYM.
21258 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21260 (PARMS): Do not use macros from bp-asm.h.
21264 (__mpn_add_n): Do not use BP_SYM.
21265 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21267 (PARMS): Do not use macros from bp-asm.h.
21270 (__mpn_addmul_1): Do not use BP_SYM.
21271 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21274 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21276 (PARMS): Do not use macros from bp-asm.h.
21279 (__mpn_lshift): Do not use BP_SYM.
21280 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21282 (PARMS): Do not use macros from bp-asm.h.
21286 (memcpy): Likewise. Do not use BP_SYM.
21287 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21288 libc_hidden_def and weak_alias.
21289 (mempcpy): Do not use BP_SYM in weak_alias.
21290 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21292 (PARMS): Do not use macros from bp-asm.h.
21295 [!BZERO_P] (CHR): Likewise.
21296 (memset): Likewise. Do not use BP_SYM.
21297 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21299 (PARMS): Do not use macros from bp-asm.h.
21302 (__mpn_mul_1): Do not use BP_SYM.
21303 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21305 (PARMS): Do not use macros from bp-asm.h.
21308 (__mpn_rshift): Do not use BP_SYM.
21309 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21311 (PARMS): Do not use macros from bp-asm.h.
21314 (strchr): Likewise. Do not use BP_SYM.
21315 (index): Do not use BP_SYM in weak_alias.
21316 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21318 (PARMS): Do not use macros from bp-asm.h.
21321 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21322 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21324 (PARMS): Do not use macros from bp-asm.h.
21325 (strlen): Do not use BP_SYM.
21326 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21328 (PARMS): Do not use macros from bp-asm.h.
21332 (__mpn_sub_n): Do not use BP_SYM.
21333 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21335 (PARMS): Do not use macros from bp-asm.h.
21338 (__mpn_submul_1): Do not use BP_SYM.
21339 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21341 (PARMS): Do not use macros from bp-asm.h.
21345 (__mpn_add_n): Do not use BP_SYM.
21346 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21349 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21351 (PARMS): Do not use macros from bp-asm.h.
21354 (memcmp): Do not use BP_SYM.
21355 (bcmp): Do not use BP_SYM in weak_alias.
21356 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21358 (PARMS): Do not use macros from bp-asm.h.
21362 (memcpy): Likewise. Do not use BP_SYM.
21363 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21365 (PARMS): Do not use macros from bp-asm.h.
21369 (memmove): Likewise. Do not use BP_SYM.
21370 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21372 (PARMS): Do not use macros from bp-asm.h.
21376 (__mempcpy): Likewise. Do not use BP_SYM.
21377 (mempcpy): Do not use BP_SYM in weak_alias.
21378 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21380 (PARMS): Do not use macros from bp-asm.h.
21383 [!BZERO_P] (CHR): Likewise.
21384 (memset): Likewise. Do not use BP_SYM.
21385 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21387 (PARMS): Do not use macros from bp-asm.h.
21389 (strcmp): Do not use BP_SYM.
21390 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21392 (PARMS): Do not use macros from bp-asm.h.
21395 [USE_AS_STRTOK_R] (SAVE): Likewise.
21396 (FUNCTION): Likewise. Do not use BP_SYM.
21397 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21399 (strtok_r): Likewise.
21400 (__GI___strtok_r): Likewise.
21401 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21402 (PARMS): Do not use macros from bp-asm.h.
21405 (__mpn_lshift): Do not use BP_SYM.
21406 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21407 (PARMS): Do not use macros from bp-asm.h.
21410 (__memchr): Do not use BP_SYM.
21411 (memchr): Do not use BP_SYM in weak_alias.
21412 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21413 (PARMS): Do not use macros from bp-asm.h.
21416 (memcmp): Do not use BP_SYM.
21417 (bcmp): Do not use BP_SYM in weak_alias.
21418 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21419 (PARMS): Do not use macros from bp-asm.h.
21422 (__mpn_mul_1): Do not use BP_SYM.
21423 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21425 (PARMS): Do not use macros from bp-asm.h.
21428 (__rawmemchr): Do not use BP_SYM.
21429 (rawmemchr): Do not use BP_SYM in weak_alias.
21430 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21431 (PARMS): Do not use macros from bp-asm.h.
21434 (__mpn_rshift): Do not use BP_SYM.
21435 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21436 (PARMS): Do not use macros from bp-asm.h.
21437 (SIGMSK): Likewise.
21438 (__sigsetjmp): Likewise. Do not use BP_SYM.
21439 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21440 (_start): Do not use BP_SYM.
21441 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21442 (PARMS): Do not use macros from bp-asm.h.
21445 (__stpcpy): Likewise. Do not use BP_SYM.
21446 (stpcpy): Do not use BP_SYM in weak_alias.
21447 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21449 (PARMS): Do not use macros from bp-asm.h.
21453 (__stpncpy): Likewise. Do not use BP_SYM.
21454 (stpncpy): Do not use BP_SYM in weak_alias.
21455 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21456 (PARMS): Do not use macros from bp-asm.h.
21459 (strchr): Likewise. Do not use BP_SYM.
21460 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21462 (PARMS): Do not use macros from bp-asm.h.
21465 (__strchrnul): Likewise. Do not use BP_SYM.
21466 (strchrnul): Do not use BP_SYM in weak_alias.
21467 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21469 (PARMS): Do not use macros from bp-asm.h.
21471 (strcspn): Do not use BP_SYM.
21472 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21474 (PARMS): Do not use macros from bp-asm.h.
21477 (strpbrk): Likewise. Do not use BP_SYM.
21478 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21480 (PARMS): Do not use macros from bp-asm.h.
21483 (strrchr): Likewise. Do not use BP_SYM.
21484 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21485 (PARMS): Do not use macros from bp-asm.h.
21487 (strspn): Do not use BP_SYM.
21488 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21489 (PARMS): Do not use macros from bp-asm.h.
21493 (FUNCTION): Likewise. Do not use BP_SYM.
21494 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21496 (strtok_r): Likewise.
21497 (__GI___strtok_r): Likewise.
21498 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21499 (PARMS): Do not use macros from bp-asm.h.
21503 (__mpn_sub_n): Do not use BP_SYM.
21504 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21506 (PARMS): Do not use macros from bp-asm.h.
21509 (__mpn_submul_1): Do not use BP_SYM.
21510 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21512 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21514 (PARMS): Do not use macros from bp-asm.h.
21519 (__clone): Do not use BP_SYM.
21520 (clone): Do not use BP_SYM in weak_alias.
21521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21523 (PARMS): Do not use macros from bp-asm.h.
21525 (__mmap64): Do not use BP_SYM.
21526 (mmap64): Do not use BP_SYM in weak_alias.
21527 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21528 <bp-sym.h> and <bp-asm.h>.
21529 (PARMS): Do not use macros from bp-asm.h.
21530 (__posix_fadvise64_l64): Do not use BP_SYM.
21531 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21532 (PARMS): Do not use macros from bp-asm.h.
21534 (semtimedop): Do not use BP_SYM.
21535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21538 2013-02-21 Allan McRae <allan@archlinux.org>
21540 * manual/message.texi (Charset conversion in gettext):
21541 Move @end statement to beginning of line.
21543 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21550 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21551 (denorm): Likewise.
21552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21555 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21557 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21558 tail-call to the resolved function if pltexit isn't needed.
21560 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21563 or Y being zero as being unlikely.
21564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21567 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21569 * manual/nss.texi (System Databases and Name Service Switch):
21570 Remove frobnicate @pxref.
21572 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21574 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21575 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21577 2013-02-20 Petr Machata <pmachata@redhat.com>
21579 * elf/elf.h (R_ARM_TARGET1): New macro.
21580 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21581 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21582 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21583 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21584 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21585 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21586 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21587 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21588 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21589 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21590 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21591 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21592 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21593 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21594 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21595 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21596 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21597 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21598 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21599 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21600 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21601 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21602 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21603 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21604 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21605 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21606 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21607 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21608 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21609 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21610 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21611 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21612 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21613 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21614 (R_ARM_THM_GOT_BREL12): Likewise.
21615 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21616 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21617 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21618 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21619 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21620 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21621 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21622 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21623 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21625 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21627 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21628 __attribute_used__ to __attribute__ ((unused)).
21630 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21632 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21635 comment formatting.
21636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21638 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21641 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21643 (ENTER): Remove both macro definitions.
21645 (CHECK_BOUNDS_LOW): Likewise.
21646 (CHECK_BOUNDS_HIGH): Likewise.
21647 (CHECK_BOUNDS_BOTH): Likewise.
21648 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21649 (RETURN_BOUNDED_POINTER): Likewise.
21650 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21651 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21652 (POP_ERRNO_LOCATION_RETURN): Likewise.
21653 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21654 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21655 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21657 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21658 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21659 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21660 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21661 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21662 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21663 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21664 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21665 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21666 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21667 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21668 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21669 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21670 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21672 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21673 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21675 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21676 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21677 * sysdeps/i386/i586/memset.S (memset): Likewise.
21678 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21679 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21680 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21682 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21683 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21684 Change uses of L(2) to L(out).
21685 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21686 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21687 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21688 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21689 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21691 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21692 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21694 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21695 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21696 (RETURN): Do not use macro LEAVE.
21697 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21698 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21699 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21700 * sysdeps/i386/i686/memset.S (memset): Likewise.
21701 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21702 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21703 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21704 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21706 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21707 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21708 L(1_2) and L(1_3) into L(1).
21709 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21710 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21711 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21712 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21713 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21714 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21715 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21716 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21717 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21719 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21720 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21721 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21722 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21723 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21724 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21725 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21726 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21727 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21728 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21729 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21730 * sysdeps/i386/strspn.S (strspn): Likewise.
21731 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21733 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21734 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21735 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21736 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21737 L(1_3) into L(1_1).
21738 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21739 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21740 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21742 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21744 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21746 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21749 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21751 * math/atest-exp.c (exp_mpn): Remove ROUND.
21752 * math/atest-exp2.c (exp_mpn): Likewise.
21753 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21755 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21756 * stdlib/tst-tls-atexit-lib.c: Likewise.
21757 * stdlib/tst-tls-atexit.c: Likewise.
21759 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21761 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21762 and __attribute_alloc_size__.
21764 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21766 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21767 __attribute_alloc_size__.
21768 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21769 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21771 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21773 * include/programs/xmalloc.h: New file.
21774 * catgets/gencat.c: Include it.
21775 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21776 * elf/pldd.c: Likewise.
21777 * iconv/iconv_charmap.c: Likewise.
21778 * iconv/iconvconfig.c: Likewise.
21779 * iconv/strtab.c: Likewise.
21780 * locale/programs/locale.c: Likewise.
21781 * locale/programs/localedef.h: Likewise.
21782 * locale/programs/simple-hash.c: Likewise.
21783 * nscd/nscd.h: Likewise.
21784 * nss/makedb.c: Likewise.
21785 * sysdeps/generic/ldconfig.h: Likewise.
21787 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21789 * Versions.def: Add GLIBC_2.18.
21790 * include/link.h (struct link_map): New member l_tls_dtor_count.
21791 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21792 (__call_tls_dtors): Likewise.
21793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21794 __cxa_thread_atexit_impl.
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21811 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21812 (tests): Add test case tst-tls-atexit.
21813 (modules-names): Add shared library for tst-tls-atexit.
21814 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21815 (GLIBC_PRIVATE): Add __call_tls_dtors.
21816 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21818 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21819 * stdlib/tst-tls-atexit.c: New test case.
21820 * stdlib/tst-tls-atexit-lib.c: New test case.
21822 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21824 * elf/Versions (ld): Add _dl_find_dso_for_object.
21825 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21826 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21827 (dl_open_worker): Use _dl_find_dso_for_object.
21828 * elf/dl-sym.c (do_sym): Likewise.
21829 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21831 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21833 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21834 Syntactic changes only.
21835 (_dl_runtime_profile): Do a tail-call to the resolved function.
21837 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21840 * sysdeps/x86_64/bp-asm.h: Remove file.
21841 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21842 <bp-sym.h> and <bp-asm.h>.
21843 (__clone): Do not use BP_SYM.
21844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21845 <bp-sym.h> and <bp-asm.h>.
21846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21847 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21849 (_setjmp): Do not use BP_SYM.
21850 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21852 (setjmp): Do not use BP_SYM.
21853 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21855 (mempcpy): Do not use BP_SYM in weak_alias.
21856 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21858 (strchr): Do not use BP_SYM.
21859 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21861 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21862 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21863 (_start): Do not use BP_SYM.
21864 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21866 (strcat): Do not use BP_SYM.
21867 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21869 (STRCMP): Do not use BP_SYM.
21870 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21872 (STRCPY): Do not use BP_SYM.
21873 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21875 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21877 (FUNCTION): Do not use BP_SYM.
21878 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21880 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21882 2013-02-17 Andreas Jaeger <aj@suse.de>
21884 * time/Versions: Sort entries.
21885 * string/Versions: Likewise.
21886 * resolv/Versions: Likewise.
21887 * posix/Versions: Likewise.
21888 * iconv/Versions: Likewise.
21889 * elf/Versions: Likewise.
21890 * wcsmbs/Versions: Likewise.
21892 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21894 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21895 loop termination condition.
21897 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21898 variable to calculate EZ.
21901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21902 the lower precision input.
21904 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21907 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21908 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21909 (run-via-rtld-prefix): Do not handle %-bp tests.
21910 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21911 (all-object-suffixes): Remove .ob.
21912 (bppfx): Remove variable.
21913 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21914 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21915 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21916 [$(build-bounded) = yes] (libtype.ob): Likewise.
21917 * Makerules (elide-routines.ob): Remove variable.
21918 (do-tests-clean): Do not handle *-bp.out.
21919 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21920 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21921 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21922 (tests): Do not include $(tests-bp.out).
21923 (xtests): Do not include $(xtests-bp.out).
21924 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21925 [$(build-bounded) = yes] ($(addprefix
21926 $(objpfx),$(binaries-bounded))): Remove rule.
21927 ($(objpfx)%-bp.out): Remove rule.
21928 * config.make.in (build-bounded): Remove variable.
21929 * crypt/Makefile [$(build-bounded) = yes]
21930 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21931 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21932 append to variable.
21933 [$(build-bounded) = yes] (install-lib): Likewise.
21934 [$(build-bounded) = yes] (generated): Likewise.
21935 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21937 * intl/Makefile [$(build-bounded) = yes]
21938 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21939 * math/Makefile [$(build-bounded) = yes]
21940 ($(tests:%=$(objpfx)%-bp): Likewise.
21941 * misc/Makefile [$(build-bounded) = yes]
21942 ($(objpfx)tst-tsearch-bp): Likewise.
21943 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21944 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21946 * string/Makefile (o-objects.ob): Remove variable.
21947 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21948 (CFLAGS-.ob): Remove variable.
21949 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21950 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21951 both definitions of variable.
21952 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21953 (ASFLAGS-.ob): Remove variable.
21955 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21958 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21959 Remove __BOUNDED_POINTERS__ from condition.
21960 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21961 * string/bits/string2.h [!__NO_STRING_INLINES &&
21962 !__BOUNDED_POINTERS__]: Likewise.
21963 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21965 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21966 Remove conditional code.
21967 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21968 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21969 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21973 * csu/libc-start.c: Do not include <bp-sym.h>.
21974 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21975 * elf/dl-open.c: Do not include <bp-sym.h>.
21976 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21977 * math/fegetenv.c: Do not include <bp-sym.h>.
21978 (fegetenv): Do not use BP_SYM in versioned symbols.
21979 * nptl/sysdeps/pthread/bits/libc-lockP.h
21980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21983 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21985 (__pthread_mutex_destroy): Likewise.
21986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21987 (__pthread_mutex_lock): Likewise.
21988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21989 (__pthread_mutex_trylock): Likewise.
21990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21991 (__pthread_mutex_unlock): Likewise.
21992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21993 (__pthread_mutexattr_init): Likewise.
21994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21995 (__pthread_mutexattr_destroy): Likewise.
21996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21997 (__pthread_mutexattr_settype): Likewise.
21998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21999 (__pthread_rwlock_init): Likewise.
22000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22001 (__pthread_rwlock_destroy): Likewise.
22002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22003 (__pthread_rwlock_rdlock): Likewise.
22004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22005 (__pthread_rwlock_tryrdlock): Likewise.
22006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22007 (__pthread_rwlock_wrlock): Likewise.
22008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22009 (__pthread_rwlock_trywrlock): Likewise.
22010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22011 (__pthread_rwlock_unlock): Likewise.
22012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22013 (__pthread_key_create): Likewise.
22014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22015 (__pthread_setspecific): Likewise.
22016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22017 (__pthread_getspecific): Likewise.
22018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22021 (_pthread_cleanup_push_defer): Likewise.
22022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22023 (_pthread_cleanup_pop_restore): Likewise.
22024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22025 (pthread_setcancelstate): Likewise.
22026 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22028 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22029 (memchr): Do not use BP_SYM in weak_alias.
22030 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22031 (fegetenv): Do not use BP_SYM in versioned symbols.
22032 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22033 (fesetenv): Do not use BP_SYM in versioned symbols.
22034 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22035 (feupdateenv): Do not use BP_SYM in versioned symbols.
22036 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22037 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22038 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22039 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22040 (open64): Do not use BP_SYM in weak_alias.
22041 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22042 (fegetenv): Do not use BP_SYM in versioned symbols.
22043 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22044 (fesetenv): Do not use BP_SYM in versioned symbols.
22045 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22046 (feupdateenv): Do not use BP_SYM in versioned symbols.
22047 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22048 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22049 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22050 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22051 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22052 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22053 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22055 (__libc_start_main): Do not use BP_SYM.
22057 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22060 redundant return line.
22062 (denorm): Likewise.
22063 (dbl_mp): Likewise.
22064 (sub_magnitudes): Likewise.
22070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22072 (denorm): Likewise.
22073 (dbl_mp): Likewise.
22074 (sub_magnitudes): Likewise.
22081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22084 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22087 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22088 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22090 of __mul for squares.
22091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22098 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22101 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22103 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22104 prototype or function definition. Rename ubp_* variables and
22105 parameters. Remove argv definitions conditional on
22106 [__BOUNDED_POINTERS__].
22107 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22108 * elf/dl-runtime.c (_dl_fixup): Likewise.
22109 * include/set-hooks.h (RUN_HOOK): Likewise.
22110 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22112 * string/strcpy.c (strcpy): Do not use __unbounded.
22113 * sysdeps/generic/frame.h (struct layout): Likewise.
22114 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22115 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22116 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22117 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22118 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22119 (__backtrace): Likewise.
22120 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22122 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22123 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22124 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22126 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22127 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22128 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22129 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22130 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22131 Do not use __unbounded.
22132 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22133 Rename __unboundedrlimits parameter to rlimits in prototype.
22134 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22135 Do not use __unbounded.
22136 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22137 not use __ptrvalue.
22138 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22139 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22140 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22141 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22142 __ptrvalue or __unbounded.
22143 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22144 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22146 (__new_msgctl): Do not use __ptrvalue.
22147 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22149 (__libc_msgrcv): Do not use __ptrvalue.
22150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22151 startup_info): Do not use __unbounded.
22152 (__libc_start_main): Likewise. Rename ubp_* variables and
22153 parameters. Remove argv definitions conditional on
22154 [__BOUNDED_POINTERS__].
22155 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22157 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22159 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22161 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22163 (__new_shmctl): Do not use __ptrvalue.
22164 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22165 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22167 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22169 (__libc_sigaction): Likewise.
22170 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22173 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22175 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22177 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22179 * string/mempcpy.c: Implement by calling memcpy.
22181 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22189 values in the mantissa.
22191 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22192 minimize writes to Z.
22193 (sub_magnitudes): Simplify code a bit.
22195 2013-02-12 Roland McGrath <roland@hack.frob.com>
22197 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22198 from the message. The linker prefixes all warnings with that already.
22200 2013-02-12 Andreas Schwab <schwab@suse.de>
22203 * posix/regexec.c (extend_buffers): Add parameter min_len.
22204 (check_matching): Pass minimum needed length.
22205 (clean_state_log_if_needed): Likewise.
22206 (get_subexp): Likewise.
22207 * posix/Makefile (tests): Add bug-regex34.
22208 (bug-regex34-ENV): Define.
22209 * posix/bug-regex34.c: New file.
22212 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22213 elements compare against the byte sequence of it, not its name.
22214 * posix/Makefile (tests): Add bug-regex35.
22215 (bug-regex35-ENV): Define.
22216 * posix/bug-regex35.c: New file.
22218 2013-02-11 Tom de Vries <tom@codesourcery.com>
22220 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22222 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22223 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22224 (CHECK_EOL): Add undef.
22226 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22228 * bits/stdlib-bsearch.h: New file.
22229 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22230 * stdlib/stdlib.h: Likewise.
22232 2013-02-11 Roland McGrath <roland@hack.frob.com>
22234 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22235 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22237 * manual/search.texi (Array Search Function): Add missing const in
22239 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22240 declaration to use rlim_t.
22241 (Basic Scheduling Functions): Remove erroneous const from
22242 sched_getparam prototype. Remove erroneous * from
22243 sched_get_priority_max and sched_get_priority_min prototypes.
22244 (Resource Usage): Fix summary @comment on vtimes to refer to
22245 sys/vtimes.h rather than vtimes.h.
22246 Add missing *s in vtimes prototype.
22247 (Limits on Resources): Fix ulimit prototype to return long int.
22248 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22249 prototypes to use long int rather than double.
22250 (BSD Random): Fix initstate and setstate to use char *, not void *.
22251 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22252 prototype to make second argument 'struct aiocb64 *const[]'.
22253 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22254 (Status of AIO Operations): Remove erroneous const in aio_return and
22255 aio_return64 prototypes.
22256 (Synchronizing I/O): Fix sync prototype to return void.
22257 * manual/startup.texi (Suboptions): Remove an erroneous const in
22258 getsubopt prototype.
22259 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22260 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22261 use size_t rather than int.
22262 (Scanning All Users): Likewise for getpwent_r.
22263 (Setting Groups): Add missing const to setgroups prototype.
22264 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22265 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22266 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22267 'const void *' rather than 'const char *'.
22268 (Host Address Functions): Likewise for inet_ntop.
22269 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22270 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22271 ssize_t for return value.
22272 (Sending Data): Likewise for send, sendto, sendmsg.
22273 (Socket Option Functions): Add a missing const in setsockopt prototype.
22274 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22275 use wchar_t for the argument.
22276 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22277 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22279 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22280 double/float/long double for second argument.
22281 Fix return types of significand, significandf, significandl.
22282 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22283 argument in fchmod prototype.
22284 (File Owner): Use uid_t and gid_t in fchown prototype.
22285 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22286 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22287 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22288 use 'const struct dirent **' as argument types to CMP function pointer
22290 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22291 (File Times): Fix summary magic @comment for struct utimbuf and utime
22292 to refer to utime.h, not time.h.
22293 * manual/string.texi (Argz Functions): Add missing const in
22294 argz_extract and argz_next prototypes.
22295 (Finding Tokens in a String): Likewise for basename.
22296 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22297 (Copying and Concatenation): Fix typo in wmemmove prototype.
22298 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22299 (Signal Stack): Remove erroneous const in sigstack prototype.
22300 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22302 (Simple Calendar Time): Likewise for stime.
22303 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22305 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22306 say sys/sysctl.h instead.
22307 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22308 and vsyslog prototypes.
22310 2013-02-11 Tom de Vries <tom@codesourcery.com>
22312 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22315 2013-02-11 Roland McGrath <roland@hack.frob.com>
22317 * misc/sys/mman.h: Fix typo in mremap comment.
22319 2013-02-08 Roland McGrath <roland@hack.frob.com>
22321 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22322 the '\0' terminator.
22324 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22327 * debug/segfault.c: Don't include <bp-checks.h>.
22328 * sysdeps/generic/bp-checks.h: Remove file.
22329 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22330 (__GETDENTS): Don't use CHECK_N.
22331 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22332 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22333 (__getgroups): Don't use CHECK_N.
22334 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22335 (setgroups): Don't use CHECK_N.
22336 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22337 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22338 (__libc_msgrcv): Don't use CHECK_N.
22339 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22340 (__libc_msgsnd): Don't use CHECK_N.
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22343 (__libc_pread): Don't use CHECK_N.
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22345 include <bp-checks.h>.
22346 (__libc_pread64): Don't use CHECK_N.
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22348 include <bp-checks.h>.
22349 (__libc_pwrite): Don't use CHECK_N.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22351 include <bp-checks.h>.
22352 (__libc_pwrite64): Don't use CHECK_N.
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22355 (__libc_pread): Don't use CHECK_N.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22357 include <bp-checks.h>.
22358 (__libc_pread64): Don't use CHECK_N.
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22360 include <bp-checks.h>.
22361 (__libc_pwrite): Don't use CHECK_N.
22362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22363 include <bp-checks.h>.
22364 (__libc_pwrite64): Don't use CHECK_N.
22365 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22366 (do_pread): Don't use CHECK_N.
22367 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22368 (do_pread64): Don't use CHECK_N.
22369 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22370 (do_pwrite): Don't use CHECK_N.
22371 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22372 (do_pwrite64): Don't use CHECK_N.
22373 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22374 (__libc_readv): Don't use CHECK_N.
22375 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22376 (semop): Don't use CHECK_N.
22377 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22379 (semtimedop): Don't use CHECK_N.
22380 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22381 (__libc_pread): Don't use CHECK_N.
22382 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22384 (__libc_pread64): Don't use CHECK_N.
22385 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22387 (__libc_pwrite): Don't use CHECK_N.
22388 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22390 (__libc_pwrite64): Don't use CHECK_N.
22391 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22393 (__libc_msgrcv): Don't use CHECK_N.
22394 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22395 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22396 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22397 (__libc_writev): Don't use CHECK_N.
22399 2013-02-08 Roland McGrath <roland@hack.frob.com>
22401 * string/strcpy.c: Removed unused variable.
22403 * Makeconfig (+sysdep-includes): Define with := rather than =.
22404 Use an existing include/ subdir of each sysdeps dir before it.
22406 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22408 * nscd/connection.c (register_traced_file): Comment function.
22409 [HAVE_INOTIFY] (union __inev): Define.
22410 [HAVE_INOTIFY] (inotify_check_files): New function.
22411 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22412 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22414 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22416 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22418 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22419 loaded if not already and that a failure is permanent.
22421 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22424 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22425 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22427 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22430 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22431 (CHECK_1_NULL_OK): Likewise.
22432 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22433 (__fxstat): Do not use CHECK_1.
22434 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22436 (___fxstat64): Do not use CHECK_1.
22437 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22439 (__fxstatat): Do not use CHECK_1.
22440 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22442 (__fxstatat64): Do not use CHECK_1.
22443 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22445 (__fxstat): Do not use CHECK_1.
22446 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22448 (__fxstatat): Do not use CHECK_1.
22449 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22451 (__getresgid): Do not use CHECK_1.
22452 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22454 (__getresuid): Do not use CHECK_1.
22455 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22457 (__lxstat): Do not use CHECK_1.
22458 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22460 (__old_msgctl): Do not use CHECK_1.
22461 (__new_msgctl): Likewise.
22462 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22464 (__new_setrlimit): Do not use CHECK_1.
22465 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22467 (__old_shmctl): Do not use CHECK_1.
22468 (__new_shmctl): Likewise.
22469 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22471 (__xstat): Do not use CHECK_1.
22472 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22473 (__lxstat): Do not use CHECK_1.
22474 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22476 (___lxstat64): Do not use CHECK_1.
22477 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22478 (__old_msgctl): Do not use CHECK_1.
22479 (__new_msgctl): Likewise.
22480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22482 (__gettimeofday): Do not use CHECK_1.
22483 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22484 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22485 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22487 (__gettimeofday): Do not use CHECK_1.
22488 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22489 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22490 (__new_shmctl): Do not use CHECK_1.
22491 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22493 (do_sigtimedwait): Do not use CHECK_1.
22494 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22496 (do_sigwaitinfo): Do not use CHECK_1.
22497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22499 (msgctl): Do not use CHECK_1.
22500 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22502 (shmctl): Do not use CHECK_1.
22503 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22504 (ustat): Do not use CHECK_1.
22505 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22507 (__fxstat): Do not use CHECK_1.
22508 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22510 (__fxstatat): Do not use CHECK_1.
22511 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22513 (__lxstat): Do not use CHECK_1.
22514 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22516 (__xstat): Do not use CHECK_1.
22517 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22518 (__xstat): Do not use CHECK_1.
22519 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22520 (___xstat64): Do not use CHECK_1.
22523 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22525 (CHECK_BOUNDS_HIGH): Likewise.
22526 * string/strcpy.c: Do not include <bp-checks.h>.
22527 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22529 2013-02-07 Roland McGrath <roland@hack.frob.com>
22531 * nscd/nscd-client.h (__nscd_drop_map_ref):
22532 Add __attribute__ ((unused)).
22533 * nis/nss-nisplus.h (niserr2nss): Likewise.
22535 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22536 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22538 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22539 Remove inline keyword.
22540 * include/rounding-mode.h (round_away): Likewise.
22541 * libio/wfileops.c (adjust_wide_data): Likewise.
22542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22543 (__m128i_strloadu_tolower): Likewise.
22544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22545 (__m128i_strloadu_tolower): Likewise.
22546 * time/mktime.c (ydhms_diff): Likewise.
22547 * locale/elem-hash.h (elem_hash): Likewise.
22548 * locale/setlocale.c (setdata): Likewise.
22549 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22550 (re_string_wchar_at): Likewise.
22551 (bitset_not, bitset_merge, bitset_mask): Likewise.
22552 [!(__GNUC__ > 3)] (inline): Remove macro.
22553 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22554 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22555 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22556 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22557 * string/memcmp.c (memcmp_bytes): Likewise.
22558 * locale/programs/locarchive.c (compute_hashval): Likewise.
22559 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22560 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22561 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22562 * nss/getent.c (print_rpc, print_protocols): Likewise.
22563 (print_passwd, print_group, print_aliases): Likewise.
22564 * nis/nss-nisplus.h (niserr2nss): Likewise.
22565 * nscd/connections.c (restart_p): Likewise.
22566 Change return type to bool.
22568 2013-02-05 Roland McGrath <roland@hack.frob.com>
22570 * Makeconfig (all-Depend-files): Add existing
22571 $(sorted-subdirs:=/Depend) files.
22572 (all-subdirs): Remove nss.
22573 * sysdeps/unix/inet/Subdirs: Add it here instead.
22574 * hesiod/Depend: New file.
22576 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22577 instead of calling alloca.
22579 * io/lseek.c (__lseek): Rename to __libc_lseek.
22580 Define __lseek as an alias.
22582 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22584 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22586 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22587 else clause and remove check for non-standard endianness.
22589 2013-02-04 David S. Miller <davem@davemloft.net>
22591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22593 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22596 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22597 (__ubp_memchr): Remove prototype.
22598 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22599 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22600 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22601 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22602 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22604 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22605 (__ubp_memchr): Likewise.
22606 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22607 (__ubp_memchr): Likewise.
22608 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22609 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22610 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22611 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22613 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22614 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22615 (__getcwd): Do not use CHECK_STRING.
22616 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22618 (__real_chown): Do not use CHECK_STRING.
22619 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22621 (fchownat): Do not use CHECK_STRING.
22622 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22624 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22626 (__lchown): Do not use CHECK_STRING.
22627 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22628 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22629 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22630 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22632 include <bp-checks.h>.
22633 (truncate64): Do not use CHECK_STRING.
22634 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22636 (__real_chown): Do not use CHECK_STRING.
22637 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22639 (__lchown): Do not use CHECK_STRING.
22640 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22642 (__chown): Do not use CHECK_STRING.
22643 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22645 (truncate64): Do not use CHECK_STRING.
22646 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22648 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22649 (__xmknod): Do not use CHECK_STRING.
22650 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22652 (__xmknodat): Do not use CHECK_STRING.
22653 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22654 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22656 2013-02-04 Andreas Schwab <schwab@suse.de>
22659 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22660 * include/netdb.h: Likewise for h_errno.
22661 * elf/tst-stackguard1.c: Include <tls.h>.
22663 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22665 * elf/link.h (struct link_map): Extend the l_addr comment.
22666 * include/link.h (struct link_map): Likewise.
22668 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22671 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22672 (BOUNDED_1): Remove macro.
22673 * debug/backtrace.c: Don't include <bp-checks.h>.
22674 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22675 (__backtrace): Likewise.
22676 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22678 (__backtrace): Don't use BOUNDED_1.
22679 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22681 (__backtrace): Don't use BOUNDED_1.
22682 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22683 (__backtrace): Don't use BOUNDED_1.
22684 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22685 (shmat): Don't use BOUNDED_N.
22687 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22690 * sysdeps/generic/bp-start.h: Remove file.
22691 * csu/libc-start.c: Don't include <bp-start.h>.
22692 (LIBC_START_MAIN): Set up __environ directly instead of using
22693 INIT_ARGV_and_ENVIRON.
22694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22698 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22700 (CHECK_FCNTL): Likewise.
22701 (CHECK_N_PAGES): Likewise.
22704 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22706 (CHECK_SIGSET_NULL_OK): Likewise.
22707 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22709 (sigpending): Don't use CHECK_SIGSET.
22710 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22712 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22713 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22715 (do_sigsuspend): Don't use CHECK_SIGSET.
22716 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22718 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22719 (do_sigwait): Don't use CHECK_SIGSET.
22720 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22722 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22723 include <bp-checks.h>.
22724 (sigpending): Don't use CHECK_SIGSET.
22725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22726 include <bp-checks.h>.
22727 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22728 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22730 (sigpending): Don't use CHECK_SIGSET.
22731 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22733 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22736 * sysdeps/generic/bp-semctl.h: Remove file.
22737 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22738 <bp-checks.h> and <bp-semctl.h>.
22739 (__old_semctl): Don't use CHECK_SEMCTL.
22740 (__new_semctl): Likewise.
22741 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22743 (__old_semctl): Don't use CHECK_SEMCTL.
22744 (__new_semctl): Likewise.
22745 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22746 <bp-checks.h> and <bp-semctl.h>.
22747 (__old_semctl): Don't use CHECK_SEMCTL.
22748 (__new_semctl): Likewise.
22749 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22750 <bp-checks.h> and <bp-semctl.h>.
22751 (semctl): Don't use CHECK_SEMCTL.
22754 * Makerules (elide-bp-thunks): Remove variable.
22755 (elide-routines.oS): Don't use $(elide-bp-thunks).
22756 (elide-routines.os): Likewise.
22757 (elide-routines.o): Likewise.
22758 (elide-routines.op): Likewise.
22759 (elide-routines.og): Likewise.
22760 (objects): Don't use $(bp-thunks).
22761 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22763 (common-generated): Do not add s-proto-bp.d.
22764 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22767 Do not generate makefile rules for bounded-pointer thunks.
22768 * sysdeps/generic/bp-thunks.h: Remove file.
22769 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22770 * sysdeps/unix/s-proto-bp.S: Likewise.
22773 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22774 parts of result separately when argument is not close to line from
22775 -i to i and one part of argument is small.
22776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22778 * math/libm-test.inc (cacos_test): Add more tests.
22779 (casin_test): Likewise.
22780 (casinh_test): Likewise.
22781 * sysdeps/i386/fpu/libm-test-ulps: Update.
22782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22784 2013-01-31 David S. Miller <davem@davemloft.net>
22786 * po/de.po: Update from translation team.
22788 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22790 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22792 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22794 * configure.in (_AC_PROG_CC_C89): New definition.
22795 * configure: Regenerate.
22797 * configure.in (AC_PROG_CPP): New definition.
22798 * configure: Regenerate.
22800 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22802 * debug/tst-backtrace.h: New file.
22803 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22804 (ret): Remove variable.
22806 (FAIL): Remove macro.
22807 (NO_INLINE): Likewise.
22808 (fn1): Use match function instead of strstr.
22809 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22810 (ret): Remove variable.
22812 (FAIL): Remove macro.
22813 (NO_INLINE): Likewise.
22814 (fn): Use match function instead of strstr.
22815 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22816 (ret): Remove variable.
22818 (FAIL): Remove macro.
22819 (NO_INLINE): Likewise.
22820 (handle_signal): Use match function instead of strstr.
22821 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22822 (ret): Remove variable.
22824 (FAIL): Remove macro.
22825 (NO_INLINE): Likewise.
22826 (handle_signal): Use match function instead of strstr.
22828 2013-01-23 Roland McGrath <roland@hack.frob.com>
22830 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22832 2013-01-23 David S. Miller <davem@davemloft.net>
22834 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22835 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22836 argument of CAS if possible.
22837 * sysdeps/sparc/sparc64/bits/atomic.h
22838 (__arch_compare_and_exchange_val_32_acq): Likewise.
22839 (__arch_compare_and_exchange_val_64_acq): Likewise.
22841 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22843 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22844 * sysdeps/posix/ulimit.c: ... this.
22845 Include <limits.h>.
22846 * sysdeps/unix/bsd/ulimit.c: Remove file.
22848 2013-01-23 Adam Conrad <adconrad@0c3.net>
22850 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22851 (LDFLAGS-tst-array5): Likewise.
22853 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22856 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22857 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22858 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22859 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22861 2013-01-21 David S. Miller <davem@davemloft.net>
22863 * sysdeps/sparc/backtrace.c: New file.
22864 * sysdeps/sparc/sparc32/backtrace.h: New file.
22865 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22866 * sysdeps/sparc/sparc64/backtrace.h: New file.
22867 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22868 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22871 2013-01-21 Andreas Schwab <schwab@suse.de>
22874 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22877 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22883 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22884 Mark Mitchell <mark@codesourcery.com>
22885 Tom de Vries <tom@codesourcery.com>
22886 Paul Pluzhnikov <ppluzhnikov@google.com>
22888 * debug/tst-backtrace2.c: New file.
22889 * debug/tst-backtrace3.c: Likewise.
22890 * debug/tst-backtrace4.c: Likewise.
22891 * debug/tst-backtrace5.c: Likewise.
22892 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22893 (CFLAGS-tst-backtrace3.c): Likewise.
22894 (CFLAGS-tst-backtrace4.c): Likewise.
22895 (CFLAGS-tst-backtrace5.c): Likewise.
22896 (LDFLAGS-tst-backtrace2): Likewise.
22897 (LDFLAGS-tst-backtrace3): Likewise.
22898 (LDFLAGS-tst-backtrace4): Likewise.
22899 (LDFLAGS-tst-backtrace5): Likewise.
22900 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22901 tst-backtrace4 and tst-backtrace5.
22903 2013-01-18 Anton Blanchard <anton@samba.org>
22904 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22906 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22907 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22909 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22911 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22912 "+r" and remove output regs list as redundant. Add explicit inline
22913 asm to specify register of return val to work around compiler codegen
22914 bug. Remove (int) cast on return value. Add return type parameter to
22915 use in macro so that this macro does not truncate return value for
22917 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22918 pass to INTERNAL_VSYSCALL_NCS.
22919 (INLINE_VSYSCALL): Add 'long int' as return type to
22920 INTERNAL_VSYSCALL_NCS macro invocation.
22921 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22922 INTERNAL_VSYSCALL_NCS macro invocation.
22923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22925 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22928 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22929 Fix application of SIMD FP exception mask.
22931 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22932 mp_no from a power of two.
22933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22934 __mpexp_twomm1. Use __pow_mp.
22936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22939 2013-01-17 David S. Miller <davem@davemloft.net>
22941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22943 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22946 * include/complex.h: Condition contents on [!_COMPLEX_H].
22947 (__kernel_casinhf): New prototype.
22948 (__kernel_casinh): Likewise.
22949 (__kernel_casinhl): Likewise.
22950 * math/Makefile (libm_calls): Add k_casinh.
22951 * math/k_casinh.c: New file.
22952 * math/k_casinhf.c: Likewise.
22953 * math/k_casinhl.c: Likewise.
22954 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22955 finite nonzero arguments.
22956 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22957 finite nonzero arguments.
22958 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22959 finite nonzero arguments.
22960 * math/s_casinh.c: Do not include <float.h>.
22961 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22962 * math/s_casinhf.c: Do not include <float.h>.
22963 (__casinhf): Move code for finite nonzero arguments to
22965 * math/s_casinhl.c: Do not include <float.h>.
22966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22968 (__casinhl): Move code for finite nonzero arguments to
22970 * math/libm-test.inc (cacos_test): Add more tests.
22971 * sysdeps/i386/fpu/libm-test-ulps: Update.
22972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22974 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22976 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22977 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22978 [!HAVE_MREMAP]: Remove [defined linux] case.
22979 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22981 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22983 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22985 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22987 * elf/elf.h (R_386_SIZE32): New relocation.
22988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22990 (elf_machine_rela): Likewise.
22991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22992 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22994 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22996 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22997 (FP_FAST_FMA): Do not define.
22998 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22999 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23000 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23001 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23002 !_SOFT_FLOAT]: Likewise.
23003 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23004 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23006 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23007 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23008 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23009 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23010 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23011 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23014 2013-01-16 Andreas Schwab <schwab@suse.de>
23017 * include/stdlib.h (__mktemp): Add declaration.
23018 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23019 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23021 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23023 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23025 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23026 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23027 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23029 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23030 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23032 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23034 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23035 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23036 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23038 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23039 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23041 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23043 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23045 2013-01-15 David S. Miller <davem@davemloft.net>
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23048 trunc{,f} to libm-sysdep_routes.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23063 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23064 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23067 nearbyint{,f} to libm-sysdep_routes.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23088 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23089 libc_feholdexcept and libc_fesetenv.
23091 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23093 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23095 2013-01-14 David S. Miller <davem@davemloft.net>
23097 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23098 (SPARC_ASM_VIS2_IFUNC): Likewise.
23099 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23101 use of 'siam' instruction.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23135 routines to libm-sysdep_routines.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23139 fdim/fdimf to libm-sysdep_routines.
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23148 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23149 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23150 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23151 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23153 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23156 to optimize copies.
23158 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23163 local variable MPTWO.
23164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23167 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23169 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23172 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23174 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23176 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23178 * manual/pattern.texi (glob_t): Document gl_flags.
23179 (glob64_t): Likewise.
23181 2013-01-11 David S. Miller <davem@davemloft.net>
23183 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23184 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23185 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23186 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23187 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23188 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23189 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23190 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23191 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23192 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23193 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23194 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23195 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23197 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23198 sparc V9 rather than using V8 code.
23199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23207 2013-01-11 Roland McGrath <roland@hack.frob.com>
23209 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23210 not in the main loop.
23211 * configure: Regenerated.
23213 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23215 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23216 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23218 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23219 [!__GLIBC_HAVE_LONG_LONG] case.
23220 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23221 condition to just #else.
23222 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23223 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23224 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23225 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23227 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23228 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23229 #elif condition to just #else.
23230 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23231 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23232 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23233 #elif condition to just #else.
23235 2013-01-11 Steve Ellcey <sellcey@mips.com>
23237 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23238 (EF_MIPS_ARCH_64): Fix value.
23239 (EF_MIPS_ARCH_32R2): New.
23240 (EF_MIPS_ARCH_64R2): New.
23242 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23244 * Makeconfig (+link-pie-before-libc): New.
23245 (+link-pie-after-libc): Likewise.
23246 (+link-pie-tests): Likewise.
23247 (+link-pie): Rewritten.
23248 (link-before-libc): Remove $(config-LDFLAGS).
23249 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23250 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23251 (config-LDFLAGS): Renamed to ...
23252 (rtld-LDFLAGS): This.
23253 (rtld-tests-LDFLAGS): New macro.
23254 (link-libc-rpath-link): Likewise.
23255 (link-libc-tests-rpath-link): Likewise.
23256 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23257 (link-libc): Prepand $(link-libc-rpath-link).
23258 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23259 (test-program-prefix): New macro.
23260 (test-via-rtld-prefix): Likewise.
23261 (test-program-cmd): Likewise.
23262 (host-test-program-cmd): Likewise.
23263 * Makefile ($(common-objpfx)testrun.sh): Replace
23264 $(run-program-prefix) with $(test-program-prefix).
23265 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23267 ($(common-objpfx)shlib.lds): Likewise.
23268 (build-module-helper): Likewise.
23269 ($(common-objpfx)format.lds): Likewise.
23270 * Rules (binaries-pie-tests): New.
23271 (binaries-pie-notests): Likewise.
23272 (binaries-pie): Rewritten.
23273 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23274 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23275 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23276 (make-test-out): Replace $(host-built-program-cmd) with
23277 $(host-test-program-cmd).
23278 * config.make.in (build-hardcoded-path-in-tests): New variable.
23279 * configure.in (--enable-hardcoded-path-in-tests): New configure
23281 (hardcoded_path_in_tests): New AC_SUBST.
23282 * configure: Regenerated.
23283 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23284 $(built-program-cmd) with $(test-program-cmd).
23285 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23286 (test_program_cmd): This.
23287 * elf/Makefile ($(objpfx)order.out): Run test with
23288 $(test-program-prefix).
23289 ($(objpfx)order2.out): Likewise.
23290 ($(objpfx)tst-initorder.out): Likewise.
23291 ($(objpfx)tst-initorder2.out): Likewise.
23292 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23293 $(test-program-cmd).
23294 ($(objpfx)tst-array1-static.out): Likewise.
23295 ($(objpfx)tst-array2.out): Likewise.
23296 ($(objpfx)tst-array3.out): Likewise.
23297 ($(objpfx)tst-array4.out): Likewise.
23298 ($(objpfx)tst-array5.out): Likewise.
23299 ($(objpfx)tst-array5-static.out): Likewise.
23300 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23301 $(test-program-cmd).
23302 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23303 $(run-program-prefix) with $(test-program-prefix).
23304 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23305 (test_program_prefix): This.
23306 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23307 $(run-program-prefix) with $(test-program-prefix).
23308 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23309 (test_program_prefix): This.
23310 * iconvdata/tst-tables.sh: Likewise.
23311 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23312 $(run-program-prefix) with $(test-program-prefix).
23313 ($(objpfx)tst-translit.out): Likewise.
23314 ($(objpfx)tst-gettext2.out): Likewise.
23315 ($(objpfx)tst-gettext4.out): Likewise.
23316 ($(objpfx)tst-gettext6.out): Likewise.
23317 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23318 (test_program_prefix): This.
23319 * intl/tst-gettext2.sh: Likewise.
23320 * intl/tst-gettext4.sh Likewise.
23321 * intl/tst-gettext6.sh: Likewise.
23322 * intl/tst-translit.sh: Likewise.
23323 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23324 with $(test-program-cmd).
23325 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23326 $(run-program-prefix) with $(test-program-prefix).
23327 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23328 (test_program_prefix): This.
23329 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23330 $(run-program-prefix) with $(test-program-prefix).
23331 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23332 (test_program_prefix): This.
23333 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23334 * posix/Makefile ($(objpfx)globtest.out): Replace
23335 $(run-via-rtld-prefix) and $(test-wrapper) with
23336 $(test-program-prefix) and $(test-via-rtld-prefix).
23337 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23338 $(test-program-prefix).
23339 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23340 $(host-test-program-cmd).
23341 (tst-spawn-ARGS): Likewise.
23342 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23343 $(test-program-prefix).
23344 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23345 (test_via_rtld_prefix): This.
23346 (test_wrapper): Renamed to ...
23347 (test_program_prefix): This.
23348 (run_program_prefix): Replaced by test_program_prefix.
23349 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23350 (test_program_prefix): This.
23351 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23352 with $(host-test-program-cmd).
23353 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23354 $(run-program-prefix) with $(test-program-prefix).
23355 ($(objpfx)tst-printf.out): Likewise.
23356 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23357 $(test-program-cmd).
23358 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23359 (test_program_prefix): This.
23360 * stdio-common/tst-unbputc.sh: Likewise.
23361 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23362 $(run-program-prefix) with $(test-program-prefix).
23363 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23364 (test_program_prefix): This.
23365 * string/Makefile ($(objpfx)tst-svc.out): Replace
23366 $(built-program-cmd) with $(test-program-cmd).
23368 2013-01-11 Andreas Jaeger <aj@suse.de>
23371 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23372 value. Sync with Linux 3.7.
23374 2013-01-10 David S. Miller <davem@davemloft.net>
23376 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23377 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23378 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23380 2013-01-10 Roland McGrath <roland@hack.frob.com>
23382 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23384 * configure: Regenerated.
23386 2013-01-10 David S. Miller <davem@davemloft.net>
23388 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23389 sparc V9 rather than using V8 code.
23390 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23391 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23393 2013-01-10 Roland McGrath <roland@hack.frob.com>
23395 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23396 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23397 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23398 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23399 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23400 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23401 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23402 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23403 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23404 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23405 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23406 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23407 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23408 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23409 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23410 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23411 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23412 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23413 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23414 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23415 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23416 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23417 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23418 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23419 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23420 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23421 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23423 2013-01-10 David S. Miller <davem@davemloft.net>
23425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23427 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23429 * posix/Makefile (tests-static): New variable.
23430 (tests): Add $(tests-static).
23431 (tst-exec-static-ARGS): New variable.
23432 (tst-spawn-static-ARGS): Likewise.
23433 * posix/tst-exec-static.c: New file.
23434 * posix/tst-spawn-static.c: Likewise.
23435 * posix/tst-exec.c: Support run directly.
23436 * posix/tst-spawn.c: Likewise.
23438 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23440 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23442 * math/bits/mathcalls.h (llrint): Likewise.
23443 (llround): Likewise.
23444 * stdlib/stdlib.h (struct drand48_data): Likewise.
23445 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23446 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23447 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23449 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23451 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23452 (elf_greg_t): Likewise.
23453 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23454 (__jmp_buf): Likewise.
23455 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23457 (llrint): Likewise, for all definitions.
23458 (llrintl): Likewise.
23460 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23461 Remove [__GNUC__] condition.
23462 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23463 condition to just [__USE_ISOC99].
23464 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23466 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23469 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23470 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23472 (_POSIX_V6_ILP32_OFF32): Likewise.
23473 (_XBS5_ILP32_OFF32): Likewise.
23474 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23475 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23477 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23479 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23482 doubles __mpexp_twomm1. Adjust usage.
23483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23486 2013-01-10 Andreas Schwab <schwab@suse.de>
23489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23490 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23492 2013-01-09 David S. Miller <davem@davemloft.net>
23495 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23496 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23497 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23498 (TCP_FASTOPEN): Define.
23499 (tcp_repair_opt): New structure.
23500 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23502 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23503 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23504 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23505 (tcp_cookie_transactions): New structure.
23507 2013-01-09 Anton Blanchard <anton@samba.org>
23509 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23510 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23511 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23512 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23514 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23516 * include/features.h (__USE_ANSI): Remove.
23518 2013-01-09 Roland McGrath <roland@hack.frob.com>
23520 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23522 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23524 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23526 * sysdeps/s390/fpu/libm-test-ulps: Update.
23528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23530 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23534 (denorm): Likewise.
23535 (__mp_dbl): Likewise.
23536 (__dbl_mp): Likewise.
23537 (add_magnitudes): Likewise.
23538 (sub_magnitudes): Likewise.
23544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23548 (denorm): Likewise.
23549 (__mp_dbl): Likewise.
23550 (__dbl_mp): Likewise.
23551 (add_magnitudes): Likewise.
23552 (sub_magnitudes): Likewise.
23558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23562 (denorm): Likewise.
23563 (__mp_dbl): Likewise.
23564 (__dbl_mp): Likewise.
23565 (add_magnitudes): Likewise.
23566 (sub_magnitudes): Likewise.
23573 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23575 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23576 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23577 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23578 2 && __USE_EXTERN_INLINES]: Likewise.
23580 2013-01-08 Andreas Jaeger <aj@suse.de>
23583 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23585 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23586 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23588 2013-01-07 Anton Blanchard <anton@samba.org>
23590 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23591 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23592 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23593 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23594 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23596 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23597 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23599 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23600 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23601 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23603 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23607 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23608 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23609 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23611 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23613 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23614 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23615 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23616 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23617 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23619 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23620 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23622 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23623 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23624 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23625 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23626 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23628 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23632 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23634 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23636 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23637 (__MALLOC_PMT): Likewise.
23638 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23639 [__GNUC__], only on [_LIBC].
23640 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23641 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23642 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23643 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23644 forward declaration.
23645 (realloc_hook_ini): Likewise.
23646 (memalign_hook_ini): Likewise.
23647 (__libc_memalign): Do not use __MALLOC_PMT in variable
23649 (__libc_valloc): Likewise.
23650 (__libc_pvalloc): Likewise.
23651 (__libc_calloc): Likewise.
23652 (__posix_memalign): Likewise.
23655 * math/s_casinh.c: Include <float.h>.
23656 (__casinh): Do not do computation with squaring and square root
23657 for large arguments.
23658 * math/s_casinhf.c: Include <float.h>.
23659 (__casinhf): Do not do computation with squaring and square root
23660 for large arguments.
23661 * math/s_casinhl.c: Include <float.h>.
23662 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23663 (__casinhl): Do not do computation with squaring and square root
23664 for large arguments.
23665 * math/libm-test.inc (casin_test): Add more tests.
23666 (casinh_test): Likewise.
23667 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23670 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23672 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23673 (__x86_64_raw_data_cache_size): Likewise.
23674 (__x86_64_data_cache_size_half): Likewise.
23675 (__x86_64_raw_data_cache_size_half): Likewise.
23676 (__x86_64_shared_cache_size): Likewise.
23677 (__x86_64_raw_shared_cache_size): Likewise.
23678 (__x86_64_shared_cache_size_half): Likewise.
23679 (__x86_64_raw_shared_cache_size_half): Likewise.
23680 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23682 (__x86_data_cache_size): This.
23683 (__x86_64_raw_data_cache_size): Renamed to ...
23684 (__x86_raw_data_cache_size): This.
23685 (__x86_64_data_cache_size_half): Renamed to ...
23686 (__x86_data_cache_size_half): This.
23687 (__x86_64_raw_data_cache_size_half): Renamed to ...
23688 (__x86_raw_data_cache_size_half): This.
23689 (__x86_64_shared_cache_size): Renamed to ...
23690 (__x86_shared_cache_size): This.
23691 (__x86_64_raw_shared_cache_size): Renamed to ...
23692 (__x86_raw_shared_cache_size): This.
23693 (__x86_64_shared_cache_size_half): Renamed to ...
23694 (__x86_shared_cache_size_half): This.
23695 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23696 (__x86_raw_shared_cache_size_half): This.
23697 * sysdeps/x86_64/memcpy.S: Updated.
23698 * sysdeps/x86_64/memset.S: Likewise.
23699 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23701 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23703 2013-01-04 David S. Miller <davem@davemloft.net>
23705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23707 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23709 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23710 1 to avoid redefinition warning.
23711 (__USE_GNU): Don't define.
23712 (init_signaling_nan): Protoize.
23714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23716 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23718 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23720 (__cpymn): Likewise.
23721 (norm): Remove commented code.
23722 (denorm): Likewise.
23723 (__mp_dbl): Likewise.
23725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23726 (__cpymn): Likewise.
23727 (norm): Remove commented code.
23728 (denorm): Likewise.
23729 (__mp_dbl): Likewise.
23732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23733 mp_no value for 1.0 and 2.0.
23734 (norm): Use RADIXI instead of radixi.d.
23735 (denorm): Likewise.
23736 (__mul): Use 0.0 instead of zero.d.
23737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23738 mp_no value for 1.0 and 2.0.
23739 (norm): Use RADIXI instead of radixi.d.
23740 (denorm): Likewise.
23741 (__mul): Use 0.0 instead of zero.d.
23743 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23746 * math/s_casinh.c (__casinh): Reduce finite argument to first
23747 quadrant then set signs of results at the end.
23748 * math/s_casinhf.c (__casinhf): Likewise.
23749 * math/s_casinhl.c (__casinhl): Likewise.
23750 * math/libm-test.inc (casin_test): Add more tests.
23751 (casinh_test): Likewise.
23752 * sysdeps/i386/fpu/libm-test-ulps: Update.
23753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23757 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23759 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23761 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23763 (denorm): Likewise.
23764 (__mp_dbl): Likewise.
23767 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23768 and adjust the header comment.
23770 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23771 variable name from declaration.
23773 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23776 Initialize COMMON_CPUID_INDEX_7 element.
23777 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23778 (CPUID_RTM): Likewise.
23779 (HAS_RTM): Likewise.
23780 (COMMON_CPUID_INDEX_7): New enum.
23782 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23785 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23786 size is zero, record memory as freed.
23788 2013-01-03 Andreas Jaeger <aj@suse.de>
23790 * po/ia.po: Add new Interlingua translation.
23792 2012-01-03 Allan McRae <allan@archlinux.org>
23794 * locale/programs/localedef.c: Fix description of '--posix' flag.
23796 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23798 * NEWS: Update dates in second copyright notice.
23799 * README: Update copyright dates in example.
23800 * manual/libc.texinfo: Update copyright dates.
23801 * scripts/test-installation.pl: Update copyright date in --version
23804 * hurd/ctty-input.c: Fix copyright notice formatting.
23805 * hurd/ctty-output.c: Likewise.
23806 * hurd/dtable.c: Likewise.
23807 * hurd/hurd-raise.c: Likewise.
23808 * hurd/hurdprio.c: Likewise.
23809 * hurd/msgportdemux.c: Likewise.
23810 * misc/sys/file.h: Likewise.
23811 * misc/sys/ioctl.h: Likewise.
23812 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23813 * sysdeps/mach/hurd/chdir.c: Likewise.
23814 * sysdeps/mach/hurd/fchdir.c: Likewise.
23815 * sysdeps/mach/hurd/rename.c: Likewise.
23816 * sysdeps/mach/hurd/rmdir.c: Likewise.
23817 * sysdeps/mach/hurd/seekdir.c: Likewise.
23818 * sysdeps/mach/hurd/setsid.c: Likewise.
23819 * sysdeps/posix/wait3.c: Likewise.
23821 * All files with FSF copyright notices: Update copyright dates
23822 using scripts/update-copyrights.
23823 * intl/plural.c: Regenerated.
23824 * locale/programs/charmap-kw.h: Likewise.
23825 * locale/programs/locfile-kw.h: Likewise.
23827 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23829 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23833 calculation loop and add branch prediction.
23835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23836 check access beyond bounds of m1np.
23838 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23840 (__inv): Remove local variable MPTWO to use the global
23842 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23845 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23846 MP3HALFS static const.
23848 2013-01-01 David S. Miller <davem@davemloft.net>
23850 * po/ca.po: Update from translation team.
23852 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23854 * scripts/update-copyrights: New file.
23855 * Makeconfig: Reformat copyright notice.
23856 * ctype/ctype.h: Likewise.
23857 * debug/swprintf_chk.c: Likewise.
23858 * elf/dl-cache.c: Likewise.
23859 * elf/dl-debug.c: Likewise.
23860 * elf/dl-object.c: Likewise.
23861 * grp/initgroups.c: Likewise.
23862 * hurd/Makefile: Likewise.
23863 * hurd/hurd/signal.h: Likewise.
23864 * hurd/hurdfault.c: Likewise.
23865 * hurd/hurdioctl.c: Likewise.
23866 * hurd/hurdlookup.c: Likewise.
23867 * hurd/intr-msg.c: Likewise.
23868 * iconv/gconv_open.c: Likewise.
23869 * libio/swprintf.c: Likewise.
23870 * locale/lc-ctype.c: Likewise.
23871 * locale/nl_langinfo.c: Likewise.
23872 * mach/Machrules: Likewise.
23873 * mach/Makefile: Likewise.
23874 * malloc/obstack.h: Likewise.
23875 * manual/Makefile: Likewise.
23876 * manual/tsort.awk: Likewise.
23877 * misc/bits/stab.def: Likewise.
23878 * nis/nis_print_group_entry.c: Likewise.
23879 * nis/nis_table.c: Likewise.
23880 * nis/nss_compat/compat-pwd.c: Likewise.
23881 * nis/nss_compat/compat-spwd.c: Likewise.
23882 * po/Makefile: Likewise.
23883 * posix/fnmatch.c: Likewise.
23884 * posix/regex.h: Likewise.
23885 * resolv/Makefile: Likewise.
23886 * resolv/nss_dns/dns-network.c: Likewise.
23887 * resolv/res_hconf.c: Likewise.
23888 * scripts/gen-sorted.awk: Likewise.
23889 * soft-fp/soft-fp.h: Likewise.
23890 * stdio-common/printf.h: Likewise.
23891 * stdlib/monetary.h: Likewise.
23892 * stdlib/random.c: Likewise.
23893 * stdlib/random_r.c: Likewise.
23894 * sysdeps/generic/Makefile: Likewise.
23895 * sysdeps/gnu/Makefile: Likewise.
23896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23898 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23903 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23908 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23924 * sysdeps/mach/hurd/errnos.awk: Likewise.
23925 * sysdeps/mach/hurd/fork.c: Likewise.
23926 * sysdeps/mach/hurd/getcwd.c: Likewise.
23927 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23928 * sysdeps/mach/hurd/mmap.c: Likewise.
23929 * sysdeps/mach/hurd/utimes.c: Likewise.
23930 * sysdeps/mach/hurd/xmknod.c: Likewise.
23931 * sysdeps/posix/profil.c: Likewise.
23932 * sysdeps/posix/readdir_r.c: Likewise.
23933 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23934 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23935 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23936 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23938 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23939 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23940 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23942 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23943 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23944 * sysdeps/pthread/lio_listio.c: Likewise.
23945 * sysdeps/sparc/dl-procinfo.h: Likewise.
23946 * sysdeps/unix/i386/sysdep.S: Likewise.
23947 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23948 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23949 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23950 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23952 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23953 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23954 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23955 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23956 * sysdeps/wordsize-32/divdi3.c: Likewise.
23957 * time/sys/time.h: Likewise.
23958 * wcsmbs/Makefile: Likewise.
23960 2013-01-01 David S. Miller <davem@davemloft.net>
23962 * po/fr.po: Update from translation team.
23964 * catgets/gencat.c: Update copyright year.
23965 * csu/version.c: Likewise.
23966 * debug/catchsegv.sh: Likewise.
23967 * debug/pcprofiledump.c: Likewise.
23968 * debug/xtrace.sh: Likewise.
23969 * elf/ldconfig.c: Likewise.
23970 * elf/ldd.bash.in: Likewise.
23971 * elf/pldd.c: Likewise.
23972 * elf/sotruss.ksh: Likewise.
23973 * elf/sprof.c: Likewise.
23974 * iconv/iconv_prog.c: Likewise.
23975 * iconv/iconvconfig.c: Likewise.
23976 * locale/programs/locale.c: Likewise.
23977 * locale/programs/localedef.c: Likewise.
23978 * login/programs/pt_chown.c: Likewise.
23979 * malloc/memusage.sh: Likewise.
23980 * malloc/memusagestat.c: Likewise.
23981 * malloc/mtrace.pl: Likewise.
23982 * nscd/nscd.c: Likewise.
23983 * nss/getent.c: Likewise.
23984 * nss/makedb.c: Likewise.
23985 * posix/getconf.c: Likewise.
23987 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23989 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23992 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23994 * math/bits/mathcalls.h (modf): Use __nonnull.
23996 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23998 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23999 (split): Use macro CN instead of the bare value.
24000 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24003 instead of the bare value.
24004 (power1): Likewise.
24006 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24008 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24010 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24012 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24014 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24015 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24016 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24017 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24019 2012-12-28 Andreas Jaeger <aj@suse.de>
24021 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24022 values are from Linux 3.7.
24024 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24025 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24027 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24029 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24032 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24034 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24035 variables with preprocessor constants.
24036 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24037 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24038 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24040 2012-12-27 Bruno Haible <bruno@clisp.org>
24043 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24046 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24049 and use variable directly.
24050 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24052 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24054 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24055 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24057 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24059 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24060 include directive. Remove local variable MPONE.
24061 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24062 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24063 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24065 2012-12-25 David S. Miller <davem@davemloft.net>
24067 * version.h (RELEASE): Set to "development".
24068 (VERSION): Set to "2.17.90".
24069 * NEWS: Add 2.18 section.
24071 2012-12-21 David S. Miller <davem@davemloft.net>
24073 * po/hr.po: Update from translation team.
24075 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24077 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24079 2012-12-19 Steve Ellcey <sellcey@mips.com>
24081 * NEWS: Mention new memcpy for MIPS.
24083 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24085 * manual/contrib.texi (Contributors): Spelling correction.
24087 2012-12-15 David S. Miller <davem@davemloft.net>
24089 * po/ru.po: Update from translation team.
24091 2012-12-13 David S. Miller <davem@davemloft.net>
24093 * NEWS: Mention IFUNC testsuite enhancements.
24095 * po/pl.po: Update from translation team.
24096 * po/bg.po: Likewise.
24098 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24099 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24101 2012-12-11 David S. Miller <davem@davemloft.net>
24103 * po/sv.po: Update from translation team.
24105 * po/vi.po: Update from translation team.
24107 * po/cs.po: Update from translation team.
24109 * po/de.po: Update from translation team.
24110 * po/eo.po: Likewise.
24111 * po/nl.po: Likewise.
24113 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24116 * manual/argp.texi (Argp Helper Functions): Move node to follow
24117 Argp Parsing State.
24120 * manual/conf.texi (Limits on File System Capacity): Mention if
24121 terminating null is included in the max size.
24123 2012-12-10 Andreas Jaeger <aj@suse.de>
24125 * po/cs.po: Update from translation team.
24127 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24129 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24130 void pointer and cast to uintptr_t.
24131 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24133 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24134 * sysdeps/s390/s390-64/memset.S: Likewise.
24136 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24139 * menual/message.texi (Message Translation): Fix typos.
24140 (Helper programs for gettext): Likewise.
24142 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24145 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24148 2012-12-07 David S. Miller <davem@davemloft.net>
24150 * po/libc.pot: Update.
24152 2012-12-07 Richard Henderson <rth@redhat.com>
24155 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24156 normal/normal case to before the switch.
24157 (_FP_DIV): Likewise.
24159 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24160 Mike Frysinger <vapier@gentoo.org>
24162 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24163 check for __NR_fadvise64_64.
24165 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24167 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24168 0, not just to plain "0" as a statement.
24169 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24172 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24174 * NEWS: Use sourceware.org in Bugzilla URL.
24176 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24179 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24181 * stdio-common/tst-put-error.c (do_test): Add newline to the
24182 padded test to ensure flush.
24184 2012-12-05 Jeff Law <law@redhat.com>
24186 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24188 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24190 * README: Don't refer to ports add-on as distributed separately.
24191 Mention AArch64 in list of systems supported in the ports add-on.
24193 * LICENSES: Add more non-FSF copyright and license notices.
24195 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24198 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24200 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24201 10000 as width of padded output.
24203 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24205 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24208 variable LX with __attribute__ ((unused)).
24209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24211 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24214 with __attribute__ ((unused)).
24216 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24218 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24220 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24222 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24223 (CFLAGS-nldbl-acos.c): New variable.
24224 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24225 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24226 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24227 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24228 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24229 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24230 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24231 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24232 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24233 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24234 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24235 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24236 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24237 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24238 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24239 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24240 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24241 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24242 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24243 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24244 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24245 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24246 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24247 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24248 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24249 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24250 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24251 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24252 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24253 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24254 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24255 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24256 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24257 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24258 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24259 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24260 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24261 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24262 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24263 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24264 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24265 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24266 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24267 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24268 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24269 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24270 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24271 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24272 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24273 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24274 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24275 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24276 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24277 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24278 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24279 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24280 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24281 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24282 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24283 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24284 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24285 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24286 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24287 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24288 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24289 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24290 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24291 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24292 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24293 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24294 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24295 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24296 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24297 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24298 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24299 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24300 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24301 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24302 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24303 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24304 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24305 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24306 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24307 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24308 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24309 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24310 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24311 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24312 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24313 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24314 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24315 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24316 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24317 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24318 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24319 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24320 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24323 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24327 whole low double instead of just low 47 bits when splitting values
24330 2012-12-03 Allan McRae <allan@archlinux.org>
24332 * manual/stdio.texi (Predefined Printf Handlers): Remove
24333 @hsep and @vsep usage.
24335 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24337 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24338 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24340 2012-12-03 Jeff Law <law@redhat.com>
24342 * time/sys/time.h (settimeofday): Do not mark TV argument
24345 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24347 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24348 when currently writing and seek to current position when not.
24349 * libio/Makefile (tests): Remove bug-fclose1.
24350 * libio/bug-fclose1.c: Delete.
24352 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24354 * manual/arith.texi (feenableexcept): Fix typo.
24355 (fedisableexcept): Likewise.
24357 2012-11-30 Roland McGrath <roland@hack.frob.com>
24359 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24360 second, differently-typed declaration, rather than a cast.
24362 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24364 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24365 * include/rpc/svc.h: ... here.
24367 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24370 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24371 depending n and resplen2 to catch cases where answer
24374 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24376 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24377 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24379 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24381 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24383 2012-11-29 Roland McGrath <roland@hack.frob.com>
24385 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24387 2012-11-28 Jeff Law <law@redhat.com>
24390 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24391 dataset_temporary. Track alloca usage into alloca_used.
24392 If dataset is large allocate and release it via malloc/free.
24394 2012-06-04 Florian Weimer <fweimer@redhat.com>
24397 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24399 2012-11-28 David S. Miller <davem@davemloft.net>
24401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24403 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24406 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24407 of pi/2 rounded to nearest to 64 bits.
24408 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24409 nearest to 64 bits.
24410 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24413 2012-11-28 Jeff Law <law@redhat.com>
24414 Martin Osvald <mosvald@redhat.com>
24417 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24418 * sunrpc/svc.c: Include time.h.
24419 (__svc_accept_failed): New function.
24420 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24421 any reason other than EINTR, call __svc_accept_failed.
24422 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24423 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24425 2012-11-28 Andreas Schwab <schwab@suse.de>
24427 * scripts/abilist.awk: Also handle indirect functions in .opd
24430 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24433 * sysdeps/x86/fpu/powl_helper.c: New file.
24434 * sysdeps/x86/fpu/Makefile: Likewise.
24435 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24437 (__ieee754_powl): Use __powl_helper for finite arguments except
24438 integer exponents below 8.
24439 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24441 (__ieee754_powl): Use __powl_helper for finite arguments except
24442 integer exponents below 8.
24443 * math/libm-test.inc (pow_test): Add more tests and enable some
24444 previously disabled tests.
24445 * sysdeps/i386/fpu/libm-test-ulps: Update.
24446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24448 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24449 Carlos O'Donell <carlos_odonell@mentor.com>
24451 * nss/makedb.c (is_prime): Assert that input is odd and greater
24452 than 4. Note that fact in a comment too.
24453 (next_prime): Add 4 to input.
24455 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24458 * libio/Makefile (tests): Add test case tst-fwrite-error.
24459 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24460 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24461 * libio/tst-fwrite-error.c: New test case.
24463 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24465 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24466 before casting to void *.
24467 * include/libc-internal.h (__pointer_type): New macro.
24468 (__integer_if_pointer_type_sub): Likewise.
24469 (__integer_if_pointer_type): Likewise.
24470 (cast_to_integer): Likewise.
24471 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24472 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24473 before casting to atomic64_t.
24474 (atomic_exchange_acq): Likewise.
24475 (__arch_exchange_and_add_body): Likewise.
24476 (__arch_add_body): Likewise.
24477 (atomic_add_negative): Likewise.
24478 (atomic_add_zero): Likewise.
24480 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24482 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24483 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24484 (add_fdes): Likewise.
24485 (linear_search_fdes): Likewise.
24486 (binary_search_unencoded_fdes): Likewise.
24488 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24490 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24492 2012-11-24 Adam Conrad <adconrad@0c3.net>
24494 * configure.in: Autodetect C++ header directories.
24495 * configure: Regenerated.
24497 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24499 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24501 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24505 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24507 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24508 LDBL_MANT_DIG == 106]: Disable some tests.
24509 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24511 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24515 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24516 input for small inputs. Return +/- pi/2 for large inputs.
24517 * math/libm-test.inc (atan_test): Add more tests.
24519 * sysdeps/generic/unwind-dw2-fde-glibc.c
24520 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24521 __attribute__ ((unused)).
24524 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24525 x * y if x and y are nonzero and z is zero.
24528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24529 nonzero exponents with absolute value below 0x1p-117 to +/-
24533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24534 up arguments below 2**-450, not just those below 2**-500.
24535 * math/libm-test.inc (hypot_test): Add another test.
24538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24539 Return a+b for ratio over 2**120, not 2**60.
24540 * math/libm-test.inc (hypot_test): Add another test.
24542 * math/libm-test.inc (clog_test): Use
24543 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24544 (clog10_test): Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24549 2012-11-22 Andreas Schwab <schwab@suse.de>
24551 * sysdeps/i386/fpu/libm-test-ulps: Update.
24553 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24555 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24556 printf output with newline.
24558 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24561 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24562 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24563 -z nodlopen, -z initfirst and -z execstack support.
24564 * configure: Regenerated.
24566 * elf/elf.h (DF_1_NODIRECT): New macro.
24567 (DF_1_IGNMULDEF): Likewise.
24568 (DF_1_NOKSYMS): Likewise.
24569 (DF_1_NOHDR): Likewise.
24570 (DF_1_EDITED): Likewise.
24571 (DF_1_NORELOC): Likewise.
24572 (DF_1_SYMINTPOSE): Likewise.
24573 (DF_1_GLOBAUDIT): Likewise.
24574 (DF_1_SINGLETON): Likewise.
24575 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24576 DT_1_SUPPORTED_MASK bits.
24577 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24579 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24581 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24583 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24585 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24588 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24589 (sendmmsg): Move declarations...
24590 * socket/sys/socket.h: ... here.
24591 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24592 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24594 * socket/recvmmsg.c: ... this new file.
24595 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24596 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24597 definition of __sendmmsg hidden.
24598 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24599 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24600 Move ENOSYS stub into and include it from...
24601 * socket/sendmmsg.c: ... this new file.
24602 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24603 (sysdep_routines): Move recvmmsg and sendmmsg...
24604 * socket/Makefile (routines): ... here.
24605 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24606 (GLIBC_PRIVATE): Add __sendmmsg.
24607 * include/sys/socket.h (__sendmmsg): Add declarations.
24608 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24611 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24614 variable I1 with __attribute__ ((unused)).
24615 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24617 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24619 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24620 DUMMY variables with __attribute__ ((unused)).
24622 * bits/byteswap.h: Include <bits/types.h>.
24623 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24625 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24627 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24628 string_t. Do not manually set errno.
24629 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24630 length with __strnlen. Make sure to both set errno and return it on
24633 2012-11-19 David S. Miller <davem@davemloft.net>
24635 With help from Joseph Myers.
24636 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24637 very large arguments properly.
24638 * math/libm-test.inc (atan_test): New tests.
24639 (atan2_test): New tests.
24640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24643 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24646 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24649 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24650 [POSIX] (EADDRNOTAVAIL): Likewise.
24651 [POSIX] (EAFNOSUPPORT): Likewise.
24652 [POSIX] (EALREADY): Likewise.
24653 [POSIX] (ECONNABORTED): Likewise.
24654 [POSIX] (ECONNREFUSED): Likewise.
24655 [POSIX] (ECONNRESET): Likewise.
24656 [POSIX] (EDESTADDRREQ): Likewise.
24657 [POSIX] (EDQUOT): Likewise.
24658 [POSIX] (EHOSTUNREACH): Likewise.
24659 [POSIX] (EIDRM): Likewise.
24660 [POSIX] (EISCONN): Likewise.
24661 [POSIX] (ELOOP): Likewise.
24662 [POSIX] (EMULTIHOP): Likewise.
24663 [POSIX] (ENETDOWN): Likewise.
24664 [POSIX] (ENETUNREACH): Likewise.
24665 [POSIX] (ENOBUFS): Likewise.
24666 [POSIX] (ENODATA): Likewise.
24667 [POSIX] (ENOLINK): Likewise.
24668 [POSIX] (ENOMSG): Likewise.
24669 [POSIX] (ENOPROTOOPT): Likewise.
24670 [POSIX] (ENOSR): Likewise.
24671 [POSIX] (ENOSTR): Likewise.
24672 [POSIX] (ENOTCONN): Likewise.
24673 [POSIX] (ENOTSOCK): Likewise.
24674 [POSIX] (EOPNOTSUPP): Likewise.
24675 [POSIX] (EOVERFLOW): Likewise.
24676 [POSIX] (EPROTO): Likewise.
24677 [POSIX] (EPROTONOSUPPORT): Likewise.
24678 [POSIX] (EPROTOTYPE): Likewise.
24679 [POSIX] (ESTALE): Likewise.
24680 [POSIX] (ETIME): Likewise.
24681 [POSIX] (ETXTBSY): Likewise.
24682 [POSIX] (EWOULDBLOCK): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24684 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24685 [POSIX] (SEEK_CUR): Likewise.
24686 [POSIX] (SEEK_END): Likewise.
24687 [POSIX || UNIX98] (mode_t): Do not require.
24688 [POSIX] (off_t): Likewise.
24689 [POSIX] (pid_t): Likewise.
24690 [POSIX] (sys/stat.h): Do not allow header.
24691 [POSIX] (unistd.h): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24693 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24694 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24695 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24697 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24698 sigevent): Specify elements.
24699 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24701 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24702 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24704 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24705 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24706 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24707 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24708 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24709 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24710 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24711 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24712 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24713 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24714 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24715 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24716 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24717 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24719 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24721 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24723 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24725 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24726 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24727 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24728 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24729 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24730 Specify lower bound on value.
24731 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24732 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24733 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24734 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24735 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24736 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24737 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24738 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24740 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24742 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24743 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24744 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24745 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24746 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24747 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24748 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24749 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24750 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24751 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24752 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24753 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24754 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24755 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24756 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24757 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24759 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24761 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24762 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24763 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24764 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24765 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24766 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24768 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24769 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24770 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24771 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24772 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24773 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24774 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24776 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24777 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24778 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24779 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24780 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24781 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24782 specify as optional.
24783 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24784 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24785 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24786 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24787 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24788 [XPG3] (NL_LANGMAX): Likewise.
24789 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24790 [POSIX || XPG3] (NL_NMAX): Likewise.
24791 [POSIX || XPG3] (NL_SETMAX): Likewise.
24792 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24793 [XPG3] (NZERO): Likewise.
24794 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24795 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24796 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24797 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24798 (REG_ERANGE): Expect.
24799 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24801 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24802 Use (void) in prototype.
24803 [POSIX] (*_t): Allow.
24804 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24805 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24806 (WRDE_BADVAL): Expect.
24808 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24810 [XPG3 || XPG4] (O_RSYNC): Likewise.
24811 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24813 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24814 [XPG3 || XPG4] (sigqueue): Likewise.
24815 [XPG3 || XPG4] (sigtimedwait): Likewise.
24816 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24817 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24818 [XPG3 || XPG4] (vsnprintf): Likewise.
24819 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24821 [XPG3 || XPG4] (blksize_t): Likewise.
24822 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24824 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24825 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24826 [XPG3 || XPG4] (struct itimerspec): Likewise.
24827 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24828 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24829 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24830 [XPG3 || XPG4] (clockid_t): Likewise.
24831 [XPG3 || XPG4] (timer_t): Likewise.
24832 [XPG3 || XPG4] (clock_getres): Likewise.
24833 [XPG3 || XPG4] (clock_gettime): Likewise.
24834 [XPG3 || XPG4] (clock_settime): Likewise.
24835 [XPG3 || XPG4] (nanosleep): Likewise.
24836 [XPG3 || XPG4] (timer_create): Likewise.
24837 [XPG3 || XPG4] (timer_delete): Likewise.
24838 [XPG3 || XPG4] (timer_gettime): Likewise.
24839 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24840 [XPG3 || XPG4] (timer_settime): Likewise.
24841 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24842 [XPG3 || XPG4] (getlogin_r): Likewise.
24843 [XPG3 || XPG4] (pread): Likewise.
24844 [XPG3 || XPG4] (pthread_atfork): Likewise.
24845 [XPG3 || XPG4] (pwrite): Likewise.
24848 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24851 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24853 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24854 finalizing MALLSTREAM.
24856 * sysdeps/mach/hurd/syncfs.c: New file.
24858 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24861 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24862 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24863 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24864 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24865 (_nss_dns_gethostbyname4_r): Likewise.
24866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24867 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24869 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24872 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24874 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24876 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24877 * elf/cache.c (print_entry): Print ",AArch64" for
24880 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24881 * elf/cache.c (print_entry): Print ",hard-float" for
24884 2012-11-18 David S. Miller <davem@davemloft.net>
24886 With help from Joseph Myers.
24887 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24889 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24891 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24892 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24894 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24895 * math/libm-test.inc (y0_test): New tests.
24896 (y1_test): New tests.
24897 * sysdeps/i386/fpu/libm-test-ulps: Update.
24898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24901 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24903 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24905 * configure: Regenerated.
24907 2012-11-17 David S. Miller <davem@davemloft.net>
24910 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24911 nonzero exponents with absolute value below 0x1p-128 to +/-
24914 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24916 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24918 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24920 * posix/getconf-speclist.c: New file.
24921 * posix/posix-envs.def: Likewise.
24922 * posix/confstr.c (START_ENV_GROUP): New macro.
24923 (END_ENV_GROUP): Likewise.
24924 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24925 (KNOWN_PRESENT_ENV_STRING): Likewise.
24926 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24927 (UNKNOWN_ENVIRONMENT): Likewise.
24928 (confstr): Include posix-envs.def instead of handling
24929 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24930 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24931 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24932 (END_ENV_GROUP): Likewise.
24933 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24934 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24935 (UNKNOWN_ENVIRONMENT): Likewise.
24936 (__sysconf): Include posix-envs.def instead of handling associated
24937 cases directly here.
24938 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24939 preprocessing getconf-speclist.c rather than running getconf or
24940 generating empty file.
24942 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24944 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24946 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24949 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24951 2012-11-16 David S. Miller <davem@davemloft.net>
24953 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24954 smaller than LDBL_EPSILON/2.0L, just return xm1.
24956 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24958 * elf/tst-array1.c (init): Set constructor priority to 1000.
24959 (fini): Set destructor priority to 1000.
24960 * elf/tst-array2dep.c: Likewise.
24962 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24965 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24966 (_IO_new_file_xsputn): Also return EOF if none of the input
24967 data was written when overflow failed.
24968 * libio/iopadn.c (_IO_padn): Likewise.
24969 * libio/iowpadn.c (_IO_wpadn): Likewise.
24970 * stdio-common/tst-put-error.c: Add copyright notice.
24971 (do_test): Add case for printing padded string.
24972 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24973 _IO_padn returned error.
24974 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24975 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24978 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24980 * libio/libioP.h: Add comment note that the references to C++
24981 bits are now obsolete.
24983 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24985 * math/libm-test.inc (check_complex): Use asprintf.
24987 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24989 * debug/pcprofiledump.c (print_version): Update copyright year.
24990 * malloc/memusagestat.c (print_version): Likewise.
24992 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24995 * elf/Makefile (tests): Add tst-audit8.
24996 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24997 ($(objpfx)tst-audit8.out): New target.
24998 (tst-audit8-ENV): New variable.
24999 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25000 audit if l_reloc_result is NULL.
25001 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25002 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25003 * elf/tst-audit8.c: New file.
25005 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25007 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25008 * misc/Makefile (CFLAGS-select.c): Define.
25009 * posix/Makefile (CFLAGS-pause.c): Define.
25011 2012-11-13 David S. Miller <davem@davemloft.net>
25013 * crypt/Makefile: Move test targets after toplevel Rules
25014 inclusion. Grab any necessary sysdep routines when linking.
25015 * crypt/md5.c (md5_process_block): Remove define, we will always
25016 name it __md5_process_block.
25017 (md5_finish_ctx): Update md5_process_block call.
25018 (md5_stream): Likewise.
25019 (md5_process_bytes): Likewise.
25020 (md5_process_block): Rename to __md5_process_block and move to ...
25021 * crypt/md5-block.c: ... here.
25022 * crypt/sha256.c (sha256_process_block): Move to ...
25023 * crypt/sha256-block.c: ... here.
25024 * crypt/sha512.c (sha512_process_block): Move to ...
25025 * crypt/sha512-block.c: ... here.
25026 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25028 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25029 * sysdeps/sparc/sparc64/multiarch/Makefile
25030 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25032 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25033 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25035 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25036 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25037 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25038 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25039 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25040 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25041 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25042 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25043 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25045 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25046 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25048 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25050 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25052 * timezone/tzselect.ksh: Update from tzcode git revision
25053 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25054 * timezone/zdump.c: Likewise.
25055 * timezone/zic.c: Likewise.
25056 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25057 in TZVERSION setting, not $(PKGVERSION).
25058 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25059 REPORT_BUGS_TO settings.
25062 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25065 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25067 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25068 detection to immediately after _FP_ROUND().
25069 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25072 2012-11-11 David S. Miller <davem@davemloft.net>
25074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25076 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25077 __close rather than their public counterparts.
25079 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25081 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25083 [UNIX98] (sem_timedwait): Do not expect.
25084 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25085 [XPG4 || UNIX98] (sockatmark): Do not expect.
25086 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25087 (clock_getcpuclockid): Do not expect.
25088 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25089 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25091 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25092 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25093 [UNIX98] (vwscanf): Likewise.
25094 [UNIX98] (vswscanf): Likewise.
25096 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25098 * timezone/version.h: Remove file.
25099 * timezone/README: Do not refer to version.h.
25100 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25101 $(objpfx)version.h.
25102 ($(objpfx)zdump.o): Likewise.
25103 ($(objpfx)version.h): New target.
25105 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25107 * timezone/README: Don't mention modification to tzselect.ksh.
25108 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25109 work on unmodified tzselect.ksh. Substitute version numbers in
25112 * Makefile (format-me): Remove.
25113 (INSTALL): Adjust indentation. Use commands directly instead of
25114 using $(format-me).
25116 * aclocal.m4 (ACX_PKGVERSION): New macro.
25117 (ACX_BUGURL): Likewise.
25118 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25119 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25120 (REPORT_BUGS_TO): Likewise.
25121 * configure: Regenerated.
25122 * config.h.in (PKGVERSION): New macro.
25123 (REPORT_BUGS_TO): Likewise.
25124 * config.make.in (PKGVERSION): New variable.
25125 (PKGVERSION_TEXI): Likewise.
25126 (REPORT_BUGS_TO): Likewise.
25127 (REPORT_BUGS_TEXI): Likewise.
25128 * Makefile (format-me): Use -I$(common-objpfx)manual.
25129 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25130 ($(common-objpfx)manual/%): New target.
25131 (manual/%): Remove target.
25132 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25133 (print_version): Use PKGVERSION.
25134 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25135 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25136 and REPORT_BUGS_TO.
25137 ($(objpfx)xtrace): Likewise.
25138 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25139 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25140 (print_version): Use PKGVERSION.
25141 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25142 (do_version): Use PKGVERSION.
25143 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25145 (common-ldd-rewrite): Likewise.
25146 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25147 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25148 (print_version): Use PKGVERSION.
25149 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25150 * elf/pldd.c (argp_program_bug_address): Remove variable.
25151 (more_help): New function.
25152 (argp): Use more_help.
25153 (print_version): Use PKGVERSION.
25154 * elf/sln.c (main): Use PKGVERSION.
25155 (usage): Use REPORT_BUGS_TO.
25156 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25157 (top level): Use PKGVERSION.
25158 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25159 (print_version): Use PKGVERSION.
25160 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25161 (print_version): Use PKGVERSION.
25162 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25163 (print_version): Use PKGVERSION.
25164 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25165 (print_version): Use PKGVERSION.
25166 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25167 (print_version): Use PKGVERSION.
25168 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25169 (print_version): Use PKGVERSION.
25170 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25172 ($(objpfx)memusage): Likewise.
25173 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25174 (do_version): Use PKGVERSION.
25175 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25176 (print_version): Use PKGVERSION.
25177 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25178 ($PKGVERSION): New variable.
25179 ($REPORT_BUGS_TO): Likewise.
25180 (usage): Use $REPORT_BUGS_TO.
25181 (top level): Use $PKGVERSION.
25182 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25183 ($(objpfx)pkgvers.texi): New rule.
25184 ($(objpfx)stamp-pkgvers): Likewise.
25185 * manual/install.texi: Include pkgvers.texi.
25186 (--with-pkgversion): Document new configure option.
25187 (--with-bugurl): Likewise.
25188 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25189 than necessarily for this particular distribution. Use
25190 REPORT_BUGS_TO for where to report bugs.
25191 * INSTALL: Regenerated.
25192 * manual/libc.texinfo: Include pkgvers.texi.
25193 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25194 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25195 (print_version): Use PKGVERSION.
25196 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25197 (print_version): Use PKGVERSION.
25198 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25199 (print_version): Use PKGVERSION.
25200 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25201 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25203 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25204 (print_version): Use PKGVERSION.
25205 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25206 (print_version): Use PKGVERSION.
25207 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25210 * timezone/checktab.awk: Update from tzcode 2012i.
25211 * timezone/ialloc.c: Likewise.
25212 * timezone/private.h: Likewise.
25213 * timezone/scheck.c: Likewise.
25214 * timezone/tzfile.h: Likewise.
25215 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25216 (TZVERSION): Hardcode tzcode version number.
25217 * timezone/zdump.c: Update from tzcode 2012i.
25218 * timezone/zic.c: Likewise.
25219 * timezone/version.h: New file.
25220 * timezone/README: Describe version.h. Update upstream location.
25223 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25224 (mktemp): Enable declaration.
25225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25230 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25242 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25243 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25244 for copies of such integer values.
25245 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25246 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25248 2012-11-09 Andreas Jaeger <aj@suse.de>
25250 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25251 definitions and declarations that are provided by
25252 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25254 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25256 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25257 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25258 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25261 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25263 * elf/elf.h: Update comment before AArch64 relocations.
25265 2012-11-07 David S. Miller <davem@davemloft.net>
25267 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25268 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25269 (__start_context): Declare.
25270 (__makecontext_ret): Delete.
25271 (__makecontext): Hook up __start_context instead of
25273 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25274 (sysdep_routines): Add __start_context when in stdlib.
25276 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25278 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25279 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25280 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25282 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25283 (READELF): New variable. Use it instead of hardcoded "readelf".
25285 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25287 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25288 * sysdeps/x86/Makefile: Here.
25289 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25290 * sysdeps/x86/tst-xmmymm.sh: This.
25292 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25294 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25296 [UNIX98] (pthread_barrier_t): Do not expect.
25297 [UNIX98] (pthread_barrierattr_t): Likewise.
25298 [UNIX98] (pthread_spinlock_t): Likewise.
25299 [UNIX98] (pthread_barrier_destroy): Likewise.
25300 [UNIX98] (pthread_barrier_init): Likewise.
25301 [UNIX98] (pthread_barrier_wait): Likewise.
25302 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25303 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25304 [UNIX98] (pthread_barrierattr_init): Likewise.
25305 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25306 [UNIX98] (pthread_getcpuclockid): Likewise.
25307 [UNIX98] (pthread_mutex_timedlock): Likewise.
25308 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25309 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25310 [UNIX98] (pthread_sigmask): Likewise.
25311 [UNIX98] (pthread_spin_destroy): Likewise.
25312 [UNIX98] (pthread_spin_init): Likewise.
25313 [UNIX98] (pthread_spin_lock): Likewise.
25314 [UNIX98] (pthread_spin_trylock): Likewise.
25315 [UNIX98] (pthread_spin_unlock): Likewise.
25316 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25318 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25319 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25320 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25321 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25322 [XPG3 || XPG4] (pthread_key_t): Likewise.
25323 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25324 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25325 [XPG3 || XPG4] (pthread_once_t): Likewise.
25326 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25327 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25328 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25329 [XPG3 || XPG4] (pthread_t): Likewise.
25331 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25333 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25335 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25336 Change function return type to int.
25338 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25339 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25340 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25341 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25342 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25343 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25344 [!POSIX] (posix_madvise): Likewise.
25345 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25347 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25348 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25349 (mode_t): Likewise.
25350 (posix_mem_offset): Likewise.
25351 (posix_typed_mem_get_info): Likewise.
25352 (posix_typed_mem_open): Likewise.
25354 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25355 Change condition to [XOPEN2K8].
25357 * conform/conformtest.pl: Preprocess allow-header data with -x c
25358 instead of from stdin.
25359 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25360 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25361 [C99-based standards] (cerfc): Likewise.
25362 [C99-based standards] (cexp2): Likewise.
25363 [C99-based standards] (cexpm1): Likewise.
25364 [C99-based standards] (clog10): Likewise.
25365 [C99-based standards] (clog1p): Likewise.
25366 [C99-based standards] (clog2): Likewise.
25367 [C99-based standards] (clgamma): Likewise.
25368 [C99-based standards] (ctgamma): Likewise.
25369 [C99-based standards] (cerff): Likewise.
25370 [C99-based standards] (cerfcf): Likewise.
25371 [C99-based standards] (cexp2f): Likewise.
25372 [C99-based standards] (cexpm1f): Likewise.
25373 [C99-based standards] (clog10f): Likewise.
25374 [C99-based standards] (clog1pf): Likewise.
25375 [C99-based standards] (clog2f): Likewise.
25376 [C99-based standards] (clgammaf): Likewise.
25377 [C99-based standards] (ctgammaf): Likewise.
25378 [C99-based standards] (cerfl): Likewise.
25379 [C99-based standards] (cerfcl): Likewise.
25380 [C99-based standards] (cexp2l): Likewise.
25381 [C99-based standards] (cexpm1l): Likewise.
25382 [C99-based standards] (clog10l): Likewise.
25383 [C99-based standards] (clog1pl): Likewise.
25384 [C99-based standards] (clog2l): Likewise.
25385 [C99-based standards] (clgammal): Likewise.
25386 [C99-based standards] (ctgammal): Likewise.
25387 * conform/data/inttypes.h-data [C99-based standards]: Include
25388 stdint.h-data. Remove all expectations for stdint.h contents.
25389 [C99-based standards] (PRI*): Do not allow.
25390 [C99-based standards] (SCN*): Likewise.
25391 [C99-based standards] (*_t): Likewise.
25392 [C99-based-standards] (PRId8): Expect macro.
25393 [C99-based-standards] (PRIi8): Likewise.
25394 [C99-based-standards] (PRIo8): Likewise.
25395 [C99-based-standards] (PRIu8): Likewise.
25396 [C99-based-standards] (PRIx8): Likewise.
25397 [C99-based-standards] (PRIX8): Likewise.
25398 [C99-based-standards] (SCNd8): Likewise.
25399 [C99-based-standards] (SCNi8): Likewise.
25400 [C99-based-standards] (SCNo8): Likewise.
25401 [C99-based-standards] (SCNu8): Likewise.
25402 [C99-based-standards] (SCNx8): Likewise.
25403 [C99-based-standards] (PRIdLEAST8): Likewise.
25404 [C99-based-standards] (PRIiLEAST8): Likewise.
25405 [C99-based-standards] (PRIoLEAST8): Likewise.
25406 [C99-based-standards] (PRIuLEAST8): Likewise.
25407 [C99-based-standards] (PRIxLEAST8): Likewise.
25408 [C99-based-standards] (PRIXLEAST8): Likewise.
25409 [C99-based-standards] (SCNdLEAST8): Likewise.
25410 [C99-based-standards] (SCNiLEAST8): Likewise.
25411 [C99-based-standards] (SCNoLEAST8): Likewise.
25412 [C99-based-standards] (SCNuLEAST8): Likewise.
25413 [C99-based-standards] (SCNxLEAST8): Likewise.
25414 [C99-based-standards] (PRIdFAST8): Likewise.
25415 [C99-based-standards] (PRIiFAST8): Likewise.
25416 [C99-based-standards] (PRIoFAST8): Likewise.
25417 [C99-based-standards] (PRIuFAST8): Likewise.
25418 [C99-based-standards] (PRIxFAST8): Likewise.
25419 [C99-based-standards] (PRIXFAST8): Likewise.
25420 [C99-based-standards] (SCNdFAST8): Likewise.
25421 [C99-based-standards] (SCNiFAST8): Likewise.
25422 [C99-based-standards] (SCNoFAST8): Likewise.
25423 [C99-based-standards] (SCNuFAST8): Likewise.
25424 [C99-based-standards] (SCNxFAST8): Likewise.
25425 [C99-based-standards] (PRId16): Likewise.
25426 [C99-based-standards] (PRIi16): Likewise.
25427 [C99-based-standards] (PRIo16): Likewise.
25428 [C99-based-standards] (PRIu16): Likewise.
25429 [C99-based-standards] (PRIx16): Likewise.
25430 [C99-based-standards] (PRIX16): Likewise.
25431 [C99-based-standards] (SCNd16): Likewise.
25432 [C99-based-standards] (SCNi16): Likewise.
25433 [C99-based-standards] (SCNo16): Likewise.
25434 [C99-based-standards] (SCNu16): Likewise.
25435 [C99-based-standards] (SCNx16): Likewise.
25436 [C99-based-standards] (PRIdLEAST16): Likewise.
25437 [C99-based-standards] (PRIiLEAST16): Likewise.
25438 [C99-based-standards] (PRIoLEAST16): Likewise.
25439 [C99-based-standards] (PRIuLEAST16): Likewise.
25440 [C99-based-standards] (PRIxLEAST16): Likewise.
25441 [C99-based-standards] (PRIXLEAST16): Likewise.
25442 [C99-based-standards] (SCNdLEAST16): Likewise.
25443 [C99-based-standards] (SCNiLEAST16): Likewise.
25444 [C99-based-standards] (SCNoLEAST16): Likewise.
25445 [C99-based-standards] (SCNuLEAST16): Likewise.
25446 [C99-based-standards] (SCNxLEAST16): Likewise.
25447 [C99-based-standards] (PRIdFAST16): Likewise.
25448 [C99-based-standards] (PRIiFAST16): Likewise.
25449 [C99-based-standards] (PRIoFAST16): Likewise.
25450 [C99-based-standards] (PRIuFAST16): Likewise.
25451 [C99-based-standards] (PRIxFAST16): Likewise.
25452 [C99-based-standards] (PRIXFAST16): Likewise.
25453 [C99-based-standards] (SCNdFAST16): Likewise.
25454 [C99-based-standards] (SCNiFAST16): Likewise.
25455 [C99-based-standards] (SCNoFAST16): Likewise.
25456 [C99-based-standards] (SCNuFAST16): Likewise.
25457 [C99-based-standards] (SCNxFAST16): Likewise.
25458 [C99-based-standards] (PRId32): Likewise.
25459 [C99-based-standards] (PRIi32): Likewise.
25460 [C99-based-standards] (PRIo32): Likewise.
25461 [C99-based-standards] (PRIu32): Likewise.
25462 [C99-based-standards] (PRIx32): Likewise.
25463 [C99-based-standards] (PRIX32): Likewise.
25464 [C99-based-standards] (SCNd32): Likewise.
25465 [C99-based-standards] (SCNi32): Likewise.
25466 [C99-based-standards] (SCNo32): Likewise.
25467 [C99-based-standards] (SCNu32): Likewise.
25468 [C99-based-standards] (SCNx32): Likewise.
25469 [C99-based-standards] (PRIdLEAST32): Likewise.
25470 [C99-based-standards] (PRIiLEAST32): Likewise.
25471 [C99-based-standards] (PRIoLEAST32): Likewise.
25472 [C99-based-standards] (PRIuLEAST32): Likewise.
25473 [C99-based-standards] (PRIxLEAST32): Likewise.
25474 [C99-based-standards] (PRIXLEAST32): Likewise.
25475 [C99-based-standards] (SCNdLEAST32): Likewise.
25476 [C99-based-standards] (SCNiLEAST32): Likewise.
25477 [C99-based-standards] (SCNoLEAST32): Likewise.
25478 [C99-based-standards] (SCNuLEAST32): Likewise.
25479 [C99-based-standards] (SCNxLEAST32): Likewise.
25480 [C99-based-standards] (PRIdFAST32): Likewise.
25481 [C99-based-standards] (PRIiFAST32): Likewise.
25482 [C99-based-standards] (PRIoFAST32): Likewise.
25483 [C99-based-standards] (PRIuFAST32): Likewise.
25484 [C99-based-standards] (PRIxFAST32): Likewise.
25485 [C99-based-standards] (PRIXFAST32): Likewise.
25486 [C99-based-standards] (SCNdFAST32): Likewise.
25487 [C99-based-standards] (SCNiFAST32): Likewise.
25488 [C99-based-standards] (SCNoFAST32): Likewise.
25489 [C99-based-standards] (SCNuFAST32): Likewise.
25490 [C99-based-standards] (SCNxFAST32): Likewise.
25491 [C99-based-standards] (PRId64): Likewise.
25492 [C99-based-standards] (PRIi64): Likewise.
25493 [C99-based-standards] (PRIo64): Likewise.
25494 [C99-based-standards] (PRIu64): Likewise.
25495 [C99-based-standards] (PRIx64): Likewise.
25496 [C99-based-standards] (PRIX64): Likewise.
25497 [C99-based-standards] (SCNd64): Likewise.
25498 [C99-based-standards] (SCNi64): Likewise.
25499 [C99-based-standards] (SCNo64): Likewise.
25500 [C99-based-standards] (SCNu64): Likewise.
25501 [C99-based-standards] (SCNx64): Likewise.
25502 [C99-based-standards] (PRIdLEAST64): Likewise.
25503 [C99-based-standards] (PRIiLEAST64): Likewise.
25504 [C99-based-standards] (PRIoLEAST64): Likewise.
25505 [C99-based-standards] (PRIuLEAST64): Likewise.
25506 [C99-based-standards] (PRIxLEAST64): Likewise.
25507 [C99-based-standards] (PRIXLEAST64): Likewise.
25508 [C99-based-standards] (SCNdLEAST64): Likewise.
25509 [C99-based-standards] (SCNiLEAST64): Likewise.
25510 [C99-based-standards] (SCNoLEAST64): Likewise.
25511 [C99-based-standards] (SCNuLEAST64): Likewise.
25512 [C99-based-standards] (SCNxLEAST64): Likewise.
25513 [C99-based-standards] (PRIdFAST64): Likewise.
25514 [C99-based-standards] (PRIiFAST64): Likewise.
25515 [C99-based-standards] (PRIoFAST64): Likewise.
25516 [C99-based-standards] (PRIuFAST64): Likewise.
25517 [C99-based-standards] (PRIxFAST64): Likewise.
25518 [C99-based-standards] (PRIXFAST64): Likewise.
25519 [C99-based-standards] (SCNdFAST64): Likewise.
25520 [C99-based-standards] (SCNiFAST64): Likewise.
25521 [C99-based-standards] (SCNoFAST64): Likewise.
25522 [C99-based-standards] (SCNuFAST64): Likewise.
25523 [C99-based-standards] (SCNxFAST64): Likewise.
25524 [C99-based-standards] (PRIdMAX): Likewise.
25525 [C99-based-standards] (PRIiMAX): Likewise.
25526 [C99-based-standards] (PRIoMAX): Likewise.
25527 [C99-based-standards] (PRIuMAX): Likewise.
25528 [C99-based-standards] (PRIxMAX): Likewise.
25529 [C99-based-standards] (PRIXMAX): Likewise.
25530 [C99-based-standards] (SCNdMAX): Likewise.
25531 [C99-based-standards] (SCNiMAX): Likewise.
25532 [C99-based-standards] (SCNoMAX): Likewise.
25533 [C99-based-standards] (SCNuMAX): Likewise.
25534 [C99-based-standards] (SCNxMAX): Likewise.
25535 [C99-based-standards] (PRIdPTR): Likewise.
25536 [C99-based-standards] (PRIiPTR): Likewise.
25537 [C99-based-standards] (PRIoPTR): Likewise.
25538 [C99-based-standards] (PRIuPTR): Likewise.
25539 [C99-based-standards] (PRIxPTR): Likewise.
25540 [C99-based-standards] (PRIXPTR): Likewise.
25541 [C99-based-standards] (SCNdPTR): Likewise.
25542 [C99-based-standards] (SCNiPTR): Likewise.
25543 [C99-based-standards] (SCNoPTR): Likewise.
25544 [C99-based-standards] (SCNuPTR): Likewise.
25545 [C99-based-standards] (SCNxPTR): Likewise.
25546 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25548 * conform/data/stdint.h-data: Update comments to clarify
25550 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25552 [C99-based standards] (INT8_MAX): Likewise.
25553 [C99-based standards] (INT16_MIN): Likewise.
25554 [C99-based standards] (INT16_MAX): Likewise.
25555 [C99-based standards] (INT32_MIN): Likewise.
25556 [C99-based standards] (INT32_MAX): Likewise.
25557 [C99-based standards] (INT64_MIN): Likewise.
25558 [C99-based standards] (INT64_MAX): Likewise.
25559 [C99-based standards] (UINT8_MAX): Likewise.
25560 [C99-based standards] (UINT16_MAX): Likewise.
25561 [C99-based standards] (UINT32_MAX): Likewise.
25562 [C99-based standards] (UINT64_MAX): Likewise.
25563 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25564 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25565 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25566 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25567 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25568 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25569 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25570 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25571 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25572 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25573 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25574 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25575 [C99-based standards] (INT_FAST8_MIN): Likewise.
25576 [C99-based standards] (INT_FAST8_MAX): Likewise.
25577 [C99-based standards] (INT_FAST16_MIN): Likewise.
25578 [C99-based standards] (INT_FAST16_MAX): Likewise.
25579 [C99-based standards] (INT_FAST32_MIN): Likewise.
25580 [C99-based standards] (INT_FAST32_MAX): Likewise.
25581 [C99-based standards] (INT_FAST64_MIN): Likewise.
25582 [C99-based standards] (INT_FAST64_MAX): Likewise.
25583 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25584 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25585 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25586 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25587 [C99-based standards] (INTPTR_MIN): Likewise.
25588 [C99-based standards] (INTPTR_MAX): Likewise.
25589 [C99-based standards] (UINTPTR_MAX): Likewise.
25590 [C99-based standards] (INTMAX_MIN): Likewise.
25591 [C99-based standards] (INTMAX_MAX): Likewise.
25592 [C99-based standards] (UINTMAX_MAX): Likewise.
25593 [C99-based standards] (PTRDIFF_MIN): Likewise.
25594 [C99-based standards] (PTRDIFF_MAX): Likewise.
25595 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25596 [C99-based standards] (SIZE_MAX): Likewise.
25597 [C99-based standards] (WCHAR_MAX): Likewise.
25598 [C99-based standards] (WINT_MAX): Likewise.
25599 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25600 constraint on value.
25601 [C99-based standards] (WCHAR_MIN): Likewise.
25602 [C99-based standards] (WINT_MIN): Likewise.
25603 [C99-based standards] (*_t): Allow.
25604 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25605 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25606 Include math.h-data and complex.h-data. Remove all expectations
25607 of math.h and complex.h contents.
25608 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25610 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25611 (struct tm): Expect tag.
25612 [C99-based-standards] (wcstof): Expect function.
25613 [C99-based-standards] (wcstold): Likewise.
25614 [C99-based-standards] (wcstoll): Likewise.
25615 [C99-based-standards] (wcstoull): Likewise.
25616 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25617 macro-int-constant. Specify type.
25618 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25619 constraint on value.
25620 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25622 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25624 [ISO C standards]: Do not allow headers.
25625 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25626 wcs[abcdefghijklmnopqrstuvwxyz]*.
25627 [ISO C standards] (*_t): Do not allow.
25628 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25630 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25631 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25633 [ISO C standards]: Do not allow headers.
25634 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25635 is[abcdefghijklmnopqrstuvwxyz]*.
25636 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25637 to[abcdefghijklmnopqrstuvwxyz]*.
25638 [ISO C standards] (*_t): Do not allow.
25639 * conform/data/stdalign.h-data: New file.
25640 * conform/data/stdbool.h-data: Likewise.
25641 * conform/data/stdnoreturn.h-data: Likewise.
25643 2012-11-07 Roland McGrath <roland@hack.frob.com>
25646 * manual/filesys.texi (Directory Entries): Typo fix.
25647 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25649 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25651 * elf/elf.h (EM_AARCH64): New macro.
25652 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25653 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25654 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25655 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25656 (R_AARCH64_TLSDESC): Likewise.
25657 (NT_ARM_TLS): Likewise.
25658 (NT_ARM_HW_BREAK): Likewise.
25659 (NT_ARM_HW_WATCH): Likewise.
25661 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25664 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25665 (__ieee754_powl): Saturate nonzero exponents with absolute value
25666 below 0x1p-79 to +/- 0x1p-79.
25667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25668 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25669 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25670 nonzero exponents with absolute value below 0x1p-32 to +/-
25672 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25673 (__ieee754_powl): Saturate nonzero exponents with absolute value
25674 below 0x1p-79 to +/- 0x1p-79.
25675 * math/libm-test.inc (pow_test): Add more tests.
25677 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25679 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25680 _dl_s390_cap_flags with kernel. Increase string length.
25681 (_dl_s390_platforms): Add z196 and zEC12.
25683 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25685 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25686 Change XOPEN21K to XOPEN2K.
25688 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25690 * string/memmove.c: Use memcpy when possible.
25692 2012-11-06 Andreas Jaeger <aj@suse.de>
25694 * po/eo.po: Update from translation team.
25696 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25700 exponent and small x and y exponents, scale x or y up. Increase
25701 by 2 the exponent used in scaling up.
25702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25704 * math/libm-test.inc (fma_test): Add more tests.
25705 (fma_test_towardzero): Likewise.
25706 (fma_test_downward): Likewise.
25707 (fma_test_upward): Likewise.
25709 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25712 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25716 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25717 namespace for names of struct fields.
25718 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25720 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25721 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25723 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25726 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25728 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25730 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25734 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25737 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25741 definitely overflow as x * y not x * y + z.
25742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25744 * math/libm-test.inc (fma_test): Add more tests.
25745 (fma_test_towardzero): Likewise.
25746 (fma_test_downward): Likewise.
25747 (fma_test_upward): Likewise.
25749 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25753 * include/stub-tag.h: Remove file.
25754 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25756 * manual/maint.texi (Porting): Don't reference it.
25757 * Makerules ($(objpfx)stubs): Likewise.
25758 * dirent/closedir.c: Don't include <stub-tag.h>.
25759 * dirent/dirfd.c: Likewise.
25760 * dirent/fdopendir.c: Likewise.
25761 * dirent/getdents.c: Likewise.
25762 * dirent/getdents64.c: Likewise.
25763 * dirent/opendir.c: Likewise.
25764 * dirent/readdir.c: Likewise.
25765 * dirent/readdir64.c: Likewise.
25766 * dirent/readdir64_r.c: Likewise.
25767 * dirent/readdir_r.c: Likewise.
25768 * dirent/rewinddir.c: Likewise.
25769 * dirent/seekdir.c: Likewise.
25770 * dirent/telldir.c: Likewise.
25771 * gmon/profil.c: Likewise.
25772 * grp/setgroups.c: Likewise.
25773 * inet/if_index.c: Likewise.
25774 * io/access.c: Likewise.
25775 * io/chdir.c: Likewise.
25776 * io/chmod.c: Likewise.
25777 * io/chown.c: Likewise.
25778 * io/close.c: Likewise.
25779 * io/dup.c: Likewise.
25780 * io/dup2.c: Likewise.
25781 * io/dup3.c: Likewise.
25782 * io/euidaccess.c: Likewise.
25783 * io/faccessat.c: Likewise.
25784 * io/fchdir.c: Likewise.
25785 * io/fchmod.c: Likewise.
25786 * io/fchmodat.c: Likewise.
25787 * io/fchown.c: Likewise.
25788 * io/fchownat.c: Likewise.
25789 * io/fcntl.c: Likewise.
25790 * io/flock.c: Likewise.
25791 * io/fstatfs.c: Likewise.
25792 * io/fstatfs64.c: Likewise.
25793 * io/fstatvfs.c: Likewise.
25794 * io/fstatvfs64.c: Likewise.
25795 * io/futimens.c: Likewise.
25796 * io/fxstat.c: Likewise.
25797 * io/fxstat64.c: Likewise.
25798 * io/fxstatat.c: Likewise.
25799 * io/fxstatat64.c: Likewise.
25800 * io/getcwd.c: Likewise.
25801 * io/isatty.c: Likewise.
25802 * io/lchmod.c: Likewise.
25803 * io/lchown.c: Likewise.
25804 * io/link.c: Likewise.
25805 * io/linkat.c: Likewise.
25806 * io/lseek.c: Likewise.
25807 * io/lseek64.c: Likewise.
25808 * io/lxstat64.c: Likewise.
25809 * io/mkdir.c: Likewise.
25810 * io/mkdirat.c: Likewise.
25811 * io/mkfifo.c: Likewise.
25812 * io/mkfifoat.c: Likewise.
25813 * io/open.c: Likewise.
25814 * io/open64.c: Likewise.
25815 * io/openat.c: Likewise.
25816 * io/openat64.c: Likewise.
25817 * io/pipe.c: Likewise.
25818 * io/pipe2.c: Likewise.
25819 * io/poll.c: Likewise.
25820 * io/posix_fadvise.c: Likewise.
25821 * io/posix_fadvise64.c: Likewise.
25822 * io/posix_fallocate.c: Likewise.
25823 * io/posix_fallocate64.c: Likewise.
25824 * io/read.c: Likewise.
25825 * io/readlink.c: Likewise.
25826 * io/readlinkat.c: Likewise.
25827 * io/rmdir.c: Likewise.
25828 * io/sendfile.c: Likewise.
25829 * io/sendfile64.c: Likewise.
25830 * io/statfs.c: Likewise.
25831 * io/statfs64.c: Likewise.
25832 * io/statvfs.c: Likewise.
25833 * io/statvfs64.c: Likewise.
25834 * io/symlink.c: Likewise.
25835 * io/symlinkat.c: Likewise.
25836 * io/ttyname.c: Likewise.
25837 * io/ttyname_r.c: Likewise.
25838 * io/umask.c: Likewise.
25839 * io/unlink.c: Likewise.
25840 * io/unlinkat.c: Likewise.
25841 * io/utime.c: Likewise.
25842 * io/utimensat.c: Likewise.
25843 * io/write.c: Likewise.
25844 * io/xmknod.c: Likewise.
25845 * io/xmknodat.c: Likewise.
25846 * io/xstat.c: Likewise.
25847 * io/xstat64.c: Likewise.
25848 * login/getpt.c: Likewise.
25849 * login/grantpt.c: Likewise.
25850 * login/unlockpt.c: Likewise.
25851 * math/e_acoshl.c: Likewise.
25852 * math/e_acosl.c: Likewise.
25853 * math/e_asinl.c: Likewise.
25854 * math/e_atan2l.c: Likewise.
25855 * math/e_atanhl.c: Likewise.
25856 * math/e_coshl.c: Likewise.
25857 * math/e_expl.c: Likewise.
25858 * math/e_fmodl.c: Likewise.
25859 * math/e_gammal_r.c: Likewise.
25860 * math/e_hypotl.c: Likewise.
25861 * math/e_j0l.c: Likewise.
25862 * math/e_j1l.c: Likewise.
25863 * math/e_jnl.c: Likewise.
25864 * math/e_lgammal_r.c: Likewise.
25865 * math/e_log10l.c: Likewise.
25866 * math/e_log2l.c: Likewise.
25867 * math/e_logl.c: Likewise.
25868 * math/e_powl.c: Likewise.
25869 * math/e_rem_pio2l.c: Likewise.
25870 * math/e_sinhl.c: Likewise.
25871 * math/e_sqrtl.c: Likewise.
25872 * math/fclrexcpt.c: Likewise.
25873 * math/fedisblxcpt.c: Likewise.
25874 * math/feenablxcpt.c: Likewise.
25875 * math/fegetenv.c: Likewise.
25876 * math/fegetexcept.c: Likewise.
25877 * math/fegetround.c: Likewise.
25878 * math/feholdexcpt.c: Likewise.
25879 * math/fesetenv.c: Likewise.
25880 * math/fesetround.c: Likewise.
25881 * math/feupdateenv.c: Likewise.
25882 * math/fgetexcptflg.c: Likewise.
25883 * math/fraiseexcpt.c: Likewise.
25884 * math/fsetexcptflg.c: Likewise.
25885 * math/ftestexcept.c: Likewise.
25886 * math/k_cosl.c: Likewise.
25887 * math/k_rem_pio2l.c: Likewise.
25888 * math/k_sinl.c: Likewise.
25889 * math/k_tanl.c: Likewise.
25890 * math/s_asinhl.c: Likewise.
25891 * math/s_atanl.c: Likewise.
25892 * math/s_cbrtl.c: Likewise.
25893 * math/s_erfl.c: Likewise.
25894 * math/s_expm1l.c: Likewise.
25895 * math/s_log1pl.c: Likewise.
25896 * math/s_tanhl.c: Likewise.
25897 * misc/acct.c: Likewise.
25898 * misc/brk.c: Likewise.
25899 * misc/chflags.c: Likewise.
25900 * misc/chroot.c: Likewise.
25901 * misc/fchflags.c: Likewise.
25902 * misc/fgetxattr.c: Likewise.
25903 * misc/flistxattr.c: Likewise.
25904 * misc/fremovexattr.c: Likewise.
25905 * misc/fsetxattr.c: Likewise.
25906 * misc/fsync.c: Likewise.
25907 * misc/ftruncate.c: Likewise.
25908 * misc/futimes.c: Likewise.
25909 * misc/futimesat.c: Likewise.
25910 * misc/getdomain.c: Likewise.
25911 * misc/getdtsz.c: Likewise.
25912 * misc/gethostid.c: Likewise.
25913 * misc/gethostname.c: Likewise.
25914 * misc/getloadavg.c: Likewise.
25915 * misc/getpagesize.c: Likewise.
25916 * misc/getsysstats.c: Likewise.
25917 * misc/getxattr.c: Likewise.
25918 * misc/gtty.c: Likewise.
25919 * misc/ioctl.c: Likewise.
25920 * misc/lgetxattr.c: Likewise.
25921 * misc/listxattr.c: Likewise.
25922 * misc/llistxattr.c: Likewise.
25923 * misc/lremovexattr.c: Likewise.
25924 * misc/lsetxattr.c: Likewise.
25925 * misc/lutimes.c: Likewise.
25926 * misc/madvise.c: Likewise.
25927 * misc/mincore.c: Likewise.
25928 * misc/mlock.c: Likewise.
25929 * misc/mlockall.c: Likewise.
25930 * misc/mmap.c: Likewise.
25931 * misc/mprotect.c: Likewise.
25932 * misc/msync.c: Likewise.
25933 * misc/munlock.c: Likewise.
25934 * misc/munlockall.c: Likewise.
25935 * misc/munmap.c: Likewise.
25936 * misc/preadv.c: Likewise.
25937 * misc/preadv64.c: Likewise.
25938 * misc/ptrace.c: Likewise.
25939 * misc/pwritev.c: Likewise.
25940 * misc/pwritev64.c: Likewise.
25941 * misc/readv.c: Likewise.
25942 * misc/reboot.c: Likewise.
25943 * misc/remap_file_pages.c: Likewise.
25944 * misc/removexattr.c: Likewise.
25945 * misc/revoke.c: Likewise.
25946 * misc/select.c: Likewise.
25947 * misc/setdomain.c: Likewise.
25948 * misc/setegid.c: Likewise.
25949 * misc/seteuid.c: Likewise.
25950 * misc/sethostid.c: Likewise.
25951 * misc/sethostname.c: Likewise.
25952 * misc/setregid.c: Likewise.
25953 * misc/setreuid.c: Likewise.
25954 * misc/setxattr.c: Likewise.
25955 * misc/sstk.c: Likewise.
25956 * misc/stty.c: Likewise.
25957 * misc/swapoff.c: Likewise.
25958 * misc/swapon.c: Likewise.
25959 * misc/sync.c: Likewise.
25960 * misc/syncfs.c: Likewise.
25961 * misc/syscall.c: Likewise.
25962 * misc/truncate.c: Likewise.
25963 * misc/ualarm.c: Likewise.
25964 * misc/usleep.c: Likewise.
25965 * misc/ustat.c: Likewise.
25966 * misc/utimes.c: Likewise.
25967 * misc/vhangup.c: Likewise.
25968 * misc/writev.c: Likewise.
25969 * posix/_exit.c: Likewise.
25970 * posix/alarm.c: Likewise.
25971 * posix/execve.c: Likewise.
25972 * posix/fexecve.c: Likewise.
25973 * posix/fork.c: Likewise.
25974 * posix/fpathconf.c: Likewise.
25975 * posix/getaddrinfo.c: Likewise.
25976 * posix/getegid.c: Likewise.
25977 * posix/geteuid.c: Likewise.
25978 * posix/getgid.c: Likewise.
25979 * posix/getgroups.c: Likewise.
25980 * posix/getlogin.c: Likewise.
25981 * posix/getlogin_r.c: Likewise.
25982 * posix/getpgid.c: Likewise.
25983 * posix/getpid.c: Likewise.
25984 * posix/getppid.c: Likewise.
25985 * posix/getresgid.c: Likewise.
25986 * posix/getresuid.c: Likewise.
25987 * posix/getsid.c: Likewise.
25988 * posix/getuid.c: Likewise.
25989 * posix/glob64.c: Likewise.
25990 * posix/nanosleep.c: Likewise.
25991 * posix/pathconf.c: Likewise.
25992 * posix/pause.c: Likewise.
25993 * posix/posix_madvise.c: Likewise.
25994 * posix/pread.c: Likewise.
25995 * posix/pread64.c: Likewise.
25996 * posix/pwrite.c: Likewise.
25997 * posix/pwrite64.c: Likewise.
25998 * posix/sched_getaffinity.c: Likewise.
25999 * posix/sched_getp.c: Likewise.
26000 * posix/sched_gets.c: Likewise.
26001 * posix/sched_primax.c: Likewise.
26002 * posix/sched_primin.c: Likewise.
26003 * posix/sched_rr_gi.c: Likewise.
26004 * posix/sched_setaffinity.c: Likewise.
26005 * posix/sched_setp.c: Likewise.
26006 * posix/sched_sets.c: Likewise.
26007 * posix/sched_yield.c: Likewise.
26008 * posix/setgid.c: Likewise.
26009 * posix/setlogin.c: Likewise.
26010 * posix/setpgid.c: Likewise.
26011 * posix/setresgid.c: Likewise.
26012 * posix/setresuid.c: Likewise.
26013 * posix/setsid.c: Likewise.
26014 * posix/setuid.c: Likewise.
26015 * posix/sleep.c: Likewise.
26016 * posix/spawni.c: Likewise.
26017 * posix/sysconf.c: Likewise.
26018 * posix/times.c: Likewise.
26019 * posix/wait.c: Likewise.
26020 * posix/wait3.c: Likewise.
26021 * posix/wait4.c: Likewise.
26022 * posix/waitpid.c: Likewise.
26023 * resolv/gai_sigqueue.c: Likewise.
26024 * resource/getpriority.c: Likewise.
26025 * resource/getrlimit.c: Likewise.
26026 * resource/getrusage.c: Likewise.
26027 * resource/nice.c: Likewise.
26028 * resource/setpriority.c: Likewise.
26029 * resource/setrlimit.c: Likewise.
26030 * resource/ulimit.c: Likewise.
26031 * rt/aio_cancel.c: Likewise.
26032 * rt/aio_fsync.c: Likewise.
26033 * rt/aio_read.c: Likewise.
26034 * rt/aio_sigqueue.c: Likewise.
26035 * rt/aio_suspend.c: Likewise.
26036 * rt/aio_write.c: Likewise.
26037 * rt/clock_getres.c: Likewise.
26038 * rt/clock_gettime.c: Likewise.
26039 * rt/clock_nanosleep.c: Likewise.
26040 * rt/clock_settime.c: Likewise.
26041 * rt/lio_listio.c: Likewise.
26042 * rt/mq_close.c: Likewise.
26043 * rt/mq_getattr.c: Likewise.
26044 * rt/mq_notify.c: Likewise.
26045 * rt/mq_open.c: Likewise.
26046 * rt/mq_receive.c: Likewise.
26047 * rt/mq_send.c: Likewise.
26048 * rt/mq_setattr.c: Likewise.
26049 * rt/mq_timedreceive.c: Likewise.
26050 * rt/mq_timedsend.c: Likewise.
26051 * rt/mq_unlink.c: Likewise.
26052 * rt/shm_open.c: Likewise.
26053 * rt/shm_unlink.c: Likewise.
26054 * rt/timer_create.c: Likewise.
26055 * rt/timer_delete.c: Likewise.
26056 * rt/timer_getoverr.c: Likewise.
26057 * rt/timer_gettime.c: Likewise.
26058 * rt/timer_settime.c: Likewise.
26059 * setjmp/__longjmp.c: Likewise.
26060 * setjmp/setjmp.c: Likewise.
26061 * signal/kill.c: Likewise.
26062 * signal/killpg.c: Likewise.
26063 * signal/raise.c: Likewise.
26064 * signal/sigaction.c: Likewise.
26065 * signal/sigaltstack.c: Likewise.
26066 * signal/sigblock.c: Likewise.
26067 * signal/sigignore.c: Likewise.
26068 * signal/sigintr.c: Likewise.
26069 * signal/signal.c: Likewise.
26070 * signal/sigpause.c: Likewise.
26071 * signal/sigpending.c: Likewise.
26072 * signal/sigqueue.c: Likewise.
26073 * signal/sigreturn.c: Likewise.
26074 * signal/sigset.c: Likewise.
26075 * signal/sigsetmask.c: Likewise.
26076 * signal/sigstack.c: Likewise.
26077 * signal/sigsuspend.c: Likewise.
26078 * signal/sigtimedwait.c: Likewise.
26079 * signal/sigvec.c: Likewise.
26080 * signal/sigwait.c: Likewise.
26081 * signal/sigwaitinfo.c: Likewise.
26082 * signal/sysv_signal.c: Likewise.
26083 * socket/accept.c: Likewise.
26084 * socket/accept4.c: Likewise.
26085 * socket/bind.c: Likewise.
26086 * socket/connect.c: Likewise.
26087 * socket/getpeername.c: Likewise.
26088 * socket/getsockname.c: Likewise.
26089 * socket/getsockopt.c: Likewise.
26090 * socket/isfdtype.c: Likewise.
26091 * socket/listen.c: Likewise.
26092 * socket/recv.c: Likewise.
26093 * socket/recvfrom.c: Likewise.
26094 * socket/recvmsg.c: Likewise.
26095 * socket/send.c: Likewise.
26096 * socket/sendmsg.c: Likewise.
26097 * socket/sendto.c: Likewise.
26098 * socket/setsockopt.c: Likewise.
26099 * socket/shutdown.c: Likewise.
26100 * socket/sockatmark.c: Likewise.
26101 * socket/socket.c: Likewise.
26102 * socket/socketpair.c: Likewise.
26103 * stdio-common/ctermid.c: Likewise.
26104 * stdio-common/cuserid.c: Likewise.
26105 * stdio-common/remove.c: Likewise.
26106 * stdio-common/rename.c: Likewise.
26107 * stdio-common/renameat.c: Likewise.
26108 * stdio-common/tempname.c: Likewise.
26109 * stdlib/getcontext.c: Likewise.
26110 * stdlib/makecontext.c: Likewise.
26111 * stdlib/setcontext.c: Likewise.
26112 * stdlib/swapcontext.c: Likewise.
26113 * stdlib/system.c: Likewise.
26114 * streams/fattach.c: Likewise.
26115 * streams/fdetach.c: Likewise.
26116 * streams/getmsg.c: Likewise.
26117 * streams/getpmsg.c: Likewise.
26118 * streams/putmsg.c: Likewise.
26119 * streams/putpmsg.c: Likewise.
26120 * sysdeps/unix/bsd/getpt.c: Likewise.
26121 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26122 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26123 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26126 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26127 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26128 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26129 * sysvipc/msgctl.c: Likewise.
26130 * sysvipc/msgget.c: Likewise.
26131 * sysvipc/msgrcv.c: Likewise.
26132 * sysvipc/msgsnd.c: Likewise.
26133 * sysvipc/semctl.c: Likewise.
26134 * sysvipc/semget.c: Likewise.
26135 * sysvipc/semop.c: Likewise.
26136 * sysvipc/semtimedop.c: Likewise.
26137 * sysvipc/shmat.c: Likewise.
26138 * sysvipc/shmctl.c: Likewise.
26139 * sysvipc/shmdt.c: Likewise.
26140 * sysvipc/shmget.c: Likewise.
26141 * termios/tcdrain.c: Likewise.
26142 * termios/tcflow.c: Likewise.
26143 * termios/tcflush.c: Likewise.
26144 * termios/tcgetattr.c: Likewise.
26145 * termios/tcgetpgrp.c: Likewise.
26146 * termios/tcsendbrk.c: Likewise.
26147 * termios/tcsetattr.c: Likewise.
26148 * termios/tcsetpgrp.c: Likewise.
26149 * time/adjtime.c: Likewise.
26150 * time/clock.c: Likewise.
26151 * time/getitimer.c: Likewise.
26152 * time/gettimeofday.c: Likewise.
26153 * time/setitimer.c: Likewise.
26154 * time/settimeofday.c: Likewise.
26155 * time/stime.c: Likewise.
26156 * time/time.c: Likewise.
26158 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26160 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26163 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26165 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26167 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26171 FE_TONEAREST before applying Dekker multiplication and Knuth
26172 addition. Clear inexact exceptions and check for exact zero
26173 results afterwards.
26174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26175 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26177 * math/libm-test.inc (fma_test): Add more tests.
26178 (fma_test_towardzero): Likewise.
26179 (fma_test_downward): Likewise.
26180 (fma_test_upward): Likewise.
26181 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26183 (libc_fesetround): New macro.
26184 (libc_fesetroundf): Likewise.
26185 (libc_fesetroundl): Likewise.
26186 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26188 (libc_fesetround_387): Likewise.
26189 (libc_fesetroundf): New macro.
26190 (libc_fesetround): Likewise.
26191 (libc_fesetroundl): Likewise.
26192 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26194 (libc_fesetroundf): New macro.
26195 (libc_fesetround): Likewise.
26196 (libc_fesetroundl): Likewise.
26197 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26198 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26199 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26201 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26202 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26204 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26205 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26207 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26211 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26212 integer constant usable in #if and use that to give value to enum
26214 (FE_DIVBYZERO): Likewise.
26215 (FE_UNDERFLOW): Likewise.
26216 (FE_OVERFLOW): Likewise.
26217 (FE_INVALID): Likewise.
26218 (FE_INVALID_SNAN): Likewise.
26219 (FE_INVALID_ISI): Likewise.
26220 (FE_INVALID_IDI): Likewise.
26221 (FE_INVALID_ZDZ): Likewise.
26222 (FE_INVALID_IMZ): Likewise.
26223 (FE_INVALID_COMPARE): Likewise.
26224 (FE_INVALID_SOFTWARE): Likewise.
26225 (FE_INVALID_SQRT): Likewise.
26226 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26227 (FE_TONEAREST): Likewise.
26228 (FE_TOWARDZERO): Likewise.
26229 (FE_UPWARD): Likewise.
26230 (FE_DOWNWARD): Likewise.
26231 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26232 (FE_DIVBYZERO): Likewise.
26233 (FE_OVERFLOW): Likewise.
26234 (FE_UNDERFLOW): Likewise.
26235 (FE_INEXACT): Likewise.
26236 (FE_TONEAREST): Likewise.
26237 (FE_DOWNWARD): Likewise.
26238 (FE_UPWARD): Likewise.
26239 (FE_TOWARDZERO): Likewise.
26240 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26241 (FE_UNDERFLOW): Likewise.
26242 (FE_OVERFLOW): Likewise.
26243 (FE_DIVBYZERO): Likewise.
26244 (FE_INVALID): Likewise.
26245 (FE_TONEAREST): Likewise.
26246 (FE_TOWARDZERO): Likewise.
26247 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26248 (FE_OVERFLOW): Likewise.
26249 (FE_UNDERFLOW): Likewise.
26250 (FE_DIVBYZERO): Likewise.
26251 (FE_INEXACT): Likewise.
26252 (FE_TONEAREST): Likewise.
26253 (FE_TOWARDZERO): Likewise.
26254 (FE_UPWARD): Likewise.
26255 (FE_DOWNWARD): Likewise.
26256 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26257 (FE_DIVBYZERO): Likewise.
26258 (FE_OVERFLOW): Likewise.
26259 (FE_UNDERFLOW): Likewise.
26260 (FE_INEXACT): Likewise.
26261 (FE_TONEAREST): Likewise.
26262 (FE_DOWNWARD): Likewise.
26263 (FE_UPWARD): Likewise.
26264 (FE_TOWARDZERO): Likewise.
26266 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26268 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26270 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26272 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26273 commands. Quote $PWD.
26274 (blacklist_exports): Don't use remove_newlines. Replace "declare
26276 (remove_newlines): Remove.
26278 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26280 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26281 * stdlib/stdlib.h (atof): Moved to ...
26282 * include/bits/stdlib-float.h: Here. New file.
26283 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26284 * stdlib/bits/stdlib-float.h: New file.
26285 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26287 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26290 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26292 * conform/conformtest.pl (@headers): Add fenv.h.
26293 * conform/data/fenv.h-data: New file.
26294 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26295 include of <math/fenv.h>.
26297 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26298 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26299 && !UNIX98]. Enables tests for XOPEN2K8.
26300 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26301 POSIX2008]: Likewise.
26303 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26304 (struct rusage): Do not expect type or its members.
26307 * math/math.h (FP_NAN): Define macro to integer constant usable in
26308 #if and use that to give value to enum constant.
26309 (FP_INFINITE): Likewise.
26310 (FP_ZERO): Likewise.
26311 (FP_SUBNORMAL): Likewise.
26312 (FP_NORMAL): Likewise.
26314 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26316 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26317 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26320 2012-11-02 Roland McGrath <roland@hack.frob.com>
26322 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26323 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26324 autoconf-time if not.
26325 * configure.in: Remove AC_PREREQ.
26327 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26329 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26330 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26331 of the internal implementation.
26333 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26335 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26336 except include of <misc/sys/syslog.h>.
26338 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26341 function returns with a NULL context exit with zero.
26343 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26345 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26347 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26349 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26350 (run_program_cmd): This.
26351 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26352 (tst_langinfo): New variable. Use it.
26354 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26356 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26357 floating point opcodes.
26359 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26361 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26364 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26366 * sysdeps/mach/hurd/powerpc: Remove directory.
26367 * sysdeps/mach/powerpc: Likewise.
26369 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26371 * scripts/check-local-headers.sh: Ignore c++ headers.
26373 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26375 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26376 __libc_cleanup_region_start argument.
26378 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26383 x * y using scaling, not as x * y + z.
26384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26386 * math/libm-test.inc (fma_test): Add more tests.
26387 (fma_test_towardzero): Likewise.
26388 (fma_test_downward): Likewise.
26389 (fma_test_upward): Likewise.
26391 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26393 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26395 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26397 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26400 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26402 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26404 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26411 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26414 Fix the order of the list for glibc 2.17.
26415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26418 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26422 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26426 for low part of x being zero before using __atanl (y).
26427 * math/libm-test.inc (atan2_test): Add another test.
26429 * manual/install.texi (Configuring and compiling): Document
26430 general use of test-wrapper and test-wrapper-env.
26431 * INSTALL: Regenerated.
26433 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26434 (__fma): Do not extract and scale down low bits on after-rounding
26435 systems when result rounded to normal precision would have normal
26437 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26438 (__fmal): Do not extract and scale down low bits on after-rounding
26439 systems when result rounded to normal precision would have normal
26441 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26442 (__fmal): Do not extract and scale down low bits on after-rounding
26443 systems when result rounded to normal precision would have normal
26445 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26447 (fma_test): Add more tests.
26448 (fma_test_towardzero): Likewise.
26449 (fma_test_downward): Likewise.
26450 (fma_test_upward): Likewise.
26452 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26454 * sysdeps/i386/tininess.h: Renamed to ...
26455 * sysdeps/x86/tininess.h: This.
26456 * sysdeps/x86_64/tininess.h: Removed.
26458 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26460 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26461 input. Use $(build-program-cmd).
26462 ($(objpfx)tst-array1-static.out): Likewise.
26463 ($(objpfx)tst-array2.out): Likewise.
26464 ($(objpfx)tst-array3.out): Likewise.
26465 ($(objpfx)tst-array4.out): Likewise.
26466 ($(objpfx)tst-array5.out): Likewise.
26467 ($(objpfx)tst-array5-static.out): Likewise.
26469 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26471 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26474 * nss/nsswitch.h (nss_interface_function): Provide new
26475 macro for use with NSS functions.
26476 * grp/initgroups.c: Use new macro.
26477 * nss/getXXbyYY.c: Likewise.
26478 * nss/getXXbyYY_r.c: Likewise.
26479 * nss/getXXent.c: Likewise.
26480 * nss/getXXent_r.c: Likewise.
26481 * sysdeps/posix/getaddrinfo.c: Likewise.
26483 2012-10-30 Andreas Jaeger <aj@suse.de>
26485 * po/ru.po: Update Russion translation from translation project.
26487 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26492 result and shift together with sticky bit instead of replicating
26493 round-to-nearest rounding.
26494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26496 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26497 missing underflow exceptions.
26498 (fma_test_towardzero): Add more tests.
26499 (fma_test_downward): Likewise.
26500 (fma_test_upward): Likewise.
26503 * sysdeps/generic/tininess.h: New file.
26504 * sysdeps/i386/tininess.h: Likewise.
26505 * sysdeps/sh/tininess.h: Likewise.
26506 * sysdeps/x86_64/tininess.h: Likewise.
26507 * stdlib/tst-strtod-underflow.c: Likewise.
26508 * stdlib/tst-tininess.c: Likewise.
26509 * stdlib/strtod_l.c: Include <tininess.h>.
26510 (round_and_return): Do not set errno for exact underflow cases.
26511 Force an underflow exception when setting errno for underflow.
26512 Determine underflow based on rounding to normal precision if
26513 TININESS_AFTER_ROUNDING.
26514 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26515 ERANGE for exact underflow cases.
26516 * stdlib/Makefile (tests): Add tst-tininess and
26517 tst-strtod-underflow.
26518 ($(objpfx)tst-tininess): Use $(link-libm).
26519 ($(objpfx)tst-strtod-underflow): Likewise.
26521 2012-10-30 Andreas Jaeger <aj@suse.de>
26524 * elf/Makefile (tests): Remove conditional for have-initfini-array
26525 since this is now always required and the variable does not exist
26527 (tests-static): Likewise.
26528 (modules-names): Likewise.
26530 * po/eo.po: Add Esperanto translation from translation project.
26532 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26533 merged with constructor/destructor.
26534 (init_array): Likewise.
26535 * elf/tst-array2dep.c (fini_array): Likewise.
26536 (init_array): Likewise.
26538 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26540 * manual/message.texi: Delete @cartouche tags.
26542 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26544 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26546 * sysdeps/mach/hurd/fsync.c: Likewise.
26548 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26549 [_POSIX_REALTIME_SIGNALS]: Change condition to
26550 [_POSIX_REALTIME_SIGNALS > 0].
26552 2012-10-27 Andreas Jaeger <aj@suse.de>
26554 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26555 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26557 [__WORDSIZE != 64]: Likewise.
26559 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26561 * iconvdata/tst-table.sh: Remove ${SHELL}.
26562 * iconvdata/tst-tables.sh: Likewise.
26564 2012-10-25 David S. Miller <davem@davemloft.net>
26566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26567 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26573 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26574 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26577 2012-10-25 Roland McGrath <roland@hack.frob.com>
26579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26580 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26583 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26584 Jim Blandy <jimb@codesourcery.com>
26586 * scripts/cross-test-ssh.sh: New file.
26587 * manual/install.texi (Configuring and compiling): Document use of
26589 * INSTALL: Regenerated.
26591 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26593 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26596 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26598 * Makeconfig (run-program-prefix): Fix comment.
26600 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26601 Jim Blandy <jimb@codesourcery.com>
26603 * Makeconfig (test-wrapper): New variable,
26604 (test-wrapper-env): Likewise.
26605 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26606 (run-built-tests): Define to yes.
26607 (run-program-prefix): Use $(test-wrapper).
26608 (built-program-cmd): Likewise.
26609 * Rules (make-test-out): Use $(test-wrapper-env) and
26610 $(host-built-program-cmd).
26611 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26612 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26614 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26615 $(test-wrapper-env) to tst-rtld-load-self.sh.
26616 ($(objpfx)order2.out): Use $(test-wrapper).
26617 ($(objpfx)tst-initorder.out): Likewise.
26618 ($(objpfx)tst-initorder2.out): Likewise.
26619 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26620 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26621 (test_wrapper_env): New variable. Use it to run ld.so.
26622 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26623 Use it to run ld.so.
26624 (test_wrapper_env): Likewise.
26625 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26626 $(test-wrapper) to run-iconv-test.sh.
26627 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26628 (ICONV): Use $test_wrapper.
26629 * posix/Makefile ($(objpfx)globtest.out): Pass
26630 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26631 globtest.sh, not $(run-program-prefix).
26632 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26633 (test_wrapper): Likewise.
26634 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26635 set together with run_via_rtld_prefix.
26636 (run_program_prefix): Define in terms of test_wrapper and
26637 run_via_rtld_prefix.
26639 2012-10-24 Roland McGrath <roland@hack.frob.com>
26641 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26642 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26646 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26647 Declare __clock_getres, __clock_gettime, __clock_settime,
26648 __clock_nanosleep, and __clock_getcpuclockid.
26649 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26650 Remove librt_hidden_def (clock_gettime).
26651 * sysdeps/unix/clock_gettime.c: Likewise.
26652 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26653 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26654 * rt/clock_getres.c: Define __clock_getres as an alias.
26655 * sysdeps/posix/clock_getres.c: Likewise.
26656 * rt/clock_settime.c: Define __clock_settime as an alias.
26657 * sysdeps/unix/clock_settime.c: Likewise.
26658 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26659 * sysdeps/unix/clock_nanosleep.c: Likewise.
26660 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26661 * rt/clock-compat.c: New file.
26662 * rt/Makefile (librt-routines): Add clock-compat and move
26663 $(clock-routines) to ...
26664 (routines): ... here, new variable.
26665 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26666 Don't add get_clockfreq here.
26667 * rt/Versions (libc: GLIBC_2.17): New version set.
26668 Add clock_* symbols here.
26669 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26671 (GLIBC_2.17): Add clock_* symbols.
26672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26683 * NEWS: Mention the move.
26685 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26686 Use __open, __read, __close rather than their public counterparts.
26687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26688 (__get_clockfreq_via_cpuinfo): Likewise.
26689 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26690 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26692 * config.h.in (HAVE_IFUNC): New #undef.
26693 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26695 * configure: Regenerated.
26697 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26699 * configure.in: Move READELF check to start of file.
26700 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26701 libc_cv_asm_gnu_indirect_function in the process.
26702 * configure: Regenerated.
26704 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26706 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26707 send the output to /dev/null.
26708 (libc_cv_cc_with_libunwind): Likewise.
26709 (libc_cv_as_noexecstack): Likewise.
26710 * configure: Regenerate.
26712 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26714 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26716 * posix/globtest.sh (TMPDIR): Do not set.
26717 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26718 (testout): Likewise.
26720 2012-10-24 Andreas Jaeger <aj@suse.de>
26722 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26723 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26724 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26725 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26726 posix_fadvise64, posix_fallocate64.
26728 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26729 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26730 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26732 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26734 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26737 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26738 <bits/fcntl-linux.h>.
26739 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26742 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26743 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26744 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26745 [__WORDSIZE != 64]: Likewise.
26747 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26749 * Makeconfig (run-built-tests): New variable.
26750 * Rules [$(cross-compiling) = yes]: Change condition to
26751 [$(run-built-tests) = no].
26752 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26753 to [$(run-built-tests) = yes].
26754 * elf/Makefile [$(cross-compiling) = no]: Likewise
26755 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26756 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26757 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26758 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26759 * io/Makefile [$(cross-compiling) = no]: Likewise.
26760 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26761 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26762 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26763 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26764 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26765 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26766 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26767 * string/Makefile [$(cross-compiling) = no]: Likewise.
26769 * posix/Makefile ($(objpfx)globtest.out): Pass
26770 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26771 $(rtld-installed-name).
26772 * posix/globtest.sh (elf_objpfx): Remove variable.
26773 (rtld_installed_name): Likewise.
26774 (library_path): Likewise.
26775 (run_program_prefix): New variable. Use for running globtest
26778 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26779 Joseph Myers <joseph@codesourcery.com>
26781 * Makeconfig (host-built-program-cmd): New variable.
26782 * elf/Makefile (tst-stackguard1-ARGS): Use
26783 $(host-built-program-cmd).
26784 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26785 (tst-spawn-ARGS): Likewise.
26786 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26788 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26789 Jim Blandy <jimb@codesourcery.com>
26791 * Makeconfig (run-via-rtld-prefix): New variable.
26792 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26793 (built-program-cmd): Likewise.
26795 2012-10-22 Andreas Jaeger <aj@suse.de>
26797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26798 __O_RSYNC if it exists, otherwise to O_SYNC.
26800 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26801 Joseph Myers <joseph@codesourcery.com>
26803 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26805 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26807 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26810 2012-10-22 Andreas Jaeger <aj@suse.de>
26812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26817 bits/fcntl-linux.h.
26819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26820 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26827 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26828 Joseph Myers <joseph@codesourcery.com>
26830 * config.make.in (NM): New variable.
26832 2012-10-21 Andreas Jaeger <aj@suse.de>
26834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26835 definitions and declarations that are provided by
26836 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26838 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26841 * elf/Makefile (tests-static): Add tst-leaks1-static.
26842 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26843 ($(objpfx)tst-leaks1-static): New rule.
26844 ($(objpfx)tst-leaks1-static-mem): Likewise.
26845 (tst-leaks1-static-ENV): New macro.
26846 * elf/dl-open.c (dl_open_worker): Check the main application
26847 only if SHARED is defined.
26848 * elf/tst-leaks1-static.c: New file.
26850 2012-10-20 Andreas Jaeger <aj@suse.de>
26852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26853 generic values for Linux.
26854 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26855 and declarations that are provided by <bits/fcntl-linux.h> and
26856 include <bits/fcntl-linux.h>.
26857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26860 2012-10-20 Roland McGrath <roland@hack.frob.com>
26862 * io/fcntl.h: Move include of <bits/types.h> to the top and
26863 include it unconditionally.
26865 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26867 * wcsmbs/Makefile (tests-ifunc): New variable.
26868 (tests): Add $(tests-ifunc).
26869 * wcsmbs/test-wcschr-ifunc.c: New file.
26870 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26871 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26872 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26873 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26874 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26876 * string/Makefile (tests-ifunc): New variable.
26877 (tests): Add $(tests-ifunc).
26878 * string/test-memccpy.c (TEST_NAME): New macro.
26879 * string/test-memchr.c (TEST_NAME): Likewise.
26880 * string/test-memcmp.c (TEST_NAME): Likewise.
26881 * string/test-memcpy.c (TEST_NAME): Likewise.
26882 * string/test-memmem.c (TEST_NAME): Likewise.
26883 * string/test-memmove.c (TEST_NAME): Likewise.
26884 * string/test-memset.c (TEST_NAME): Likewise.
26885 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26886 * string/test-stpcpy.c (TEST_NAME): Likewise.
26887 * string/test-stpncpy.c (TEST_NAME): Likewise.
26888 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26889 * string/test-strcasestr.c (TEST_NAME): Likewise.
26890 * string/test-strcat.c (TEST_NAME): Likewise.
26891 * string/test-strchr.c (TEST_NAME): Likewise.
26892 * string/test-strcmp.c(TEST_NAME): Likewise.
26893 * string/test-strcpy.c (TEST_NAME): Likewise.
26894 * string/test-strcspn.c (TEST_NAME): Likewise.
26895 * string/test-strlen.c (TEST_NAME): Likewise.
26896 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26897 * string/test-strncmp.c (TEST_NAME): Likewise.
26898 * string/test-strncpy.c (TEST_NAME): Likewise.
26899 * string/test-strnlen.c (TEST_NAME): Likewise.
26900 * string/test-strpbrk.c (TEST_NAME): Likewise.
26901 * string/test-strrchr.c (TEST_NAME): Likewise.
26902 * string/test-strspn.c (TEST_NAME): Likewise.
26903 * string/test-strstr.c (TEST_NAME): Likewise.
26904 * string/test-bcopy-ifunc.c: New file.
26905 * string/test-bzero-ifunc.c: Likewise.
26906 * string/test-memccpy-ifunc.c: Likewise.
26907 * string/test-memchr-ifunc.c: Likewise.
26908 * string/test-memcmp-ifunc.c: Likewise.
26909 * string/test-memcpy-ifunc.c: Likewise.
26910 * string/test-memmem-ifunc.c: Likewise.
26911 * string/test-memmove-ifunc.c: Likewise.
26912 * string/test-mempcpy-ifunc.c: Likewise.
26913 * string/test-memset-ifunc.c: Likewise.
26914 * string/test-rawmemchr-ifunc.c: Likewise.
26915 * string/test-stpcpy-ifunc.c: Likewise.
26916 * string/test-stpncpy-ifunc.c: Likewise.
26917 * string/test-strcasecmp-ifunc.c: Likewise.
26918 * string/test-strcasestr-ifunc.c: Likewise.
26919 * string/test-strcat-ifunc.c: Likewise.
26920 * string/test-strchr-ifunc.c: Likewise.
26921 * string/test-strchrnul-ifunc.c: Likewise.
26922 * string/test-strcmp-ifunc.c: Likewise.
26923 * string/test-strcpy-ifunc.c: Likewise.
26924 * string/test-strcspn-ifunc.c: Likewise.
26925 * string/test-strlen-ifunc.c: Likewise.
26926 * string/test-strncasecmp-ifunc.c: Likewise.
26927 * string/test-strncat-ifunc.c: Likewise.
26928 * string/test-strncmp-ifunc.c: Likewise.
26929 * string/test-strncpy-ifunc.c: Likewise.
26930 * string/test-strnlen-ifunc.c: Likewise.
26931 * string/test-strpbrk-ifunc.c: Likewise.
26932 * string/test-strrchr-ifunc.c: Likewise.
26933 * string/test-strspn-ifunc.c: Likewise.
26934 * string/test-strstr-ifunc.c: Likewise.
26936 * debug/Makefile (tests-ifunc): New variable.
26937 (tests): Add $(tests-ifunc).
26938 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26939 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26940 * debug/test-stpcpy_chk-ifunc.c: New file.
26941 * debug/test-strcpy_chk-ifunc.c: Likewise.
26943 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26946 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26947 header is not read in.
26949 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26951 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26952 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26953 directly. Pass built executable to script as
26954 $(built-program-cmd).
26955 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26956 $testprogram without using LD_LIBRARY_PATH and $ldso.
26958 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26959 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26960 $(rtld-installed-name).
26961 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26962 (rtld_installed_name): Likewise.
26963 (library_path): Likewise.
26964 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26965 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26966 $(run-program-prefix) to tst-tables.sh.
26967 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26968 it to run tst-table-from and tst-table-to.
26969 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26970 Pass it to tst-table.sh.
26971 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26972 $(run-program-prefix) to tst-gettext.sh.
26973 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26975 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26977 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26978 to run tst-gettext.
26979 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26980 to run tst-gettext2.
26981 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26982 to run tst-translit.
26983 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26984 $(run-program-prefix) to tst-mtrace.sh.
26985 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26987 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26988 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26989 $(rtld-installed-name).
26990 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26991 (rtld_installed_name): Likewise.
26992 (run_program_prefix): New variable. Use it to run wordexp-test.
26994 * Makeconfig (ARCH): Remove all definitions.
26995 (machine): Likewise.
26996 [ARCH]: Remove conditional code.
26997 [!objdir]: Give error.
26998 [!objdir] (objpfx): Remove.
26999 [!objdir] (common-objpfx): Likewise.
27000 [!objdir] (common-objdir): Likewise.
27001 * configure.in (config_makefile): Remove. Hardcode Makefile in
27002 AC_CONFIG_FILES call.
27003 * configure: Regenerated.
27006 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27008 (testout): Likewise.
27010 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27011 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27012 $(rtld-installed-name).
27013 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27014 (rtld_installed_name): Likwise.
27015 (runit): Remove function.
27016 (run_getconf): New variable, Use it for running getconf binary.
27018 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27021 * string/test-memmem.c (check_result): New function.
27022 (do_one_test): Use it.
27023 (check1): New function.
27024 (test_main): Use it.
27026 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27028 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27030 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27032 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27033 (_G_LSEEK64): Likewise.
27034 (_G_MMAP64): Likewise.
27035 (_G_FSTAT64): Likewise.
27036 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27037 (_G_LSEEK64): Likewise.
27038 (_G_MMAP64): Likewise.
27039 (_G_FSTAT64): Likewise.
27040 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27041 unconditional. Call __mmap64 directly.
27042 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27043 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27044 __lseek64 directly.
27045 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27046 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27048 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27049 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27050 __lseek64 directly.
27051 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27052 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27053 __lseek64 directly.
27054 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27055 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27056 __lseek64 directly.
27057 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27058 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27059 __fxstat64 directly.
27060 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27061 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27063 (freopen64) [!_G_OPEN64]: Remove conditional code.
27064 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27066 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27067 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27069 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27070 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27072 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27073 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27075 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27076 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27078 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27079 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27081 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27082 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27084 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27086 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27089 * manual/memory.texi (Malloc Tunable Parameters): Add note
27090 about free list pointers overwriting some perturb bytes.
27091 Wording suggested by Roland McGrath.
27093 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27095 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27096 (lgamma_test): Likewise.
27097 (tgamma_test): Likewise.
27099 2012-10-16 Florian Weimer <fweimer@redhat.com>
27102 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27103 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27105 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27107 * NEWS: Mention BZ #14716.
27108 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27109 when removing AVAILABLE1_USES_J macro.
27111 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27113 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27114 (__bswap_64): __uint64_t for unsigned 64-bit int.
27116 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27118 * include/string.h (memmem): Declare libc hidden alias.
27119 * string/memmem.c (memmem): Define libc hidden alias.
27120 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27121 __read, __close instead of open, read, close.
27123 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27126 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27128 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27129 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27130 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27132 (__rawmemchr_sse2): Likewise.
27133 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27134 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27135 (__strchr_sse2): Likewise.
27136 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27137 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27138 (__strcasecmp_sse2): Likewise.
27139 (__strncasecmp_sse2): Likewise.
27140 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27141 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27142 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27143 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27144 (__strrchr_sse2): Likewise.
27145 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27147 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27148 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27149 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27150 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27151 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27152 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27153 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27154 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27155 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27156 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27157 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27158 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27159 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27160 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27161 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27162 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27163 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27164 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27165 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27166 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27167 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27168 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27169 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27170 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27171 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27172 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27173 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27174 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27175 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27176 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27178 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27180 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27181 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27182 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27183 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27185 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27187 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27188 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27189 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27190 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27192 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27193 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27194 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27195 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27196 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27197 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27198 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27199 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27200 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27201 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27205 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27206 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27207 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27208 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27209 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27210 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27211 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27217 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27218 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27219 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27220 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27222 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27225 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27226 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27227 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27228 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27229 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27230 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27231 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27232 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27234 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27235 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27236 * include/ifunc-impl-list.h: New file.
27237 * misc/ifunc-impl-list.c: Likewise.
27238 * misc/Makefile (routines): Add ifunc-impl-list.
27239 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27240 * string/test-string.h: Include <ifunc-impl-list.h>.
27241 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27242 TEST_NAME]: New variables.
27243 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27245 (test_init): Call __libc_ifunc_impl_list to initialize
27246 func_list if TEST_IFUNC and TEST_NAME are defined.
27248 * string/Makefile (strop-tests): Add bcopy and bzero.
27249 * string/test-bcopy.c: New file.
27250 * string/test-bzero.c: Likewise.
27251 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27253 * string/test-memset.c: Support bzero test if TEST_BZERO is
27255 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27257 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27259 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27262 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27264 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27265 * configure: Regenerated.
27267 * Makeconfig (+link-static-before-libc): Don't include
27268 $(link-static-libc).
27270 * libio/libio.h (_IO_pos_t): Remove.
27272 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27274 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27277 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27279 * crypt/crypt-entry.c: Include fips-private.h.
27280 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27281 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27282 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27283 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27285 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27287 * crypt/crypt-private.h: Include stdbool.h.
27288 (_ufc_setup_salt_r): Return bool.
27289 * crypt/crypt-entry.c: Include errno.h.
27290 (__crypt_r): Return NULL with EINVAL for bad salt.
27291 * crypt/crypt_util.c (bad_for_salt): New.
27292 (_ufc_setup_salt_r): Check that salt is long enough and within
27293 the specified alphabet.
27294 * crypt/badsalttest.c: New file.
27295 * crypt/Makefile (tests): Add it.
27296 ($(objpfx)badsalttest): New.
27298 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27300 * NEWS: Add entry for BZ #14602.
27302 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27304 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27306 * math/libm-test.inc: Update comment listing what functions and
27308 (isgreater_test): New function.
27309 (isgreaterequal_test): Likewise.
27310 (isless_test): Likewise.
27311 (islessequal_test): Likewise.
27312 (islessgreater_test): Likewise.
27313 (isunordered_test): Likewise.
27314 (main): Call the new functions.
27316 2012-10-09 Roland McGrath <roland@hack.frob.com>
27318 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27319 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27320 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27321 * sysdeps/i386/configure: Regenerated.
27322 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27323 * sysdeps/mach/configure: Regenerated.
27324 * sysdeps/mach/hurd/configure: Regenerated.
27325 * sysdeps/powerpc/configure: Regenerated.
27326 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27327 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27328 * sysdeps/s390/s390-32/configure: Regenerated.
27329 * sysdeps/s390/s390-64/configure: Regenerated.
27330 * sysdeps/sh/configure: Regenerated.
27331 * sysdeps/sparc/configure: Regenerated.
27332 * sysdeps/unix/sysv/linux/configure: Regenerated.
27333 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27334 * sysdeps/x86_64/configure: Regenerated.
27336 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27337 defined. Don't check if MAP is NULL.
27339 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27341 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27342 (_G_stat64): Likewise.
27343 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27344 (_G_stat64): Likewise.
27345 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27346 instead of struct _G_stat64.
27347 * libio/fileops.c (mmap_remap_check): Likewise.
27348 (decide_maybe_mmap): Likewise.
27349 (_IO_new_file_seekoff): Likewise.
27350 (_IO_file_stat): Likewise.
27351 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27353 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27354 instead of struct _G_stat64.
27355 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27357 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27360 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27362 (CHECK_EOL): New macro.
27363 (two_way_short_needle): Check beginning of haystack for EOL. Use
27365 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27366 Replace with CHECK_EOL.
27367 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27368 Replace with CHECK_EOL.
27370 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27372 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27374 * math/libm-test.inc: Update comment listing what functions and
27376 (finite_test): New function.
27377 (isinf_test): Likewise.
27378 (isnan_test): Likewise.
27379 (fpclassify_test): Test subnormal input.
27380 (isfinite_test): Likewise.
27381 (isnormal_test): Likewise.
27382 (main): Call the new functions.
27384 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27387 * Makerules (%.dynsym): Force C locale when running
27388 $(OBJDUMP) --dynamic-syms.
27390 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27392 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27395 2012-10-06 David S. Miller <davem@davemloft.net>
27397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27398 upper 32-bits of the length value in %o2 since we use branch-on-register
27399 tests which consider the entire 64-bit register.
27401 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27403 * string/test-strstr.c (check2): Add a test for page boundary.
27405 2012-10-05 David S. Miller <davem@davemloft.net>
27407 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27413 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27414 and bzero when HWCAP_SPARC_CRYPTO is present.
27416 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27419 * string/test-strstr.c (check2): New function.
27420 (test_main): Call check2.
27422 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27424 * string/bug-strcasestr1.c (do_test): Moved to ...
27425 * string/test-strcasestr.c (check1): Here. New function.
27426 (do_one_test): Break out result checking code into ...
27427 (check_result): This. New function.
27428 (do_one_test): Call check_result.
27429 (test_main): Call check1.
27430 * string/bug-strchr1.c (do_test): Moved to ...
27431 * string/test-strchr.c (check1): Here. New function.
27432 (do_one_test): Break out result checking code into ...
27433 (check_result): This. New function.
27434 (do_one_test): Call check_result.
27435 (test_main): Call check1.
27436 * string/bug-strstr1.c (main): Moved to ...
27437 * string/test-strstr.c (check1): Here. New function.
27438 (do_one_test): Break out result checking code into ...
27439 (check_result): This. New function.
27440 (do_one_test): Call check_result.
27441 (test_main): Call check1.
27442 * string/bug-strcasestr1.c: Removed.
27443 * string/bug-strchr1.c: Likewise.
27444 * string/bug-strstr1.c: Likewise.
27446 * elf/Makefile (dl-routines): Add hwcaps.
27447 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27448 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27449 (_dl_important_hwcaps): Moved to ...
27450 * elf/dl-hwcaps.c: Here. New file.
27451 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27454 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27455 if IS_IN_rtld isn't defined.
27457 * elf/dl-support.c (_dl_sysinfo_map): New.
27458 Include "get-dynamic-info.h" and "setup-vdso.h".
27459 (_dl_non_dynamic_init): Call setup_vdso.
27460 * elf/dynamic-link.h: Don't include <assert.h>.
27461 (elf_get_dynamic_info): Moved to ...
27462 * elf/get-dynamic-info.h: Here. New file.
27463 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27464 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27465 * elf/setup-vdso.h: Here. New file.
27466 * elf/rtld.c: Include "setup-vdso.h".
27467 (dl_main): Call setup_vdso.
27469 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27471 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27472 creal in comment listing functions tested. List finite, isinf,
27473 isnan, isless, islessequal, isgreater, isgreaterequal,
27474 islessgreater, isunordered, lgamma_r and pow10 as functions and
27475 macros not tested. Mention which functions not tested are aliases
27476 for other functions. Fix typo. Note that signs of NaNs are not
27479 * scripts/config.guess: Update from config.git.
27480 * scripts/config.sub: Likewise.
27482 2012-10-04 Roland McGrath <roland@hack.frob.com>
27484 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27485 * misc/madvise.c (madvise): Renamed to __madvise.
27486 Make madvise a weak alias.
27487 * include/sys/mman.h: Declare __madvise.
27488 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27489 * sysdeps/unix/syscalls.list
27490 (madvise): Make __madvise the strong name, and madvise a weak alias.
27491 * sysdeps/unix/sysv/linux/syscalls.list
27492 (madvise, mmap): Remove redundant entries.
27493 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27494 * malloc/malloc.c (mtrim): Likewise.
27495 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27497 2012-10-03 Roland McGrath <roland@hack.frob.com>
27499 * sysdeps/mach/hurd/dl-cache.c: File removed.
27500 * config.h.in (USE_LDCONFIG): New #undef.
27501 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27502 * configure: Regenerated.
27503 * elf/Makefile (dl-routines): Add dl-cache only under
27504 [$(use-ldconfig) = yes].
27505 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27506 cache on [USE_LDCONFIG].
27507 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27509 * elf/rtld.c (dl_main): Likewise.
27511 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27513 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27514 _SC_LEVEL4_CACHE_LINESIZE.
27516 2012-10-03 Roland McGrath <roland@hack.frob.com>
27518 * sysdeps/unix/bsd/confstr.h: File removed.
27520 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27522 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27525 2012-10-02 Roland McGrath <roland@hack.frob.com>
27527 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27528 Make 'mapoff' field ElfW(Off) rather than off_t.
27530 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27532 * nscd/Makefile: Remove nscd-cflags and all its users.
27533 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27534 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27537 * malloc.c (malloc_printerr): Clarify error message.
27539 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27543 Set bit_FMA_Usable if FMA is supported.
27544 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27546 (bit_FMA4_Usable): Updated.
27547 (index_FMA_Usable): New macro.
27548 (CPUID_FMA): Likewise
27549 (HAS_FMA): Defined with bit_FMA_Usable.
27551 2012-10-01 Roland McGrath <roland@hack.frob.com>
27553 * bits/types.h (__swblk_t): Type removed.
27554 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27555 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27557 (__SWBLK_T_TYPE): Likewise.
27558 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27559 (__SWBLK_T_TYPE): Likewise.
27560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27561 (__SWBLK_T_TYPE): Likewise.
27562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27563 (__SWBLK_T_TYPE): Likewise.
27565 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27566 Honza Horak <hhorak@redhat.com>
27568 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27569 (xdr_mapname): Use YPMAXMAP as maxsize.
27570 (xdr_peername): Use YPMAXPEER as maxsize.
27571 (xdr_keydat): Use YPAXRECORD as maxsize.
27572 (xdr_valdat): Use YPMAXRECORD as maxsize.
27574 2012-10-01 Roland McGrath <roland@hack.frob.com>
27576 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27578 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27579 * csu/init-first.c: ... here.
27580 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27581 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27582 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27583 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27584 * sysdeps/i386/init-first.c: File removed.
27585 * sysdeps/sh/init-first.c: File removed.
27587 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27591 if x * y might underflow to zero and z is zero.
27592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27594 * math/libm-test.inc (min_subnorm_value): New variable.
27595 (fma_test): Add more tests.
27596 (fma_test_towardzero): Likewise.
27597 (fma_test_downward): Likewise
27598 (fma_test_upward): Likewise.
27599 (initialize): Set min_subnorm_value.
27601 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27607 mode for addition resulting in exact zero.
27608 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27612 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27613 * math/libm-test.inc (fma_test): Add more tests.
27614 (fma_test_towardzero): New function.
27615 (fma_test_downward): Likewise.
27616 (fma_test_upward): Likewise.
27617 (main): Call the new functions.
27619 2012-09-28 David S. Miller <davem@davemloft.net>
27621 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27623 2012-09-28 Roland McGrath <roland@hack.frob.com>
27625 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27626 instead of SIGALRM.
27628 * sysdeps/gnu/_G_config.h: Moved to ...
27629 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27630 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27631 * sysdeps/generic/_G_config.h: ... here.
27633 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27635 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27637 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27638 Conditionalize target on [libnss_test1.so-version].
27640 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27642 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27643 (elfobjdir): Move out of conditionals.
27645 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27646 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27647 (__nss_lookup_function): Conditionalize label remove_from_tree on
27648 [!DO_STATIC_NSS || SHARED], matching its only use.
27650 2012-09-28 David S. Miller <davem@davemloft.net>
27652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27653 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27655 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27657 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27659 when HWCAP_SPARC_CRYPTO is present.
27661 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27663 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27665 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27668 * stdio-common/vfprintf.c (process_string_arg): Revert
27671 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27673 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27675 * stdio-common/tst-sprintf.c: Include <locale.h>
27676 (main): Test sprintf's handling of incomplete multibyte
27679 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27681 * elf/dl-runtime.c (VERSYMIDX): Removed.
27682 * elf/dl-version.c (VERSYMIDX): Likewise.
27683 * elf/do-rel.h (VERSYMIDX): Likewise.
27684 (VALIDX): Likewise.
27685 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27686 * elf/rtld.c (VALIDX): Likewise.
27687 (ADDRIDX): Likewise.
27688 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27689 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27690 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27691 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27692 (VALIDX): Likewise.
27693 (ADDRIDX): Likewise.
27695 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27697 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27699 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27702 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27704 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27705 addresses are in the same scope as 192.0.2/24.
27706 * posix/gai.conf: Document new scope table defaults.
27708 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27711 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27712 for ftell. Compute offsets from write pointers instead.
27713 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27715 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27718 * libio/Makefile (tests): New test case tst-fseek.
27719 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27720 combination works in wide mode.
27721 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27722 state when the external buffer state changes.
27724 2012-09-27 David S. Miller <davem@davemloft.net>
27727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27728 pass reloc->r_addend in as the 'high' argument to
27729 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27733 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27735 * rt/tst-aio2.c: Include <pthread.h>.
27736 * rt/tst-aio3.c: Likewise.
27738 2012-09-27 Steve Ellcey <sellcey@mips.com>
27740 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27742 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27744 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27745 contents on [SHARED].
27747 2012-09-26 Marek Polacek <polacek@redhat.com>
27751 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27752 for C++ and GCC <4.3 as well as for non GCC compilers.
27754 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27758 2012-09-25 Roland McGrath <roland@hack.frob.com>
27760 * Makefile.in (all, install): Declare with .PHONY.
27761 Reported by Michael Hope <michael.hope@linaro.org>.
27763 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27765 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27766 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27768 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27770 (sydep_routines): Add the new and the internal functions.
27771 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27772 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27774 (GLIBC_2.17): Add the new function.
27775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27776 (GLIBC_2.17): Likewise.
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27778 (GLIBC_2.17): Likewise.
27779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27780 (GLIBC_2.17): Likewise.
27781 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27783 2012-09-25 Alan Modra <amodra@gmail.com>
27785 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27786 Add release barrier before setting once_control to say
27787 initialisation is done. Add hints on lwarx. Use macro in
27789 (clear_once_control): Add release barrier.
27791 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27794 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27796 * math/s_clog10.c (__clog10): Likewise.
27797 * math/s_clog10f.c (__clog10f): Likewise.
27798 * math/s_clog10l.c (__clog10l): Likewise.
27799 * math/s_clogf.c (__clogf): Likewise.
27800 * math/s_clogl.c (__clogl): Likewise.
27801 * math/Makefile (libm-calls): Add x2y2m1.
27802 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27803 (__x2y2m1): Likewise.
27804 (__x2y2m1l): Likewise.
27805 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27806 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27809 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27810 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27811 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27812 * sysdeps/i386/fpu/libm-test-ulps: Update.
27813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27816 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27817 int as type of variable DEPTH.
27818 (glob): Use size_t instead of int as type of variables NEWCOUNT
27821 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27823 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27824 Add s_sincosf-sse2.
27825 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27826 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27827 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27828 macros for using routine as __sincosf_ia32.
27829 Use macro for function declaration and weak_alias.
27830 * sysdeps/i386/fpu/libm-test-ulps: Update.
27832 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27835 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27836 subnormal argument.
27837 * math/s_cexpf.c (__cexpf): Likewise.
27838 * math/s_csinf.c (__csinf): Likewise.
27839 * math/s_csinhf.c (__csinhf): Likewise.
27840 * math/s_ctanf.c (__ctanf): Likewise.
27841 * math/s_ctanhf.c (__ctanhf): Likewise.
27842 * math/s_ccosh.c (__ccoshf): Likewise.
27843 * math/s_cexp.c (__cexpl): Likewise.
27844 * math/s_csin.c (__csin): Likewise.
27845 * math/s_csinh.c (__csinh): Likewise.
27846 * math/s_ctan.c (__ctan): Likewise.
27847 * math/s_ctanh.c (ctanh): Likewise.
27848 * math/s_ccoshl.c (__ccoshl): Likewise.
27849 * math/s_cexpl.c (__cexpl): Likewise.
27850 * math/s_csinl.c (__csinl): Likewise.
27851 * math/s_csinhl.c (__csinhl): Likewise.
27852 * math/s_ctanl.c (__ctanl): Likewise.
27853 * math/s_ctanhl.c (__ctanhl): Likewise.
27855 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27857 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27858 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27859 (_IO_off_t): Define to __off_t, not _G_off_t.
27860 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27861 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27862 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27863 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27864 type of __dummy and __dummy2 fields.
27865 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27866 (_G_ssize_t): Likewise.
27867 (_G_off_t): Likewise.
27868 (_G_pid_t): Likewise.
27869 (_G_uid_t): Likewise.
27870 (_G_wchar_t): Likewise.
27871 (_G_wint_t): Likewise.
27872 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27873 (_G_ssize_t): Likewise.
27874 (_G_off_t): Likewise.
27875 (_G_pid_t): Likewise.
27876 (_G_uid_t): Likewise.
27877 (_G_wchar_t): Likewise.
27878 (_G_wint_t): Likewise.
27879 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27880 (_G_ssize_t): Likewise.
27881 (_G_off_t): Likewise.
27882 (_G_pid_t): Likewise.
27883 (_G_uid_t): Likewise.
27884 (_G_wchar_t): Likewise.
27885 (_G_wint_t): Likewise.
27887 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27889 * malloc/arena.c: Include malloc-sysdep.h.
27890 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27891 is sufficient to shrink the heap or an unmap is needed.
27892 * sysdeps/generic/malloc-sysdep.h: New file. Define
27893 new function check_may_shrink_heap.
27894 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27895 new function check_may_shrink_heap.
27897 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27899 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27902 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27904 * catgets/test-gencat.sh: Add "set -e".
27905 * elf/tst-pathopt.sh: Likewise.
27906 * grp/tst_fgetgrent.sh: Likewise.
27907 * iconvdata/run-iconv-test.sh: Likewise.
27908 * intl/tst-gettext.sh: Likewise.
27909 * intl/tst-gettext2.sh: Likewise.
27910 * intl/tst-gettext4.sh: Likewise.
27911 * intl/tst-gettext6.sh: Likewise.
27912 * intl/tst-translit.sh: Likewise.
27913 * io/ftwtest-sh: Likewise.
27914 * libio/test-freopen.sh: Likewise.
27915 * malloc/tst-mtrace.sh: Likewise.
27916 * posix/globtest.sh: Likewise.
27917 * posix/tst-getconf.sh: Likewise.
27918 * posix/wordexp-tst.sh: Likewise.
27919 * stdio-common/tst-printf.sh: Likewise.
27920 * stdio-common/tst-unbputc.sh: Likewise.
27921 * stdlib/tst-fmtmsg.sh: Likewise.
27922 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27923 * catgets/Makefile: Do not specify -e option when running
27924 testsuite shell scripts.
27925 * elf/Makefile: Likewise.
27926 * grp/Makefile: Likewise.
27927 * iconvdata/Makefile: Likewise.
27928 * intl/Makefile: Likewise.
27929 * io/Makefile: Likewise.
27930 * libio/Makefile: Likewise.
27931 * malloc/Makefile: Likewise.
27932 * posix/Makefile: Likewise.
27933 * stdio-common/Makefile: Likewise.
27934 * stdlib/Makefile: Likewise.
27935 * sysdeps/x86_64/Makefile: Likewise.
27937 * io/ftwtest-sh: Add copyright header.
27938 * posix/globtest.sh: Likewise.
27939 * posix/tst-getconf.sh: Likewise.
27940 * posix/wordexp-tst.sh: Likewise.
27941 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27943 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27946 * Makeconfig (+link): Defined as $(+link-static) if
27947 $(build-shared) isn't yes.
27948 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27950 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27952 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27955 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27956 new chunk size with MALLOC_ALIGN_MASK.
27958 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27961 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27963 (__printf_fphex): Determine rounding using get_rounding_mode and
27965 * stdio-common/tst-printf-round.c (struct hex_test): New
27967 (hex_tests): New variable.
27968 (test_hex_in_one_mode): New function.
27969 (do_test): Also run tests for hex float output.
27971 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27973 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27974 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27975 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27976 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27977 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27978 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27979 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27980 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27982 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27984 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27985 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27986 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27987 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27989 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27992 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27994 * elf/tst-rtld-load-self.sh: New test.
27995 * elf/Makefile: Run it.
27997 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27999 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28000 (tst-writev-ENV): Remove.
28001 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28003 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28005 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28007 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28009 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28011 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28013 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28014 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28015 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28018 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28021 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28022 * config.make.in (have-cpp-asm-debuginfo): Removed.
28023 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28024 * configure: Regenerated.
28026 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28029 * stdio-common/printf_fp.c: Include <stdbool.h> and
28031 (___printf_fp): Determine rounding using get_rounding_mode and
28033 * stdio-common/tst-printf-round.c: New file.
28034 * stdio-common/Makefile (tests): Add tst-printf-round.
28035 (link-libm): New variable.
28036 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28038 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28041 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28042 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28044 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28047 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28049 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28050 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28051 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28052 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28054 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28057 * include/rounding-mode.h: New file.
28058 * sysdeps/generic/get-rounding-mode.h: Likewise.
28059 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28060 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28061 (MAX_VALUE): New macro.
28062 (MIN_VALUE): Likewise.
28063 (overflow_value): New function.
28064 (underflow_value): Likewise.
28065 (round_and_return): Use overflow_value and underflow_value to
28066 determine return values in overflow and underflow cases. Use
28067 round_away to determine rounding depending on rounding mode.
28068 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28069 determine return values in overflow and underflow cases.
28070 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28071 (struct test_results): New structure.
28072 (struct test): Use struct test_results to store expected results
28073 for all rounding modes.
28074 (TEST): Include expected results for all rounding modes.
28075 (test_in_one_mode): New function.
28076 (do_test): Use test_in_one_mode to compute and check results.
28077 Check results for all rounding modes.
28078 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28081 2012-12-09 Allan McRae <allan@archlinux.org>
28083 * sysdeps/i386/fpu/libm-test-ulps: Update
28085 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28087 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28088 (_G_int32_t): Likewise.
28089 (_G_uint16_t): Likewise.
28090 (_G_uint32_t): Likewise.
28091 (_G_HAVE_BOOL): Likewise.
28092 (_G_HAVE_ATEXIT): Likewise.
28093 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28094 (_G_HAVE_IO_FILE_OPEN): Likewise.
28095 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28096 (_G_int32_t): Likewise.
28097 (_G_uint16_t): Likewise.
28098 (_G_uint32_t): Likewise.
28099 (_G_HAVE_BOOL): Likewise.
28100 (_G_HAVE_ATEXIT): Likewise.
28101 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28102 (_G_HAVE_IO_FILE_OPEN): Likewise.
28103 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28104 (_G_int32_t): Likewise.
28105 (_G_uint16_t): Likewise.
28106 (_G_uint32_t): Likewise.
28107 (_G_HAVE_BOOL): Likewise.
28108 (_G_HAVE_ATEXIT): Likewise.
28109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28110 (_G_HAVE_IO_FILE_OPEN): Likewise.
28112 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28114 * csu/libc-tls.c: Update copyright years.
28116 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28118 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28119 [!_G_USING_THUNKS]: Remove conditional code.
28120 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28121 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28123 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28124 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28125 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28126 (_G_VTABLE_LABEL_PREFIX): Likewise.
28127 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28128 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28129 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28130 (_G_VTABLE_LABEL_PREFIX): Likewise.
28131 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28132 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28133 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28134 (_G_VTABLE_LABEL_PREFIX): Likewise.
28135 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28137 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28139 * libio/Makefile: Include ../Makeconfig before tests.
28140 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28141 only if $(build-shared) is yes.
28143 * iconv/gconv_db.c: Update copyright years.
28145 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28147 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28148 unwind info if defined PIC. Fix special cases description.
28149 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28151 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28153 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28155 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28157 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28159 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28162 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28163 (LDLIBS-tst-chk4): This.
28164 (LDFLAGS-tst-chk5): Renamed to ...
28165 (LDLIBS-tst-chk5): This.
28166 (LDFLAGS-tst-chk6): Renamed to ...
28167 (LDLIBS-tst-chk6): This.
28168 (LDFLAGS-tst-lfschk4): Renamed to ...
28169 (LDLIBS-tst-lfschk4): This.
28170 (LDFLAGS-tst-lfschk5): Renamed to ...
28171 (LDLIBS-tst-lfschk5): This.
28172 (LDFLAGS-tst-lfschk6): Renamed to ...
28173 (LDLIBS-tst-lfschk6): This.
28175 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28176 on $(common-objpfx)soversions.mk.
28178 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28181 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28184 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28186 * malloc/arena.c (arena_get_retry): New function that gets
28187 another arena for the caller to try its request on.
28188 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28189 current arena cannot fulfill the request.
28190 (__libc_memalign): Likewise.
28191 (__libc_memalign): Likewise.
28192 (__libc_pvalloc): Likewise.
28193 (__libc_calloc): Likewise.
28195 2012-09-05 John Tobey <john.tobey@gmail.com>
28198 * manual/arith.texi (Operations on Complex): Fix description
28199 of carg branch cut.
28201 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28204 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28208 * manual/memory.texi (Memory): Make order of menu items match
28211 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28213 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28214 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28215 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28217 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28219 * csu/libc-tls.c (static_dtv): Renamed to ...
28220 (_dl_static_dtv): This. Make it global.
28221 (_dl_initial_dtv): Removed.
28222 (__libc_setup_tls): Updated.
28223 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28224 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28227 2012-09-06 Petr Machata <pmachata@redhat.com>
28229 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28230 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28231 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28232 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28234 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28237 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28238 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28241 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28244 * Makeconfig (link-static-before-libc): Replace $(+prector)
28246 (link-static-after-libc): Replace $(+postctor) with
28248 (link-bounded): Replace $(+prector)/$(+postctor) with
28249 $(+prectorT)/$(+postctorT).
28250 (+prectorT): New macro.
28251 (+postctorT): Likewise.
28253 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28255 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28256 (round_str): Handle values above the maximum for IBM long double
28258 * stdlib/tst-strtod-round.c (tests): Regenerated.
28260 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28262 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28264 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28265 zarch_nohighgprs around the zarch optimized routines.
28266 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28267 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28271 2012-09-05 David S. Miller <davem@davemloft.net>
28273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28275 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28276 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28277 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28278 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28281 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28283 * malloc/arena.c: Fold copyright years.
28284 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28286 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28288 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28290 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28292 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28294 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28296 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28297 change internal state upon failure.
28299 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28301 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28302 * malloc/memusage.c (mmap): Likewise.
28303 (mmap64, mremap): Likewise. Adjust name in comment.
28305 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28307 * libio/fileops.c: Fix typos in comments.
28308 * libio/oldfileops.c: Likewise.
28309 * libio/wfileops.c: Likewise.
28311 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28314 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28315 (tst-malloc-usable-ENV): Set environment for test case.
28316 * malloc/hooks.c (malloc_check_get_size): New function to get
28318 * malloc/malloc.c (musable): Use malloc_check_get_size.
28319 * malloc/tst-malloc-usable.c: New test case.
28321 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28323 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28325 2012-09-05 Allan McRae <allan@archlinux.org>
28328 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28329 determine header location.
28330 * configure: Regenerated.
28332 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28334 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28336 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28337 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28339 (test): Regenerate.
28341 2012-09-04 David S. Miller <davem@davemloft.net>
28343 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28344 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28345 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28347 2012-09-04 Florian Weimer <fweimer@redhat.com>
28349 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28352 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28354 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28357 * libio/iogetdelim.c: Include <limits.h>.
28358 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28359 + len + 1 would overflow.
28361 2012-09-03 Andreas Jaeger <aj@suse.de>
28363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28364 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28368 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28369 Add s_sinf-sse2, s_conf-sse2.
28371 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28372 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28373 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28374 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28376 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28377 for using routine as __sinf_ia32.
28378 Use macro for function declaration and weak_alias.
28379 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28380 for using routine as __cosf_ia32.
28381 Use macro for function declaration and weak_alias.
28383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28384 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28386 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28387 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28390 * math/libm-test.inc (cos_test): Add more test cases.
28391 (sin_test): Likewise.
28392 (sincos_test): Likewise.
28394 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28396 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28397 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28399 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28401 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28404 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28405 first element of the GOT.
28406 (elf_machine_load_address): Return the difference between
28407 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28409 2012-09-01 Allan McRae <allan@archlinux.org>
28412 * configure.in (AWK): Require gawk version 3.0 or later.
28413 * configure: Regenerated.
28415 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28417 * sysdeps/unix/sysv/linux/kernel-features.h
28418 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28419 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28420 [__NR_clock_getres]: Make code unconditional.
28421 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28422 (clock_getcpuclockid): Remove code left unreachable by removal of
28424 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28425 code unconditional.
28426 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28427 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28428 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28429 Make code unconditional.
28430 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28431 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28432 * sysdeps/unix/sysv/linux/clock_settime.c
28433 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28435 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28436 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28438 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28441 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28442 scripts/test-installation.pl.
28444 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28445 and $ld_so_version if it is set.
28447 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28451 failure if reading from procfs failed.
28452 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28454 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28456 * sysdeps/unix/sysv/linux/kernel-features.h
28457 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28458 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28459 Remove conditional code.
28460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28461 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28462 Remove conditional code.
28463 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28464 * sysdeps/unix/sysv/linux/i386/fxstat.c
28465 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28466 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28467 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28468 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28469 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28470 * sysdeps/unix/sysv/linux/i386/lxstat.c
28471 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28473 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28474 Remove conditional code.
28475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28476 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28477 Remove conditional code.
28478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28479 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28480 <kernel-features.h>.
28481 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28483 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28484 Remove conditional code.
28485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28486 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28487 Remove conditional.
28489 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28492 * NEWS: Add fixed bug number.
28494 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28497 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28498 underflowing exponent in case of negative sign.
28499 * stdlib/tst-strtod-round-data: Add more tests.
28500 * stdlib/tst-strtod-round.c (tests): Regenerated.
28503 * stdlib/strtod_l.c (NDIG): Remove.
28504 (HEXNDIG): Likewise.
28505 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28506 smallest representable value.
28507 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28508 lie within an exact representation of 1/2 ulp of the result.
28509 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28511 (TENS_P9_IDX): Define unconditionally.
28512 (TENS_P9_SIZE): Likewise.
28513 (TENS_P10_IDX): Likewise.
28514 (TENS_P10_SIZE): Likewise.
28515 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28516 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28517 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28518 entries for 10^2^13 and 10^2^14.
28519 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28520 (TENS_P13_IDX): Define.
28521 (TENS_P13_SIZE): Likewise.
28522 (TENS_P14_IDX): Likewise.
28523 (TENS_P14_SIZE): Likewise.
28524 (_fpioconst_pow10): Change array size to
28525 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28527 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28528 1024]: Add entries for 10^2^13 and 10^2^14.
28529 [LAST_POW10 > _LAST_POW10]: Remove #error.
28530 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28531 (_fpioconst_pow10): Change array size to
28532 FPIOCONST_POW10_ARRAY_SIZE.
28533 * stdlib/gen-fpioconst.c: New file.
28534 * stdlib/gen-tst-strtod-round.c: Likewise.
28535 * stdlib/tst-strtod-round-data: Likewise.
28536 * stdlib/tst-strtod-round.c: Likewise.
28537 * stdlib/Makefile (tests): Add tst-strtod-round.
28540 * stdlib/strtod_l.c: Include <stdint.h>.
28541 (NDEBUG): Do not define.
28542 (round_and_return): Change EXPONENT parameter to type intmax_t.
28543 Rearrange calculations to avoid internal overflow possibilities.
28544 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28545 Rearrange calculations to avoid internal overflow possibilities.
28546 Assert that number fits inside MPNSIZE limbs.
28547 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28548 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28549 calculations and add assertions to avoid internal overflow
28550 possibilities. Add casts to avoid signed/unsigned operations.
28551 * stdlib/tst-strtod-overflow.c: New file.
28552 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28554 2012-08-25 Marek Polacek <polacek@redhat.com>
28556 * time/time.h: Fix some typos in comments.
28558 2012-08-23 Roland McGrath <roland@hack.frob.com>
28560 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28561 * posix/tst-rfc3484-2.c: Likewise.
28562 * posix/tst-rfc3484-3.c: Likewise.
28564 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28566 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28567 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28569 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28571 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28572 #include of fxstatat64.c.
28574 2012-08-22 Roland McGrath <roland@hack.frob.com>
28576 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28577 * shadow/getspent_r.c: Likewise.
28578 * shadow/getspnam.c: Likewise.
28579 * shadow/getspnam_r.c: Likewise.
28580 * gshadow/getsgent.c: Likewise.
28581 * gshadow/getsgent_r.c: Likewise.
28582 * gshadow/getsgnam.c: Likewise.
28583 * gshadow/getsgnam_r.c: Likewise.
28584 * inet/getnetbyad.c: Likewise.
28585 * inet/getnetbyad_r.c: Likewise.
28586 * inet/getnetbynm.c: Likewise.
28587 * inet/getnetbynm_r.c: Likewise.
28588 * inet/getnetent.c: Likewise.
28589 * inet/getnetent_r.c: Likewise.
28590 * inet/getproto.c: Likewise.
28591 * inet/getproto_r.c: Likewise.
28592 * inet/getprtent.c: Likewise.
28593 * inet/getprtent_r.c: Likewise.
28594 * inet/getprtname.c: Likewise.
28595 * inet/getprtname_r.c: Likewise.
28596 * inet/getrpcbyname.c: Likewise.
28597 * inet/getrpcbyname_r.c: Likewise.
28598 * inet/getrpcbynumber.c: Likewise.
28599 * inet/getrpcbynumber_r.c: Likewise.
28600 * inet/getrpcent.c: Likewise.
28601 * inet/getrpcent_r.c: Likewise.
28602 * inet/getaliasent.c: Likewise.
28603 * inet/getaliasent_r.c: Likewise.
28604 * inet/getaliasname.c: Likewise.
28605 * inet/getaliasname_r.c: Likewise.
28606 * nscd/getgrgid_r.c: Likewise.
28607 * nscd/getgrnam_r.c: Likewise.
28608 * nscd/gethstbyad_r.c: Likewise.
28609 * nscd/gethstbynm3_r.c: Likewise.
28610 * nscd/getpwnam_r.c: Likewise.
28611 * nscd/getpwuid_r.c: Likewise.
28612 * nscd/getsrvbynm_r.c: Likewise.
28613 * nscd/getsrvbypt_r.c: Likewise.
28614 * nscd/gai.c: Likewise.
28616 * configure.in (build_nscd): New substituted variable, set
28617 by --disable-build-nscd and defaults to $use_nscd.
28618 * configure: Regenerated.
28619 * config.make.in (build-nscd): New substituted variable.
28620 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28621 Change conditional to require [$(build-nscd) = yes] as well.
28622 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28625 * configure.in (use_nscd): New substituted variable, set by
28626 --disable-nscd. If enabled, define USE_NSCD.
28627 * configure: Regenerated.
28628 * config.h.in: Add USE_NSCD.
28629 * config.make.in (use-nscd): New substituted variable.
28630 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28631 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28632 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28633 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28634 (CFLAGS-getgrnam_r.c): Likewise.
28635 (CFLAGS-initgroups.c): Likewise.
28636 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28637 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28639 * inet/getnetgrent_r.c
28640 (nscd_setnetgrent): New function, broken out of ...
28641 (setnetgrent): ... here. Call it.
28642 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28643 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28644 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28645 * nscd/Makefile (routines, aux): Move definitions after include of
28646 Makeconfig. Conditionalize on [$(use-nscd) != no].
28647 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28648 Conditionalize on [USE_NSCD].
28649 (is_nscd, nscd_init_cb): Likewise.
28650 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28651 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28652 * nss/nss_db/db-init.c: Likewise.
28653 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28655 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28656 (make_request): Use it.
28657 (cache_valid_p): New function.
28658 (__check_pf): Use it.
28659 * NEWS: Add item for --disable-nscd.
28661 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28663 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28664 to support sed >= 4.2.1-20-ga9bf076.
28665 * configure: Regenerated.
28667 2012-08-22 Roland McGrath <roland@hack.frob.com>
28669 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28670 Conditionalize whole body on [IREL].
28672 2012-08-22 Jeff Law <law@redhat.com>
28675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28676 if the family is PF_UNSPEC.
28678 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28680 * Makerules (lib-version): Rename from V.
28681 (install-lib-nosubdir): Change V to lib-version.
28683 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28686 * powerpc32/power6/wcschr.c: New file.
28687 * powerpc32/power6/wcscpy.c: New file.
28688 * powerpc32/power6/wcsrchr.c: New file.
28689 * powerpc64/power6/wcschr.c: New file.
28690 * powerpc64/power6/wcscpy.c: New file.
28691 * powerpc64/power6/wcsrchr.c: New file.
28693 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28695 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28696 (two_way_short_needle): Use it.
28697 * string/strstr.c (AVAILABLE1_USES_J): Define.
28698 * string/strcasestr.c: Likewise.
28700 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28702 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28705 * NEWS: Add an entry.
28706 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28707 define their defaults.
28708 (two_way_short_needle): Detect end-of-string on-the-fly.
28709 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28710 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28711 * string/bug-strcasestr1.c: New test.
28712 * string/Makefile: Run it.
28714 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28717 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28718 the first character.
28720 2012-08-21 Roland McGrath <roland@hack.frob.com>
28722 * csu/elf-init.c (__libc_csu_irel): Function removed.
28723 * csu/libc-start.c (apply_irel): New function.
28724 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28726 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28728 * sysdeps/unix/sysv/linux/kernel-features.h
28729 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28730 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28731 <kernel-features.h>.
28732 [__NR_fadvise64_64]: Make code unconditional.
28733 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28734 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28735 !__NR_fadvise64_64)]: Likewise.
28736 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28737 !__NR_fadvise64_64))]: Likewise.
28738 [__NR_fadvise64]: Make code unconditional.
28739 [!__NR_fadvise64]: Remove conditional code.
28740 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28741 <kernel-features.h>.
28742 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28744 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28747 not include <kernel-features.h>.
28748 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28750 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28752 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28753 include <kernel-features.h>.
28754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28759 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28761 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28762 slight instruction rearrangements per scrollpipe analysis.
28763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28765 2012-08-20 Roland McGrath <roland@hack.frob.com>
28767 * manual/syslog.texi (syslog; vsyslog, closelog):
28768 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28769 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28771 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28772 DSOCAPS to match condition on defining it.
28774 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28776 * sysdeps/unix/sysv/linux/kernel-features.h
28777 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28779 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28780 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28782 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28783 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28785 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28786 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28788 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28789 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28791 * sysdeps/unix/sysv/linux/kernel-features.h
28792 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28793 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28795 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28796 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28797 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28798 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28799 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28800 Make code unconditional.
28801 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28802 (__mmap64) [!__NR_mmap2]: Likewise.
28803 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28804 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28805 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28806 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28807 [__NR_mmap2]: Make code unconditional.
28808 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28809 (__mmap64) [!__NR_mmap2]: Likewise.
28811 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28813 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28815 2012-08-18 Andreas Jaeger <aj@suse.de>
28817 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28819 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28821 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28822 * include/unistd.h (__have_sock_cloexec): Likewise.
28823 (__have_pipe2): Likewise.
28824 (__have_dup3): Likewise.
28826 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28829 * include/unistd.h (__have_pipe2): Change define into an extern int.
28830 (__have_dup3): Likewise.
28831 * socket/have_sock_cloexec.c: Include fcntl.h.
28832 (__have_pipe2): New variable.
28833 (__have_dup3): Likewise.
28835 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28837 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28839 2012-08-17 Marek Polacek <polacek@redhat.com>
28841 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28842 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28844 2012-08-17 Roland McGrath <roland@hack.frob.com>
28846 * configure.in: Add AC_SUBST for sysheaders.
28847 * configure: Regenerated.
28848 * config.make.in (sysheaders): New substituted variable.
28850 * sysdeps/unix/mkfifo.c: Moved ...
28851 * sysdeps/posix/mkfifo.c: ... here.
28852 * sysdeps/unix/mkfifoat.c: Moved ...
28853 * sysdeps/posix/mkfifoat.c: ... here.
28855 * sysdeps/unix/utime.c: Moved ...
28856 * sysdeps/posix/utime.c: ... here.
28858 * sysdeps/unix/time.c: Moved ...
28859 * sysdeps/posix/time.c: ... here.
28860 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28861 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28863 * sysdeps/unix/nice.c: Moved ...
28864 * sysdeps/posix/nice.c: ... here.
28866 * sysdeps/unix/alarm.c: Moved ...
28867 * sysdeps/posix/alarm.c: ... here.
28869 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28871 2012-08-17 Jeff Law <law@redhat.com>
28873 * intl/Makefile (codeset_mo): New variable.
28874 ($(codeset_mo)): New target.
28875 (tst-codeset.out): Depend on that. Remove explicit rule.
28876 (tst-gettext3.out, tst-gettext5.out): Likewise.
28877 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28878 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28879 * intl/tst-codeset.sh: Remove.
28880 * intl/tst-gettext3.sh: Likewise.
28881 * intl/tst-gettext5.sh: Likewise.
28883 2012-08-17 Roland McGrath <roland@hack.frob.com>
28885 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28886 * sysdeps/unix/syscalls.list: ... here.
28888 * sysdeps/posix/getaddrinfo.c
28889 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28890 (gaiconf_init, gaiconf_reload): Use them.
28891 [!_STATBUF_ST_NSEC]
28892 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28893 Define using time_t rather than struct timespec.
28895 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28896 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28898 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28900 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28901 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28904 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28905 __libc_cleanup_push argument.
28907 * bits/param.h: New file.
28908 * misc/sys/param.h: New file.
28909 * include/sys/param.h: New file.
28910 * misc/Makefile (headers): Add bits/param.h.
28911 * sysdeps/generic/sys/param.h: File removed.
28912 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28913 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28914 * sysdeps/mach/hurd/bits/param.h: New file.
28915 * sysdeps/mach/hurd/sys/param.h: File removed.
28917 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28920 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28922 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28923 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28926 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28927 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28928 rather than -D_IO_MTSAFE_IO conditionally.
28929 * stdio-common/Makefile (CPPFLAGS): Likewise.
28930 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28931 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28932 Use $(libio-mtsafe).
28933 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28934 of -D_IO_MTSAFE_IO.
28935 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28936 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28937 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28938 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28939 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28940 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28941 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28942 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28943 (CFLAGS-fread_u_chk.c): Likewise.
28944 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28945 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28946 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28947 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28948 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28949 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28950 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28951 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28952 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28954 * libio/Makefile: Test [$(libc-reentrant) = yes]
28955 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28958 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28959 * sysdeps/pthread/configure: File removed.
28960 * sysdeps/pthread/Makeconfig: New file.
28961 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28962 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28964 2012-08-16 Gary Benson <gbenson@redhat.com>
28966 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28967 unmapping the first object in a namespace.
28969 2012-08-16 Roland McGrath <roland@hack.frob.com>
28971 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28972 (__internal_setnetgrent): ... this. Add internal_function to
28973 definition. Add libc_hidden_def.
28974 (setnetgrent): Update caller.
28975 (internal_endnetgrent): Renamed to ...
28976 (__internal_endnetgrent): ... this. Add internal_function to
28977 definition. Add libc_hidden_def.
28978 (endnetgrent): Update caller.
28979 (internal_getnetgrent_r): Renamed to ...
28980 (__internal_getnetgrent_r): ... this. Add internal_function to
28981 definition. Add libc_hidden_def.
28982 (__getnetgrent_r): Update caller.
28983 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28985 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28987 * stdlib/longlong.h: Update from GCC.
28989 2012-08-16 Roland McGrath <roland@hack.frob.com>
28991 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28992 on _QL, which is set by umul_ppmm but never used.
28993 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28994 variables, which are set by GMP macros but never used.
28995 * stdio-common/_itowa.c (_itowa): Likewise.
28996 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28997 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28999 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29001 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29002 struct La_sh_regs is not constant.
29003 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29004 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29005 and struct La_sparc64_regs are not constant.
29007 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29009 * sysdeps/unix/sysv/linux/kernel-features.h
29010 (__ASSUME_POSIX_TIMERS): Remove.
29011 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29012 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29013 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29014 Make code unconditional.
29015 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29016 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29017 Make code unconditional.
29018 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29019 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29020 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29021 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29022 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29023 Make code unconditional.
29024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29025 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29026 (__libc_missing_posix_timers): Remove.
29028 2012-08-15 Roland McGrath <roland@hack.frob.com>
29030 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29031 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29033 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29035 * elf/dl-sym.c: Include <stdlib.h>.
29037 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29038 constants, which avoids warnings in 32-bit builds.
29040 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29041 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29043 * misc/lseek.c: File moved to ...
29044 * io/lseek.c: ... here.
29046 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29048 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29049 shifting LEN more than 31 bits at once.
29051 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29054 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29055 segmentation fault for a case of two empty input strings.
29056 * string/test-strncasecmp.c (check1): Renamed to...
29057 (bz12205): ...this.
29058 (bz14195): Add new testcase for two empty input strings and N > 0.
29059 (test_main): Call new testcase, adapt for renamed function.
29061 2012-08-15 Andreas Jaeger <aj@suse.de>
29064 * crypt/md5test2.c: New test, based on test supplied by Serge
29065 Belyshev <belyshev@depni.sinp.msu.ru>.
29066 * crypt/Makefile (xtests): Add md5test-giant..
29067 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29069 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29072 * crypt/md5.c (md5_process_block): Don't assume the buffer
29073 length is less than 2**32.
29074 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29075 length is less than 2**64.
29077 2012-08-15 Roland McGrath <roland@hack.frob.com>
29079 * string/str-two-way.h: Include <sys/param.h>.
29080 (MAX): Macro removed.
29082 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29083 Move #define and #undef of memmove to just before and after
29084 including <string.h>.
29086 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29087 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29088 and after including <string.h>. Move declarations of
29089 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29090 to before #include "string/memmove.c".
29092 * include/dirent.h: Declare __getdirentries.
29094 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29095 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29097 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29099 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29100 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29101 * sysdeps/i386/configure: Regenerated.
29102 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29103 STABS_CURRENT_FILE, and STABS_FUN.
29104 (END): Remove call to STABS_FUN_END.
29105 (STABS_CURRENT_FILE1): Delete.
29106 (STABS_CURRENT_FILE): Likewise.
29107 (STABS_FUN): Likewise.
29108 (STABS_FUN_END): Likewise.
29109 (STABS_FUN2): Likewise.
29110 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29111 * sysdeps/x86_64/configure: Regenerated.
29113 2012-08-14 Roland McGrath <roland@hack.frob.com>
29115 * elf/dl-open.c: Include <atomic.h>.
29116 * elf/dl-lookup.c: Likewise.
29118 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29120 * sysdeps/unix/sysv/linux/kernel-features.h
29121 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29122 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29124 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29126 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29127 condition on __ASSUME_CLONE_THREAD_FLAGS.
29129 2012-08-14 Andreas Jaeger <aj@suse.de>
29131 * sysdeps/i386/fpu/libm-test-ulps: Update.
29133 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29135 * include/atomic.h (atomic_exchange_and_add): Split into ...
29136 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29139 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29143 2012-08-13 Jeff Law <law@redhat.com>
29145 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29146 null byte in the output string.
29148 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29150 * sysdeps/unix/sysv/linux/kernel-features.h
29151 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29152 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29153 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29154 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29155 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29156 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29157 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29159 2012-08-09 Jeff Law <law@redhat.com>
29162 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29163 When avoid_arena is set, don't retry in the that arena. Pick the
29164 next one, whatever it might be.
29165 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29166 (arena_lock): Pass in new parameter to arena_get2.
29167 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29169 (__libc_malloc): Unify retrying after main arena failure with
29170 __libc_memalign version.
29171 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29173 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29176 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29177 to __redirect_strstr.
29178 (__strstr_sse42): Use typeof __redirect_strstr.
29179 (__strstr_ia32): Likewise.
29180 (__libc_strstr): New prototype.
29181 (strstr): Renamed to ...
29182 (__libc_strstr): This.
29183 (strstr): New strong alias of __libc_strstr.
29184 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29185 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29188 (__libc_time): New prototype.
29189 (time_ifunc): Replace time with __libc_time.
29190 (time): New strong alias and hidden definition of __libc_time.
29191 (__GI_time): Remove strong alias.
29192 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29193 Include <stddef.h>.
29194 (memmove): Redefined to __redirect_memmove.
29195 (__memmove_sse2): Use typeof __redirect_memmove.
29196 (__memmove_ssse3): Likewise.
29197 (__memmove_ssse3_back): Likewise.
29198 (__libc_memmove): New prototype.
29199 (memmove): Renamed to ...
29200 (__libc_memmove): This.
29201 (memmove): New strong alias of __libc_memmove.
29203 2012-08-08 Mark Salter <msalter@redhat.com>
29206 (R_MN10300_TLS_GD): Define.
29207 (R_MN10300_TLS_LD): Likewise.
29208 (R_MN10300_TLS_LDO): Likewise.
29209 (R_MN10300_TLS_GOTIE): Likewise.
29210 (R_MN10300_TLS_IE): Likewise.
29211 (R_MN10300_TLS_LE): Likewise.
29212 (R_MN10300_TLS_DTPMOD): Likewise.
29213 (R_MN10300_TLS_DTPOFF): Likewise.
29214 (R_MN10300_TLS_TPOFF): Likewise.
29215 (R_MN10300_SYM_DIFF): Likewise.
29216 (R_MN10300_ALIGN): Likewise.
29217 (R_MN10300_NUM): Update.
29219 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29221 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29224 2012-08-08 Roland McGrath <roland@hack.frob.com>
29226 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29228 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29229 sysdeps/unix -> sysdeps/posix move.
29230 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29232 2012-08-07 Allan McRae <allan@archlinux.org>
29235 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29236 (SUNOS_CPP): Likewise.
29237 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29239 (open_input): Call CPP using execvp.
29241 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29243 * sysdeps/unix/sysv/linux/kernel-features.h
29244 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29245 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29246 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29247 (__ASSUME_WAITID_SYSCALL): Likewise.
29248 * sysdeps/unix/sysv/linux/dl-execstack.c
29249 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29250 code unconditional.
29251 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29254 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29255 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29257 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29259 [__ASSUME_WAITID_SYSCALL]: Likewise.
29260 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29262 2012-08-07 Roland McGrath <roland@hack.frob.com>
29264 * sysdeps/unix/closedir.c: Renamed to ...
29265 * sysdeps/posix/closedir.c: ... here.
29266 * sysdeps/unix/dirfd.c: Renamed to ...
29267 * sysdeps/posix/dirfd.c: ... here.
29268 * sysdeps/unix/dirstream.h: Renamed to ...
29269 * sysdeps/posix/dirstream.h: ... here.
29270 * sysdeps/unix/fdopendir.c: Renamed to ...
29271 * sysdeps/posix/fdopendir.c: ... here.
29272 * sysdeps/unix/opendir.c: Renamed to ...
29273 * sysdeps/posix/opendir.c: ... here.
29274 * sysdeps/unix/readdir.c: Renamed to ...
29275 * sysdeps/posix/readdir.c: ... here.
29276 * sysdeps/unix/readdir_r.c: Renamed to ...
29277 * sysdeps/posix/readdir_r.c: ... here.
29278 * sysdeps/unix/rewinddir.c: Renamed to ...
29279 * sysdeps/posix/rewinddir.c: ... here.
29280 * sysdeps/unix/seekdir.c: Renamed to ...
29281 * sysdeps/posix/seekdir.c: ... here.
29282 * sysdeps/unix/telldir.c: Renamed to ...
29283 * sysdeps/posix/telldir.c: ... here.
29284 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29285 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29286 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29287 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29289 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29290 * bits/fcntl.h: ... here.
29292 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29294 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29295 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29296 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29297 (struct flock): Move l_start, l_len to the beginning.
29298 Use __pid_t for l_pid.
29299 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29300 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29301 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29302 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29303 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29304 [__USE_LARGEFILE64] (struct flock64): New type.
29305 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29307 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29308 * bits/dirent.h: ... here.
29310 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29311 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29313 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29316 Change from 2.6.0 to 2.6.16.
29317 * sysdeps/unix/sysv/linux/configure: Regenerated.
29318 * sysdeps/unix/sysv/linux/kernel-features.h
29319 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29320 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29322 (__ASSUME_UTIMES): Likewise.
29323 (__ASSUME_CLONE_STOPPED): Remove.
29324 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29325 architectures, not kernel version.
29326 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29327 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29328 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29329 (__ASSUME_WAITID_SYSCALL): Likewise.
29330 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29331 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29332 * README: State 2.6.16 as minimum Linux kernel version. Do not
29333 refer to older versions.
29335 2012-08-06 Roland McGrath <roland@hack.frob.com>
29337 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29338 Define alphasort64 as an alias.
29339 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29340 Define versionsort64 as an alias.
29341 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29342 Define scandir64 as an alias.
29343 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29344 Define scandirat64 as an alias.
29345 * dirent/alphasort64.c (alphasort64):
29346 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29347 * dirent/versionsort64.c: Likewise.
29348 * dirent/scandir64.c: Likewise.
29349 * dirent/scandirat64.c: Likewise.
29350 * sysdeps/wordsize-64/alphasort.c: File removed.
29351 * sysdeps/wordsize-64/alphasort64.c: File removed.
29352 * sysdeps/wordsize-64/scandir.c: File removed.
29353 * sysdeps/wordsize-64/scandir64.c: File removed.
29354 * sysdeps/wordsize-64/scandirat.c: File removed.
29355 * sysdeps/wordsize-64/scandirat64.c: File removed.
29356 * sysdeps/wordsize-64/versionsort.c: File removed.
29357 * sysdeps/wordsize-64/versionsort64.c: File removed.
29358 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29364 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29367 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29369 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29371 [defined __arch64__ || defined __sparcv9]
29372 (__INO_T_MATCHES_INO64_T): New macro.
29373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29374 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29375 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29376 * sysdeps/unix/sysv/linux/bits/dirent.h
29377 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29378 (_DIRENT_MATCHES_DIRENT64): New macro.
29380 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29381 Define lockf64 as an alias.
29382 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29383 Define fseeko64 as an alias.
29384 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29385 Define ftello64 as an alias.
29386 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29387 Define _IO_fgetpos64 and fgetpos64 as aliases.
29388 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29389 Define _IO_fsetpos64 and fsetpos64 as aliases.
29390 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29391 Conditionalize body on this.
29392 * libio/fseeko64.c: Likewise.
29393 * libio/ftello64.c: Likewise.
29394 * libio/iofgetpos64.c: Likewise.
29395 * libio/iofsetpos64.c: Likewise.
29396 * sysdeps/wordsize-64/lockf.c: File removed.
29397 * sysdeps/wordsize-64/lockf64.c: File removed.
29398 * sysdeps/wordsize-64/fseeko.c: File removed.
29399 * sysdeps/wordsize-64/fseeko64.c: File removed.
29400 * sysdeps/wordsize-64/ftello.c: File removed.
29401 * sysdeps/wordsize-64/ftello64.c: File removed.
29402 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29403 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29404 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29405 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29406 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29407 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29412 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29413 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29414 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29415 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29417 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29419 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29420 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29421 [defined __arch64__ || defined __sparcv9]
29422 (__OFF_T_MATCHES_OFF64_T): New macro.
29423 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29424 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29426 (__OFF_T_MATCHES_OFF64_T): New macro.
29428 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29430 * stdlib/secure-getenv.c (__secure_getenv): Replace
29431 GLIBC_2_16 with GLIBC_2_17.
29433 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29435 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29436 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29438 2012-08-03 David S. Miller <davem@davemloft.net>
29440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29442 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29446 (__ASSUME_CORRECT_SI_PID): Likewise.
29447 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29448 (__ASSUME_TMPFS_NAME): Likewise.
29449 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29450 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29451 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29452 (HAVE_AUX_SECURE): Make definition unconditional.
29453 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29454 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29456 2012-08-03 Roland McGrath <roland@hack.frob.com>
29458 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29459 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29460 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29461 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29462 __eloop_threshold instead of SYMLOOP_MAX.
29464 * sysdeps/generic/eloop-threshold.h: New file.
29465 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29467 * elf/chroot_canon.c (chroot_canon): Likewise.
29469 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29472 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29473 Change to 2.6.0 everywhere.
29474 * sysdeps/unix/sysv/linux/configure: Regenerated.
29475 * sysdeps/unix/sysv/linux/kernel-features.h
29476 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29477 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29479 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29480 (__ASSUME_FUTEX_REQUEUE): Remove.
29481 (__ASSUME_STATFS64): Define unconditionally.
29482 (__ASSUME_AT_SECURE): Likewise.
29483 (__ASSUME_CORRECT_SI_PID): Likewise.
29484 (__ASSUME_TGKILL): Define without depending on kernel version for
29486 (__ASSUME_UTIMES): Likewise.
29487 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29489 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29490 (__ASSUME_TMPFS_NAME): Likewise.
29491 * README: Update reference to Linux kernel versions.
29493 2012-08-02 Marek Polacek <polacek@redhat.com>
29496 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29497 libc_cv_asm_type_prefix with %.
29498 * configure: Regenerated.
29499 * include/libc-symbols.h: Remove comment about
29500 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29501 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29502 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29503 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29504 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29505 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29506 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29507 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29508 * elf/tst-unique2mod1.c: Likewise.
29509 * elf/tst-unique1mod2.c: Likewise.
29510 * elf/tst-unique1mod1.c: Likewise.
29511 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29512 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29513 Replace ASM_TYPE_DIRECTIVE with .type.
29514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29515 * sysdeps/i386/sysdep.h: Likewise.
29516 * sysdeps/x86_64/sysdep.h: Likewise.
29517 * sysdeps/sh/sysdep.h: Likewise.
29518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29519 Do not define ASM_TYPE_DIRECTIVE.
29520 * sysdeps/powerpc/sysdep.h: Likewise.
29521 * sysdeps/powerpc/powerpc32/sysdep.h:
29522 Replace ASM_TYPE_DIRECTIVE with .type.
29523 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29524 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29525 * sysdeps/i386/fpu/e_powf.S: Likewise.
29526 * sysdeps/i386/fpu/e_expl.S: Likewise.
29527 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29528 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29529 * sysdeps/i386/fpu/e_pow.S: Likewise.
29530 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29531 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29532 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29533 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29534 * sysdeps/i386/fpu/e_log2.S: Likewise.
29535 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29536 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29537 * sysdeps/i386/fpu/e_powl.S: Likewise.
29538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29539 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29540 * sysdeps/i386/fpu/e_logl.S: Likewise.
29541 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29542 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29543 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29544 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29545 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29546 * sysdeps/i386/fpu/e_log.S: Likewise.
29547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29548 * sysdeps/i386/fpu/e_logf.S: Likewise.
29549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29550 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29551 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29552 * sysdeps/i386/fpu/e_log10.S: Likewise.
29553 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29554 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29555 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29556 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29557 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29558 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29559 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29560 * sysdeps/i386/i686/strtok.S: Likewise.
29561 * sysdeps/i386/i386-mcount.S: Likewise.
29562 * sysdeps/i386/strtok.S: Likewise.
29563 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29564 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29566 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29567 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29569 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29570 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29571 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29572 * sysdeps/x86_64/_mcount.S: Likewise.
29573 * sysdeps/x86_64/strtok.S: Likewise.
29574 * sysdeps/sh/_mcount.S: Likewise.
29576 2012-08-01 Roland McGrath <roland@hack.frob.com>
29578 * libio/iofopen.c: Include <fcntl.h>.
29579 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29580 (_IO_fopen64, fopen64): Define as aliases.
29581 * libio/iofopen64.c: Include <fcntl.h>.
29582 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29583 Conditionalize body on this.
29584 * sysdeps/wordsize-64/iofopen.c: File removed.
29585 * sysdeps/wordsize-64/iofopen64.c: File removed.
29587 2012-08-01 Marek Polacek <polacek@redhat.com>
29589 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29590 Use dlfcn directly instead of a variable.
29591 (binfmt-subdir): Do not define.
29594 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29597 Remove all definitions.
29598 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29599 <kernel-features.h>.
29600 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29601 (miss_F_GETOWN_EX): Remove all definitions.
29602 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29604 [!__ASSUME_FCNTL64]: Remove conditional code.
29605 [__ASSUME_FCNTL64]: Make code unconditional.
29606 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29607 <kernel-features.h>.
29608 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29609 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29610 (lockf64) [__NR_fcntl64]: Make code unconditional.
29611 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29613 * sysdeps/unix/sysv/linux/kernel-features.h
29614 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29615 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29616 Make code unconditional.
29617 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29618 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29620 [__NR_vfork]: Make code unconditional.
29621 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29622 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29624 [__NR_vfork]: Make code unconditional.
29625 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29626 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29628 2012-08-01 Roland McGrath <roland@hack.frob.com>
29630 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29631 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29633 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29634 Define mkstemp64 as an alias.
29635 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29636 Define mkstemps64 as an alias.
29637 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29638 Define mkostemp64 as an alias.
29639 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29640 Define mkostemps64 as an alias.
29641 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29642 Conditionalize body on this.
29643 * misc/mkostemp64.c: Likewise.
29644 * misc/mkostemps64.c: Likewise.
29645 * misc/mkstemps64.c: Likewise.
29646 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29647 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29648 * sysdeps/wordsize-64/mkostemp.c: File removed.
29649 * sysdeps/wordsize-64/mkstemp.c: File removed.
29650 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29651 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29652 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29653 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29656 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29657 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29658 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29659 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29661 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29662 compat_symbol macros from <shlib-compat.h> rather than the underlying
29663 default_symbol_version and symbol_version macros, so that DEFAULT
29664 lines in shlib-versions are respected.
29665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29667 2012-08-01 Florian Weimer <fweimer@redhat.com>
29669 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29670 Declare with warn_unused_result.
29671 (setgid, setregid, setegid, setresgid): Likewise.
29672 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29674 * WUR-REPORT: Remove set*id functions.
29676 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29678 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29680 2012-07-31 Roland McGrath <roland@hack.frob.com>
29683 * include/sys/socket.h (__libc_accept, __libc_accept4):
29684 Add attribute_hidden.
29685 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29687 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29689 * inet/getnetgrent_r.c (setup): Likewise.
29691 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29693 2012-07-31 David S. Miller <davem@davemloft.net>
29695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29700 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29701 value between 1.0 and 2.0 and smaller part has absolute value less
29703 * math/s_clog10.c (__clog10): Likewise.
29704 * math/s_clog10f.c (__clog10f): Likewise.
29705 * math/s_clog10l.c (__clog10l): Likewise.
29706 * math/s_clogf.c (__clogf): Likewise.
29707 * math/s_clogl.c (__clogl): Likewise.
29708 * math/libm-test.inc (clog_test): Add more tests.
29709 (clog10_test): Likewise.
29710 * sysdeps/i386/fpu/libm-test-ulps: Update.
29711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29713 2012-07-31 Florian Weimer <fweimer@redhat.com>
29715 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29716 Exit with zero in case no suitable GID is found, and write a
29717 message to standard error.
29719 2012-07-30 Roland McGrath <roland@hack.frob.com>
29721 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29723 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29724 (MAXPATHLEN): Removed.
29725 (NOGROUP, NODEV): New macros.
29726 (setbit, clrbit, isset, isclr): New macros.
29727 (howmany, roundup, powerof2): New macros.
29728 (DEV_BSIZE): New macro.
29730 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29731 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29733 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29734 definition on [!__NO_LONG_DOUBLE_MATH].
29736 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29737 PTR_MANGLE and PTR_DEMANGLE.
29739 * socket/accept4.c (accept4): Rename to __libc_accept4.
29740 Define accept4 as a weak alias.
29742 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29743 on [_DIRENT_HAVE_D_TYPE].
29744 * io/ftw.c (ftw_dir): Likewise.
29746 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29748 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29750 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29751 Use the BSD numbers rather than the arbitrary ones we had.
29752 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29753 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29754 (SIGXCPU, SIGXFSZ): New macros.
29757 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29758 initializer on [_LIBC_REENTRANT].
29760 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29761 definitions inside [_POSIX_MAPPED_FILES].
29763 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29765 * dirent/opendir.c: Include <fcntl.h>.
29767 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29768 (__libc_getspecific): Likewise.
29769 (__libc_key_create): Likewise.
29771 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29772 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29773 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29774 (tmpfile64): Define as alias.
29775 * sysdeps/wordsize-64/tmpfile.c: File removed.
29776 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29780 * stdio-common/vfscanf.c: Include <stdbool.h>.
29781 * nss/makedb.c: Likewise.
29782 * stdio-common/_i18n_number.h: Likewise.
29783 * argp/argp-help.c: Likewise.
29784 * posix/wordexp.c: Likewise.
29785 * sysdeps/posix/spawni.c: Likewise.
29786 * nss/nss_files/files-initgroups.c: Likewise.
29787 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29788 * nss/nss_files/files-initgroups.c: Likewise.
29789 * nss/nss_db/db-netgrp.c: Likewise.
29790 * nss/nss_db/db-initgroups.c: Likewise.
29791 * io/fchmodat.c: Include <sys/stat.h>.
29793 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29794 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29796 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29799 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29800 Add multiple inclusion protection.
29802 2012-07-27 David S. Miller <davem@davemloft.net>
29804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29806 2012-07-27 Gary Benson <gbenson@redhat.com>
29809 * elf/rtld.c: Include <stap-probe.h>.
29810 (dl_main): Added static probes "init_start" and "init_complete".
29811 * elf/dl-load.c: Include <stap-probe.h>.
29812 (lose): Take new parameter "nsid".
29813 Added static probe "map_failed".
29814 (_dl_map_object_from_fd): Pass namespace id to lose.
29815 Added static probe "map_start".
29816 (open_verify): Pass namespace id to lose.
29817 * elf/dl-open.c: Include <stap-probe.h>.
29818 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29819 and "reloc_complete".
29820 * elf/dl-close.c: Include <stap-probe.h>.
29821 (_dl_close_worker): Added static probes "unmap_start" and
29823 * elf/rtld-debugger-interface.txt: New file documenting the above.
29825 2012-07-26 Roland McGrath <roland@hack.frob.com>
29827 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29828 rather than a string variable.
29829 * sunrpc/rpc_main.c (h_output): Likewise.
29830 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29832 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29834 * inet/check_native.c: New file.
29836 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29839 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29840 if larger part has absolute value 1.0.
29841 * math/s_clog10.c (__clog10): Likewise.
29842 * math/s_clog10f.c (__clog10f): Likewise.
29843 * math/s_clog10l.c (__clog10l): Likewise.
29844 * math/s_clogf.c (__clogf): Likewise.
29845 * math/s_clogl.c (__clogl): Likewise.
29846 * math/libm-test.inc (clog_test): Add more tests.
29847 (clog10_test): Likewise.
29848 * sysdeps/i386/fpu/libm-test-ulps: Update.
29849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29851 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29852 (pltexit): Likewise.
29853 (La_regs): Likewise.
29854 (La_retval): Likewise.
29855 (int_retval): Likewise.
29856 Update #error for removed macros to refer only to definitions in
29858 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29860 (pltexit): Likewise.
29861 (La_regs): Likewise.
29862 (La_retval): Likewise.
29863 (int_retval): Likewise.
29864 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29866 (pltexit): Likewise.
29867 (La_regs): Likewise.
29868 (La_retval): Likewise.
29869 (int_retval): Likewise.
29870 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29872 (pltexit): Likewise.
29873 (La_regs): Likewise.
29874 (La_retval): Likewise.
29875 (int_retval): Likewise.
29876 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29878 (pltexit): Likewise.
29879 (La_regs): Likewise.
29880 (La_retval): Likewise.
29881 (int_retval): Likewise.
29882 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29884 (pltexit): Likewise.
29885 (La_regs): Likewise.
29886 (La_retval): Likewise.
29887 (int_retval): Likewise.
29888 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29890 (pltexit): Likewise.
29891 (La_regs): Likewise.
29892 (La_retval): Likewise.
29893 (int_retval): Likewise.
29894 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29895 macro definitions in tst-audit.h.
29896 * sysdeps/i386/tst-audit.h: New file.
29897 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29898 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29899 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29900 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29901 * sysdeps/sh/tst-audit.h: Likewise.
29902 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29903 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29904 * sysdeps/x86_64/tst-audit.h: Likewise.
29906 2012-07-26 Andreas Jaeger <aj@suse.de>
29908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29911 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29912 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29913 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29915 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29916 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29917 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29919 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29922 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29924 (si_call_addr, si_syscall, si_arch): Define new macro.
29925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29927 (si_call_addr, si_syscall, si_arch): Define new marcro.
29928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29930 (si_call_addr, si_syscall, si_arch): Define new macro.
29931 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29933 (si_call_addr, si_syscall, si_arch): Define new macro.
29935 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29939 Change to 2.4.21 where previously 2.4.1.
29940 * sysdeps/unix/sysv/linux/configure: Regenerated.
29941 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29942 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29943 Linux kernel version.
29944 (__ASSUME_STD_AUXV): Remove.
29945 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29947 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29948 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29949 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29950 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29951 (__ASSUME_NETLINK_SUPPORT): Likewise.
29952 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29953 (__no_netlink_support): Remove conditional definition.
29954 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29956 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29957 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29958 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29959 (if_nameindex_ioctl): Remove.
29960 (if_nameindex_netlink): Do not handle __no_netlink_support.
29961 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29963 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29964 Remove conditional code.
29965 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29967 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29969 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29970 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29971 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29973 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29974 [!__ASSUME_STD_AUXV]: Remove conditional code.
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29976 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29977 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29979 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29980 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29982 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29984 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29987 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29989 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29992 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29995 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29996 code unconditional.
29997 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29999 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30001 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30004 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30006 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30009 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30010 code unconditional.
30011 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30013 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30015 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30018 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30019 code unconditional.
30020 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30022 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30024 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30027 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30029 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30030 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30031 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30032 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30033 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30034 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30035 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30036 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30037 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30038 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30039 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30040 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30041 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30042 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30044 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30045 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30047 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30049 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30050 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30053 2012-07-25 Florian Weimer <fweimer@redhat.com>
30055 * Versions.def: Add GLIBC_2.17.
30056 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30057 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30058 Introduce __libc_secure_getenv.
30059 * stdlib/Versions (2.17): Add secure_getenv
30060 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30061 * stdlib/secure-getenv.c: Rename __secure_getenv to
30062 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30063 symbol __secure_getenv for GLIBC_2.0.
30064 * stdlib/tst-secure-getenv.c: New.
30065 * stdlib/Makefile (tests): Add testcase.
30066 * manual/startup.texi (Environment Access): Document
30068 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30069 __libc_secure_getenv.
30070 * inet/ruserpass.c (ruserpass): Likewise.
30071 * malloc/mtrace.c (mtrace): Likewise.
30072 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30073 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30074 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30075 * sysdeps/posix/tempname.c: Likewise. Evaluate
30076 HAVE_SECURE_GETENV.
30077 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30078 __secure_getenv to __libc_secure_getenv.
30079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30092 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30094 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30095 (struct La_i86_retval): Likewise.
30096 (struct La_x86_64_regs): Likewise.
30097 (struct La_x86_64_retval): Likewise.
30098 (struct La_x32_regs): Likewise.
30099 (struct La_x32_retval): Likewise.
30100 (struct La_ppc32_regs): Likewise.
30101 (struct La_ppc32_retval): Likewise.
30102 (struct La_ppc64_regs): Likewise.
30103 (struct La_ppc64_retval): Likewise.
30104 (struct La_sh_regs): Likewise.
30105 (struct La_sh_retval): Likewise.
30106 (struct La_s390_32_regs): Likewise.
30107 (struct La_s390_32_retval): Likewise.
30108 (struct La_s390_64_regs): Likewise.
30109 (struct La_s390_64_retval): Likewise.
30110 (struct La_sparc32_regs): Likewise.
30111 (struct La_sparc32_retval): Likewise.
30112 (struct La_sparc64_regs): Likewise.
30113 (struct La_sparc64_retval): Likewise.
30114 (struct audit_ifaces): Remove architecture-specific pltenter and
30116 * sysdeps/i386/ldsodefs.h: New file.
30117 * sysdeps/powerpc/ldsodefs.h: Likewise.
30118 * sysdeps/s390/ldsodefs.h: Likewise.
30119 * sysdeps/sh/ldsodefs.h: Likewise.
30120 * sysdeps/sparc/ldsodefs.h: Likewise.
30121 * sysdeps/x86_64/ldsodefs.h: Likewise.
30123 2012-07-25 Marek Polacek <polacek@redhat.com>
30126 * math/libm-test.inc (yn_test): Add another test.
30127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30128 to ERANGE when the result is +-Inf.
30129 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30130 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30131 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30132 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30134 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30136 * conform/data/time.h-data (NULL): Use macro-constant. Require
30138 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30140 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30142 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30144 * configure.in <sysdeps resolving>: Correct printing
30146 * configure: Regenerate.
30148 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30150 * math/w_ilogb.c: Include <limits.h>.
30151 * math/w_ilogbl.c: Likewise.
30153 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30155 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30156 va_copy. Document allowing for unavailable va_copy only as
30157 pre-C99 compatibility.
30158 * manual/string.texi (Copying and Concatenation): Use va_copy
30159 instead of __va_copy in concat example.
30161 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30163 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30164 (__sendto): Use create_address_port. Initialize APORT and deallocate
30167 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30168 with O_NOLINK passed to __file_name_lookup.
30170 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30171 with O_NOLINK passed to __file_name_lookup.
30173 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30174 negative N or less than NGIDS.
30176 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30177 type to string_t. Set ERANGE as errno and return it if NAME is not big
30178 enough. Use memcpy instead of strncpy.
30180 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30182 * elf/Makefile (check-data): Remove.
30183 (localplt.data): New vpath directive.
30184 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30185 instead of $(check-data).
30186 * scripts/data/localplt-generic.data: Move to ...
30187 * sysdeps/generic/localplt.data: ... here.
30188 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30189 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30190 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30193 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30196 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30199 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30202 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30205 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30209 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30211 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30212 PPC32 and PPC64 files.
30213 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30214 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30216 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30218 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30219 __makecontext_ret to ...
30220 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30221 ... here and call exit if uc_link is NULL. New file.
30222 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30223 __makecontext_ret.S.
30224 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30225 __makecontext_ret to ...
30226 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30227 ... here and call exit if uc_link is NULL. New file.
30228 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30229 __makecontext_ret.S.
30231 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30233 * elf/elf.h (R_390_IRELATIVE): New definition.
30234 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30235 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30236 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30238 (elf_machine_lazy_rel): Likewise.
30239 * sysdeps/s390/dl-irel.h: New file.
30240 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30241 * sysdeps/s390/s390-64/memset.S: New asm code.
30242 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30243 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30244 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30245 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30246 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30247 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30248 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30249 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30250 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30251 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30252 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30253 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30254 * sysdeps/s390/s390-32/memset.S: New asm code.
30255 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30257 2012-07-17 Marek Polacek <polacek@redhat.com>
30260 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30261 * sysdeps/s390/s390-64/configure.in: Likewise.
30262 * sysdeps/sparc/configure.in: Likewise.
30263 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30264 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30265 * sysdeps/i386/configure.in: Likewise.
30266 * sysdeps/x86_64/configure.in: Likewise.
30267 * sysdeps/sh/configure.in: Likewise.
30268 * sysdeps/s390/s390-32/configure: Regenerated.
30269 * sysdeps/s390/s390-64/configure: Likewise.
30270 * sysdeps/x86_64/configure: Likewise.
30271 * sysdeps/sh/configure: Likewise.
30272 * sysdeps/powerpc/powerpc64/configure: Likewise.
30273 * sysdeps/powerpc/powerpc32/configure: Likewise.
30274 * sysdeps/sparc/configure: Likwise.
30275 * sysdeps/i386/configure: Likewise.
30277 * elf/dl-open.c: Comment fixes.
30279 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30281 * Makefile [CXX] (check-data): Remove.
30282 [CXX] (c++-types.data): New vpath directive.
30283 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30284 vpath. Do not allow for C++ type data being missing.
30285 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30286 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30287 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30288 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30289 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30290 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30291 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30294 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30297 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30300 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30303 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30306 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30309 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30312 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30315 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30316 definitions to architecture-specific files.
30317 (TLS_IE): Likewise.
30318 (TLS_LD): Likewise.
30319 (TLS_GD): Likewise.
30320 * sysdeps/i386/tls-macros.h: New file.
30321 * sysdeps/powerpc/tls-macros.h: Likewise.
30322 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30323 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30324 * sysdeps/sh/tls-macros.h: Likewise.
30325 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30326 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30327 * sysdeps/x86_64/tls-macros.h: Likewise.
30329 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30332 zero value for regular exit case.
30334 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30335 (__start_context): Preserve zero value for regular exit case.
30337 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30338 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30340 * manual/setjmp.texi (setcontext): Clarify normal process
30341 termination when uc_link is the null pointer.
30342 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30345 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30347 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30348 preprocessor. Test for each exception mask separately.
30350 2012-07-16 Andreas Jaeger <aj@suse.de>
30352 * po/ru.po: Update from translation team.
30354 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30356 * conform/data/string.h-data (NULL): Use macro-constant. Require
30358 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30359 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30360 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30361 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30364 2012-07-13 Andreas Jaeger <aj@suse.de>
30366 * po/fr.po: Update from translation team.
30368 2012-07-12 Marek Polacek <polacek@redhat.com>
30371 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30372 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30375 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30379 Change to 2.4.1 where previously 2.4.0.
30380 * sysdeps/unix/sysv/linux/configure: Regenerated.
30381 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30382 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30384 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30385 (__ASSUME_AT_CLKTCK): Remove.
30386 (__ASSUME_AT_PAGESIZE): Likewise.
30387 (__ASSUME_AT_XID): Likewise.
30388 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30389 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30390 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30392 (HAVE_AUX_PAGESIZE): Likewise.
30393 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30394 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30395 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30397 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30401 the temporary buffer used to invoke __gethostbyname2_r,
30402 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30403 host_data / struct gaih_addrtuple.
30404 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30405 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30406 header file nss/nsswitch.h.
30407 * nss/nsswitch.h (global scope): Add definition of implementation
30408 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30409 resolv/nss_dns/dns-host.c).
30411 2012-07-11 Andreas Jaeger <aj@suse.de>
30413 * po/fr.po: Update from translation team.
30415 * po/sv.po: Update from translation team
30416 * po/fr.po: Another update from translation team.
30418 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30420 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30421 for subnormals or multiply small sinh result by itself.
30422 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425 2012-07-11 David S. Miller <davem@davemloft.net>
30427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30429 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30432 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30433 (INTERNAL_MARK): Shift it here.
30435 2012-07-10 Marek Polacek <polacek@redhat.com>
30438 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30439 libc_cv_asm_global_directive with .globl.
30440 * configure: Regenerated.
30441 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30443 * sysdeps/i386/configure: Regenerated.
30444 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30446 * sysdeps/x86_64/configure: Regenerated.
30447 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30448 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30449 * elf/tst-unique2mod2.c: Likewise.
30450 * elf/tst-unique2mod1.c: Likewise.
30451 * elf/tst-unique1mod2.c: Likewise.
30452 * elf/tst-unique1mod1.c: Likewise.
30453 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30454 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30456 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30457 * sysdeps/mach/sysdep.h: Likewise.
30458 * sysdeps/i386/sysdep.h: Likewise.
30459 * sysdeps/i386/i386-mcount.S: Likewise.
30460 * sysdeps/x86_64/_mcount.S: Likewise.
30461 * sysdeps/x86_64/sysdep.h: Likewise.
30462 * sysdeps/sh/_mcount.S: Likewise.
30463 * sysdeps/sh/sysdep.h: Likewise.
30464 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30465 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30466 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30467 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30468 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30469 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30470 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30471 * locale/localeinfo.h: Likewise.
30472 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30473 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30475 2012-07-09 Roland McGrath <roland@hack.frob.com>
30478 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30480 * manual/message.texi (The Uniforum approach): Likewise.
30481 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30482 (glibc iconv Implementation): Likewise.
30484 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30487 * math/s_clog.c (__clog): Avoid scaling a value down where that
30488 could result in underflow.
30489 * math/s_clog10.c (__clog10): Likewise.
30490 * math/s_clog10f.c (__clog10f): Likewise.
30491 * math/s_clog10l.c (__clog10l): Likewise.
30492 * math/s_clogf.c (__clogf): Likewise.
30493 * math/s_clogl.c (__clogl): Likewise.
30494 * math/libm-test.inc (clog_test): Add more tests.
30495 (clog10_test): Likewise.
30496 * sysdeps/i386/fpu/libm-test-ulps: Update.
30497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30499 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30502 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30503 by 7 not 8 to examine high bit of fractional part.
30506 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30507 for call to __mcount_internal.
30508 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30509 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30510 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30512 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30515 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30516 approximation for values within 0x1p-13f of an odd multiple of
30518 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30519 exception. Add more tests.
30520 * sysdeps/i386/fpu/libm-test-ulps: Update.
30523 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30524 inputs and return -1 for them. Do not check for +Inf in case not
30525 reachable for +Inf.
30526 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30527 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30529 and return -1 for them. Do not check for +Inf in case not
30530 reachable for +Inf.
30531 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30534 and return -1 for them. Do not check for +Inf in case not
30535 reachable for +Inf.
30536 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30537 spurious underflow.
30538 * sysdeps/i386/fpu/libm-test-ulps: Update.
30539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30541 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30543 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30545 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30549 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30550 could result in spurious underflow. Scale down values above
30551 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30552 * math/s_csqrtf.c (__csqrtf): Likewise.
30553 * math/s_csqrtl.c (__csqrtl): Likewise.
30554 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30555 spurious underflow.
30556 * sysdeps/i386/fpu/libm-test-ulps: Update.
30557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30561 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30563 * catgets/xopen-msg.awk: New file.
30564 * catgets/xopen-msg.sed: Removed.
30566 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30568 * intl/po2test.awk: New file.
30569 * intl/po2test.sed: Removed.
30571 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30574 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30575 or multiply small sinh result by itself.
30576 * math/s_ctanf.c (__ctanf): Likewise.
30577 * math/s_ctanh.c (__ctanh): Likewise.
30578 * math/s_ctanhf.c (__ctanhf): Likewise.
30579 * math/s_ctanhl.c (__ctanhl): Likewise.
30580 * math/s_ctanl.c (__ctanl): Likewise.
30581 * math/libm-test.inc (ctan_test_tonearest): New function.
30582 (ctan_test_towardzero): Likewise.
30583 (ctan_test_downward): Likewise.
30584 (ctan_test_upward): Likewise.
30585 (ctanh_test_tonearest): Likewise.
30586 (ctanh_test_towardzero): Likewise.
30587 (ctanh_test_downward): Likewise.
30588 (ctanh_test_upward): Likewise.
30589 (main): Call these new functions.
30590 * sysdeps/i386/fpu/libm-test-ulps: Update.
30591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30593 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30595 * .gitignore: Delete /ports entry.
30597 2012-07-03 Andreas Jaeger <aj@suse.de>
30599 * po/bg.po: Update from translation team.
30600 * po/cs.po: Likewise.
30601 * po/de.po: Likewise.
30602 * po/hr.po: Likewise.
30603 * po/nl.pl: Likewise.
30604 * po/pl.po: Likewise.
30605 * po/vi.po: Likewise.
30607 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30609 * Makeconfig [!+link] (+link-before-libc): New variable.
30610 [!+link] (+link-after-libc): Likewise.
30611 [!+link] (+link-tests): Likewise.
30612 [!+link] (+link): Define in terms of $(+link-before-libc) and
30613 $(+link-after-libc).
30614 [!+link-static] (+link-static-before-libc): New variable.
30615 [!+link-static] (+link-static-after-libc): Likewise.
30616 [!+link-static] (+link-static-tests): Likewise.
30617 [!+link-static] (+link-static): Define in terms of
30618 $(+link-static-before-libc) and $(+link-static-after-libc).
30619 [build-shared] (link-libc-before-gnulib): New variable.
30620 [build-shared] (link-libc-tests): Likewise.
30621 [build-shared] (link-libc): Define in terms of
30622 $(link-libc-before-gnulib).
30623 [!build-shared] (link-libc-tests): New variable.
30624 (link-libc-static-tests): New variable.
30625 [!gnulib] (gnulib-arch): New variable.
30626 [!gnulib] (gnulib-tests): Likewise.
30627 [!gnulib] (static-gnulib-arch): Likewise.
30628 [!gnulib] (static-gnulib-tests): Likewise.
30629 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30630 Define with "=" instead of ":=".
30631 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30632 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30633 * Rules (binaries-all-notests): New variable.
30634 (binaries-all-tests): Likewise.
30635 (binaries-static-notests): Likewise.
30636 (binaries-static-tests): Likewise.
30637 (binaries-all): Define using $(binaries-all-notests) and
30638 $(binaries-all-tests).
30639 (binaries-static): Define using $(binaries-static-notests) and
30640 $(binaries-static-tests).
30641 (binaries-shared-tests): New variable.
30642 (binaries-shared-notests): Likewise.
30643 (binaries-shared): Remove variable.
30644 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30645 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30646 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30647 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30648 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30649 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30650 * elf/Makefile (sln-modules): New variable.
30651 (extra-objs): Add $(sln-modules:=.o).
30652 (ldconfig-modules): Add static-stubs.
30653 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30654 * elf/static-stubs.c: New file.
30657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30658 by 7 not 8 to examine high bit of fractional part. Use volatile
30659 variables when splitting into final array of floats if
30660 __FLT_EVAL_METHOD__ != 0.
30661 * math/libm-test.inc (cos_test): Add another test.
30662 (sin_test): Likewise.
30663 * sysdeps/i386/fpu/libm-test-ulps: Update.
30666 * math/libm-test.inc (cosh_test): Add more tests.
30668 * version.h (RELEASE): Set to "development".
30669 (VERSION): Set to "2.16.90".
30671 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30673 * NEWS: Update copyright. Remove last-updated date.
30674 Mention math library bug fixes and timezone data changes.
30675 * README: Mention GNU/Hurd, x32, and HPPA support status.
30677 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30679 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30681 2012-06-27 Andreas Jaeger <aj@suse.de>
30683 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30685 2012-06-25 Andreas Jaeger <aj@suse.de>
30687 * sysdeps/s390/fpu/libm-test-ulps: Update.
30689 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30690 Thomas Schwinge <thomas@codesourcery.com>
30692 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30693 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30697 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30699 * sysdeps/mach/start.c: Remove file.
30700 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30701 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30702 * sysdeps/sh/init-first.c: Likewise.
30704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30705 registers for frame unwinding purposes, add CFI directives.
30706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30708 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30711 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30712 __fortify_fail returning.
30713 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30715 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30716 sysdeps/sh/____longjmp_chk.S.
30717 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30718 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30719 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30720 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30722 * sysdeps/sh/abort-instr.h: New file.
30723 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30724 process in case exit returns.
30726 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30727 initialize the GOT register before use.
30729 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30730 calculation of ARGC > 4.
30732 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30733 meaningful names to some local labels.
30735 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30736 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30738 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30739 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30740 (__arch_compare_and_exchange_val_16_acq): Likewise.
30741 (__arch_compare_and_exchange_val_32_acq): Likewise.
30742 (atomic_exchange_and_add): Fix gUSA sequence.
30743 (atomic_add): Likewise.
30744 (atomic_add_negative): Likewise.
30745 (atomic_add_zero): Likewise.
30746 (atomic_bit_test_set): Likewise.
30748 2012-06-22 Andreas Schwab <schwab@redhat.com>
30751 * include/link.h (struct link_map): Add l_free_initfini.
30752 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30754 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30755 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30756 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30759 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30761 * configure.in: Use AC_LANG_SOURCE.
30762 * configure: Regenerate.
30764 2012-06-22 Roland McGrath <roland@hack.frob.com>
30766 * configure.in (libc_cv_localstatedir): New substituted variable.
30767 * configure: Regenerated.
30768 * config.make.in (localstatedir): New variable, substituted from
30769 libc_cv_localstatedir.
30770 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30771 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30772 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30773 * sysdeps/gnu/configure: Regenerated.
30775 2012-06-21 Jeff Law <law@redhat.com>
30778 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30779 free. Simplify list management for _LIBC case.
30781 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30784 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30785 Clear sign bit of 64-bit integer value before comparing against
30788 * sysdeps/mach/configure: Regenerated.
30790 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30793 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30795 2012-06-21 Jeff Law <law@redhat.com>
30798 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30799 uint16_t for elements in the "seen" array to avoid char overflows.
30800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30801 * elf/dl-open.c (dl_open_worker): Likewise.
30803 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30805 * scripts/list-sources.sh: Scan PORTS for translations.
30806 * po/libc.pot: Regenerated.
30808 2012-06-21 Andreas Jaeger <aj@suse.de>
30811 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30813 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30814 * bits/byteswap-16.h (__bswap_16): Likewise.
30815 * bits/byteswap.h (__bswap_constant_16): Likewise.
30817 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30820 * sysdeps/i386/fpu_control.h: Removed.
30821 * sysdeps/x86_64/fpu_control.h: Moved to ...
30822 * sysdeps/x86/fpu_control.h: Here.
30824 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30825 (_FPU_SETCW): Likewise.
30827 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30830 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30831 * sysdeps/x86/fpu/bits/mathinline.h: This.
30832 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30836 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30837 functions if __x86_64__ is defined.
30839 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30841 * string/endian.h: Add !__ASSEMBLER__ condition for including
30842 conversion interfaces.
30844 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30848 of ABS(x) in calculating zero to negative powers other than odd
30850 * math/libm-test.inc (pow_test): Add more tests.
30852 2012-06-15 Andreas Jaeger <aj@suse.de>
30854 * manual/contrib.texi (Contributors): Update entry of Liubov
30855 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30858 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30860 * string/string.h: Add __wur to GNU version of strerror_r.
30862 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30865 * string/Makefile (tests): Add tst-strtok_r.
30866 * string/tst-strtok_r.c: New file.
30867 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30868 RAX_LP/RDX_LP on SAVE_PTR.
30870 2012-06-14 Roland McGrath <roland@hack.frob.com>
30872 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30874 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30876 * libm_test.inc (csqrt_test): Allow more spurious underflow
30878 (j0_test): Likewise.
30879 (j1_test): Likewise.
30880 (y0_test): Likewise.
30881 (y1_test): Likewise.
30883 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30885 * po/Makefile (libc.pot): Use UTF-8 charset.
30887 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30890 Suppress sign-conversion warning from FD_SET.
30891 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30892 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30893 not unsigned long int.
30894 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30896 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30900 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30901 __extern_always_inline instead of __extern_inline.
30902 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30903 (__signbit): Likewise.
30904 (__signbitl): Support C++ namespace.
30905 (lrintf): New inline function.
30907 (llrintf): Likewise.
30908 (llrint): Likewise.
30918 (floorf): Likewise.
30919 (nearbyint): Likewise.
30920 (nearbyintf): Likewise.
30922 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30924 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30925 non-default versions.
30927 2012-06-11 Roland McGrath <roland@hack.frob.com>
30930 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30932 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30934 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30935 (FE_UPWARD, FE_DOWNWARD): Don't define.
30936 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30941 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30942 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30944 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30946 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30948 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30949 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30951 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30954 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30955 * sysdeps/i386/fpu/Implies: New file.
30956 * sysdeps/x86_64/fpu/Implies: Likewise.
30957 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30958 * sysdeps/x86/fpu/bits/fenv.h: This.
30960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30963 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30966 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30967 character 0xffff that matches the last element of the
30970 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30975 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30978 values higher than 25.6283.
30980 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30983 subnormal exponent extraction and add some __builtin_expect.
30984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30985 Fix for subnormal mantissa calculation.
30987 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30989 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30990 cpu2 is -1 and errno is not ENOSYS.
30992 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30995 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30996 * sysdeps/x86/bits/string.h: This.
30997 * sysdeps/x86_64/bits/string.h: Removed.
30999 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31000 if not compiling for x86-64, but compiling for >= i486.
31002 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31003 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31005 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31006 New macro from Linux kernel 3.4.0.
31007 (FP_XSTATE_MAGIC2): Likewise.
31008 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31009 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31010 (struct _fpx_sw_bytes): New struct.
31011 (struct _xsave_hdr): Likewise.
31012 (struct _ymmh_state): Likewise.
31013 (struct _xstate): Likewise.
31015 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31016 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31018 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31019 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31020 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31022 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31024 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31025 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31026 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31027 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31029 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31032 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31033 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31034 (sysdep_headers): Include sys/platform/ppc.h.
31035 * sysdeps/powerpc/test-gettimebase.c: Test for
31036 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31037 * manual/Makefile (appendices): Include platform.texi.
31038 * manual/contrib.texi (Contributors): Update @node pointers.
31039 * manual/maint.texi (Maintenance): Likewise.
31040 (Platform): New node.
31041 * manual/platform.texi: New file. Document the new features.
31043 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31044 Jakub Jelinek <jakub@redhat.com>
31047 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31048 where __builtin_expect is unavailable.
31050 2012-06-03 David S. Miller <davem@davemloft.net>
31052 * stdlib/longlong.h: Updated from GCC.
31054 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31057 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31058 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31061 (GLIBC_2.16): Likewise.
31063 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31065 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31067 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31070 (default-abi): New variable.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31074 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31076 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31078 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31081 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31082 definition. Document in comment.
31084 2012-06-01 David S. Miller <davem@davemloft.net>
31086 * stdlib/longlong.h: Updated from GCC.
31088 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31091 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31092 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31093 sys/debugreg.h sys/io.h here.
31094 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31095 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31097 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31098 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31099 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31100 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31101 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31102 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31105 Define only if __x86_64__ is defined.
31107 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31110 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31111 Use int64_t for variable i.
31112 * math/libm-test.inc (fmod_test): Add more tests.
31114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31115 z computation is not scheduled after fetestexcept.
31116 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31117 Use math_force_eval instead of asm to ensure calculation scheduled
31118 before exception test.
31119 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31120 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31122 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31125 computation is not scheduled after fetestexcept.
31127 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31130 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31131 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31133 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31135 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31136 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31138 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31141 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31143 (__WCHAR_MIN): Support __WORDSIZE == 64.
31144 (__WCHAR_MAX): Likewise.
31146 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31147 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31151 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31154 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31155 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31157 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31158 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31161 Defined to 1 if __x86_64__ isn't defined.
31162 (_STAT_VER_LINUX_OLD): New.
31163 (st_atime): Remove duplicate.
31164 (st_mtime): Likewise.
31165 (st_ctime): Likewise.
31167 2012-05-31 David S. Miller <davem@davemloft.net>
31169 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31172 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31174 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31178 * elf/dl-reloc.c: Include <_itoa.h>.
31179 (_dl_reloc_bad_type): Remove use of INTUSE.
31180 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31181 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31182 * stdio-common/psiginfo.c (psiginfo): Likewise.
31183 * stdio-common/psignal.c (psignal): Likewise.
31184 * string/strsignal.c (strsignal): Likewise.
31185 * include/signal.h (_sys_siglist): Declare hidden proto.
31186 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31187 INTVARDEF with libc_hidden_data_def.
31188 * stdio-common/itoa-udigits.c: Likewise.
31189 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31190 (_itoa_lower_digits_internal): Remove declaration.
31191 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31192 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31193 (_sys_sigabbrev_internal): Remove aliases.
31194 (_sys_siglist): Define hidden alias.
31196 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31201 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31204 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31205 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31207 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31208 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31209 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31210 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31211 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31212 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31214 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31215 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31216 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31218 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31226 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31228 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31230 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31231 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31233 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31234 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31235 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31237 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31238 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31240 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31241 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31245 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31247 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31248 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31250 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31252 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31253 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31254 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31256 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31258 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31260 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31262 * math/math.h (M_El): Use two more decimal places.
31263 (M_LOG2El): Likewise.
31264 (M_LOG10El): Likewise.
31265 (M_LN2l): Likewise.
31266 (M_LN10l): Likewise.
31268 (M_PI_2l): Likewise.
31269 (M_PI_4l): Likewise.
31270 (M_1_PIl): Likewise.
31271 (M_2_PIl): Likewise.
31272 (M_2_SQRTPIl): Likewise.
31273 (M_SQRT2l): Likewise.
31274 (M_SQRT1_2l): Likewise.
31276 2012-05-31 David S. Miller <davem@davemloft.net>
31278 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31279 values between float registers.
31280 * sysdeps/sparc/sparc64/memset.S: Likewise.
31281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31283 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31285 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31286 -D_FORTIFY_SOURCE=1.
31287 (CPPFLAGS-tst-longjmp_chk.c): Define.
31288 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31289 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31290 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31291 CFLAGS-tst-wchar-h.c.
31293 2012-05-31 Marek Polacek <polacek@redhat.com>
31296 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31297 __endmntent_internal): Remove declaration.
31298 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31299 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31300 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31302 2012-05-30 David S. Miller <davem@davemloft.net>
31304 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31305 (___Q_simulate_exceptions): Use real FP ops rather than writing
31307 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31310 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31313 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31314 * sysdeps/x86/bits/xtitypes.h: This.
31316 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31317 * sysdeps/x86/bits/wordsize.h: This.
31319 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31320 * sysdeps/x86/bits/huge_vall.h: This.
31322 * sysdeps/i386/bits/select.h: Removed.
31323 * sysdeps/x86_64/bits/select.h: Renamed to ...
31324 * sysdeps/x86/bits/select.h: This.
31326 * sysdeps/i386/bits/setjmp.h: Removed.
31327 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31328 * sysdeps/x86/bits/setjmp.h: This.
31330 * sysdeps/i386/bits/mathdef.h: Removed.
31331 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31332 * sysdeps/x86/bits/mathdef.h: This.
31334 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31337 * include/sys/socket.h (__connect_internal)
31338 (__libc_sa_len_internal): Remove declaration.
31339 (__connect, __libc_sa_len): Declare hidden_proto.
31340 (SA_LEN): Remove use of INTUSE.
31341 * socket/connect.c: Add libc_hidden_def.
31342 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31343 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31344 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31346 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31348 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31349 of adding _internal alias.
31351 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31354 * sysdeps/i386/bits/link.h: Removed.
31355 * sysdeps/i386/bits/linkmap.h: Likewise.
31356 * sysdeps/x86_64/bits/link.h: Renamed to ...
31357 * sysdeps/x86/bits/link.h: This.
31358 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31359 * sysdeps/x86/bits/linkmap.h: This.
31361 * sysdeps/i386/bits/endian.h: Removed.
31362 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31363 * sysdeps/x86/bits/endian.h: This.
31365 * sysdeps/i386/bits/byteswap.h: Removed.
31366 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31367 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31368 * sysdeps/x86/bits/byteswap.h: This.
31369 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31370 * sysdeps/x86/bits/byteswap-16.h: This.
31371 * sysdeps/i386/Implies: Add x86.
31372 * sysdeps/x86_64/Implies: Likewise.
31374 2012-05-30 David S. Miller <davem@davemloft.net>
31376 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31377 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31378 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31379 (FP_TRAPPING_EXCEPTIONS): Define.
31380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31381 (FP_TRAPPING_EXCEPTIONS): Define.
31382 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31383 subnormals only when inexact has been signalled or underflow
31384 exceptions are enabled.
31385 (_FP_PACK_CANONICAL): Likewise.
31387 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31391 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31393 2012-05-30 Richard Henderson <rth@twiddle.net>
31395 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31396 with #ifndef NOT_IN_libc.
31398 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31399 marked to avoid plt entry.
31401 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31404 * Makeconfig (default-abi): New macro.
31405 (abi-includes): Likewise.
31406 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31407 $(abi-$(default-abi)-lib-soname) for soname if defined.
31408 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31410 * Makefile (installed-stubs): Likewise.
31411 * include/stubs-biarch.h: Removed.
31412 * scripts/lib-names.awk: Only handle one library at a time.
31413 * scripts/soversions.awk: Remove WORDSIZE support.
31414 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31416 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31418 (syscall-list-default-condition): Likewise.
31419 (syscall-list-default-condition): Likewise.
31420 (syscall-list-includes): Likewise.
31421 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31422 syscall-list-* with abi-*. Handle undefined abi-variants.
31423 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31424 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31425 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31426 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31427 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31428 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31430 (syscall-list-32-options): Likewise.
31431 (syscall-list-32-condition): Likewise.
31432 (syscall-list-64-options): Likewise.
31433 (syscall-list-64-condition): Likewise.
31434 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31436 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31439 (abi-64-ld-soname): New macro.
31440 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31441 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31444 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31445 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31447 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31449 * sysdeps/unix/sysv/linux/kernel-features.h
31450 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31451 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31452 include <kernel-features.h>.
31453 [!__NR_ftruncate64]: Remove conditional code.
31454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31455 [__NR_ftruncate64]: Make code unconditional.
31456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31457 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31458 include <kernel-features.h>.
31459 [!__NR_ftruncate64]: Remove conditional code.
31460 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31461 [__NR_ftruncate64]: Make code unconditional.
31462 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31464 include <kernel-features.h>.
31465 [!__NR_ftruncate64]: Remove conditional code.
31466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31467 [__NR_ftruncate64]: Make code unconditional.
31468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31470 include <kernel-features.h>.
31471 [!__NR_ftruncate64]: Remove conditional code.
31472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31473 [__NR_ftruncate64]: Make code unconditional.
31474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31476 * configure.in (libc_cv_fpie): Weaken to a compile test using
31477 LIBC_TRY_CC_OPTION.
31478 * configure: Regenerated.
31480 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31495 2012-05-27 David S. Miller <davem@davemloft.net>
31497 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31499 (__Q_simulate_exceptions): Return void. Change to simulate
31500 exceptions by writing into the %fsr.
31501 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31502 (__Qp_handle_exceptions): Likewise.
31504 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31505 __Qp_handle_exceptions.
31506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31507 __Qp_handle_exceptions.
31508 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31509 as unused and give dummy FP_RND_NEAREST initializer.
31510 (FP_INHIBIT_RESULTS): Define.
31511 (___Q_simulate_exceptions): Update declaration.
31512 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31515 as unused and give dummy FP_RND_NEAREST initializer.
31516 (__Qp_handle_exceptions): Update declaration.
31517 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31520 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31522 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31523 the temporary FPU control word.
31524 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31525 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31526 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31527 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31528 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31530 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31532 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31533 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31536 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31541 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31543 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31544 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31545 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31546 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31548 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31549 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31552 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31554 * po/h.po: Update from translation team.
31556 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31558 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31560 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31561 handling of denormals.
31562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31563 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31564 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31565 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31571 2012-05-26 Marek Polacek <polacek@redhat.com>
31574 * math/libm-test.inc (fma_test): Don't always expect underflow
31577 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31580 * elf/tst-execstack.c: Include stackinfo.h.
31581 (do_test): Adjust test case to ensure that pthread_getattr_np
31582 behaviour remains the same after marking stack executable.
31584 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31586 * sysdeps/unix/sysv/linux/kernel-features.h
31587 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31588 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31590 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31591 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31592 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31594 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31595 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31597 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31599 * configure.in: Define the default includes to being none.
31600 * configure: Regenerated.
31602 2012-05-25 Roland McGrath <roland@hack.frob.com>
31604 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31605 * sysdeps/x86_64/setjmp.S: Likewise.
31606 * sysdeps/i386/bsd-setjmp.S: Likewise.
31607 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31608 * sysdeps/i386/setjmp.S: Likewise.
31609 * sysdeps/i386/__longjmp.S: Likewise.
31610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31611 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31613 * include/stap-probe.h: New file.
31614 * configure.in: Handle --enable-systemtap.
31615 * configure: Regenerated.
31616 * config.h.in (USE_STAP_PROBE): New #undef.
31617 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31618 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31619 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31621 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31625 to 2.4.0 where earlier.
31626 * sysdeps/unix/sysv/linux/configure: Regenerated.
31627 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31628 <kernel-features.h>.
31629 [__ASSUME_32BITUIDS]: Make code unconditional.
31630 [!__ASSUME_32BITUIDS]: Remove conditional code.
31631 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31632 <kernel-features.h>.
31633 [__ASSUME_32BITUIDS]: Make code unconditional.
31634 [!__ASSUME_32BITUIDS]: Remove conditional code.
31635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31636 [__ASSUME_32BITUIDS]: Make code unconditional.
31637 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31638 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31639 <kernel-features.h>.
31640 [__ASSUME_32BITUIDS]: Make code unconditional.
31641 [!__ASSUME_32BITUIDS]: Remove conditional code.
31642 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31643 <kernel-features.h>.
31644 [__ASSUME_32BITUIDS]: Make code unconditional.
31645 [!__ASSUME_32BITUIDS]: Remove conditional code.
31646 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31647 <kernel-features.h>.
31648 [__ASSUME_32BITUIDS]: Make code unconditional.
31649 [!__ASSUME_32BITUIDS]: Remove conditional code.
31650 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31651 <kernel-features.h>.
31652 [__ASSUME_32BITUIDS]: Make code unconditional.
31653 [!__ASSUME_32BITUIDS]: Remove conditional code.
31654 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31655 <kernel-features.h>.
31656 [__ASSUME_32BITUIDS]: Make code unconditional.
31657 [!__ASSUME_32BITUIDS]: Remove conditional code.
31658 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31659 <kernel-features.h>.
31660 [__ASSUME_32BITUIDS]: Make code unconditional.
31661 [!__ASSUME_32BITUIDS]: Remove conditional code.
31662 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31663 <kernel-features.h>.
31664 [__ASSUME_32BITUIDS]: Make code unconditional.
31665 [!__ASSUME_32BITUIDS]: Remove conditional code.
31666 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31667 <kernel-features.h>.
31668 [__ASSUME_32BITUIDS]: Make code unconditional.
31669 [!__ASSUME_32BITUIDS]: Remove conditional code.
31670 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31671 <kernel-features.h>.
31672 [__ASSUME_32BITUIDS]: Make code unconditional.
31673 [!__ASSUME_32BITUIDS]: Remove conditional code.
31674 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31675 <kernel-features.h>.
31676 [__ASSUME_32BITUIDS]: Make code unconditional.
31677 [!__ASSUME_32BITUIDS]: Remove conditional code.
31678 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31679 <kernel-features.h>.
31680 [__NR_setresgid] (__setresgid): Do not declare.
31681 [__ASSUME_32BITUIDS]: Make code unconditional.
31682 [!__ASSUME_32BITUIDS]: Remove conditional code.
31683 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31684 <kernel-features.h>.
31685 [__NR_setresuid] (__setresuid): Do not declare.
31686 [__ASSUME_32BITUIDS]: Make code unconditional.
31687 [!__ASSUME_32BITUIDS]: Remove conditional code.
31688 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31689 <kernel-features.h>.
31690 [__ASSUME_32BITUIDS]: Make code unconditional.
31691 [!__ASSUME_32BITUIDS]: Remove conditional code.
31692 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31693 <kernel-features.h>.
31694 [__ASSUME_32BITUIDS]: Make code unconditional.
31695 [!__ASSUME_32BITUIDS]: Remove conditional code.
31696 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31697 <kernel-features.h>.
31698 [__ASSUME_32BITUIDS]: Make code unconditional.
31699 [!__ASSUME_32BITUIDS]: Remove conditional code.
31700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31701 <kernel-features.h>.
31702 [__ASSUME_32BITUIDS]: Make code unconditional.
31703 [!__ASSUME_32BITUIDS]: Remove conditional code.
31704 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31705 <kernel-features.h>.
31706 [__ASSUME_32BITUIDS]: Make code unconditional.
31707 [!__ASSUME_32BITUIDS]: Remove conditional code.
31708 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31709 <kernel-features.h>.
31710 [__ASSUME_32BITUIDS]: Make code unconditional.
31711 [!__ASSUME_32BITUIDS]: Remove conditional code.
31712 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31713 <kernel-features.h>.
31714 [__ASSUME_32BITUIDS]: Make code unconditional.
31715 [!__ASSUME_32BITUIDS]: Remove conditional code.
31716 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31717 <kernel-features.h>.
31718 [__ASSUME_32BITUIDS]: Make code unconditional.
31719 [!__ASSUME_32BITUIDS]: Remove conditional code.
31720 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31721 <kernel-features.h>.
31722 [__ASSUME_32BITUIDS]: Make code unconditional.
31723 [!__ASSUME_32BITUIDS]: Remove conditional code.
31724 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31725 <kernel-features.h>.
31726 [__ASSUME_32BITUIDS]: Make code unconditional.
31727 [!__ASSUME_32BITUIDS]: Remove conditional code.
31728 * sysdeps/unix/sysv/linux/kernel-features.h
31729 (__ASSUME_SETRESUID_SYSCALL): Remove.
31730 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31731 (__ASSUME_32BITUIDS): Likewise.
31732 (__ASSUME_LDT_WORKS): Likewise.
31733 (__ASSUME_O_DIRECTORY): Likewise.
31734 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31735 architecture but not kernel version.
31736 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31737 (__ASSUME_MMAP2_SYSCALL): Likewise.
31738 (__ASSUME_STAT64_SYSCALL): Likewise.
31739 (__ASSUME_IPC64): Likewise.
31740 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31741 <kernel-features.h>.
31742 [__ASSUME_32BITUIDS]: Make code unconditional.
31743 [!__ASSUME_32BITUIDS]: Remove conditional code.
31744 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31745 <kernel-features.h>.
31746 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31747 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31748 132096]: Remove conditional code.
31749 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31750 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31751 <kernel-features.h>.
31752 [__ASSUME_32BITUIDS]: Make code unconditional.
31753 [!__ASSUME_32BITUIDS]: Remove conditional code.
31754 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31755 <kernel-features.h>.
31756 [__ASSUME_32BITUIDS]: Make code unconditional.
31757 [!__ASSUME_32BITUIDS]: Remove conditional code.
31758 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31759 <kernel-features.h>.
31760 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31762 (__setresgid): Do not declare.
31763 [__ASSUME_32BITUIDS]: Make code unconditional.
31764 [!__ASSUME_32BITUIDS]: Remove conditional code.
31765 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31766 <kernel-features.h>.
31767 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31769 (__setresuid): Do not declare.
31770 [__ASSUME_32BITUIDS]: Make code unconditional.
31771 [!__ASSUME_32BITUIDS]: Remove conditional code.
31772 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31773 <kernel-features.h>.
31774 [__ASSUME_32BITUIDS]: Make code unconditional.
31775 [!__ASSUME_32BITUIDS]: Remove conditional code.
31776 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31777 <kernel-features.h>.
31778 [__ASSUME_32BITUIDS]: Make code unconditional.
31779 [!__ASSUME_32BITUIDS]: Remove conditional code.
31781 2012-05-25 Richard Henderson <rth@twiddle.net>
31783 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31784 dl_hwcap to ifunc resolver.
31785 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31787 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31788 dl_hwcap to ifunc resolver.
31789 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31791 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31794 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31795 for |x| <= 2**-26, not 2**-57.
31796 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31799 2012-05-24 Jeff Law <law@redhat.com>
31801 * stdio-common/Makefile (tests): Add bug25.
31802 * stdio-common/bug25.c: New test.
31804 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31807 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31808 multiple of MALLOC_ALIGNMENT in size.
31809 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31811 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31813 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31815 (FILENAME_MAX): Use macro-int-constant.
31816 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31817 (_IOFBF): Use macro-int-constant.
31818 (_IOLBF): Likewise.
31819 (_IONBF): Likewise.
31820 (SEEK_CUR): Likewise.
31821 (SEEK_END): Likewise.
31822 (SEEK_SET): Likewise.
31823 (TMP_MAX): Likewise.
31824 (EOF): Use macro-int-constant. Require < 0.
31825 (NULL): Use macro-constant. Require == 0.
31826 (stdin): Require type to be FILE *.
31827 (stdout): Likewise.
31828 (stderr): Likewise.
31829 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31830 macro-int-constant.
31831 (EXIT_SUCCESS): Likewise.
31832 (NULL): Use macro-constant. Require == 0.
31833 (RAND_MAX): Use macro-int-constant.
31834 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31835 [C99-based standards] (strtof): Require function.
31836 [C99-based standards] (strtold): Likewise.
31837 [C99-based standards] (strtoll): Likewise.
31838 [C99-based standards] (strtoull): Likewise.
31839 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31840 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31841 [ISO || ISO99 || ISO11] (math.h): Likewise.
31842 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31843 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31844 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31846 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31849 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31850 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31851 * intl/dgettext.c (DCGETTEXT): Likewise.
31852 * intl/gettext.c (DCGETTEXT): Likewise.
31853 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31854 * posix/regex_internal.h (gettext): Likewise.
31855 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31856 Remove declaration.
31857 * include/argz.h (__argz_count_internal)
31858 (__argz_stringify_internal): Remove declaration.
31859 (__argz_count, __argz_stringify): Declare hidden proto.
31860 * intl/dcgettext.c: Remove use of INTDEF.
31861 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31862 * string/argz-stringify.c: Likewise.
31863 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31864 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31865 Declare hidden proto.
31866 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31867 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31868 Declare hidden proto.
31869 * include/stdio.h (__asprintf_internal): Don't declare.
31870 (__asprintf): Don't define as macro. Declare hidden proto.
31871 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31872 (__fsetlocking): Declare hidden proto.
31873 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31874 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31876 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31877 (_IO_setlinebuf): Remove use of INTUSE.
31878 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31879 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31880 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31881 Remove declaration.
31882 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31883 (_IO_do_flush): Remove use of INTUSE.
31884 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31885 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31886 (_IO_adjust_column, _IO_least_wmarker)
31887 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31888 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31889 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31890 (_IO_default_doallocate, _IO_wdefault_doallocate)
31891 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31892 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31893 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31894 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31895 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31896 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31897 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31898 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31899 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31900 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31901 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31902 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31903 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31905 (_IO_flush_all_internal, _IO_adjust_column_internal)
31906 (_IO_default_uflow_internal, _IO_default_finish_internal)
31907 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31908 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31909 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31910 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31911 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31912 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31913 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31914 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31915 (_IO_file_close_internal, _IO_file_close_it_internal)
31916 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31917 (_IO_file_init_internal, _IO_file_attach_internal)
31918 (_IO_file_fopen_internal, _IO_file_read_internal)
31919 (_IO_file_sync_internal, _IO_file_seek_internal)
31920 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31921 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31922 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31923 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31924 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31925 (_IO_list_all_internal, _IO_link_in_internal)
31926 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31927 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31928 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31929 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31930 (_IO_do_write_internal, _IO_padn_internal)
31931 (_IO_getline_info_internal, _IO_getline_internal)
31932 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31933 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31934 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31935 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31936 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31937 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31938 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31939 with libc_hidden_ver, remove use of INTUSE.
31940 * libio/genops.c: Likewise.
31941 * libio/freopen.c: Likewise.
31942 * libio/freopen64.c: Likewise.
31943 * libio/iofclose.c: Likewise.
31944 * libio/iofdopen.c: Likewise.
31945 * libio/iofflush.c: Likewise.
31946 * libio/iofflush_u.c: Likewise.
31947 * libio/iofgets.c: Likewise.
31948 * libio/iofgets_u.c: Likewise.
31949 * libio/iofopen.c: Likewise.
31950 * libio/iofopncook.c: Likewise.
31951 * libio/iofread.c: Likewise.
31952 * libio/iofread_u.c: Likewise.
31953 * libio/ioftell.c: Likewise.
31954 * libio/iofwrite.c: Likewise.
31955 * libio/iogetline.c: Likewise.
31956 * libio/iogets.c: Likewise.
31957 * libio/iogetwline.c: Likewise.
31958 * libio/iopadn.c: Likewise.
31959 * libio/iopopen.c: Likewise.
31960 * libio/ioseekoff.c: Likewise.
31961 * libio/ioseekpos.c: Likewise.
31962 * libio/iosetbuffer.c: Likewise.
31963 * libio/iosetvbuf.c: Likewise.
31964 * libio/ioungetc.c: Likewise.
31965 * libio/ioungetwc.c: Likewise.
31966 * libio/iovdprintf.c: Likewise.
31967 * libio/iovsprintf.c: Likewise.
31968 * libio/iovsscanf.c: Likewise.
31969 * libio/memstream.c: Likewise.
31970 * libio/obprintf.c: Likewise.
31971 * libio/oldfileops.c: Likewise.
31972 * libio/oldiofclose.c: Likewise.
31973 * libio/oldiofdopen.c: Likewise.
31974 * libio/oldiofopen.c: Likewise.
31975 * libio/oldiopopen.c: Likewise.
31976 * libio/oldstdfiles.c: Likewise.
31977 * libio/putc.c: Likewise.
31978 * libio/setbuf.c: Likewise.
31979 * libio/setlinebuf.c: Likewise.
31980 * libio/stdfiles.c: Likewise.
31981 * libio/strops.c: Likewise.
31982 * libio/vasprintf.c: Likewise.
31983 * libio/vscanf.c: Likewise.
31984 * libio/vsnprintf.c: Likewise.
31985 * libio/vswprintf.c: Likewise.
31986 * libio/wfiledoalloc.c: Likewise.
31987 * libio/wfileops.c: Likewise.
31988 * libio/wgenops.c: Likewise.
31989 * libio/wmemstream.c: Likewise.
31990 * libio/wstrops.c: Likewise.
31991 * libio/__fpurge.c: Likewise.
31992 * libio/__fsetlocking.c: Likewise.
31993 * assert/assert.c: Likewise.
31994 * debug/fgets_chk.c: Likewise.
31995 * debug/fgets_u_chk.c: Likewise.
31996 * debug/fread_chk.c: Likewise.
31997 * debug/fread_u_chk.c: Likewise.
31998 * debug/gets_chk.c: Likewise.
31999 * debug/obprintf_chk.c: Likewise.
32000 * debug/vasprintf_chk.c: Likewise.
32001 * debug/vdprintf_chk.c: Likewise.
32002 * debug/vsnprintf_chk.c: Likewise.
32003 * debug/vsprintf_chk.c: Likewise.
32004 * malloc/mtrace.c: Likewise.
32005 * misc/error.c: Likewise.
32006 * misc/syslog.c: Likewise.
32007 * stdio-common/asprintf.c: Likewise.
32008 * stdio-common/fxprintf.c: Likewise.
32009 * stdio-common/getw.c: Likewise.
32010 * stdio-common/isoc99_fscanf.c: Likewise.
32011 * stdio-common/isoc99_scanf.c: Likewise.
32012 * stdio-common/isoc99_vfscanf.c: Likewise.
32013 * stdio-common/isoc99_vscanf.c: Likewise.
32014 * stdio-common/isoc99_vsscanf.c: Likewise.
32015 * stdio-common/printf-prs.c: Likewise.
32016 * stdio-common/printf_fp.c: Likewise.
32017 * stdio-common/printf_fphex.c: Likewise.
32018 * stdio-common/printf_size.c: Likewise.
32019 * stdio-common/putw.c: Likewise.
32020 * stdio-common/scanf.c: Likewise.
32021 * stdio-common/sprintf.c: Likewise.
32022 * stdio-common/tmpfile.c: Likewise.
32023 * stdio-common/vfprintf.c: Likewise.
32024 * stdio-common/vfscanf.c: Likewise.
32025 * stdlib/strfmon_l.c: Likewise.
32026 * sunrpc/openchild.c: Likewise.
32027 * sunrpc/xdr_stdio.c: Likewise.
32028 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32029 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32031 2012-05-24 Roland McGrath <roland@hack.frob.com>
32033 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32035 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32036 in the third column, to generate for the shared library an IFUNC
32037 that uses _dl_vdso_vsym.
32038 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32039 * Makeconfig (object-suffixes-noshared): New variable.
32041 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32042 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32043 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32044 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32047 * include/sys/time.h (__gettimeofday): Remove macro.
32048 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32049 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32051 (__gettimeofday): Add libc_hidden_def.
32052 (gettimeofday): Add libc_hidden_weak.
32053 * sysdeps/mach/gettimeofday.c: Likewise.
32054 * sysdeps/posix/gettimeofday.c: Likewise.
32055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32056 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32058 (__gettimeofday_internal): Remove strong_alias.
32059 (__gettimeofday): Add libc_hidden_def.
32060 (gettimeofday): Add libc_hidden_weak.
32061 * sysdeps/unix/syscalls.list (gettimeofday):
32062 Remove __gettimeofday_internal alias.
32064 2012-05-24 Daniel Jacobowitz <drow@false.org>
32065 H.J. Lu <hongjiu.lu@intel.com>
32068 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32069 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32070 (largebin_index_32_big): New.
32071 (largebin_index): Use it for 16-byte alignment.
32072 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32073 correction with front_misalign.
32075 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32103 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32104 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32106 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32110 * math/libm-test.inc (exp_test): Add test from bug 14036.
32111 (pow_test): Add test from bug 10846.
32113 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32115 (special_function): Do not include flags in test name.
32116 (parse_args): Likewise.
32117 * sysdeps/i386/fpu/libm-test-ulps: Update.
32118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32123 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32125 * math/libm-test.inc ("Philosophy"): Update comment about
32127 (UNDERFLOW_EXCEPTION): New macro.
32128 (UNDERFLOW_EXCEPTION_OK): Likewise.
32129 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32130 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32131 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32132 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32133 (INVALID_EXCEPTION_OK): Update value.
32134 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32135 (OVERFLOW_EXCEPTION_OK): Likewise.
32136 (IGNORE_ZERO_INF_SIGN): Likewise.
32137 (test_exceptions): Handle underflow exceptions.
32138 (acos_test): Update for underflow exception expectations.
32139 (cexp_test): Likewise.
32140 (clog_test): Likewise.
32141 (clog10_test): Likewise.
32142 (csqrt_test): Likewise.
32143 (ctan_test): Likewise.
32144 (ctanh_test): Likewise.
32145 (exp_test): Likewise.
32146 (exp10_test): Likewise.
32147 (exp2_test): Likewise.
32148 (expm1_test): Likewise.
32149 (fma_test): Likewise.
32150 (j0_test): Likewise.
32151 (jn_test): Likewise.
32152 (nexttoward_test): Likewise.
32153 (pow_test): Likewise.
32154 (scalbn_test): Likewise.
32155 (scalbln_test): Likewise.
32156 (tan_test): Likewise.
32157 (y1_test): Likewise.
32158 * sysdeps/i386/fpu/libm-test-ulps: Update.
32159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32161 2012-05-23 David S. Miller <davem@davemloft.net>
32163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32164 (__libc_sigaction): Remove unused local variables.
32166 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32168 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32170 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32172 mktime: avoid signed integer overflow
32173 * time/mktime.c (__mktime_internal): Do not mishandle the case
32174 where diff == INT_MIN.
32176 mktime: simplify computation of average
32177 * time/mktime.c (ranged_convert): Use new time_t_avg function
32178 instead of rolling our own (probably-slower) code.
32180 mktime: do not assume signed right shift propagates sign bit
32181 * time/mktime.c (isdst_differ): New static function.
32182 (__mktime_internal): No need to normalize tm_isdst now.
32183 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32186 mktime: merge another wrapv change from gnulib
32187 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32188 from some compilers.
32190 mktime: remove incorrect attempt at unusual arithmetics
32191 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32192 The code didn't really work on such machines anyway.
32193 (TYPE_MINIMUM): Assume two's complement.
32194 (twos_complement_arithmetic): Verify that long_int and time_t
32195 are two's complement (or unsigned, in the latter case).
32197 mktime: check signed shifts on long_int and time_t, too
32198 * time/mktime.c (SHR): Check that shifts work as desired
32199 on the types long_int and time_t too, as SHR is used on
32202 mktime: do not assume 'long' is wide enough
32203 * time/mktime.c (verify): Move decl up.
32204 (long_int): New type.
32205 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32206 to remove assumption in the code that 'long' is wide enough to
32207 store year values. This assumption is not true on x32 and on
32208 some non-glibc platforms.
32210 mktime: merge wrapv change from gnulib
32211 * time/mktime.c (WRAPV): New macro.
32212 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32213 (guess_time_tm, __mktime_internal): Do not assume that signed
32214 integer overflow wraps around; modern compilers generate code
32215 where this assumption is no longer valid.
32217 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32219 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32220 Replace "jmp L(pseudo_end)" with "ret".
32221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32224 2012-05-23 Andreas Jaeger <aj@suse.de>
32226 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32227 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32229 2012-05-23 Andreas Jaeger <aj@suse.de>
32230 Maximilian Attems <max@stro.at>
32232 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32235 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32238 code so that pseudo_end is just ret and the stack pointer is
32239 correct also for static library in error case.
32241 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32243 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32244 move to syscalls.list.
32245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32250 * manual/install.texi (Running make install): Do not mention Linux
32251 kernel version for which pt_chown is not needed.
32252 (Linux): Do not mention problems with nscd with 2.0 kernels.
32253 * INSTALL: Regenerated.
32255 2012-05-23 Andreas Jaeger <aj@suse.de>
32257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32258 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32260 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32261 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32262 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32263 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32264 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32265 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32267 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32270 * sysdeps/unix/sysv/linux/bits/in.h
32271 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32273 2012-05-22 Roland McGrath <roland@hack.frob.com>
32275 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32276 (PREPARE_VERSION): Just use assert instead, it will be elided
32277 under [NDEBUG] anyway.
32279 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32281 * sysdeps/unix/sysv/linux/Makefile: Include
32282 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32283 (sysdep_routines): Remove sysctl.
32284 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32285 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32286 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32287 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32288 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32290 2012-05-22 Andreas Jaeger <aj@suse.de>
32292 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32293 that pseudo_end is just ret and the stack pointer is correct also
32294 for static library in error case.
32296 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32299 * nss/nsswitch.c (defconfig_entries): New variable.
32300 (__nss_database_lookup): Don't leak defconfig entries.
32301 (nss_parse_service_list): Don't leak on error paths.
32302 (free_database_entries): New function.
32303 (free_defconfig): New function.
32304 (free_mem): Move common code to free_database_entries.
32306 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32310 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32312 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32313 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32316 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32317 (INTERNAL_SYSCALL_TYPES): Likewise.
32318 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32319 (LOAD_REGS_TYPES_[1-6]): Likewise.
32320 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32321 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32323 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32326 copysignl for GLIBC_2_0.
32327 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32328 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32330 logbl for GLIBC_2_0.
32331 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32332 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32334 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32337 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32339 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32342 * time/mktime.c: Update copyright years.
32344 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32346 mktime: merge comment-quoting-style change from gnulib
32347 * time/mktime.c: Quote 'like this' in comments.
32348 The GNU coding standards suggest that we no longer quote `like this',
32349 as "`" and "'" are typically rendered asymmetrically nowadays.
32350 The typical gnulib style is to quote 'like this' when quoting
32351 code, and "like this" when quoting English.
32353 * time/mktime.c (compile-command): Add "-I.".
32355 mktime: merge mktime-internal.h change from gnulib
32356 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32358 mktime: merge time_r change from gnulib
32359 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32361 mktime: merge DEBUG change from gnulib
32362 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32363 case system <time.h> has a #define.
32365 mktime: merge <sys/types.h> change from gnulib
32366 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32367 since <time.t> is now guaranteed to define time_t.
32369 mktime: merge HAVE_CONFIG_H change from gnulib
32370 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32372 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32377 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32379 (struct rusage): Use anonymous union to pad each field to
32382 2012-05-21 David S. Miller <davem@davemloft.net>
32384 * Makefules (o-iterator): Remove .s cases.
32385 (compile-command.s): Delete.
32386 (COMPILE.s): Delete.
32387 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32389 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32391 * configure.in (libc_cv_predef_stack_protector): Only consider
32392 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32393 * configure: Regenerated.
32395 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32398 New macro. Use R*LP on int and pointer.
32399 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32400 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32401 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32402 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32404 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32405 [__WORDSIZE_TIME64_COMPAT32] instead of
32406 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32407 (struct utmp): Likewise.
32408 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32409 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32411 (__WORDSIZE_TIME64_COMPAT32): This.
32412 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32413 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32414 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32415 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32416 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32417 (__WORDSIZE_TIME64_COMPAT32): New macro.
32419 2012-05-21 Andreas Jaeger <aj@suse.de>
32421 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32422 only if [SHARED]. Add prototype for __wcschr_ia32.
32424 2012-05-21 Roland McGrath <roland@hack.frob.com>
32426 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32427 of %rbp unmolested in the jmp_buf while mangling the low bits.
32428 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32429 unmolested high bits of %rbp while demangling the low bits.
32430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32432 2012-05-21 Andreas Jaeger <aj@suse.de>
32434 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32435 * sunrpc/svc_simple.c: Use it for registerrpc.
32436 * sunrpc/xcrypt.c: Use it for passwd2des.
32438 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32440 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32442 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32443 Don't define if [__SYSCALL_WORDSIZE != 32].
32444 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32447 2012-05-21 Bruno Haible <bruno@clisp.org>
32448 Andreas Jaeger <aj@suse.de>
32450 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32451 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32452 inptr and inend for must_buffer_ch.
32453 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32454 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32455 * stdio-common/Makefile (tests): Remove bug15.
32456 (bug15-ENV): Remove macro.
32457 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32460 2012-05-19 Andreas Jaeger <aj@suse.de>
32461 Roland McGrath <roland@hack.frob.com>
32463 * manual/contrib.texi: Completely rewritten. It contains now an
32464 alphabetical list of contributors and their contributions.
32466 2012-05-21 Richard Henderson <rth@twiddle.net>
32468 * misc/getauxval.c (__getauxval): Use unsigned long int.
32469 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32470 (getauxval): Use unsigned long int.
32472 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32474 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32476 2012-05-21 Roland McGrath <roland@hack.frob.com>
32478 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32479 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32480 __alignof__ (long double).
32482 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32486 2012-05-20 Richard Henderson <rth@twiddle.net>
32488 * misc/getauxval.c: New file.
32489 * misc/sys/auxv.h: New file.
32490 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32491 (routines): Add getauxval.
32492 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32493 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32494 * elf/dl-sysdep.c (_dl_auxv): Remove.
32495 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32496 * elf/dl-support.c (_dl_auxv): New variable.
32497 (_dl_aux_init): Initialize it.
32498 * manual/startup.texi (Auxiliary Vector): New node.
32499 * sysdeps/generic/bits/hwcap.h: New file.
32500 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32501 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32502 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32503 * sysdeps/sparc/sysdep.h: ... here. Include it.
32504 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32511 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32517 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32521 2012-05-19 David S. Miller <davem@davemloft.net>
32523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32525 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32528 * math/s_ccosh.c: Include <float.h>
32529 (__ccosh): Avoid internal overflow calculating sinh and cosh
32530 values before multiplying by sin and cos values.
32531 * math/s_ccoshf.c: Likewise.
32532 * math/s_ccoshl.c: Likewise.
32533 * math/s_csin.c: Likewise.
32534 * math/s_csinf.c: Likewise.
32535 * math/s_csinl.c: Likewise.
32536 * math/s_csinh.c: Likewise.
32537 * math/s_csinhf.c: Likewise.
32538 * math/s_csinhl.c: Likewise.
32539 * math/libm-test.inc (ccos_test): Add more tests.
32540 (ccosh_test): Likewise.
32541 (csin_test): Likewise.
32542 (csinh_test): Likewise.
32543 * sysdeps/i386/fpu/libm-test-ulps: Update.
32544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32546 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32548 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32549 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32551 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32553 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32555 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32556 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32557 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32558 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32559 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32560 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32561 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32562 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32563 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32564 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32565 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32566 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32567 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32568 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32569 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32570 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32571 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32572 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32573 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32574 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32575 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32576 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32577 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32578 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32579 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32580 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32581 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32582 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32583 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32584 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32585 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32587 2012-05-18 Andreas Jaeger <aj@suse.de>
32589 * csu/.gitignore: Delete.
32591 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32593 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32594 (timex): Use __syscall_slong_t.
32596 2012-05-18 Andreas Jaeger <aj@suse.de>
32597 Carlos O'Donell <carlos_odonell@mentor.com>
32599 * manual/install.texi (Configuring and compiling): Update
32600 description about files modified in the source directory.
32601 * INSTALL: Regenerated.
32603 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32605 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32606 value. Use "or" to set return value to -1.
32607 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32608 negate return value.
32610 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32612 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32613 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32614 failure if the compiler has Graphite support disabled.
32615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32617 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32618 (CFLAGS-memmove.c): Likewise.
32619 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32622 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32624 * sysdeps/x86_64/x32/_itoa.h: New file.
32626 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32627 getdents system call only if kernel and user dirents have the
32628 same d_ino and d_off.
32630 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32631 LLONG_MAX != LONG_MAX.
32632 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32633 (_fitoa_word): Likewise.
32635 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32637 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32638 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32639 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32641 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32642 include <bits/wordsize.h>. Check __x86_64__ instead of
32644 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32645 if __x86_64__ is defined. Use anonymous union on fpstate.
32647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32650 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32652 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32653 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32654 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32655 Refer to _rtld_local_ro instead of _rtld_global_ro.
32656 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32658 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32660 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32662 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32663 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32664 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32666 * sysdeps/powerpc/powerpc32/dl-machine.c
32667 (__elf_machine_runtime_setup) [PROF]: Don't reference
32670 2012-05-18 Andreas Jaeger <aj@suse.de>
32672 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32673 function only available for GCCs before 3.4 since GCC 3.4
32674 introduced a builtin.
32676 (llrintf): Likewise.
32677 (llrint): Likewise.
32684 (nearbyint): Likewise.
32685 (nearbyintf): Likewise.
32689 (floorf): Likewise.
32691 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32693 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32694 on both fields and cast pointer to __syscall_ulong_t.
32696 * bits/types.h (__fsword_t): New type.
32697 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32698 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32700 (__FSWORD_T_TYPE): Likewise.
32701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32702 (__FSWORD_T_TYPE): Likewise.
32703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32704 (__FSWORD_T_TYPE): Likewise.
32705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32706 (__FSWORD_T_TYPE): Likewise.
32707 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32708 __SWORD_TYPE with __fsword_t.
32709 (statfs64): Likewise.
32711 2012-05-17 David S. Miller <davem@davemloft.net>
32713 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32715 2012-05-17 Andreas Jaeger <aj@suse.de>
32717 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32720 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32722 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32724 2012-05-17 Andreas Jaeger <aj@suse.de>
32726 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32729 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32731 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32733 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32735 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32736 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32738 2012-05-17 Andreas Jaeger <aj@suse.de>
32739 Carlos O'Donell <carlos_odonell@mentor.com>
32742 * sysdeps/x86_64/multiarch/init-arch.h
32743 (bit_YMM_Usable): Rename to...
32744 (bit_AVX_Usable): ... this.
32745 (bit_FMA4_Usable): New macro.
32746 (bit_XMM_state): New macro.
32747 (bit_YMM_state): New macro.
32748 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32749 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32750 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32751 (CPUID_OSXSAVE): New macro.
32752 (CPUID_AVX): New macro.
32753 (CPUID_FMA4): New macro.
32754 (index_YMM_Usable): Rename to...
32755 (index_AVX_Usable): ... this.
32756 (HAS_AVX): Use HAS_ARCH_FEATURE.
32757 (HAS_FMA4): Likewise.
32758 (HAS_YMM_USABLE): Remove.
32759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32760 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32762 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32763 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32764 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32765 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32766 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32768 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32770 * math/libm-test.c: Support platforms without multiple rounding modes.
32771 * math/bug-nextafter.c: Support platforms without FP exceptions.
32772 * math/bug-nexttoward.c: Likewise.
32773 * math/test-fenv.c: Likewise.
32774 * math/test-misc.c: Likewise.
32775 * stdlib/bug-getcontext.c: Likewise.
32777 2012-05-17 Andreas Jaeger <aj@suse.de>
32779 * manual/examples/search.c (critter_cmp): Change signature to
32781 * manual/string.texi (Collation Functions): Likewise.
32783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32785 * bits/types.h: Fold copyright years.
32786 * bits/typesizes.h: Likewise.
32787 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32791 * time/time.h: Likewise.
32793 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32796 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32797 in instead of returning them. Return void.
32798 (__libc_mallinfo): Accumulate over all arenas.
32799 (__malloc_stats): Adjust for change in int_mallinfo interface.
32801 2012-05-16 Roland McGrath <roland@hack.frob.com>
32804 * configure.in (NM): Add AC_CHECK_TOOL for it.
32805 (libc_extra_cflags): New substituted variable.
32806 Check for -fstack-protector being used implicitly.
32807 * configure: Regenerated.
32808 * config.make.in (config-extra-cflags): New variable,
32809 gets @libc_extra_cflags@.
32810 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32813 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32814 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32815 * configure: Regenerated.
32816 * config.make.in (CPPUNDEFS): New substituted variable.
32817 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32818 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32819 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32823 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32824 (mq_attr): Use __syscall_slong_t.
32826 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32828 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32829 Check __x86_64__ instead of __WORDSIZE.
32830 (_STAT_VER_LINUX): Likewise.
32831 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32832 __syscall_ulong_t and __syscall_slong_t.
32833 (stat64): Likewise.
32835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32837 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32845 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32848 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32849 include <bits/wordsize.h>. Check __x86_64__ instead of
32851 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32853 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32856 include <bits/wordsize.h>. Check __x86_64__ instead of
32858 (user_regs_struct): Use "__extension__ unsigned long long"
32859 instead of "unsigned long" if __x86_64__ is defined.
32860 (user): Likewise. Pad after pointer field if __ILP32__ is
32863 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32865 * configure.in (makeinfo): Require version 4.5 or later. Allow
32867 * configure: Regenerated.
32868 * manual/install.texi (texinfo): Increase version requirement to
32870 * INSTALL: Regenerated.
32872 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32876 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32878 * sysdeps/x86_64/x32/ffs.c: New file.
32880 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32882 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32883 defined. Use __syscall_ulong_t.
32884 (shminfo): Use __syscall_ulong_t.
32885 (shm_info): Likewise.
32887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32890 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32892 (msgqnum_t): Use __syscall_ulong_t.
32893 (msglen_t): Likewise.
32894 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32897 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32900 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32902 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32903 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32905 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32908 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32909 include <bits/wordsize.h>. Check __x86_64__ instead of
32912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32913 "unsigned long long int" if __x86_64__ is defined.
32914 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32917 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32918 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32922 (GET_PC): Cast to uintptr_t first.
32923 (GET_FRAME): Likewise.
32924 (GET_STACK): Likewise.
32926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32927 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32929 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32931 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32932 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32933 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32934 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32936 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32940 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32942 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32944 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32948 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32950 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32953 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32954 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32956 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32958 * Makerules (+depfiles): Also collect depfiles from .oS in
32960 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32961 .oS, $(libnldbl-routines)).
32963 * Makerules (native-compile-mkdep-flags): Define.
32964 * sunrpc/Makefile (extra-objs): Add $(addprefix
32965 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32966 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32967 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32968 calling $(make-target-directory).
32970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32972 * bits/types.h (__snseconds_t): Removed.
32973 * time/time.h (struct timespec): Replace __snseconds_t with
32975 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32976 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32979 (__SNSECONDS_T_TYPE): Likewise.
32980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32981 (__SNSECONDS_T_TYPE): Likewise.
32982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32983 (__SNSECONDS_T_TYPE): Likewise.
32985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32987 * sysdeps/mach/hurd/bits/typesizes.h
32988 (__SYSCALL_SLONG_TYPE): New macro.
32989 (__SYSCALL_ULONG_TYPE): Likewise.
32991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32993 * bits/types.h (__syscall_slong_t): New type.
32994 (__syscall_ulong_t): Likewise.
32996 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32997 (__SYSCALL_ULONG_TYPE): Likewise.
32998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32999 (__SYSCALL_SLONG_TYPE): Likewise.
33000 (__SYSCALL_ULONG_TYPE): Likewise.
33001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33002 (__SYSCALL_SLONG_TYPE): Likewise.
33003 (__SYSCALL_ULONG_TYPE): Likewise.
33004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33005 (__SYSCALL_SLONG_TYPE): Likewise.
33006 (__SYSCALL_ULONG_TYPE): Likewise.
33008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33010 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33011 Add sigaltstack-offsets.sym.
33012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33013 <sigaltstack-offsets.h>.
33014 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33015 longjmp_msg pointer.
33016 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33017 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33019 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33021 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33023 * elf/stackguard-macros.h: Remove file.
33024 * sysdeps/generic/stackguard-macros.h: New file.
33025 * sysdeps/i386/stackguard-macros.h: Likewise.
33026 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33027 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33028 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33029 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33030 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33031 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33032 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33033 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33034 <elf/stackguard-macros.h>.
33037 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33038 __aligned__ in attribute.
33039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33040 (gregset_t): Likewise.
33042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33044 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33045 * sysdeps/x86_64/64/Implies-after: Here. New file.
33046 * sysdeps/x86_64/x32/Implies-after: New file.
33048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33050 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33051 and access return value for _dl_profile_fixup. Use R10_LP to
33054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33056 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33060 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33061 * sysdeps/x86_64/x32/sysdep.h: New file.
33063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33065 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33066 * sysdeps/x86_64/setjmp.S: Likewise.
33068 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33070 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33071 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33072 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33074 remove unused global constant.
33076 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33078 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33079 include of <not-cancel.h>.
33081 2012-05-15 Roland McGrath <roland@hack.frob.com>
33083 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33085 2012-05-15 Jeff Law <law@redhat.com>
33086 Andreas Jaeger <aj@suse.de>
33089 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33091 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33092 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33093 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33094 code changing __hst_map_handle.map.
33096 2012-05-15 Roland McGrath <roland@hack.frob.com>
33098 * configure.in (sysnames): Look for Implies-before and Implies-after
33100 * configure: Regenerated.
33102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33104 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33105 8-byte data alignment with LP_SIZE alignment.
33107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33114 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33118 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33119 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33126 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33127 (stackinfo_sub_sp): Likewise.
33129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33146 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33150 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33151 into R11_LP and load __x86_64_shared_cache_size_half into
33154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33159 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33167 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33168 powerpc32/power7/fpu/s_logb.c via #include.
33169 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33170 powerpc32/power7/fpu/s_logbf.c via #include.
33171 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33172 powerpc32/power7/fpu/s_logbl.c via #include.
33174 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33176 * README.libm: Remove file.
33178 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33180 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33181 count for x32. Use R*_LP and omit operand-size suffix.
33183 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33185 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33186 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33187 * sysdeps/x86_64/x32/shlib-versions: New file.
33189 2012-05-14 Roland McGrath <roland@hack.frob.com>
33191 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33192 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33193 Use _dl_fatal_printf instead.
33195 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33197 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33198 set if not set by the user. Do not allow for being unset.
33199 * sysdeps/unix/sysv/linux/configure: Regenerated.
33201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33203 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33204 the `q' suffix from lea and replace .quad with ASM_ADDR.
33206 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33209 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33211 (PTR_DEMANGLE): Likewise.
33213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33215 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33217 (ASM_ADDR): Likewise.
33218 (RAX_LP): Likewise.
33219 (RBP_LP): Likewise.
33220 (RBX_LP): Likewise.
33221 (RCX_LP): Likewise.
33222 (RDI_LP): Likewise.
33223 (RSI_LP): Likewise.
33224 (RSP_LP): Likewise.
33227 (R10_LP): Likewise.
33228 (R10_LP): Likewise.
33229 (R11_LP): Likewise.
33230 (R12_LP): Likewise.
33231 (R13_LP): Likewise.
33232 (R14_LP): Likewise.
33233 (R15_LP): Likewise.
33235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33237 * sysdeps/x86_64/x32/dl-machine.h: New file.
33239 2012-05-14 Andreas Jaeger <aj@suse.de>
33241 * manual/Makefile (subdir): Remove export of subdir.
33242 (all): Remove target.
33243 (.PHONY): Remove all from list.
33244 (mkinstalldirs): Remove.
33245 (.PHONY): Remove installdirs from list.
33246 ($(inst_infodir)/libc.info): Use make-target-directory.
33247 (installdirs): Remove.
33248 (subdir_%): Remove.
33249 (glibc-targets): Remove.
33252 ($(objpfx)stubs ../po/manual.pot): Remove.
33253 ($(objpfx)stamp%): Remove.
33254 (make-target-directory): Remove.
33255 (subdir_install): Remove.
33256 (routines): Remove.
33263 * manual/.gitignore: Remove, it's not needed anymore.
33264 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33266 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33268 (texis): Renamed to $(objpfx)texis.
33269 (texis-path): New, contains path to generated files.
33270 (chapters.%): Use texis-path for complete path, add extra argument
33272 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33273 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33274 (summary,texi, stamp-summary): Use complete path of
33275 files. Generate files in build dir.
33276 (dir-add.texi): Build in build dir.
33277 (libm-err.texi,stamp-libm-err): Likewise.
33278 (version.texi, stamp-version): Likewise.
33279 (.%c.texi): Likewise.
33280 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33281 (mostlyclean): Remove target.
33282 (realclean): Remove target.
33283 (generated): Add new variable with contents from mostlyclean and
33284 realclean, remove entries duplicated in common-mostlyclean, add
33285 stamp-libm-err and stamp-version.
33286 (generated-dirs): Add libc directory.
33287 ($(inst_infodir)/libc.info): Install files from build dir.
33289 * manual/install.texi (Configuring and compiling): Adjust since
33290 the info files are not part of the tar ball anymore.
33292 2012-05-14 Andreas Jaeger <aj@suse.de>
33294 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33297 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33301 to 2.2.0 where earlier.
33302 * sysdeps/unix/sysv/linux/configure: Regenerated.
33303 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33304 Remove conditional code.
33305 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33306 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33307 Remove conditional code.
33308 [!__NR_lchown]: Likewise.
33309 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33310 [__NR_lchown]: Likewise.
33311 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33312 comment referencing __ASSUME_LCHOWN_SYSCALL.
33313 * sysdeps/unix/sysv/linux/i386/sigaction.c
33314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33316 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33317 Remove conditional code.
33318 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33319 (__protocol_available): Remove #if 0 code.
33320 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33322 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33323 * sysdeps/unix/sysv/linux/kernel-features.h
33324 (__ASSUME_GETCWD_SYSCALL): Don't define.
33325 (__ASSUME_REALTIME_SIGNALS): Likewise.
33326 (__ASSUME_PREAD_SYSCALL): Likewise.
33327 (__ASSUME_PWRITE_SYSCALL): Likewise.
33328 (__ASSUME_POLL_SYSCALL): Likewise.
33329 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33330 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33332 (__ASSUME_SIOCGIFNAME): Don't define.
33333 (__ASSUME_MSG_NOSIGNAL): Likewise.
33334 (__ASSUME_SENDFILE): Define unconditionally.
33335 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33336 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33338 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33339 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33340 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33341 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33342 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33343 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33344 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33346 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33349 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33352 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33358 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33364 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33369 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33370 Remove conditional code.
33371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33372 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33373 Remove conditional code.
33374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33375 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33376 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33377 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33378 Remove conditional code.
33379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33380 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33381 Remove conditional code.
33382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33383 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33384 Remove conditional code.
33385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33386 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33387 Remove conditional code.
33388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33389 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33390 Remove conditional code.
33391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33392 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33395 * sysdeps/unix/sysv/linux/sigaction.c
33396 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33397 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33398 * sysdeps/unix/sysv/linux/sigpending.c
33399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33401 * sysdeps/unix/sysv/linux/sigprocmask.c
33402 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33403 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33404 * sysdeps/unix/sysv/linux/sigsuspend.c
33405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33408 (__libc_missing_rt_sigs): Remove.
33409 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33410 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33411 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33412 Remove conditional code.
33413 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33414 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33417 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33418 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33419 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33421 2012-05-14 Andreas Jaeger <aj@suse.de>
33423 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33424 it's not used in glibc.
33425 (__coshm1): Likewise.
33426 (__acosh1p): Likewise.
33429 * manual/string.texi (Copying and Concatenation): Add missing
33430 variable in concat example.
33431 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33433 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33437 __builtin_clzl with __builtin_clzll.
33439 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33442 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33445 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33447 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33448 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33449 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33452 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33454 * NEWS: Update ia64 info.
33456 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33458 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33461 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33463 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33464 * sysdeps/unix/syscalls.list (dup3): Likewise.
33465 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33466 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33468 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33470 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33471 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33473 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33475 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33477 (TLS_IE): Use mov/add instead of movq/addq to load thread
33479 (TLS_GD_PREFIX): New.
33482 2012-05-11 David S. Miller <davem@davemloft.net>
33484 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33485 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33486 (_FPU_SETCW): Likewise.
33488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33490 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33491 is 32-byte aligned.
33493 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33496 * iconvdata/gb18030.c: Update tables.
33497 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33498 characters specially.
33499 (BODY for TO_LOOP): Add encoding of missing ranges.
33501 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33504 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33505 * sysdeps/mach/hurd/dup3.c: Likewise.
33506 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33507 * sysdeps/powerpc/memmove.c:: Likewise.
33509 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33512 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33514 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33516 * elf/elf.h (R_X86_64_RELATIVE64): New.
33517 (R_X86_64_NUM): Updated.
33518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33519 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33520 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33521 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33522 tst-quad1pie tst-quad2pie
33523 (modules-names): Add tst-quadmod1 tst-quadmod2.
33524 ($(objpfx)tst-quad1): New dependency.
33525 ($(objpfx)tst-quad2): Likewise.
33526 ($(objpfx)tst-quad1pie): Likewise.
33527 ($(objpfx)tst-quad2pie): Likewise.
33528 * sysdeps/x86_64/tst-quad1.c: New file.
33529 * sysdeps/x86_64/tst-quad1pie.c: New file.
33530 * sysdeps/x86_64/tst-quad2.c: Likewise.
33531 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33532 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33533 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33534 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33535 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33539 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33540 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33541 * streams/stropts.h (t_scalar_t): Define type.
33543 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33544 (_PATH_PRESERVE): Set to "/var/lib".
33545 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33547 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33550 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33551 if __dir_mkfile succeeded.
33553 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33554 checking for _hurd_dtablesize. Unlock it right after having
33555 finished _hurd_dtable allocation.
33557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33559 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33560 * sysdeps/mach/hurd/configure: Regenerated.
33561 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33562 special-casing to...
33563 * sysdeps/gnu/configure.in: ... this new file.
33564 * sysdeps/unix/sysv/linux/configure: Regenerated.
33565 * sysdeps/gnu/configure: New generated file.
33567 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33568 for Linux: use nsec instead of usec, as well as:
33569 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33570 members of type struct timespec.
33571 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33573 (struct stat64): Likewise.
33574 (_STATBUF_ST_NSEC): New macro.
33575 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33577 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33578 __strtoul_internal rather than strtoul.
33580 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33582 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33587 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33588 which preserves existing values.
33589 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33591 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33593 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33594 TIMEOUT values. Return EINVAL for NFDS values either negative or
33595 greater than FD_SETSIZE.
33597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33599 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33600 allocated, call __vm_protect to finish enabling the existing space, and
33601 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33602 allocate the remainder.
33604 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33606 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33607 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33611 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33612 sysdeps/mach/hurd/readlink.c.
33614 * posix/tst-sysconf.c (posix_options): Only use
33615 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33616 _POSIX_SYNCHRONIZED_IO when they are defined
33617 * sysdeps/mach/hurd/bits/posix_opt.h:
33618 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33619 (_XOPEN_REALTIME): Undefine macro.
33620 (_XOPEN_REALTIME_THREADS): Undefine macro.
33621 (_XOPEN_SHM): Undefine macro.
33622 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33624 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33626 (_POSIX_ASYNC_IO): Undefine macro.
33627 (_POSIX_PRIORITIZED_IO): Undefine macro.
33628 (_POSIX_SPIN_LOCKS): Define macro to -1.
33630 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33631 SA_NODEFER, SA_RESETHAND.
33632 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33633 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33638 * elf/Makefile (pldd-modules): Define unconditionally.
33640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33642 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33646 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33647 Return ENOENT when name is empty.
33648 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33652 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33654 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33658 Fix mlock in all cases except non-readable pages.
33659 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33660 instead of VM_PROT_ALL as parameter to __vm_wire function.
33662 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33663 (__mkdir): When path is `/', just fail with EEXIST.
33664 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33666 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33668 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33669 <sys/uio.h> (for writev).
33670 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33671 and <sys/param.h> (for MIN).
33673 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33675 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33676 REQUESTED_TIME. Properly set the remaining time and return EINTR
33679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33681 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33682 Depend on against $(link-rpcuserlibs).
33684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33686 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33687 (__libc_stack_end): Do not use attribute_relro.
33688 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33689 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33690 to libthread-provided value.
33691 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33697 * bits/libc-lock.h (__libc_once_get): New macro.
33698 * sysdeps/mach/bits/libc-lock.h: Likewise.
33699 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33701 instead of using implementation details.
33703 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33704 * libio/freopen.c: Likewise.
33705 * libio/freopen64.c: Likewise.
33706 * misc/syslog.c: Likewise.
33707 * nscd/connections.c: Likewise.
33708 * nscd/netgroupcache.c: Likewise.
33709 * sysdeps/posix/getcwd.c: Likewise.
33711 2012-05-10 Roland McGrath <roland@hack.frob.com>
33713 * math/w_ilogbf.c: Add #include <limits.h>.
33715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33717 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33718 path instead of returning without unlocking.
33720 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33721 immediate-write ioctls.
33722 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33726 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33727 __builtin_frame_address instead of making assumptions about the
33728 location of the return address relative to DATA. Force early load of
33729 the return address.
33730 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33731 __builtin_frame_address.
33734 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33735 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33736 implement dup3 and do some further code clean-ups.
33737 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33738 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33742 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33744 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33745 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33746 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33747 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33748 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33751 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33752 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33753 when handler == SIG_ERR, not when handler != SIG_ERR.
33755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33757 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33758 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33761 accept4 for GNU Hurd.
33762 * include/sys/socket.h (__libc_accept4): New prototype.
33763 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33764 to implement __libc_accept4.
33765 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33767 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33769 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33770 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33771 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33772 signal-defines.sym.
33774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33776 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33778 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33780 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33781 assertion on O_CLOEXEC flag.
33782 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33783 * hurd/intern-fd.c: Likewise.
33784 * hurd/port2fd.c: Likewise.
33786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33789 * bits/in.h (IPV6_PKTINFO): Define new macro.
33790 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33792 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33797 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33799 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33800 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33802 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33803 * math/libm-test.inc (logb_test) : Additional logb tests.
33805 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33806 Andreas Jaeger <aj@suse.de>
33808 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33809 * configure: Regenerated.
33810 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33811 * config.make.in (link-obsolete-rpc): New substituted variable.
33812 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33813 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33814 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33815 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33816 so that libc.a contains the symbols.
33817 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33818 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33819 * sunrpc/auth_none.c: Likewise.
33820 * sunrpc/auth_unix.c: Likewise.
33821 * sunrpc/authdes_prot.c: Likewise.
33822 * sunrpc/authuxprot.c: Likewise.
33823 * sunrpc/clnt_gen.c: Likewise.
33824 * sunrpc/clnt_perr.c: Likewise.
33825 * sunrpc/clnt_raw.c: Likewise.
33826 * sunrpc/clnt_simp.c: Likewise.
33827 * sunrpc/clnt_tcp.c: Likewise.
33828 * sunrpc/clnt_udp.c: Likewise.
33829 * sunrpc/clnt_unix.c: Likewise.
33830 * sunrpc/des_crypt.c: Likewise.
33831 * sunrpc/des_soft.c: Likewise.
33832 * sunrpc/get_myaddr.c: Likewise.
33833 * sunrpc/key_call.c: Likewise.
33834 * sunrpc/key_prot.c: Likewise.
33835 * sunrpc/netname.c: Likewise.
33836 * sunrpc/pm_getmaps.c: Likewise.
33837 * sunrpc/pm_getport.c: Likewise.
33838 * sunrpc/pmap_clnt.c: Likewise.
33839 * sunrpc/pmap_prot.c: Likewise.
33840 * sunrpc/pmap_prot2.c: Likewise.
33841 * sunrpc/pmap_rmt.c: Likewise.
33842 * sunrpc/publickey.c: Likewise.
33843 * sunrpc/rpc_cmsg.c: Likewise.
33844 * sunrpc/rpc_common.c: Likewise.
33845 * sunrpc/rpc_dtable.c: Likewise.
33846 * sunrpc/rpc_prot.c: Likewise.
33847 * sunrpc/rpc_thread.c: Likewise.
33848 * sunrpc/rtime.c: Likewise.
33849 * sunrpc/svc.c: Likewise.
33850 * sunrpc/svc_auth.c: Likewise.
33851 * sunrpc/svc_raw.c: Likewise.
33852 * sunrpc/svc_run.c: Likewise.
33853 * sunrpc/svc_tcp.c: Likewise.
33854 * sunrpc/svc_udp.c: Likewise.
33855 * sunrpc/svc_unix.c: Likewise.
33856 * sunrpc/svcauth_des.c: Likewise.
33857 * sunrpc/xcrypt.c: Likewise.
33858 * sunrpc/xdr.c: Likewise.
33859 * sunrpc/xdr_array.c: Likewise.
33860 * sunrpc/xdr_float.c: Likewise.
33861 * sunrpc/xdr_intXX_t.c: Likewise.
33862 * sunrpc/xdr_mem.c: Likewise.
33863 * sunrpc/xdr_rec.c: Likewise.
33864 * sunrpc/xdr_ref.c: Likewise.
33865 * sunrpc/xdr_sizeof.c: Likewise.
33866 * sunrpc/xdr_stdio.c: Likewise.
33868 2012-05-10 Roland McGrath <roland@hack.frob.com>
33870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33871 change. Update copyright years.
33873 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33875 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33877 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33878 Joseph Myers <joseph@codesourcery.com>
33879 Paul Pluzhnikov <ppluzhnikov@google.com>
33882 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33884 [cross-compiling] (extra-libs): Likewise.
33885 [cross-compiling] (extra-libs-others): Likewise.
33886 [cross-compiling] (librpcsvc-routines): Likewise.
33887 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33888 [cross-compiling] (omit-deps): Likewise.
33889 (sunrpc-CPPFLAGS): New variable.
33890 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33891 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33892 (cross-rpcgen-objs): New variable.
33893 (extra-objs): Append $(cross-rpcgen-objs).
33894 ($(cross-rpcgen-objs)): New rule.
33895 ($(objpfx)cross-rpcgen): Likewise.
33896 (rpcgen-cmd): Define to use $(built-program-file). Expand
33898 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33899 ($(objpfx)x%.stmp): Likewise.
33900 * sunrpc/proto.h [IS_IN_build] (_): Define.
33901 [IS_IN_build] (_libc_intl_domainname): Likewise.
33903 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33906 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33907 and R_X86_64_TPOFF64.
33909 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33911 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33912 sysdeps/unix/sysv/syscalls.list.
33915 * sysdeps/unix/sysv/syscalls.list: Remove file.
33917 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33920 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33921 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33922 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33923 (__LC_IDENTIFICATION): Make these macros useful in #if
33924 expressions, as required by C99.
33926 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33928 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33929 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33932 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33934 * stdlib/longlong.h: Updated from GCC.
33936 2012-05-09 Andreas Jaeger <aj@suse.de>
33938 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33939 default is first entry.
33940 (run_mode): Set type.
33941 (main): Remove informal message about syslog.
33942 (options): Fix typo.
33945 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33948 (llrintf): Likewise.
33949 (llrint): Likewise.
33952 (nearbyint): Likewise.
33953 (nearbyintf): Likewise.
33955 2012-05-09 Andreas Jaeger <aj@suse.de>
33956 Pedro Alves <palves@redhat.com>
33958 * nscd/nscd.c (run_mode): Use enum.
33959 (main): Cleanup coding style issue.
33961 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33962 Andreas Jaeger <aj@suse.de>
33964 * nscd/nscd.c (go_background): Replaced with...
33965 (run_mode): ... this.
33966 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33967 (options): Add -F --foreground.
33968 (main): Implement it.
33969 (parse_opt): Parse it.
33971 2012-05-09 Andreas Jaeger <aj@suse.de>
33974 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33975 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33976 -Wconversion warning.
33977 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33980 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33982 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33984 (LC_ALL): Use macro-int-constant.
33985 (LC_COLLATE): Likewise.
33986 (LC_CTYPE): Likewise.
33987 (LC_MESSAGES): Likewise.
33988 (LC_MONETARY): Likewise.
33989 (LC_NUMERIC): Likewise.
33990 (LC_TIME): Likewise.
33991 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33992 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33994 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33996 [C99-based standards] (float_t): Expect type.
33997 [C99-based standards] (double_t): Expect type.
33998 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34000 [C99-based standards] (HUGE_VALL): Likewise.
34001 [C99-based standards] (INFINITY): Likewise.
34002 [C99-based standards] (NAN): Likewise.
34003 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34004 [C99-based standards] (FP_NAN): Likewise.
34005 [C99-based standards] (FP_NORMAL): Likewise.
34006 [C99-based standards] (FP_SUBNORMAL): Likewise.
34007 [C99-based standards] (FP_ZERO): Likewise.
34008 [C99-based standards] (FP_FAST_FMA): Use
34009 optional-macro-int-constant. Specify type. Require == 1.
34010 [C99-based standards] (FP_FAST_FMAF): Likewise.
34011 [C99-based standards] (FP_FAST_FMAL): Likewise.
34012 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34013 [C99-based standards] (FP_ILOGBNAN): Likewise.
34014 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34016 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34017 [C99-based standards] (math_errhandling): Specify type.
34018 [ISO99 || ISO11] (signgam): Do not allow.
34019 [non-C99-based standards] (copysignf): Do not allow.
34020 [non-C99-based standards] (exp2f): Likewise.
34021 [non-C99-based standards] (log2f): Likewise.
34022 [non-C99-based standards] (modff): Allow.
34023 [non-C99-based standards] (erff): Do not allow.
34024 [non-C99-based standards] (erfcf): Likewise.
34025 [non-C99-based standards] (gammaf): Likewise.
34026 [non-C99-based standards] (hypotf): Likewise.
34027 [non-C99-based standards] (j0f): Likewise.
34028 [non-C99-based standards] (j1f): Likewise.
34029 [non-C99-based standards] (jnf): Likewise.
34030 [non-C99-based standards] (lgammaf): Likewise.
34031 [non-C99-based standards] (tgammaf): Likewise.
34032 [non-C99-based standards] (y0f): Likewise.
34033 [non-C99-based standards] (y1f): Likewise.
34034 [non-C99-based standards] (ynf): Likewise.
34035 [non-C99-based standards] (isnanf): Likewise.
34036 [non-C99-based standards] (acoshf): Likewise.
34037 [non-C99-based standards] (asinhf): Likewise.
34038 [non-C99-based standards] (atanhf): Likewise.
34039 [non-C99-based standards] (cbrtf): Likewise.
34040 [non-C99-based standards] (expm1f): Likewise.
34041 [non-C99-based standards] (ilogbf): Likewise.
34042 [non-C99-based standards] (log1pf): Likewise.
34043 [non-C99-based standards] (logbf): Likewise.
34044 [non-C99-based standards] (nextafterf): Likewise.
34045 [non-C99-based standards] (remainderf): Likewise.
34046 [non-C99-based standards] (rintf): Likewise.
34047 [non-C99-based standards] (scalbf): Likewise.
34048 [non-C99-based standards] (copysignl): Likewise.
34049 [non-C99-based standards] (exp2l): Likewise.
34050 [non-C99-based standards] (log2l): Likewise.
34051 [non-C99-based standards] (modfl): Allow.
34052 [non-C99-based standards] (erfl): Do not allow.
34053 [non-C99-based standards] (erfcl): Likewise.
34054 [non-C99-based standards] (gammal): Likewise.
34055 [non-C99-based standards] (hypotl): Likewise.
34056 [non-C99-based standards] (j0l): Likewise.
34057 [non-C99-based standards] (j1l): Likewise.
34058 [non-C99-based standards] (jnl): Likewise.
34059 [non-C99-based standards] (lgammal): Likewise.
34060 [non-C99-based standards] (tgammal): Likewise.
34061 [non-C99-based standards] (y0l): Likewise.
34062 [non-C99-based standards] (y1l): Likewise.
34063 [non-C99-based standards] (ynl): Likewise.
34064 [non-C99-based standards] (isnanl): Likewise.
34065 [non-C99-based standards] (acoshl): Likewise.
34066 [non-C99-based standards] (asinhl): Likewise.
34067 [non-C99-based standards] (atanhl): Likewise.
34068 [non-C99-based standards] (cbrtl): Likewise.
34069 [non-C99-based standards] (expm1l): Likewise.
34070 [non-C99-based standards] (ilogbl): Likewise.
34071 [non-C99-based standards] (log1pl): Likewise.
34072 [non-C99-based standards] (logbl): Likewise.
34073 [non-C99-based standards] (nextafterl): Likewise.
34074 [non-C99-based standards] (remainderl): Likewise.
34075 [non-C99-based standards] (rintl): Likewise.
34076 [non-C99-based standards] (scalbl): Likewise.
34077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34078 [non-C99-based standards] (FP_*): Do not allow.
34079 [C99-based standards] (FP_*): Change to
34080 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34081 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34083 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34084 (SIG_ERR): Likewise.
34085 [X/Open-based standards] (SIG_HOLD): Likewise.
34086 (SIG_IGN): Likewise.
34087 (SIGABRT): Use macro-int-constant. Specify type. Require
34089 (SIGFPE): Likewise.
34090 (SIGILL): Likewise.
34091 (SIGINT): Likewise.
34092 (SIGSEGV): Likewise.
34093 (SIGTER): Likewise.
34094 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34095 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34096 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34097 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34098 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34100 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34101 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34102 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34103 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34104 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34107 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34110 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34112 [X/Open-based standards] (SIGTRAP): Likewise.
34113 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34114 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34116 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34117 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34120 2012-05-08 Ian Wienand <ianw@vmware.com>
34123 * time/tzset.c (__tzset_parse_tz): Update default rules for
34124 daylight time changes in the Energy Policy Act of 2005.
34126 2012-05-09 Andreas Jaeger <aj@suse.de>
34129 * elf/ldconfig.c (parse_conf): Change string to make clear that
34130 ldconfig only issued a warning if ld.so.conf does not exist.
34132 2012-05-08 David S. Miller <davem@davemloft.net>
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34135 movxtod instead of popping the value on the stack.
34137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34139 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34141 * config.h.in: Add HAVE_ARM_PCS_VFP.
34143 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34146 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34147 checking but the checks are disabled for any reason.
34149 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34151 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34152 and ELF64_R_TYPE with ELFW(R_TYPE).
34154 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34156 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34157 (ulimit): Likewise.
34159 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34160 (settimeofday): Likewise.
34162 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34164 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34165 a struct th_u2 inside the union, and move tu_block/tu_code into
34166 a new th_u3 union of tu_block/tu_code inside of that. Move
34167 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34168 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34169 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34170 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34171 (th_stuff): Change to th_u1.tu_stuff.
34173 (th_msg): Change to th_u1.th_u2.tu_data.
34175 2012-05-07 David S. Miller <davem@davemloft.net>
34177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34180 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34181 (SETUP_PIC_REG): Use it.
34182 (SETUP_PIC_REG_LEAF): Use it.
34184 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34190 (EXPL_FINITE): Likewise.
34191 (FLDLOG): Likewise.
34192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34193 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34197 (EXPL_FINITE): Likewise.
34198 (FLDLOG): Likewise.
34199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34200 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34202 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34203 test of -max_value argument for long double.
34204 * sysdeps/i386/fpu/libm-test-ulps: Update.
34205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34207 2012-05-06 David S. Miller <davem@davemloft.net>
34209 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34210 quad soft-float symbols whose references which are compiler
34212 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34214 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34220 (EXPL_FINITE): Likewise.
34221 (FLDLOG): Likewise.
34224 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34225 Adjust comments for base varying.
34226 (__expl_finite): Change alias to EXPL_FINITE.
34227 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34229 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34230 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34232 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34235 (EXPL_FINITE): Likewise.
34236 (FLDLOG): Likewise.
34239 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34240 Adjust comments for base varying.
34241 (__expl_finite): Change alias to EXPL_FINITE.
34242 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34247 * math/libm-test.inc (check_float_internal): Correct ulp
34248 calculation for subnormal expected results.
34250 2012-05-06 Andreas Jaeger <aj@suse.de>
34252 * Makeconfig (+math-flags): New, set to -frounding-math.
34253 (+cflags): Add +math-flags so that all of glibc gets compiled with
34256 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34258 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34260 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34266 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34267 (__ieee754_expl): Allow for and saturate large arguments.
34268 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34269 (u_threshold): Likewise.
34270 (__exp): Call __ieee754_exp before checking for overflow and
34272 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34273 (u_threshold): Likewise.
34274 (__expf): Call __ieee754_expf before checking for overflow and
34276 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34277 (u_threshold): Likewise.
34278 (__expl): Call __ieee754_expl before checking for overflow and
34280 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34281 (__ieee754_expl): Allow for and saturate large arguments.
34282 * math/libm-test.inc (exp_test): Add another test. Do not allow
34283 missing overflow exception on overflow.
34284 (expm1_test): Do not allow missing overflow exception on overflow.
34286 * sysdeps/i386/fpu/e_expl.c: Move to ...
34287 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34288 rather than using inline asm.
34289 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34290 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34291 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34293 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34296 (signal): Likewise.
34300 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34302 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34303 sysdeps/unix/common/syscalls.list.
34304 (fchmod): Likewise.
34305 (fchown): Likewise.
34306 (ftruncate): Likewise.
34307 (getrusage): Likewise.
34308 (gettimeofday): Likewise.
34309 (setpgid): Likewise.
34310 (setregid): Likewise.
34311 (setreuid): Likewise.
34312 (sigaction): Likewise.
34313 (truncate): Likewise.
34314 (vhangup): Likewise.
34315 * sysdeps/unix/common/syscalls.list: Remove file.
34316 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34317 * sysdeps/unix/sysv/linux/Implies: Likewise.
34319 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34321 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34323 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34327 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34330 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34333 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34336 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34342 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34345 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34349 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34353 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34356 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34360 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34364 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34366 * sysdeps/unix/common/bits/dirent.h: Remove file.
34367 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34369 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34370 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34371 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34372 * sysdeps/unix/bsd/isatty.c: Likewise.
34373 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34374 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34375 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34377 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34381 long double comparison inaccuracies.
34382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34385 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34387 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34390 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34393 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34394 nonzero digits before rounding a hex value.
34395 * stdlib/tst-strtod.c (tests): Add another test.
34397 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34399 * sysdeps/s390/fpu/libm-test-ulps: Update.
34401 2012-05-03 Andreas Jaeger <aj@suse.de>
34403 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34404 does not get optimized out.
34405 (malloc_opt_barrier): New.
34407 2012-05-03 Andreas Jaeger <aj@suse.de>
34408 Roland McGrath <roland@hack.frob.com>
34410 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34411 intermediate file deletion.
34412 (generated): Add .symlist files.
34414 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34417 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34418 Redirect under this condition.
34419 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34420 [__USE_GNU] (__dprintf_chk): Not under this condition.
34421 [__USE_GNU] (__vdprintf_chk): Likewise.
34422 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34423 under this condition.
34424 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34425 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34426 [__USE_XOPEN2K8] (vdprintf): Likewise.
34427 [__USE_GNU] (__dprintf_chk): Not under this condition.
34428 [__USE_GNU] (__vdprintf_chk): Likewise.
34429 [__USE_GNU] (dprintf): Likewise.
34430 [__USE_GNU] (vdprintf): Likewise.
34432 2012-05-03 Roland McGrath <roland@hack.frob.com>
34434 * elf/Makefile (common-generated): Set this instead of generated for
34435 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34436 $(all-built-dso)-derived lists.
34438 2012-05-03 Andreas Jaeger <aj@suse.de>
34440 * sysdeps/i386/fpu/libm-test-ulps: Update.
34443 * FAQ.in: Likewise.
34444 * scripts/gen-FAQ.pl: Likewise.
34445 * manual/install.texi (Installation): Point to online location of
34447 * Makefile (files-for-dist): Remove FAQ.
34450 2012-05-02 Allan McRae <allan@archlinux.org>
34452 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34453 (LDFLAGS-reldepmod5.so): Likewise.
34454 (LDFLAGS-reldep6mod1.so): Likewise.
34455 (LDFLAGS-reldep6mod4.so): Likewise.
34456 (LDFLAGS-reldep8mod3.so): Likewise.
34457 (LDFLAGS-unload4mod1.so): Likewise.
34458 (LDFLAGS-unload4mod2.so): Likewise.
34459 (LDFLAGS-tst-initorder): Likewise.
34460 (LDFLAGS-tst-initordera2.so): Likewise.
34461 (LDFLAGS-tst-initordera3.so): Likewise.
34462 (LDFLAGS-tst-initordera4.so): Likewise.
34463 (LDFLAGS-tst-initorderb2.so): Likewise.
34464 (LDFLAGS-noload): Likewise.
34465 (LDFLAGS-next): Likewise.
34466 (LDFLAGS-order2mod1.so): Likewise.
34467 (LDFLAGS-order2mod2.so): Likewise.
34468 (LDFLAGS-tst-initorder2): Likewise.
34469 (LDFLAGS-tst-initorder2a.so): Likewise.
34470 (LDFLAGS-tst-initorder2b.so): Likewise.
34471 (LDFLAGS-tst-initorder2c.so): Likewise.
34472 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34474 2012-05-02 David S. Miller <davem@davemloft.net>
34476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34478 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34481 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34483 2012-05-02 Andreas Jaeger <aj@suse.de>
34485 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34486 since we manipulate rounding mode.
34487 (CPPFLAGS-test-idouble.c): Likewise.
34488 (CPPFLAGS-test-ifloat.c): Likewise.
34489 (CFLAGS-test-ldouble.c): Likewise.
34490 (CFLAGS-test-double.c): Likewise.
34491 (CFLAGS-test-float.c): Likewise.
34492 (CFLAGS-test-misc.c): Likewise.
34493 (CFLAGS-test-test-fenv.c): Likewise.
34495 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34500 comparisons to determine direction to adjust input.
34502 2012-05-01 Roland McGrath <roland@hack.frob.com>
34504 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34505 output to the target.
34507 * scripts/localplt.awk: New file.
34508 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34509 (check-localplt-CFLAGS): Variable removed.
34510 ($(all-built-dso:=.jmprel)): New static pattern rule.
34511 (generated): Add those targets.
34512 (localplt-built-dso): New variable.
34513 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34515 * elf/check-localplt.c: File removed.
34517 * scripts/check-execstack.awk: New file.
34518 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34519 (check-execstack-CFLAGS): Variable removed.
34520 ($(objpfx)check-execstack.h): Target removed.
34521 ($(objpfx)execstack-default): New target.
34522 (generated): Add that instead of check-execstack.h.
34523 ($(all-built-dso:=.phdr)): New static pattern rule.
34524 (generated): Add those targets.
34525 * elf/check-execstack.c: File removed.
34527 * scripts/check-textrel.awk: New file.
34528 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34529 (check-textrel-CFLAGS): Variable removed.
34530 (all-built-dso): Use := to define.o
34531 ($(all-built-dso:=.dyn)): New static pattern rule.
34532 (generated): Add those targets.
34533 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34534 * config.make.in (READELF): New substituted variable.
34535 * elf/check-textrel.c: File removed.
34537 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34539 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34541 * conform/data/ctype.h-data [C99-based standards] (isblank):
34543 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34544 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34546 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34547 Specify type. Require positive value.
34548 (EILSEQ): Likewise.
34549 (ERANGE): Likewise.
34550 [ISO || POSIX] (EILSEQ): Do not expect.
34551 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34552 Specify type. Require positive value.
34553 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34554 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34555 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34556 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34557 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34558 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34559 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34560 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34561 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34562 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34563 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34564 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34565 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34566 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34567 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34568 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34569 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34570 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34571 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34572 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34573 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34574 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34575 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34576 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34577 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34578 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34579 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34580 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34581 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34582 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34583 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34584 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34585 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34586 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34587 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34588 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34589 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34590 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34591 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34592 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34593 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34594 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34595 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34596 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34597 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34598 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34599 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34601 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34604 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34605 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34606 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34607 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34608 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34609 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34610 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34611 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34612 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34613 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34616 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34617 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34618 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34619 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34620 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34621 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34622 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34623 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34624 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34625 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34626 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34627 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34628 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34629 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34631 (FLT_ROUNDS): Expect as macro, not constant.
34632 (FLT_MANT_DIG): Use macro-int-constant.
34633 (DBL_MANT_DIG): Likewise.
34634 (LDBL_MANT_DIG): Likewise.
34635 (FLT_DIG): Likewise.
34636 (DBL_DIG): Likewise.
34637 (LDBL_DIG): Likewise.
34638 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34639 (DBL_MIN_EXP): Likewise.
34640 (LDBL_MIN_EXP): Likewise.
34641 (FLT_MAX_EXP): Use macro-int-constant.
34642 (DBL_MAX_EXP): Likewise.
34643 (LDBL_MAX_EXP): Likewise.
34644 (FLT_MAX_10_EXP): Likewise.
34645 (DBL_MAX_10_EXP): Likewise.
34646 (LDBL_MAX_10_EXP): Likewise.
34647 (FLT_MAX): Use macro-constant.
34648 (DBL_MAX): Likewise.
34649 (LDBL_MAX): Likewise.
34650 (FLT_EPSILON): Use macro-constant. Give upper bound.
34651 (DBL_EPSILON): Likewise.
34652 (LDBL_EPSILON): Likewise.
34653 (FLT_MIN): Likewise.
34654 (DBL_MIN): Likewise.
34655 (LDBL_MIN): Likewise.
34656 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34657 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34658 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34659 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34660 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34661 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34662 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34663 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34664 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34665 [ISO11] (FLT_TRUE_MIN): Likewise.
34666 [ISO11] (LDBL_TRUE_MIN): Likewise.
34667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34668 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34669 (SCHAR_MIN): Use macro-int-constant. Specify type.
34670 (SCHAR_MAX): Likewise.
34671 (UCHAR_MAX): Likewise.
34672 (CHAR_MIN): Likewise.
34673 (CHAR_MAX): Likewise.
34674 (MB_LEN_MAX): Use macro-int-constant.
34675 (SHRT_MIN): Use macro-int-constant. Specify type.
34676 (SHRT_MAX): Likewise.
34677 (USHRT_MAX): Likewise.
34678 (INT_MAX): Likewise.
34679 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34681 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34683 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34685 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34686 bound negative. Suffix upper bound with "L".
34687 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34689 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34691 [C99-based standards] (LLONG_MAX): Likewise.
34692 [C99-based standards] (ULLONG_MAX): Likewise.
34693 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34695 [ISO11] (max_align_t): Require type.
34696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34698 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34699 from $CFLAGS, without defining away __attribute__ calls.
34700 (checknamespace): Use $CFLAGS_namespace.
34702 * conform/conformtest.pl (@keywords): Only include C99 keywords
34703 for standards based on C99 or C11.
34705 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34707 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34710 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34711 usability of symbols in #if.
34713 * conform/conformtest.pl: If macro or constant types start
34714 "promoted:", expect the symbol to be of the following type
34715 promoted by the integer promotions.
34717 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34718 in one place. Also handle "macro-constant".
34720 * conform/conformtest.pl: Only accept expected macro values with
34721 "==". Parse all "macro" lines in one place.
34722 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34724 * conform/conformtest.pl: Handle braced types on "constant" lines
34725 instead of handling "typed-constant".
34726 * conform/data/signal.h-data: Use "constant" instead of
34729 * conform/conformtest.pl: Handle "optional-" at start of lines in
34730 one place rather than duplicating several cases. Handle each
34731 format of "macro" line with initial "optional-".
34733 * conform/conformtest.pl: Only accept expected constant or
34734 optional-constant values with "==". Parse all "constant" lines in
34735 one place. Parse all "optional-constant" lines in one place.
34736 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34737 * conform/data/fmtmsg.h-data: Likewise.
34738 * conform/data/netinet/in.h-data: Likewise.
34739 * conform/data/tar.h-data: Likewise.
34740 * conform/data/limits.h-data: Use "==" form on "constant" and
34741 "optional-constant" lines.
34743 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34744 Use -std=c99 for XOPEN2K.
34745 (@knownproblems): Remove.
34746 (newtoken): Don't check %isknown.
34748 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34749 Do not expect macro.
34750 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34762 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34763 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34780 [XPG3] (acosh): Likewise.
34781 [XPG3] (asinh): Likewise.
34782 [XPG3] (atanh): Likewise.
34783 [XPG3] (cbrt): Likewise.
34784 [XPG3] (expm1): Likewise.
34785 [XPG3] (ilogb): Likewise.
34786 [XPG3] (log1p): Likewise.
34787 [XPG3] (logb): Likewise.
34788 [XPG3] (nextafter): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34791 [XPG3] (remainder): Likewise.
34792 [XPG3] (rint): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34800 [UNIX98 || XOPEN2K] (scalb): Expect.
34801 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34802 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34865 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34866 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34867 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34868 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34869 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34870 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34871 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34872 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34873 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34874 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34875 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34876 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34877 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34878 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34879 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34880 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34881 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34882 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34883 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34884 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34885 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34886 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34887 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34888 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34889 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34890 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34891 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34892 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34893 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34894 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34895 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34896 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34897 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34898 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34899 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34900 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34901 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34902 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34903 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34904 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34905 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34906 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34907 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34908 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34909 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34910 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34911 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34912 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34913 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34914 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34915 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34916 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34917 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34918 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34919 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34920 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34921 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34922 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34923 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34924 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34925 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34926 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34927 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34928 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34929 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34930 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34931 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34932 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34933 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34934 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34935 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34936 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34937 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34939 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34940 _XOPEN_SOURCE_EXTENDED for XPG4.
34942 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34944 * Makeconfig (localtime): Remove variable.
34945 (inst_localtime-file): Likewise.
34947 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34968 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34972 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34973 comparisons to determine direction to adjust input.
34974 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34975 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34978 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34985 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34987 * math/libm-test.inc (nexttoward_test): Add more tests.
34989 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34993 in version GLIBC_2.1, not GLIBC_2.0.
34994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34997 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35000 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35002 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35003 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35004 * math/libm-test.inc (acos_test): Add more tests.
35005 (asin_test): Likewise.
35006 * sysdeps/i386/fpu/libm-test-ulps: Update.
35007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35010 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35012 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35013 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35014 * math/libm-test.inc (acos_test_tonearest): New function.
35015 (acos_test_towardzero): Likewise.
35016 (acos_test_downward): Likewise.
35017 (acos_test_upward): Likewise.
35018 (asin_test_tonearest): Likewise.
35019 (asin_test_towardzero): Likewise.
35020 (asin_test_downward): Likewise.
35021 (asin_test_upward): Likewise.
35022 (main): Call the new functions.
35023 * sysdeps/i386/fpu/libm-test-ulps: Update.
35024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35028 * math/e_exp10.c: Include <float.h>.
35029 (__ieee754_exp10): Handle underflow here rather than multiplying
35030 large negative argument by M_LN10.
35031 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35033 * math/e_exp10l.c: Include <float.h>.
35034 (__ieee754_exp10l): Handle underflow here rather than multiplying
35035 large negative argument by M_LN10l.
35036 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35037 spurious overflow exception on underflow.
35039 2012-04-29 Marek Polacek <polacek@redhat.com>
35041 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35042 (__fortify_function): New macro.
35043 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35044 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35045 __extern_always_inline.
35046 * libio/bits/stdio2.h: Likewise.
35047 * libio/bits/stdio.h: Likewise.
35048 * string/string.h: Likewise.
35049 * string/bits/string3.h: Likewise.
35050 * include/stdio.h: Likewise.
35051 * stdlib/bits/stdlib.h: Likewise.
35052 * stdlib/stdlib.h: Likewise.
35053 * rt/bits/mqueue2.h: Likewise.
35054 * rt/mqueue.h: Likewise.
35055 * posix/bits/unistd.h: Likewise.
35056 * posix/unistd.h: Likewise.
35057 * io/bits/poll2.h: Likewise.
35058 * io/bits/fcntl2.h: Likewise.
35059 * io/fcntl.h: Likewise.
35060 * io/sys/poll.h: Likewise.
35061 * misc/bits/syslog.h: Likewise.
35062 * misc/bits/syslog-ldbl.h: Likewise.
35063 * misc/sys/syslog.h: Likewise.
35064 * socket/bits/socket2.h: Likewise.
35065 * socket/sys/socket.h: Likewise.
35066 * debug/tst-chk1.c: Likewise.
35067 * wcsmbs/bits/wchar2.h: Likewise.
35068 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35069 * wcsmbs/wchar.h: Likewise.
35071 2012-04-29 Andreas Jaeger <aj@suse.de>
35073 * Makerules (tests): Remove enable-check-abi protection.
35074 (check-abi-warn): Remove.
35075 (check-abi-%): Remove check-abi-warn usage.
35077 * configure.in: Remove check-abi configure option.
35078 * configure: Regenerated.
35079 * config.make.in (enable-check-abi): Remove.
35081 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35084 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35085 double functions to double *_finite functions.
35088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35089 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35091 * stdio-common/Makefile (tests): Add tst-sprintf3.
35092 * stdio-common/tst-sprintf3.c: New file.
35094 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35095 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35097 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35099 * conform/conformtest.pl: Remove duplicate typed-constant
35102 2012-04-28 David S. Miller <davem@davemloft.net>
35104 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35105 (check-abi-%): Remove AWK script prerequisite and explicit
35107 (check-abi): Rewrite to just diff the symlist with the abilist.
35108 (config-tls, config-abi-config): Delete, no longer used.
35109 (update-abi-%): Remove AWK script and explicit abilist directory.
35110 (update-abi): Rewrite to simply compare and conditionally copy the
35111 symlist and the sysdep abilist file. Remove update-abi-config
35113 * abilist/ld.abilist: Remove.
35114 * abilist/libBrokenLocale.abilist: Remove.
35115 * abilist/libanl.abilist: Remove.
35116 * abilist/libcrypt.abilist: Remove.
35117 * abilist/libdl.abilist: Remove.
35118 * abilist/librt.abilist: Remove.
35119 * abilist/libthread_db.abilist: Remove.
35120 * abilist/libutil.abilist: Remove.
35121 * scripts/extract-abilist.awk: Remove.
35122 * scripts/merge-abilist.awk: Remove.
35123 * sysdeps/generic/libcidn.abilist: New file.
35124 * sysdeps/generic/libnss_compat.abilist: New file.
35125 * sysdeps/generic/libnss_db.abilist: New file.
35126 * sysdeps/generic/libnss_dns.abilist: New file.
35127 * sysdeps/generic/libnss_files.abilist: New file.
35128 * sysdeps/generic/libnss_hesiod.abilist: New file.
35129 * sysdeps/generic/libnss_nis.abilist: New file.
35130 * sysdeps/generic/libnss_nisplus.abilist: New file.
35131 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35132 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35133 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35135 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35136 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35137 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35138 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35139 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35140 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35141 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35142 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35143 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35145 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35146 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35147 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35148 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35150 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35151 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35152 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35153 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35154 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35155 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35157 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35159 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35161 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35264 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35265 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35266 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35269 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35270 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35271 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35272 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35273 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35274 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35275 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35276 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35277 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35329 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35331 * conform/conformtest.pl: Fix typo in handling typed-constant from
35334 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35336 * README: Cut down references to pre-2.6 Linux kernels and
35337 Linuxthreads. Update lists of configurations in libc and ports
35338 and sort alphabetically. Say "or newer" with Linux kernel version
35341 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35343 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35346 * math/libm-test.inc (logb_test_downward): New test to expose
35347 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35350 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35353 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35355 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35356 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35358 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35360 * sysdeps/unix/i386/brk.S: Remove file.
35361 * sysdeps/unix/i386/dl-brk.S: Likewise.
35362 * sysdeps/unix/i386/pipe.S: Likewise.
35363 * sysdeps/unix/i386/sigreturn.S: Likewise.
35364 * sysdeps/unix/i386/syscall.S: Likewise.
35365 * sysdeps/unix/i386/vfork.S: Likewise.
35366 * sysdeps/unix/i386/wait.S: Likewise.
35368 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35369 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35371 * configure.in (arm*-none*): Do not allow without
35372 --enable-hacker-mode.
35373 (netbsd*): Remove case setting base_os.
35374 (386bsd*): Likewise.
35375 (freebsd*): Likewise.
35378 (sunos*): Likewise.
35379 (ultrix*): Likewise.
35380 (newsos*): Likewise.
35381 (dynix*): Likewise.
35387 (minix*): Likewise.
35388 (irix4*): Likewise.
35389 (irix6*): Likewise.
35390 (solaris[2-9]*): Likewise.
35392 * configure: Regenerated.
35394 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35398 overflow or cancellation in calculating denominator.
35399 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35401 down expression to avoid unexpected rounding in newer GCCs.
35402 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35404 2012-04-26 David S. Miller <davem@davemloft.net>
35406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35407 long-double compat symbols.
35408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35422 2012-04-25 David S. Miller <davem@davemloft.net>
35424 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35425 HWCAP_* values only after the memory barriers have been defined.
35426 (atomic_full_barrier): Define.
35427 (atomic_read_barrier): Define.
35428 (atomic_write_barrier): Define.
35430 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35432 * shlib-versions: Add libgcc_s version information.
35433 * sysdeps/generic/libgcc_s.h: Remove.
35434 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35436 * sysdeps/gnu/unwind-resume.c: Likewise.
35437 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35439 2012-04-25 David S. Miller <davem@davemloft.net>
35441 * sysdeps/unix/sparc/brk.S: Delete.
35442 * sysdeps/unix/sparc/dl-brk.S: Delete.
35443 * sysdeps/unix/sparc/pipe.S: Delete.
35444 * sysdeps/unix/sparc/sysdep.S: Delete.
35445 * sysdeps/unix/sparc/sysdep.h: Delete.
35446 * sysdeps/unix/sparc/vfork.S: Delete.
35447 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35448 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35450 (ret_ERRVAL, r0, r1, MOVE): Define.
35451 (JUMPTARGET): Remove.
35452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35453 sysdeps/unix/sparc/sysdep.h
35454 (ENTRY, END): Remove.
35455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35457 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35459 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35460 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35463 * timezone/README: Update upstream location and email address for
35465 * timezone/zdump.c: Update from tzcode 2012b.
35466 * timezone/zic.c: Likewise.
35468 * configure.in (libc_cv_as_needed): Remove test.
35469 * configure: Regenerated.
35470 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35471 conditional definition.
35472 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35473 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35474 * config.make.in (have-as-needed): Remove variable.
35476 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35477 Paul Pluzhnikov <ppluzhnikov@google.com>
35479 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35482 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35484 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35485 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35486 * sysdeps/sh/strlen.S: Likewise.
35488 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35490 * sysdeps/unix/fork.S: Remove file.
35491 * sysdeps/unix/i386/fork.S: Likewise.
35492 * sysdeps/unix/sparc/fork.S: Likewise.
35494 * sysdeps/unix/system.c: Remove file.
35495 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35497 * sysdeps/unix/getegid.S: Remove file.
35498 * sysdeps/unix/geteuid.S: Likewise.
35500 2012-04-24 Roland McGrath <roland@hack.frob.com>
35502 * scripts/check-localplt.awk: New file.
35503 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35505 * scripts/data/localplt-generic.data: Add a comment.
35507 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35508 NODE when __dir_mkfile failed.
35509 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35510 Reported by Ludovic Courtès <ludo@gnu.org>.
35512 2012-04-24 Andreas Jaeger <aj@suse.de>
35514 * Makerules (common-clean): Also remove gen-as-const-headers
35517 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35519 * Makerules (native-compile): Do not change working directory for
35520 build. Use $(OUTPUT_OPTION) in command.
35521 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35523 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35526 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35527 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35528 * math/libm-test.inc (floor_test): Add more tests.
35529 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35531 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35533 * sysdeps/unix/getdents.c: Remove file.
35534 * sysdeps/unix/sysv/getdents.c: Likewise.
35535 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35537 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35538 sysdeps/unix/mman/syscalls.list.
35540 (mprotect): Likewise.
35542 (munmap): Likewise.
35543 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35544 * sysdeps/unix/mman/syscalls.list: Remove.
35545 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35547 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35548 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35549 * configure: Regenerated.
35550 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35551 $(libgcc_s_suffix).
35552 * config.make.in (libgcc_s_suffix): Remove variable.
35554 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35556 * sysdeps/unix/sysv/gethostname.c: Move to ...
35557 * sysdeps/posix/gethostname.c: ... here.
35559 * sysdeps/unix/execve.S: Remove file.
35561 * sysdeps/unix/_exit.S: Remove file.
35563 2012-04-23 Andreas Jaeger <aj@suse.de>
35566 * manual/Makefile: Remove make dist support, there's no
35567 need for a stand-alone documentation tar ball.
35568 (TEXI2DVI): Define always, it's not in Makeconfig.
35571 (edition): Removed.
35572 (glibc-doc-$(edition).tar): Removed
35576 (ETAGS): Remove, it's in Makeconfig.
35577 (move-if-change): Remove, it's in Makeconfig.
35579 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35582 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35583 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35584 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35585 (strtod_l, strtof_l, strtold_l): Remove __wur.
35586 It is not necessarily an error to ignore strtol's return value.
35587 One can reliably look at the stored endptr to decide whether
35588 the number had valid syntax.
35590 2012-04-21 Andreas Jaeger <aj@suse.de>
35593 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35595 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35598 * sysdeps/unix/sysv/Versions: Remove file.
35600 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35605 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35609 version from __vm86.
35611 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35613 * sysdeps/unix/common/lxstat.c: Remove file.
35614 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35616 * sysdeps/unix/sysv/Makefile: Remove file.
35618 * sysdeps/unix/sysv/direct.h: Remove file.
35620 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35621 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35622 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35623 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35624 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35625 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35626 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35628 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35630 * sysdeps/unix/xmknod.c: Remove file.
35631 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35633 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35635 * sysdeps/unix/sysv/i386/time.S: Remove file.
35637 * sysdeps/unix/fxstat.c: Remove file.
35638 * sysdeps/unix/xstat.c: Likewise.
35639 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35641 * sysdeps/unix/sysv/sigaction.c: Remove file.
35643 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35644 (sysdep_headers): Remove variable.
35645 [termio.h not in sysdep_headers] (generated): Likewise.
35646 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35647 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35648 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35649 * sysdeps/unix/sysv/tcflow.c: Likewise.
35650 * sysdeps/unix/sysv/tcflush.c: Likewise.
35651 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35652 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35653 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35654 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35655 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35657 * sysdeps/unix/siglist.c: Remove file.
35659 * sysdeps/unix/getppid.S: Remove file.
35661 * sysdeps/unix/mkdir.c: Remove file.
35662 * sysdeps/unix/rmdir.c: Likewise.
35664 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35666 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35668 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35669 errlist-compat value.
35671 2012-04-18 David S. Miller <davem@davemloft.net>
35673 * sysdeps/generic/memcopy.h (reg_char): Delete.
35674 * debug/strcat_chk.c: Use char, not reg_char.
35675 * debug/strcpy_chk.c: Likewise.
35676 * debug/strncat_chk.c: Likewise.
35677 * debug/strncpy_chk.c: Likewise.
35678 * string/memchr.c: Likewise.
35679 * string/memrchr.c: Likewise.
35680 * string/rawmemchr.c: Likewise.
35681 * string/strcat.c: Likewise.
35682 * string/strchr.c: Likewise.
35683 * string/strchrnul.c: Likewise.
35684 * string/strcmp.c: Likewise.
35685 * string/strcpy.c: Likewise.
35686 * string/strncat.c: Likewise.
35687 * string/strncmp.c: Likewise.
35688 * string/strncpy.c: Likewise.
35690 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35692 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35693 __builtin_memcopy is called when src and dest ranges are known to not
35696 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35698 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35699 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35700 fwd_align_merge macro call.
35701 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35702 bwd_align_merge macro call.
35703 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35705 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35707 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35708 bwd_align_merge macros.
35709 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35710 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35713 2012-04-18 David S. Miller <davem@davemloft.net>
35715 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35717 2012-04-18 Andreas Jaeger <aj@suse.de>
35720 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35721 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35722 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35725 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35726 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35728 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35729 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35730 Adjust for changed ldbl-128 files.
35732 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35733 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35736 2012-04-17 David S. Miller <davem@davemloft.net>
35738 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35740 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35742 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35743 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35744 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35745 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35746 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35747 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35749 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35752 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35753 * math/libm-test.inc: Add ilogb errno and exception tests.
35754 * math/w_ilogb.c: New file: ilogb wrapper.
35755 * math/w_ilogbf.c: New file: ilogbf wrapper.
35756 * math/w_ilogbl.c: New file: ilogbl wrapper.
35757 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35758 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35759 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35760 exception being thrown with 0.0 as argument.
35761 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35762 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35763 exception being thrown with 0.0 as argument.
35764 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35765 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35766 exception being thrown with 0.0 as argument.
35767 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35768 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35769 exception being thrown with 0.0 as argument.
35770 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35771 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35772 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35773 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35774 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35775 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35776 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35777 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35778 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35780 2012-04-17 Petr Baudis <pasky@ucw.cz>
35782 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35785 2012-04-16 Marek Polacek <polacek@redhat.com>
35787 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35789 2012-04-16 Marek Polacek <polacek@redhat.com>
35791 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35792 operands of fdivp instruction.
35794 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35796 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35797 * elf/tst-auditmod3b.c: Likewise.
35798 * elf/tst-auditmod4b.c: Likewise.
35799 * elf/tst-auditmod5b.c: Likewise.
35800 * elf/tst-auditmod6b.c: Likewise.
35801 * elf/tst-auditmod6c.c: Likewise.
35802 * elf/tst-auditmod7b.c: Likewise.
35803 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35804 * sysdeps/x86_64/preconfigure.in: Likewise.
35805 * sysdeps/x86_64/preconfigure: Regenerated.
35807 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35809 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35812 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35815 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35817 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35820 * locale/iso-639.def: Fix gl language name. Spotted by
35823 2012-04-12 Roland McGrath <roland@hack.frob.com>
35826 * libio/libio.h (__io_write_fn): Update comment.
35828 2012-04-12 Petr Baudis <pasky@ucw.cz>
35831 * stdio.texi (Hook Functions): The user provided writer function
35832 is not allowed to return -1.
35834 2012-04-11 David S. Miller <davem@davemloft.net>
35836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35838 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35840 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35841 Add a leading slash to rtkaio.
35843 2012-04-11 Jim Meyering <meyering@redhat.com>
35846 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35847 It is not necessarily an error to ignore fwrite's return
35848 value. One can reliably use ferror to test for errors after
35851 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35853 * bits/types.h (__snseconds_t): New type.
35854 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35856 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35858 (__SNSECONDS_T_TYPE): Likewise.
35859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35860 (__SNSECONDS_T_TYPE): Likewise.
35861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35862 (__SNSECONDS_T_TYPE): Likewise.
35864 2012-04-10 Andreas Jaeger <aj@suse.de>
35867 * manual/time.texi (Processor Time): Return type of times is
35868 elapsed real time since an arbitrary point in the past.
35869 (CPU Time): Move CLK_TCK from here...
35870 (Processor Time): ...to here. Correct description.
35871 * manual/conf.texi (Constants for Sysconf): Correct description of
35874 2012-04-10 David S. Miller <davem@davemloft.net>
35877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35878 where the is a gap between DT_REL(A) and DT_JMPREL.
35880 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35882 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35883 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35884 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35886 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35888 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35889 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35890 (dl_main): Handle --inhibit-cache.
35891 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35893 * elf/dl-load.c (_dl_map_object): Use it.
35894 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35896 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35899 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35900 (__ieee754_powl): Saturate large exponents rather than testing for
35901 overflow of y*log2(x).
35902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35903 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35907 * math/s_ctan.c: Include <float.h>.
35908 (__ctan): Avoid internal overflow or cancellation in calculating
35910 * math/s_ctanf.c: Likewise.
35911 * math/s_ctanl.c: Likewise.
35912 * math/s_ctanh.c: Likewise.
35913 * math/s_ctanhf.c: Likewise.
35914 * math/s_ctanhl.c: Likewise.
35915 * math/libm-test.inc (ctan_test): Add more tests.
35916 (ctanh_test): Likewise.
35917 * sysdeps/i386/fpu/libm-test-ulps: Update.
35918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920 2012-04-09 Andreas Jaeger <aj@suse.de>
35923 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35924 is an optional BSD extension.
35927 * manual/stdio.texi (Opening Streams): Document additional fopen
35930 2012-04-09 Roland McGrath <roland@hack.frob.com>
35932 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35933 %eax without telling the compiler.
35935 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35938 * manual/install.texi: Use sourceware.org.
35940 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35943 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35944 (__ieee754_pow): Generate overflow and underflow using huge*huge
35945 and tiny*tiny rather than just returning constant infinity or zero
35946 for large exponents.
35947 * math/libm-test.inc (pow_test): Require overflow exceptions for
35948 applicable cases of large exponents.
35951 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35952 (__ieee754_pow): Use iterative multiplication algorithm only for
35953 integer exponents with absolute value below 1024. Check for odd
35954 integer exponents when using algorithm for real exponents.
35955 * math/libm-test.inc (pow_test): Add more tests.
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35958 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35961 * math/libm-test.inc (exp_test): Do not allow overflow exception
35964 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35967 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35968 instead of __kernel_standard_f.
35970 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35972 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35973 * sysdeps/x86_64/memset_chk.S: Likewise.
35975 2012-04-08 Andreas Jaeger <aj@suse.de>
35978 * manual/startup.texi (Environment Access): Describe return value
35979 for putenv and setenv.
35982 * manual/filesys.texi (Directory Entries): Add description for
35986 * manual/filesys.texi (Directory Entries): Clarify that it's file
35987 system not operating system in the description of DT_UNKNOWN.
35990 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35992 2012-04-08 Stephen Compall <s11@member.fsf.org>
35995 * manual/llio.texi (Opening and Closing Files): Add cross
35996 reference to explain mode argument.
35998 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36000 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36001 * sysdeps/x86_64/memset_chk.S: Likewise.
36003 2012-04-07 David S. Miller <davem@davemloft.net>
36005 * elf/elf.h (R_SPARC_WDISP10): Define.
36006 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36009 R_SPARC_SIZE64 and R_SPARC_H34.
36011 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36013 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36014 conditions and remove no longer applicable assertion.
36016 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36018 * bits/byteswap.h: Include <features.h>.
36019 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36020 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36022 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36024 * bits/byteswap.h (__bswap_16): Removed.
36025 Include <bits/byteswap-16.h> to get __bswap_16.
36026 * sysdeps/i386/bits/byteswap.h: Likewise.
36027 * sysdeps/s390/bits/byteswap.h: Likewise.
36028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36029 * bits/byteswap-16.h: New file.
36030 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36031 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36032 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36033 * string/Makefile (headers): Add bits/byteswap-16.h.
36035 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36038 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36040 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36041 * nss/tst-nss-static.c: New.
36043 2012-04-06 Robert Millan <rmh@gnu.org>
36046 * manual/llio.texi (File Position Primitive): lseek
36047 refers to WHENCE when it really means OFFSET.
36049 2012-04-06 Andreas Jaeger <aj@suse.de>
36051 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36052 strncmp declarations.
36054 * abilist/libc.abilist: Add __poll and __ppoll.
36056 2012-04-05 David S. Miller <davem@davemloft.net>
36058 * scripts/check-local-headers.sh: Accept a host triplet in the
36059 path matched by the exclude regexp.
36061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36063 * sysdeps/powerpc/powerpc32/dl-machine.h
36064 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36065 * sysdeps/s390/s390-32/dl-machine.h
36066 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36067 * sysdeps/sparc/sparc32/dl-machine.h
36068 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36069 * sysdeps/sparc/sparc64/dl-machine.h
36070 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36072 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36074 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36075 undefined symbol errors.
36077 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36080 2012-04-05 Michael Matz <matz@suse.de>
36083 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36085 2012-04-05 Andreas Jaeger <aj@suse.de>
36088 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36091 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36093 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36094 which ROUND is no valid rounding mode.
36096 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36100 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36102 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36104 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36105 an exception using FPU order intentionally.
36107 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36109 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36110 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36111 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36112 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36114 2012-04-05 Simon Josefsson <simon@josefsson.org>
36117 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36118 EINVAL when BUFLEN is too smal.
36120 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36123 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36124 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36126 2012-04-03 Andreas Jaeger <aj@suse.de>
36129 * manual/setjmp.texi (System V contexts): Fix sentence.
36132 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36133 New macro for this case.
36134 [!__GNUC__] (__bswap_64): New inline function for this case.
36135 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36136 * bits/byteswap.h: Likewise.
36137 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36138 ull, guard with __GLIBC_HAVE_LONG_LONG.
36140 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36141 __GLIBC_HAVE_LONG_LONG.
36143 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36144 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36146 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36149 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36150 inptr and inend, rather than using last_ch.
36152 2012-04-02 David S. Miller <davem@davemloft.net>
36154 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36155 * stdio-common/printf-parse.h (read_int): Change return type to
36156 'int', return -1 on INT_MAX overflow.
36157 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36158 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36159 overflows INT_MAX. Check for overflow of in-format-string precision
36160 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36161 SIZE_MAX not INT_MAX for integer overflow test.
36162 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36163 skip the construct in the format string but do not record anything.
36164 * stdio-common/bug22.c: Adjust to test both width/prevision
36165 INT_MAX overflow as well as total length INT_MAX overflow. Check
36166 explicitly for proper errno values.
36168 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36170 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36172 * string/test-strcmp.c [! WIDE]: Likewise.
36173 * time/tst-mktime2.c: Likewise for INT_MAX.
36174 * string/test-string.h: #include <sys/param.h> for MIN.
36176 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36177 * sysdeps/i386/init-first.c (init): Likewise.
36178 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36179 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36180 * sysdeps/sh/init-first.c (init): Likewise.
36182 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36184 * po/ru.po: Update from translation team.
36185 * po/vi.po: Likewise.
36187 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36189 * resolv/nss_dns/dns-host.c: Merge copyright years.
36191 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36194 Optimize memcpy with prefetch if
36195 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36196 src, dst pointers have unequal 16 byte alignments.
36198 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36201 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36202 from a CNAME entry and return the minimum ttl for the query.
36203 (gaih_getanswer_slice): Likewise.
36205 2012-03-30 Jeff Law <law@redhat.com>
36207 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36209 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36210 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36212 * resolv/nss_dns/dns-host.c: Update copyright year.
36214 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36216 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36217 requests to save a system call. Fix check that all bytes are sent.
36219 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36220 comments for sendmmsg.
36222 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36225 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36226 with only 1 character between 0x0041 and 0x01b0.
36227 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36228 * wcsmbs/tst-mbsnrtowcs.c: New file.
36230 2012-03-29 David S. Miller <davem@davemloft.net>
36232 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36233 small copies by hand.
36235 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36238 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36239 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36242 2012-03-28 David S. Miller <davem@davemloft.net>
36244 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36245 that branches into memcpy.
36246 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36248 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36249 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36252 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36253 implementation too.
36254 * sysdeps/sparc/mempcpy.S: New file.
36256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36257 the IFUNC routine in the libc case.
36258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36260 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36261 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36262 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36263 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36264 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36265 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36266 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36267 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36269 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36270 loop to 256 bytes instead of 64 bytes and fix test signedness.
36272 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36273 * sysdeps/sparc/sparc32/Makefile: rather than here...
36274 * sysdeps/sparc/sparc64/Makefile: and here.
36276 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36278 * malloc/mallocbug.c: Avoid warnings about unused variables.
36280 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36283 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36284 in the right place. Discard and retry query if response is
36285 larger than input buffer size.
36287 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36292 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36293 x for large integer exponent.
36294 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36295 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36296 sign of result as needed afterwards.
36297 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36298 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36299 result for underflowing pow the same as for overflow.
36300 (__kernel_standard_l): Handle powl overflow and underflow here
36301 rather than calling __kernel_standard.
36302 * math/libm-test.inc (pow_test): Add more tests.
36317 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36318 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36319 (__kernel_standard_l): New function.
36320 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36322 * math/w_acosl.c (__acosl): Likewise.
36323 * math/w_asinl.c (__asinl): Likewise.
36324 * math/w_atan2l.c (__atan2l): Likewise.
36325 * math/w_atanhl.c (__atanhl): Likewise.
36326 * math/w_coshl.c (__coshl): Likewise.
36327 * math/w_exp10l.c (__exp10l): Likewise.
36328 * math/w_exp2l.c (__exp2l): Likewise.
36329 * math/w_fmodl.c (__fmodl): Likewise.
36330 * math/w_hypotl.c (__hypotl): Likewise.
36331 * math/w_j0l.c (__j0l, __y0l): Likewise.
36332 * math/w_j1l.c (__j1l, __y1l): Likewise.
36333 * math/w_jnl.c (__jnl, __ynl): Likewise.
36334 * math/w_lgammal.c (__lgammal): Likewise.
36335 * math/w_log10l.c (__log10l): Likewise.
36336 * math/w_log2l.c (__log2l): Likewise.
36337 * math/w_logl.c (__logl): Likewise.
36338 * math/w_powl.c (__powl): Likewise.
36339 * math/w_remainderl.c (__remainderl): Likewise.
36340 * math/w_scalbl.c (sysv_scalbl): Likewise.
36341 * math/w_sinhl.c (__sinhl): Likewise.
36342 * math/w_sqrtl.c (__sqrtl): Likewise.
36343 * math/w_tgammal.c (__tgammal): Likewise.
36344 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36345 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36346 * math/libm-test.inc (acos_test): Add more tests.
36347 (acosh_test): Likewise.
36348 (asin_test): Likewise.
36349 (atanh_test): Likewise.
36350 (exp_test): Likewise.
36351 (exp10_test): Likewise.
36352 (exp2_test): Likewise.
36353 (expm1_test): Likewise.
36354 (lgamma_test): Likewise.
36355 (log_test): Likewise.
36356 (log10_test): Likewise.
36357 (log1p_test): Likewise.
36358 (log2_test): Likewise.
36359 (pow_test): Do not allow some spurious overflow exceptions.
36360 (sqrt_test): Add more tests.
36361 (tgamma_test): Likewise.
36362 (y0_test): Likewise.
36363 (y1_test): Likewise.
36364 (yn_test): Likewise.
36366 2012-03-27 Anton Blanchard <anton@samba.org>
36368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36374 2012-03-27 David S. Miller <davem@davemloft.net>
36376 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36378 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36379 have-as-vis3 check.
36381 2012-03-27 Andreas Jaeger <aj@suse.de>
36383 * sysdeps/x86_64/elf/configure.in: Moved to ...
36384 * sysdeps/x86_64/configure.in: ... here.
36385 * sysdeps/x86_64/elf/start.S: Moved to ...
36386 * sysdeps/x86_64/start.S: ... here.
36387 * sysdeps/x86_64/elf/configure: Delete.
36389 * sysdeps/x86_64/configure.in: Merge contents from
36390 sysdeps/i386/configure.in (without i686 check).
36392 * sysdeps/i386/elf/Versions: Merge into ...
36393 * sysdeps/i386/Versions: ... this.
36394 * sysdeps/i386/elf/Versions: Delete file.
36395 * sysdeps/i386/elf/start.S: Moved to ...
36396 * sysdeps/i386/start.S: ...here.
36397 * sysdeps/i386/elf/configure.in: Merge into...
36398 * sysdeps/i386/configure.in: ...here.
36399 * sysdeps/i386/elf/configure.in: Delete file.
36400 * sysdeps/i386/elf/configure: Delete file.
36402 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36403 * debug/backtracesyms.c: ... here.
36404 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36405 * debug/backtracesymsfd.c: ... here.
36406 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36407 * sysdeps/generic/ifunc-sel.h: ... here.
36409 * sysdeps/unix/i386/start.c: Delete file.
36410 * sysdeps/unix/sparc/start.c: Delete file.
36411 * sysdeps/unix/start.c: Delete file.
36413 * sysdeps/sh/elf/configure.in: Moved to ...
36414 * sysdeps/sh/configure.in: ... here.
36415 * sysdeps/sh/elf/start.S: Moved to ...
36416 * sysdeps/sh/start.S: ... here.
36417 * sysdeps/sh/elf/configure: Delete file.
36419 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36420 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36421 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36422 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36423 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36424 * sysdeps/powerpc/powerpc64/start.S: here.
36425 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36426 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36427 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36428 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36429 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36431 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36432 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36433 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36434 * sysdeps/powerpc/powerpc32/start.S: ... here.
36435 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36436 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36437 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36439 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36440 * sysdeps/powerpc/ifunc-sel.h: ... here.
36441 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36442 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36444 * sysdeps/sparc/elf/configure.in: Moved to ...
36445 * sysdeps/sparc/configure.in: ... here.
36446 * sysdeps/sparc/elf/configure: Delete file.
36447 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36448 * sysdeps/sparc/sparc32/start.S: ... here.
36449 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36450 * sysdeps/sparc/sparc64/start.S: ... here.
36451 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36452 * sysdeps/sparc/sparc32/Makefile: ... this.
36453 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36454 * sysdeps/sparc/sparc64/Makefile: ... this.
36456 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36457 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36458 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36459 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36460 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36461 * sysdeps/s390/s390-32/setjmp.S: ... here.
36462 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36463 * sysdeps/s390/s390-32/configure.in: ... here.
36464 * sysdeps/s390/s390-32/elf/configure: Delete file.
36465 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36466 * sysdeps/s390/s390-32/start.S: ... here.
36468 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36469 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36470 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36471 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36472 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36473 * sysdeps/s390/s390-64/setjmp.S: ... here.
36474 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36475 * sysdeps/s390/s390-64/configure.in: ... here
36476 * sysdeps/s390/s390-64/elf/configure: Delete file.
36477 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36478 * sysdeps/s390/s390-64/start.S: ... here.
36479 * sysdeps/s390/s390-64/elf/configure: Delete.
36481 * configure.in: Remove support for elf directories in sysdeps.
36483 * configure: Regenerated.
36484 * sysdeps/i386/configure: Regenerated.
36485 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36486 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36487 * sysdeps/s390/s390-32/configure: Regenerated.
36488 * sysdeps/s390/s390-64/configure: Regenerated.
36489 * sysdeps/sh/configure: Regenerated.
36490 * sysdeps/sparc/configure: Regenerated.
36491 * sysdeps/x86_64/configure: Regenerated.
36493 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36498 denormal result into account.
36500 2012-03-25 Roland McGrath <roland@hack.frob.com>
36502 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36503 Reported by Allan McRae <allan@archlinux.org>.
36505 2012-03-23 Jeff Law <law@redhat.com>
36507 * nss/getnssent.c (__nss_getent): Fix typo.
36509 2012-03-23 David S. Miller <davem@davemloft.net>
36511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36513 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36515 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36516 to pad to uint64_t for each field.
36517 (dl_tls_index): Replace unsigned long with uint64_t.
36519 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36520 Paul Pluzhnikov <ppluzhnikov@google.com>
36523 * grp/Makefile (otherlibs): Don't set it.
36524 * inet/Makefile (otherlibs): Likewise.
36525 * login/Makefile (otherlibs): Likewise.
36526 * nscd/Makefile (otherlibs): Likewise.
36527 * posix/Makefile (otherlibs): Likewise.
36528 * pwd/Makefile (otherlibs): Likewise.
36529 * rt/Makefile (otherlibs): Likewise.
36530 * sunrpc/Makefile (otherlibs): Likewise.
36531 * nss/Makefile (otherlibs): Likewise.
36532 Add libnss_files to routines and static-only-routines.
36533 ($(objpfx)getent): Remove rule.
36534 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36535 static-only-routines.
36537 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36540 * math/s_cexp.c: Include <float.h>.
36541 (__cexp): Handle exp result overflowing not necessarily
36542 overflowing both real and imaginary parts of result.
36543 * math/s_cexpf.c: Likewise.
36544 * math/s_cexpl.c: Likewise.
36545 * math/libm-test.inc (cexp_test): Add more tests.
36546 * sysdeps/i386/fpu/libm-test-ulps: Update.
36547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36549 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36551 * include/link.h (ELFW): New macro.
36552 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36553 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36555 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36557 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36560 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36562 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36564 (struct La_x32_retval): Likewise.
36566 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36568 * sysdeps/x86_64/preconfigure.in: New file.
36569 * sysdeps/x86_64/preconfigure: New generated file.
36571 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36574 * math/e_exp2l.c: Include <float.h>.
36575 (__ieee754_exp2l): Handle overflow and underflow cases
36576 separately. Only pass fractional part of argument to
36578 * math/libm-test.inc (exp2_test): Add more tests.
36580 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36581 negating x to take absolute value.
36582 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36587 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36588 computing low part if x was negated.
36589 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36591 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36593 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36594 la_x32_gnu_pltexit.
36595 (pltexit): Cast int_retval to ptrdiff_t.
36596 * elf/tst-auditmod3b.c: Likewise.
36597 * elf/tst-auditmod4b.c: Likewise.
36598 * elf/tst-auditmod5b.c: Likewise.
36599 * elf/tst-auditmod6b.c: Likewise.
36600 * elf/tst-auditmod6c.c: Likewise.
36601 * elf/tst-auditmod7b.c: Likewise.
36603 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36604 and x32_gnu_pltexit.
36606 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36607 __ELF_NATIVE_CLASS.
36608 (La_x32_regs): New macro.
36609 (La_x32_retval): Likewise.
36610 (la_x32_gnu_pltenter): New function prototype.
36611 (la_x32_gnu_pltexit): Likewise.
36613 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36620 * configure.in (libc_cv_cc_nofma): Check for option to disable
36621 generation of FMA instructions.
36622 * configure: Regenerate.
36623 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36624 * sysdeps/ieee754/dbl-64/Makefile: New file.
36625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36626 Remove brandred-fma4.
36627 (CFLAGS-brandred-fma4.c): Remove.
36628 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36631 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36634 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36636 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36637 LLONG_MAX != LONG_MAX.
36638 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36639 (_fitoa_word): Likewise.
36640 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36641 LLONG_MAX != LONG_MAX.
36642 * stdio-common/_itowa.h: Include <_itoa.h>.
36643 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36644 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36645 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36646 only if not defined.
36647 (_ITOA_WORD_TYPE): Likewise.
36648 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36649 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36651 2012-03-21 David S. Miller <davem@davemloft.net>
36653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36655 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36657 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36658 of x86_64 when setting libc_cv_slibdir, libdir and
36660 * sysdeps/unix/sysv/linux/configure: Regenerated.
36662 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36664 * manual/lang.texi (Old Varargs): Remove section.
36665 (How Variadic): Update menu.
36666 (va_start): Do not mention varargs.h.
36668 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36669 Joseph Myers <joseph@codesourcery.com>
36671 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36673 * configure: Regenerated.
36675 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36677 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36678 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36681 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36684 * Makefile (files-for-dist): Remove NOTES.
36685 (NOTES): Remove rule.
36686 * README: Don't refer to NOTES.
36687 * manual/creature.texi: Don't include macros.texi.
36688 * manual/intro.texi (creature.texi): Remove comment referring to
36691 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36692 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36693 * configure: Regenerated.
36694 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36695 LIBC_TRY_CC_OPTION.
36696 (libc_cv_as_i686): Likewise.
36697 (libc_cv_cc_avx): Likewise.
36698 (libc_cv_cc_sse2avx): Likewise.
36699 (libc_cv_cc_fma4): Likewise.
36700 (libc_cv_cc_novzeroupper): Likewise.
36701 * sysdeps/i386/configure: Regenerated.
36704 * sysdeps/i386/fpu/s_cexp.S: Remove.
36705 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36706 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36707 * math/libm-test.inc (cexp_test): Add more tests.
36708 * sysdeps/i386/fpu/libm-test-ulps: Update.
36709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36711 2012-03-21 Allan McRae <allan@archlinux.org>
36713 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36715 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36718 * math/w_exp2.c: Do not include <float.h>.
36719 (o_threshold, u_threshold): Remove.
36720 (__exp2): Calculate result before checking finiteness and calling
36722 * math/w_exp2f.c: Likewise.
36723 * math/w_exp2l.c: Likewise.
36724 * math/libm-test.inc (exp2_test): Require overflow exception for
36728 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36729 range of signed 64-bit integers before using fistpll. Remove
36730 checks for whether integers fit in mantissa bits.
36731 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36732 the range of signed 32-bit integers before using fistpl. Remove
36733 checks for whether integers fit in mantissa bits.
36734 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36735 (__ieee754_powl): Test for y outside the range of signed 64-bit
36736 integers before using fistpll. Reduce 64-bit values to 63-bit
36738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36739 divide-by-zero is raised for zero to large negative powers.
36740 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36741 (__ieee754_powl): Test for y outside the range of signed 64-bit
36742 integers before using fistpll. Reduce 64-bit values to 63-bit
36744 * math/libm-test.inc (pow_test): Add more tests.
36746 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36748 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36749 <stdio-common/_itoa.h>.
36750 * debug/segfault.c: Likewise.
36751 * elf/dl-cache.c: Likewise.
36752 * elf/dl-minimal.c: Likewise.
36753 * elf/dl-misc.c: Likewise.
36754 * elf/dl-sysdep.c: Likewise.
36755 * elf/dl-version.c: Likewise.
36756 * elf/rtld.c: Likewise.
36757 * hurd/hurdsock.c: Likewise.
36758 * hurd/lookup-retry.c: Likewise.
36759 * malloc/malloc.c: Likewise.
36760 * malloc/mtrace.c: Likewise.
36761 * nscd/nscd_getgr_r.c: Likewise.
36762 * nscd/nscd_getpw_r.c: Likewise.
36763 * nscd/nscd_getserv_r.c: Likewise.
36764 * posix/getopt_init.c: Likewise.
36765 * posix/wordexp.c: Likewise.
36766 * stdio-common/_itoa.c: Likewise.
36767 * stdio-common/printf_fphex.c: Likewise.
36768 * stdio-common/vfprintf.c: Likewise.
36769 * string/_strerror.c: Likewise.
36770 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36771 * sysdeps/i386/i686/hp-timing.h: Likewise.
36772 * sysdeps/mach/_strerror.c: Likewise.
36773 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36774 * sysdeps/mach/hurd/sethostid.c: Likewise.
36775 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36776 * sysdeps/mach/xpg-strerror.c: Likewise.
36777 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36779 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36780 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36781 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36782 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36783 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36784 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36785 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36786 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36787 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36788 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36789 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36790 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36791 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36792 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36793 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36794 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36795 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36796 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36797 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36799 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36801 * stdio-common/_itoa.h: Moved to ...
36802 * sysdeps/generic/_itoa.h: Here.
36804 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36806 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36807 instead of "_itoa.h" and "_itowa.h".
36808 * stdio-common/vfprintf.: Likewise.
36810 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36812 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36814 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36815 (__signbit): Likwise.
36816 (llrintf): Likwise.
36819 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36821 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36824 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36826 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36827 OVERFLOW_EXCEPTION_OK.
36828 * math/libm-test.inc ("Philosophy"): Update comment about
36830 (OVERFLOW_EXCEPTION): Define.
36831 (OVERFLOW_EXCEPTION_OK): Likewise.
36832 (INVALID_EXCEPTION_OK): Renumber.
36833 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36834 (IGNORE_ZERO_INF_SIGN): Likewise.
36835 (test_exceptions): Handle FE_OVERFLOW.
36836 (exp10_test): Expect overflow exceptions.
36837 (exp2_test): Likewise.
36838 (expm1_test): Likewise.
36839 (nextafter_test): Likewise.
36840 (pow_test): Likewise.
36841 (scalbn_test): Likewise.
36842 (scalbln_test): Likewise.
36844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36846 * sysdeps/x86_64/bits/atomic.h
36847 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36849 (atomic_exchange_acq): Likewise.
36850 (__arch_exchange_and_add_body): Likewise.
36851 (__arch_add_body): Likewise.
36852 (atomic_add_negative): Likewise.
36853 (atomic_add_zero): Likewise.
36855 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36857 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36858 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36860 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36862 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36863 Check __x86_64__ instead of __WORDSIZE.
36865 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36867 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36869 2012-03-19 David S. Miller <davem@davemloft.net>
36871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36873 * sysdeps/sparc/fpu/fenv_private.h: New file.
36874 * sysdeps/sparc/fpu/math_private.h: Use it.
36875 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36877 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36878 (libc_feholdexcept_setroundl): Remove.
36879 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36881 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36882 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36886 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36887 int64_t instead of long int.
36888 (INSERT_WORDS64): Likwise.
36890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36892 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36893 _Unwind_GetCFA return to _Unwind_Ptr first.
36895 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36898 * math/s_clog.c: Include <float.h>.
36899 (__clog): Scale large or subnormal inputs.
36900 * math/s_clogf.c: Likewise.
36901 * math/s_clogl.c: Likewise.
36902 * math/s_clog10.c: Include <float.h>.
36903 (M_LOG10_2): Define.
36904 (__clog10): Scale large or subnormal inputs.
36905 * math/s_clog10f.c: Likewise.
36906 * math/s_clog10l.c: Likewise.
36907 * math/libm-test.inc (clog_test): Add more tests.
36908 (clog10_test): Likewise.
36909 * sysdeps/i386/fpu/libm-test-ulps: Update.
36910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36913 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36915 * math/libm-test.inc (atan2_test): Add another test.
36917 * Makerules (common-objdir-compile): Remove.
36918 * sysdeps/unix/Makefile (config-generated): Do not add
36919 $(unix-generated) to variable.
36920 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36921 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36923 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36925 [generic bits/local_lim.h] (before-compile): Do not append to
36927 [generic bits/local_lim.h] (common-generated): Likewise.
36928 [generic sys/param.h] (before-compile): Do not append to variable.
36929 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36930 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36931 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36932 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36934 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36935 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36936 [generic sys/param.h] ($(addprefix
36937 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36938 [generic sys/param.h] (common-generated): Do not append to
36940 [generic sys/param.h] (sysdep_headers): Likewise.
36941 [generic bits/errno.h] (before-compile): Do not append to
36943 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36945 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36946 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36947 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36948 [generic bits/errno.h] (common-generated): Do not append to
36950 [generic bits/ioctls.h] (before-compile): Do not append to
36952 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36954 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36955 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36956 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36958 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36959 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36960 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36961 [generic bits/ioctls.h] (common-generated): Do not append to
36963 [generic sys/syscall.h] (syscall.h): Remove variable.
36964 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36966 [generic sys/syscall.h] (before-compile): Do not append to
36968 [generic sys/syscall.h] (common-generated): Likewise.
36969 * sysdeps/unix/errnos-tmpl.c: Remove file.
36970 * sysdeps/unix/errnos.awk: Likewise.
36971 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36972 * sysdeps/unix/ioctls.awk: Likewise.
36973 * sysdeps/unix/mk-local_lim.c: Likewise.
36974 * sysdeps/unix/snarf-ioctls: Likewise.
36976 2012-03-19 Richard Henderson <rth@twiddle.net>
36978 * sysdeps/i386/fpu/fenv_private.h: New file.
36979 * sysdeps/i386/fpu/math_private.h: Use it.
36980 (math_opt_barrier, math_force_eval): Remove.
36981 (libc_feholdexcept_setround_53bit): Remove.
36982 (libc_feupdateenv_53bit): Remove.
36983 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36984 (math_opt_barrier, math_force_eval): Remove.
36985 (libc_feholdexcept): Remove.
36986 (libc_feholdexcept_setround): Remove.
36987 (libc_fetestexcept, libc_fesetenv): Remove.
36988 (libc_feupdateenv_test): Remove.
36989 (libc_feupdateenv, libc_feholdsetround): Remove.
36990 (libc_feresetround): Remove.
36992 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36993 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36995 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36996 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36997 (libc_feupdateenv_testl): New.
36998 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36999 (libc_feupdateenv_testf): New.
37000 (libc_feupdateenv): Use libc_feupdateenv_test.
37001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37004 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37005 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37006 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37007 (libc_feresetround_noex): New.
37008 (libc_feresetround_noexf): New.
37009 (libc_feresetround_noexl): New.
37010 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37011 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37012 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37013 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37018 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37019 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37020 SET_RESTORE_ROUND_NOEX.
37021 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37022 SET_RESTORE_ROUND_NOEXF.
37023 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37024 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37025 (libc_feholdsetroundf): New.
37026 (libc_feresetround, libc_feresetroundf): New.
37028 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37029 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37030 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37032 * sysdeps/generic/math_private.h: Include <fenv.h>.
37033 (default_libc_feholdexcept): New.
37034 (default_libc_feholdexcept_setround): New.
37035 (default_libc_fesetenv, default_libc_feupdateenv): New.
37036 (libc_feholdexcept): Only define if undefined.
37037 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37038 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37039 (libc_feholdexcept_setroundl): Likewise.
37040 (libc_feholdexcept_setround_53bit): Likewise.
37041 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37042 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37043 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37044 (libc_feupdateenv_53bit): Likewise.
37045 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37046 (libc_feholdexcept): Convert from macro to inline function.
37047 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37048 (libc_fesetenv, libc_feupdateenv): Likewise.
37050 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37051 not previously defined.
37052 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37053 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37054 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37055 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37056 * sysdeps/ieee754/flt-32/math_private.h: New file.
37057 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37058 math_private.h below SET_FLOAT_WORD.
37059 (__isnan, __isinf_ns, __finite): Remove.
37060 (__isnanf, __isinf_nsf, __finitef): Remove.
37062 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37066 2012-03-17 David S. Miller <davem@davemloft.net>
37069 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37072 2012-03-16 David S. Miller <davem@davemloft.net>
37074 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37080 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37081 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37082 sysdep_routines when subdir is sysvipc.
37083 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37084 __getshmlba helper.
37086 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37090 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37093 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37095 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37096 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37097 (__lround): Renamed to ...
37098 (__llround): This. Replace long int with long long int.
37099 Define lround functions as aliases of llround functions.
37100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37104 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37105 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37106 adresses to uintptr_t. Replace "long int" and "unsigned long
37107 int" with "greg_t" on va_arg.
37109 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37111 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37112 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37114 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37115 Move e_machine check before EI_CLASS check. Handle x32
37116 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37117 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37118 SKIP_EM_IA_64 and include
37119 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37121 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37122 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37123 (add_system_dir): New macro.
37125 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37126 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37128 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37139 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37141 * math/w_j0f.c (j0f): Likewise.
37143 * math/w_j0l.c (__j0l): Likewise.
37145 * math/w_j1.c (j1): Likewise.
37147 * math/w_j1f.c (j1f): Likewise.
37149 * math/w_j1l.c (__j1l): Likewise.
37151 * math/w_jn.c (jn): Likewise.
37153 * math/w_jnf.c (jnf): Likewise.
37155 * math/w_jnl.c (__jnl): Likewise.
37157 * math/libm-test.inc (j0_test): Add more tests.
37158 (j1_test): Likewise.
37159 (jn_test): Likewise. Add trailing semicolon to existing test.
37160 (y0_test): Likewise.
37161 (y1_test): Likewise.
37162 * sysdeps/i386/fpu/libm-test-ulps: Update.
37163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37168 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37169 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37171 (__tanl): Set errno for infinite argument.
37172 * sysdeps/i386/fpu/mptan.c: Remove.
37173 * sysdeps/i386/fpu/s_tan.S: Likewise.
37174 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37175 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37176 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37177 * math/libm-test.inc (tan_test): Add more tests and enable more
37178 tests for double and long double.
37179 * sysdeps/i386/fpu/libm-test-ulps: Update.
37180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37182 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37184 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37185 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37187 2012-03-16 Roland McGrath <roland@hack.frob.com>
37189 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37190 * configure.in: Use it for both main tree and add-ons.
37191 * configure: Regenerated.
37193 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37195 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37197 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37203 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37204 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37209 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37211 != 0 for prec == 2.
37212 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37213 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37214 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37215 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37216 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37217 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37218 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37219 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37220 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37221 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37222 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37223 * math/libm-test.inc (cos_test): Add more tests and enable more
37224 tests for long double.
37225 (sin_test): Likewise.
37226 (sincos_test): Likewise.
37227 * sysdeps/i386/fpu/libm-test-ulps: Update.
37228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37230 2012-03-16 David S. Miller <davem@davemloft.net>
37232 * sysdeps/sparc/fpu/math_private.h: New file.
37234 2012-03-15 David S. Miller <davem@davemloft.net>
37236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37250 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37251 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37253 * sysdeps/sparc/sparc-ifunc.h: New file.
37254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37297 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37299 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37301 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37305 2012-03-15 Andreas Jaeger <aj@suse.de>
37308 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37309 ieee754/flt-32 implementation for sin, cos and sincos.
37310 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37311 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37312 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37313 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37314 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37315 ieee754/flt-32 implementation for tan.
37317 * math/libm-test.inc (cos_test): Enable some large input tests for
37319 (sin_test): Likewise.
37320 (sincos_test): Likewise.
37321 (tan_test): Add tests for large input.
37323 * sysdeps/i386/fpu/libm-test-ulps: Update.
37325 2012-03-15 Andreas Jaeger <aj@suse.de>
37328 * math/libm-test.inc (cos_test): Add more test cases.
37329 (sin_test): Likewise.
37330 (sincos_test): Likewise.
37332 2012-03-15 Andreas Jaeger <aj@suse.de>
37335 * math/libm-test.inc (cos_test): Add a test case for large input
37337 (sin_test): Likewise.
37338 (sincos_test): Likewise.
37340 2012-03-15 Andreas Jaeger <aj@suse.de>
37341 Joseph Myers <joseph@codesourcery.com>
37344 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37345 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37346 * sysdeps/i386/fpu/branred.c: Likewise.
37347 * sysdeps/i386/fpu/dosincos.c: Likewise.
37348 * sysdeps/i386/fpu/mpa.c: Likewise.
37349 * sysdeps/i386/fpu/s_cos.S: Likewise.
37350 * sysdeps/i386/fpu/s_sin.S: Likewise.
37351 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37352 * sysdeps/i386/fpu/sincos32.c: Likewise.
37354 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37356 (libc_feupdateenv_53bit): Define.
37357 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37359 (libc_feupdateenv_53bit): Define.
37361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37362 53 bit (without extend i386 double precision).
37364 * math/libm-test.inc (sincos_test): Add tests for large input.
37368 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37370 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37374 2012-03-15 David S. Miller <davem@davemloft.net>
37376 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37377 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37378 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37379 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37404 fmin/fmax sysdep routines.
37405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37407 2012-03-14 David S. Miller <davem@davemloft.net>
37409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37481 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37486 * sysdeps/sparc/configure.in: New file.
37487 * sysdeps/sparc/configure: Generate.
37488 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37489 * configure: Regenerate.
37490 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37491 * config.make.in (have-as-vis3): New.
37492 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37493 available use -Av9d instead of -Av9a.
37494 * sysdeps/sparc/sparc64/Makefile: Likewise.
37495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37510 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37511 fzeros/fnegs to load 0x80000000 into a float register instead of
37513 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37515 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37519 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37520 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37521 ($(inst_includedir)/bits/syscall.h): Remove rule.
37522 ($(objpfx)bits/syscall.d): Include instead of
37523 $(objpfx)syscall-list.d.
37524 (generated): Change syscall-list.h and syscall-list.d to
37525 bits/syscall.h and bits/syscall.d.
37527 2012-03-14 Roland McGrath <roland@hack.frob.com>
37530 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37532 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37535 * math/s_csqrt.c: Include <float.h>.
37536 (__csqrt): Scale large or subnormal inputs.
37537 * math/s_csqrtf.c: Likewise.
37538 * math/s_csqrtl.c: Likewise.
37539 * math/libm-test.inc (csqrt_test): Add more tests.
37540 * sysdeps/i386/fpu/libm-test-ulps: Update.
37541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37544 * math/libm-test.inc (hypot_test): Add more tests.
37546 2012-03-13 David S. Miller <davem@davemloft.net>
37549 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37550 double-precision for the calculation instead of scaling.
37552 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37554 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37555 manipulate bits before adding and subtracting TWO52[sx].
37556 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37561 2012-03-13 David S. Miller <davem@davemloft.net>
37563 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37564 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37566 rtld-global-offsets.h
37567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37569 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37572 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37574 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37575 'err' in the ifdef scope in which it is actually used.
37577 * nss/nss_db/db-init.c: Include string.h
37579 2012-03-12 David S. Miller <davem@davemloft.net>
37581 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37582 masking out of the most significant byte of random value used.
37583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37584 Fix coding style in previous change.
37586 * sysdeps/unix/sysv/linux/kernel-features.h
37587 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37588 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37590 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37593 2012-03-11 David S. Miller <davem@davemloft.net>
37595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37596 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37598 for 'resultvar' otherwise things get truncated on 64-bit.
37600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37601 Fix masking out of the most significant byte of random value used.
37603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37605 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37609 2012-03-09 David S. Miller <davem@davemloft.net>
37611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37612 variables with appropriate CPP guards.
37613 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37614 from the frame pointer, not the stack pointer. Correct layout
37615 comments. Fix test on resulting framesize and the management of
37616 the outregs buffer for pltexit. Preserve floating point return
37617 values across _dl_call_pltexit call.
37618 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37619 framesize and the management of the outregs buffer for pltexit.
37620 Preserve floating point return values across _dl_call_pltexit
37622 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37623 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37624 (la_sparc64_gnu_pltexit): New functions.
37625 (print_exit): Fix format string for return register value.
37627 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37629 * sunrpc/Makefile (others): Add rpcgen.
37630 ($(objpfx)rpcgen): Remove special build rule and dependency on
37632 * sunrpc/rpcgen.c: New file.
37634 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37637 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37638 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37639 * sysdeps/i386/crti.S: Likewise.
37640 * sysdeps/i386/crtn.S: Likewise.
37641 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37642 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37643 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37644 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37645 * sysdeps/sh/crti.S: Likewise.
37646 * sysdeps/sh/crtn.S: Likewise.
37647 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37650 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37652 * locale/programs/locfile-kw.gperf: Likewise.
37653 * locale/programs/charmap-kw.h: Regenerated.
37654 * locale/programs/locfile-kw.h: Likewise.
37657 * intl/plural.y: Replace FSF snail mail address with URL.
37658 * intl/plural.c: Regenerated.
37660 2012-03-09 Richard Henderson <rth@twiddle.net>
37662 * include/math_private.h: Remove file.
37663 * math/math_private.h: Move file ...
37664 * sysdeps/generic/math_private.h: ... here.
37666 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37667 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37668 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37670 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37671 and <math_private.h>.
37672 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37673 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37674 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37675 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37676 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37684 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37701 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37703 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37709 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37760 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37761 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37765 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37766 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37767 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37768 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37769 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37770 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37771 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37772 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37773 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37774 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37775 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37776 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37777 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37778 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37779 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37780 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37782 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37783 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37784 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37785 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37786 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37787 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37788 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37789 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37790 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37791 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37792 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37793 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37794 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37795 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37796 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37797 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37798 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37799 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37800 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37801 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37802 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37803 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37804 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37805 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37806 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37807 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37808 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37809 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37810 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37812 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37813 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37814 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37815 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37816 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37817 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37818 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37819 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37820 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37821 * sysdeps/ieee754/k_standard.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37936 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37937 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37940 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37941 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37942 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37944 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37949 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37954 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37967 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37969 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37970 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37971 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37973 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37974 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37975 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37978 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37979 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37982 * sysdeps/ieee754/s_lib_version.c: Likewise.
37983 * sysdeps/ieee754/s_matherr.c: Likewise.
37984 * sysdeps/ieee754/s_signgam.c: Likewise.
37985 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37986 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37988 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37989 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37990 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37991 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37992 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37993 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37994 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37995 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37996 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37997 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37999 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38001 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38002 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38003 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38007 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38009 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38010 * sunrpc/rpc_main.c: Likewise.
38011 * sunrpc/rpc_svcout.c: Likewise.
38013 2012-03-09 David S. Miller <davem@davemloft.net>
38015 * include/math_private.h: New file.
38017 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38019 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38020 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38021 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38022 from <bits/socket_type.h>.
38023 (enum __socket_type): Don't define here.
38024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38026 bits/socket_type.h.
38029 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38030 checking __USE_GNU.
38032 * Makerules ($(inst_includedir)/%.h): New rule.
38033 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38034 (install-others): Remove variable setting.
38035 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38037 2012-03-08 Richard Henderson <rth@twiddle.net>
38039 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38040 from macro to inline function; merge with the
38041 !__LIBC_INTERNAL_MATH_INLINES version.
38042 (__ieee754_sqrtf): Likewise.
38044 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38045 to inline function.
38046 (__rintf, __floor, __floorf): Likewise.
38048 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38049 macro to inline function.
38050 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38053 not <math/math_private.h>.
38055 2012-03-08 David S. Miller <davem@davemloft.net>
38057 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38059 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38061 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38063 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38065 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38066 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38068 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38070 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38071 be defined individually, they must be defined as a block. Define
38072 S for printing a string instead of hidint the different by using a
38073 macro for adding the 'l'.
38074 * stdio-common/tst-fphex-wide.c: Adjust.
38076 2012-03-07 Marek Polacek <polacek@redhat.com>
38078 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38080 2012-03-08 Marek Polacek <polacek@redhat.com>
38083 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38084 * stdio-common/tst-fphex.c: Define a few macros to make the
38085 test reusable. Use them.
38086 * stdio-common/tst-fphex-wide.c: New file.
38088 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38091 * manual/macros.texi (gnusystems): New macro.
38092 (nongnusystems): Likewise.
38093 (gnulinuxhurdsystems): Likewise.
38094 (gnuhurdsystems): Likewise..
38095 (gnulinuxsystems): Likewise.
38096 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38097 variants of the GNU system, not "GNU system".
38098 * manual/conf.texi: Likewise.
38099 * manual/errno.texi: Likewise. Update example of errno macro
38101 * manual/filesys.texi: Likewise.
38102 (getumask): Document as specific to GNU/Hurd.
38103 * manual/install.texi: Likewise. Reword some references to
38105 * manual/intro.texi: Likewise.
38106 * manual/io.texi: Likewise.
38107 (File Name Portability): Detail which constraints are inapplicable
38108 to all GNU systems and which are only inapplicable to GNU/Hurd.
38109 * manual/job.texi: Likewise.
38110 * manual/llio.texi: Likewise.
38111 (O_NOCTTY): Document as present on GNU/Linux.
38112 * manual/maint.texi: Likewise.
38113 * manual/memory.texi: Likewise.
38114 * manual/pattern.texi: Likewise.
38115 * manual/pipe.texi: Likewise.
38116 * manual/process.texi: Likewise.
38117 * manual/resource.texi: Likewise.
38118 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38120 * manual/setjmp.texi: Likewise.
38121 * manual/signal.texi: Likewise.
38122 * manual/startup.texi: Likewise.
38123 * manual/stdio.texi: Likewise.
38124 * manual/terminal.texi: Likewise.
38125 (ONLCR): Document as POSIX.
38126 (OXTABS): Document availability on GNU/Linux as XTABS.
38127 (ONOEOT): Document availability separately from other bits.
38128 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38129 * manual/time.texi: Likewise.
38130 * manual/users.texi: Likewise.
38131 * INSTALL: Regenerated.
38132 * sysdeps/gnu/errlist.c: Regenerated.
38134 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38135 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38136 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38138 * configure: Regenerated.
38140 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38142 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38143 default includes instead of AC_HEADER_CHECK.
38144 * sysdeps/i386/configure: Regenerated.
38147 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38148 * math/s_cacoshf.c (__cacoshf): Likewise.
38149 * math/s_cacoshl.c (__cacoshl): Likewise.
38150 * math/s_casinh.c (__casinh): Set signs of result from argument.
38151 * math/s_casinhf.c (__casinhf): Likewise.
38152 * math/s_casinhl.c (__casinhl): Likewise.
38153 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38154 (casinh_test): Add more tests.
38155 * sysdeps/i386/fpu/libm-test-ulps: Update.
38156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38158 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38160 * po/zh_TW.po: Update from translation team.
38162 * login/Makefile (distribute): Remove variable.
38163 * catgets/Makefile: Likewise.
38164 * mach/Makefile: Likewise.
38165 * malloc/Makefile: Likewise.
38166 * misc/Makefile: Likewise.
38167 * iconv/Makefile: Likewise.
38168 * nscd/Makefile: Likewise.
38169 * hurd/Makefile: Likewise.
38170 * manual/Makefile: Likewise.
38171 * locale/Makefile: Likewise.
38172 * intl/Makefile: Likewise.
38173 * conform/Makefile: Likewise.
38174 * nss/Makefile: Likewise.
38175 * time/Makefile: Likewise.
38176 * soft-fp/Makefile: Likewise.
38177 * dirent/Makefile: Likewise.
38178 * gmon/Makefile: Likewise.
38179 * po/Makefile: Likewise.
38180 * rt/Makefile: Likewise.
38181 * socket/Makefile: Likewise.
38182 * math/Makefile: Likewise.
38183 * signal/Makefile: Likewise.
38184 * debug/Makefile: Likewise.
38185 * elf/Makefile: Likewise.
38186 * timezone/Makefile: Likewise.
38187 * stdlib/Makefile: Likewise.
38188 * iconvdata/Makefile: Likewise.
38189 * sunrpc/Makefile: Likewise.
38190 * io/Makefile: Likewise.
38191 * argp/Makefile: Likewise.
38192 * inet/Makefile: Likewise.
38193 * hesiod/Makefile: Likewise.
38194 * grp/Makefile: Likewise.
38195 * csu/Makefile: Likewise.
38196 * wctype/Makefile: Likewise.
38197 * crypt/Makefile: Likewise.
38198 * libio/Makefile: Likewise.
38199 * string/Makefile: Likewise.
38200 * nis/Makefile: Likewise.
38201 * resolv/Makefile: Likewise.
38202 * stdio-common/Makefile: Likewise.
38203 * wcsmbs/Makefile: Likewise.
38204 * dlfcn/Makefile: Likewise.
38205 * posix/Makefile: Likewise.
38208 * timezone/Makefile: Don't install timezone files, just the programs
38211 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38213 * nss/databases.def: Add missing gshadow entry.
38215 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38217 2012-03-06 Marek Polacek <polacek@redhat.com>
38220 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38221 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38222 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38223 * stdio-common/tst-long-dbl-fphex.c: New file.
38225 2012-03-06 David S. Miller <davem@davemloft.net>
38227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38228 (set_obp_int): New function.
38229 (get_obp_int): New function.
38230 (__get_clockfreq_via_dev_openprom): Likewise.
38231 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38232 Avoid unused variable warnings on 'val' and use builtin_expect.
38233 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38235 (INLINE_CLONE_SYSCALL): Likewise.
38237 2012-03-05 David S. Miller <davem@davemloft.net>
38239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38241 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38246 only for |x| >= 40.
38247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38249 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38252 Replace gettimeofday with __vdso_gettimeofday.
38254 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38255 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38256 __vdso_clock_gettime and __vdso_getcpu.
38258 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38259 time with __vdso_time.
38261 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38263 * manual/lang.texi (size_t): Note types to which size_t may be
38264 equivalent with the GNU C Library, but do not describe when
38265 differences between them are significant.
38267 2012-03-05 Andreas Jaeger <aj@suse.de>
38269 * sysdeps/i386/fpu/libm-test-ulps: Update.
38271 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38274 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38275 (__ieee754_pow): Save and restore rounding mode and use
38276 round-to-nearest for main computations.
38277 * math/libm-test.inc (pow_test_tonearest): New function.
38278 (pow_test_towardzero): Likewise.
38279 (pow_test_downward): Likewise.
38280 (pow_test_upward): Likewise.
38281 (main): Call the new functions.
38282 * sysdeps/i386/fpu/libm-test-ulps: Update.
38283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286 * math/libm-test.inc (cosh_test_tonearest): New function.
38287 (cosh_test_towardzero): Likewise.
38288 (cosh_test_downward): Likewise.
38289 (cosh_test_upward): Likewise.
38290 (sinh_test_tonearest): Likewise.
38291 (sinh_test_towardzero): Likewise.
38292 (sinh_test_downward): Likewise.
38293 (sinh_test_upward): Likewise.
38294 (main): Call the new functions.
38295 * sysdeps/i386/fpu/libm-test-ulps: Update.
38296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38298 2012-03-05 Tom de Vries <tom@codesourcery.com>
38300 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38301 default stack guard is set in last bytes.
38302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38304 2012-03-05 Kees Cook <keescook@chromium.org>
38306 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38309 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38310 possibly allocate from heap instead of stack.
38311 * stdio-common/bug-vfprintf-nargs.c: New file.
38312 * stdio-common/Makefile (tests): Add nargs overflow test.
38314 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38318 2012-03-03 Marek Polacek <polacek@redhat.com>
38320 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38321 * math/math_private.h: Likewise.
38322 * stdlib/tst-strtod.c: Likewise.
38323 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38324 * sysdeps/x86_64/bits/atomic.h: Likewise.
38326 2012-03-02 David S. Miller <davem@davemloft.net>
38328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38332 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38333 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38334 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38335 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38337 2012-03-02 Roland McGrath <roland@hack.frob.com>
38340 * manual/examples/README: New file, says the example source files
38341 can be used under GPL>=2.
38342 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38343 line containing just "*/".
38344 * manual/examples/add.c: Add copyright header (GPL>=2).
38345 * manual/examples/argp-ex1.c: Likewise.
38346 * manual/examples/argp-ex2.c: Likewise.
38347 * manual/examples/argp-ex3.c: Likewise.
38348 * manual/examples/argp-ex4.c: Likewise.
38349 * manual/examples/atexit.c: Likewise.
38350 * manual/examples/db.c: Likewise.
38351 * manual/examples/dir.c: Likewise.
38352 * manual/examples/dir2.c: Likewise.
38353 * manual/examples/execinfo.c: Likewise.
38354 * manual/examples/filecli.c: Likewise.
38355 * manual/examples/filesrv.c: Likewise.
38356 * manual/examples/fmtmsgexpl.c: Likewise.
38357 * manual/examples/genpass.c: Likewise.
38358 * manual/examples/inetcli.c: Likewise.
38359 * manual/examples/inetsrv.c: Likewise.
38360 * manual/examples/isockad.c: Likewise.
38361 * manual/examples/longopt.c: Likewise.
38362 * manual/examples/memopen.c: Likewise.
38363 * manual/examples/memstrm.c: Likewise.
38364 * manual/examples/mkfsock.c: Likewise.
38365 * manual/examples/mkisock.c: Likewise.
38366 * manual/examples/mygetpass.c: Likewise.
38367 * manual/examples/pipe.c: Likewise.
38368 * manual/examples/popen.c: Likewise.
38369 * manual/examples/rprintf.c: Likewise.
38370 * manual/examples/search.c: Likewise.
38371 * manual/examples/select.c: Likewise.
38372 * manual/examples/setjmp.c: Likewise.
38373 * manual/examples/sigh1.c: Likewise.
38374 * manual/examples/sigusr.c: Likewise.
38375 * manual/examples/stpcpy.c: Likewise.
38376 * manual/examples/strdupa.c: Likewise.
38377 * manual/examples/strftim.c: Likewise.
38378 * manual/examples/strncat.c: Likewise.
38379 * manual/examples/subopt.c: Likewise.
38380 * manual/examples/swapcontext.c: Likewise.
38381 * manual/examples/termios.c: Likewise.
38382 * manual/examples/testopt.c: Likewise.
38383 * manual/examples/testpass.c: Likewise.
38384 * manual/examples/timeval_subtract.c: Likewise.
38387 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38389 * manual/timeval_subtract.c.texi: ... here, new file.
38391 2012-03-02 David S. Miller <davem@davemloft.net>
38393 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38395 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38398 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38399 (__sin): Save and restore rounding mode and use round-to-nearest
38400 for all computations.
38401 (__cos): Save and restore rounding mode and use round-to-nearest
38402 for all computations.
38403 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38405 (tan): Save and restore rounding mode and use round-to-nearest for
38407 * math/libm-test.inc (cos_test_tonearest): New function.
38408 (cos_test_towardzero): Likewise.
38409 (cos_test_downward): Likewise.
38410 (cos_test_upward): Likewise.
38411 (sin_test_tonearest): Likewise.
38412 (sin_test_towardzero): Likewise.
38413 (sin_test_downward): Likewise.
38414 (sin_test_upward): Likewise.
38415 (tan_test_tonearest): Likewise.
38416 (tan_test_towardzero): Likewise.
38417 (tan_test_downward): Likewise.
38418 (tan_test_upward): Likewise.
38419 (main): Call the new functions.
38420 * sysdeps/i386/fpu/libm-test-ulps: Update.
38421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38424 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38425 small n, then large n, before computing and testing k+n.
38426 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38431 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38432 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38433 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38434 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38435 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38436 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38437 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38438 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38439 * math/libm-test.inc (scalbn_test): Add more tests.
38440 (scalbln_test): Likewise.
38442 * manual/filesys.texi (mode_t): Describe constraints on size and
38443 signedness, not exact equivalence to a particular type.
38445 (ino64_t): Likewise.
38447 (nlink_t): Likewise.
38448 (blkcnt_t): Likewise.
38449 (blkcnt64_t): Likewise.
38450 * manual/llio.texi (off_t): Likewise.
38453 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38454 (__ieee754_exp): Save and restore rounding mode and use
38455 round-to-nearest for all computations.
38456 * math/libm-test.inc (exp_test_tonearest): New function.
38457 (exp_test_towardzero): Likewise.
38458 (exp_test_downward): Likewise.
38459 (exp_test_upward): Likewise.
38460 (main): Call the new functions.
38461 * sysdeps/i386/fpu/libm-test-ulps: Update.
38462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38464 2012-03-01 Chris Demetriou <cgd@google.com>
38466 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38467 have predictable order.
38469 2012-03-01 David S. Miller <davem@davemloft.net>
38471 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38473 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38474 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38475 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38476 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38478 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38479 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38480 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38482 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38484 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38485 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38486 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38490 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38491 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38492 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38494 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38495 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38496 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38497 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38498 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38501 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38502 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38503 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38504 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38510 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38511 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38512 * sysdeps/sparc/elf/configure: Regenerated.
38514 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38516 * configure.in (AS, LD): Require binutils 2.20 or later.
38517 * configure: Regenerated.
38518 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38519 as required minimum version.
38520 * INSTALL: Regenerated.
38524 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38525 before squaring exponent.
38526 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38527 bottom long double and 27 bits of top long double before squaring
38529 * math/libm-test.inc (erfc_test): Add more tests.
38530 * sysdeps/i386/fpu/libm-test-ulps: Update.
38531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38534 2012-03-01 Kai Tietz <ktietz@redhat.com>
38536 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38537 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38538 containing bit-fields.
38539 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38540 * soft-fp/single.h (_FP_UNION_S): Likewise.
38541 * soft-fp/double.h (_FP_UNION_D): Likewise.
38543 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38546 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38547 not include ../strcmp.S.
38548 [USE_AS_STRNCASECMP_L]: Likewise.
38549 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38550 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38551 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38552 (__strncasecmp_l_ia32): Define as alias to
38553 __strncasecmp_l_nonascii.
38556 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38557 * sysdeps/i386/fpu/libm-test-ulps: Update.
38558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38560 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38563 2012-02-29 Jeff Law <law@redhat.com>
38565 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38566 out of bounds read.
38568 2012-02-29 Marek Polacek <polacek@redhat.com>
38571 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38572 * elf/Makefile: Add rules to run tst-unused-dep.out.
38574 2012-02-28 David S. Miller <davem@davemloft.net>
38576 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38577 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38580 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38581 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38583 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38585 * math/libm-test.inc (llround_test): Move one test from
38586 lround_test. Use TEST_f_L in moved test.
38587 (lround_test): Move misplaced test to llround_test. Add testcase
38590 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38592 * sysdeps/x86_64/fpu/e_expf.S: New file.
38593 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38595 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38598 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38599 of remain_len that may cause incomplete multi-byte character and
38601 * posix/bug-regex33.c: New file.
38602 * posix/Makefile (tests): Add bug-regex33.
38604 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38606 * manual/macros.texi: New file.
38607 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38608 * manual/libc.texinfo: Include macros.texi.
38609 * manual/creatute.texi: Likewise.
38610 * manual/install.texi: Likewise.
38611 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38612 @glibcadj{} in references to the GNU C Library.
38613 * manual/charset.texi: Likewise.
38614 * manual/conf.texi: Likewise.
38615 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38616 when not using those macros.
38617 * manual/creature.texi: Likewise.
38618 * manual/crypt.texi: Likewise.
38619 * manual/errno.texi: Likewise.
38620 * manual/filesys.texi: Likewise.
38621 * manual/header.texi: Likewise.
38622 * manual/install.texi: Likewise.
38623 * manual/intro.texi: Likewise.
38624 * manual/io.texi: Likewise.
38625 * manual/job.texi: Likewise.
38626 * manual/lang.texi: Likewise.
38627 * manual/libc.texiinfo: Likewise.
38628 * manual/llio.texi: Likewise.
38629 * manual/locale.texi: Likewise.
38630 * manual/maint.texi: Likewise.
38631 * manual/math.texi: Likewise.
38632 * manual/memory.texi: Likewise.
38633 * manual/message.texi: Likewise.
38634 * manual/nss.texi: Likewise.
38635 * manual/pattern.texi: Likewise.
38636 * manual/process.texi: Likewise.
38637 * manual/resource.texi: Likewise.
38638 * manual/search.texi: Likewise.
38639 * manual/setjmp.texi: Likewise.
38640 * manual/signal.texi: Likewise.
38641 * manual/socket.texi: Likewise.
38642 * manual/startup.texi: Likewise.
38643 * manual/stdio.texi: Likewise.
38644 * manual/string.texi: Likewise.
38645 * manual/sysinfo.texi: Likewise.
38646 * manual/syslog.texi: Likewise.
38647 * manual/terminal.texi: Likewise.
38648 * manual/time.texi: Likewise.
38649 * manual/users.texi: Likewise.
38650 * INSTALL: Regenerated.
38651 * NOTES: Regenerated.
38652 * sysdeps/gnu/errlist.c: Regenerated.
38654 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38656 * include/dirent.h: Include <dirstream.h> before
38659 2012-02-28 David S. Miller <davem@davemloft.net>
38661 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38662 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38663 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38664 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38666 2012-02-27 David S. Miller <davem@davemloft.net>
38668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38670 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38674 frame pointer instead of stack pointer relative arg slot.
38675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38676 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38677 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38679 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38682 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38684 2012-02-27 David S. Miller <davem@davemloft.net>
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38692 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38695 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38697 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38698 later. Allow versions 5-9.
38699 * configure: Regenerated.
38700 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38701 required minimum version and 4.6 as recommended version. Do not
38702 mention bugs in GCC 2.7 and 2.8.
38703 * INSTALL: Regenerated.
38705 2012-02-27 David S. Miller <davem@davemloft.net>
38707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38711 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38712 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38713 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38714 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38717 manipulate bits before adding and subtracting TWO112[sx].
38718 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38720 2012-02-27 Roland McGrath <roland@hack.frob.com>
38723 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38724 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38725 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38726 being in POSIX, because they are in 1003.1-2008.
38728 * rt/tst-aio.c: Include <fcntl.h>.
38729 * rt/tst-aio7.c: Likewise.
38730 * rt/tst-aio64.c: Likewise.
38732 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38734 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38736 * manual/install.texi (--with-headers): Describe headers as
38737 interface headers, not private headers.
38738 (Specific advice for GNU/Linux systems): Describe use of headers
38739 from "make headers_install", not private headers from older
38741 * INSTALL: Regenerated.
38742 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38744 * sysdeps/unix/sysv/linux/configure: Regenerated.
38746 * manual/llio.texi (fclean): Remove documentation.
38748 * manual/Makefile (libc-texi-generated): New variable. Include
38750 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38751 $(libc-texi-generated), not duplicated list of files.
38752 (version.texi, stamp-version): New rules.
38753 (realclean): Remove $(libc-texi-generated), not individual files
38754 from that list. Do not remove dir-add.texinfo.
38755 * manual/libc.texinfo: Comment out uses of edition numbers and
38756 references to printed manual. Remove last-updated dates.
38757 (EDITION): Comment out.
38759 (VERSION, UPDATED): Remove.
38760 (version.texi): Include.
38762 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38764 * sysdeps/posix/spawni.c: Include <signal.h>.
38765 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38766 * sysdeps/pthread/aio_fsync.c: Likewise.
38768 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38770 * conform/Makefile (tests): Run only when not cross-compiling and
38771 when fast-check is not defined.
38773 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38774 * conform/data/limits.h-data: Fixes for POSIX2008.
38775 * conform/run-conformtest.sh: Run all tests.
38776 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38778 * include/bits/dlfcn.h: Likewise.
38779 * include/langinfo.h: Likewise.
38780 * include/monetary.h: Likewise.
38781 * include/sys/poll.h: Likewise.
38783 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38785 * posix/spawn.h: Define __need_sigset_t.
38786 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38787 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38788 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38789 to get sigevent_t only.
38790 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38791 only for __USE_GNU.
38792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38793 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38794 process_vm_writev only for __USE_GNU.
38795 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38797 * conform/Makefile: For now ignore errors from run-conformtest.
38798 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38799 POSIX to avoid namespace pollution. Don't prepend headers.
38800 * conform/data/aio.h-data: Fixes for POSIX testing.
38801 * conform/data/fcntl.h-data: Likewise.
38802 * conform/data/glob.h-data: Likewise.
38803 * conform/data/grp.h-data: Likewise.
38804 * conform/data/pthread.h-data: Likewise.
38805 * conform/data/pwd.h-data: Likewise.
38806 * conform/data/signal.h-data: Likewise.
38807 * conform/data/spawn.h-data: Likewise.
38808 * conform/data/stdio.h-data: Likewise.
38809 * conform/data/stdlib.h-data: Likewise.
38810 * conform/data/stropts.h-data: Likewise.
38811 * conform/data/sys/mman.h-data: Likewise.
38812 * conform/data/sys/stat.h-data: Likewise.
38813 * conform/data/sys/types.h-data: Likewise.
38814 * conform/data/sys/wait.h-data: Likewise.
38815 * conform/data/time.h-data: Likewise.
38816 * conform/data/unistd.h-data: Likewise.
38817 * conform/data/utime.h-data: Likewise.
38819 * io/sys/stat.h: fchmod was always in POSIX.
38820 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38821 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38822 * rt/aio.h: Define __need_timespec before including <time.h>.
38823 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38824 struct. Add forward declaration of pthread_attr_t and use it in
38826 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38827 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38828 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38829 always remove CLK_TCK definition.
38831 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38833 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38835 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38837 * conform/run-conformtest.sh: New file.
38838 * conform/Makefile: Run run-conformtest for tests.
38839 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38842 * conform/data/uchar.h-data: New file.
38843 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38844 * conform/data/arpa/inet.h-data: Likewise.
38845 * conform/data/assert.h-data: Likewise.
38846 * conform/data/complex.h-data: Likewise.
38847 * conform/data/cpio.h-data: Likewise.
38848 * conform/data/ctype.h-data: Likewise.
38849 * conform/data/dirent.h-data: Likewise.
38850 * conform/data/dlfcn.h-data: Likewise.
38851 * conform/data/errno.h-data: Likewise.
38852 * conform/data/fcntl.h-data: Likewise.
38853 * conform/data/float.h-data: Likewise.
38854 * conform/data/fmtmsg.h-data: Likewise.
38855 * conform/data/fnmatch.h-data: Likewise.
38856 * conform/data/ftw.h-data: Likewise.
38857 * conform/data/glob.h-data: Likewise.
38858 * conform/data/grp.h-data: Likewise.
38859 * conform/data/iconv.h-data: Likewise.
38860 * conform/data/inttypes.h-data: Likewise.
38861 * conform/data/langinfo.h-data: Likewise.
38862 * conform/data/libgen.h-data: Likewise.
38863 * conform/data/limits.h-data: Likewise.
38864 * conform/data/locale.h-data: Likewise.
38865 * conform/data/math.h-data: Likewise.
38866 * conform/data/monetary.h-data: Likewise.
38867 * conform/data/mqueue.h-data: Likewise.
38868 * conform/data/ndbm.h-data: Likewise.
38869 * conform/data/net/if.h-data: Likewise.
38870 * conform/data/netdb.h-data: Likewise.
38871 * conform/data/netinet/in.h-data: Likewise.
38872 * conform/data/nl_types.h-data: Likewise.
38873 * conform/data/poll.h-data: Likewise.
38874 * conform/data/pthread.h-data: Likewise.
38875 * conform/data/pwd.h-data: Likewise.
38876 * conform/data/regex.h-data: Likewise.
38877 * conform/data/sched.h-data: Likewise.
38878 * conform/data/search.h-data: Likewise.
38879 * conform/data/semaphore.h-data: Likewise.
38880 * conform/data/setjmp.h-data: Likewise.
38881 * conform/data/signal.h-data: Likewise.
38882 * conform/data/spawn.h-data: Likewise.
38883 * conform/data/stdarg.h-data: Likewise.
38884 * conform/data/stdio.h-data: Likewise.
38885 * conform/data/stdlib.h-data: Likewise.
38886 * conform/data/string.h-data: Likewise.
38887 * conform/data/strings.h-data: Likewise.
38888 * conform/data/stropts.h-data: Likewise.
38889 * conform/data/sys/ipc.h-data: Likewise.
38890 * conform/data/sys/mman.h-data: Likewise.
38891 * conform/data/sys/msg.h-data: Likewise.
38892 * conform/data/sys/resource.h-data: Likewise.
38893 * conform/data/sys/select.h-data: Likewise.
38894 * conform/data/sys/sem.h-data: Likewise.
38895 * conform/data/sys/shm.h-data: Likewise.
38896 * conform/data/sys/socket.h-data: Likewise.
38897 * conform/data/sys/stat.h-data: Likewise.
38898 * conform/data/sys/statvfs.h-data: Likewise.
38899 * conform/data/sys/time.h-data: Likewise.
38900 * conform/data/sys/timeb.h-data: Likewise.
38901 * conform/data/sys/times.h-data: Likewise.
38902 * conform/data/sys/types.h-data: Likewise.
38903 * conform/data/sys/uio.h-data: Likewise.
38904 * conform/data/sys/un.h-data: Likewise.
38905 * conform/data/sys/utsname.h-data: Likewise.
38906 * conform/data/sys/wait.h-data: Likewise.
38907 * conform/data/syslog.h-data: Likewise.
38908 * conform/data/tar.h-data: Likewise.
38909 * conform/data/termios.h-data: Likewise.
38910 * conform/data/utime.h-data: Likewise.
38911 * conform/data/utmpx.h-data: Likewise.
38912 * conform/data/varargs.h-data: Likewise.
38913 * conform/data/wchar.h-data: Likewise.
38914 * conform/data/wctype.h-data: Likewise.
38915 * conform/data/wordexp.h-data: Likewise.
38917 * include/stropts.h: New file.
38918 * include/uchar.h: New file.
38919 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38920 * include/assert.h: Likewise.
38921 * include/ctype.h: Likewise.
38922 * include/dirent.h: Likewise.
38923 * include/dlfcn.h: Likewise.
38924 * include/fcntl.h: Likewise.
38925 * include/fnmatch.h: Likewise.
38926 * include/glob.h: Likewise.
38927 * include/grp.h: Likewise.
38928 * include/libio.h: Likewise.
38929 * include/locale.h: Likewise.
38930 * include/math.h: Likewise.
38931 * include/net/if.h: Likewise.
38932 * include/netdb.h: Likewise.
38933 * include/netinet/in.h: Likewise.
38934 * include/pthread.h: Likewise.
38935 * include/pwd.h: Likewise.
38936 * include/regex.h: Likewise.
38937 * include/sched.h: Likewise.
38938 * include/search.h: Likewise.
38939 * include/setjmp.h: Likewise.
38940 * include/signal.h: Likewise.
38941 * include/stdio.h: Likewise.
38942 * include/stdlib.h: Likewise.
38943 * include/string.h: Likewise.
38944 * include/sys/cdefs.h: Likewise.
38945 * include/sys/mman.h: Likewise.
38946 * include/sys/msg.h: Likewise.
38947 * include/sys/resource.h: Likewise.
38948 * include/sys/select.h: Likewise.
38949 * include/sys/socket.h: Likewise.
38950 * include/sys/stat.h: Likewise.
38951 * include/sys/statvfs.h: Likewise.
38952 * include/sys/time.h: Likewise.
38953 * include/sys/times.h: Likewise.
38954 * include/sys/uio.h: Likewise.
38955 * include/sys/utsname.h: Likewise.
38956 * include/sys/wait.h: Likewise.
38957 * include/termios.h: Likewise.
38958 * include/time.h: Likewise.
38959 * include/ulimit.h: Likewise.
38960 * include/unistd.h: Likewise.
38961 * include/utime.h: Likewise.
38962 * include/wchar.h: Likewise.
38963 * include/wctype.h: Likewise.
38964 * include/wordexp.h: Likewise.
38966 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38968 * time/time.h: TIME_UTC must be a macro.
38969 Make timespec_get available for ISO C11 only as well.
38971 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38973 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38974 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38976 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38978 * configure.in: Use -o not -a in test for unsupported multi-arch.
38980 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38982 * manual/texinfo.tex: Update to version 2012-01-19.16.
38984 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38986 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38988 2012-02-24 Roland McGrath <roland@hack.frob.com>
38991 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38992 * manual/fdl-1.3.texi: New file.
38993 * manual/fdl-1.1.texi: File removed.
38996 * manual/libc.texinfo (FDL_VERSION): New @set.
38997 Use it for mention of FDL in cover text.
38998 (Documentation License): Use it in @include file name.
39000 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39001 Roland McGrath <roland@hack.frob.com>
39004 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39005 (not LONG_LONG_MAX and LONG_LONG_MIN.
39006 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39007 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39009 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39011 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39015 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39016 manipulate bits before adding and subtracting TWO23[sx].
39017 * math/libm-test.inc (nearbyint_test): Add more tests.
39019 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39022 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39023 bits before adding and subtracting TWO23[sx].
39024 * math/libm-test.inc (rint_test): Add more tests.
39025 (rint_test_tonearest): Likewise.
39026 (rint_test_towardzero): Likewise.
39027 (rint_test_downward): Likewise.
39028 (rint_test_upward: Likewise.
39030 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39033 * include/stdc-predef.h: New file. Extracted from features.h.
39034 * include/features.h: Include stdc-predef.h.
39035 * Makefile (headers): Add stdc-predef.h.
39036 * CONFORMANCE (Compiler limitations): Update.
39038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39040 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39042 2012-02-21 David S. Miller <davem@davemloft.net>
39044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39045 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39047 2012-02-20 David S. Miller <davem@davemloft.net>
39049 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39050 using a normal save/restore sequence, rather than allocating a
39051 dummy stack frame just to store a frame pointer and restore.
39052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39054 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39056 * manual/install.texi: Fix stray word in line-wrapped comment.
39058 2012-02-20 David S. Miller <davem@davemloft.net>
39060 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39061 both binutils and gcc support GOTDATA.
39063 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39064 "rd %pc" in the PIC register setup sequences.
39066 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39067 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39068 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39069 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39070 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39073 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39075 (SYSCALL_ERROR_HANDLER): Likewise.
39076 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39077 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39079 (SYSCALL_ERROR_HANDLER): Likewise.
39081 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39082 (HAVE_GCC_GOTDATA): New.
39083 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39084 relocation support in both binutils and gcc.
39085 * sysdeps/sparc/elf/configure: Regenerate.
39087 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39088 * sysdeps/sparc/sparc32/elf/configure: Delete.
39089 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39090 * sysdeps/sparc/sparc64/elf/configure: Delete.
39091 * sysdeps/sparc/elf/configure.in: New file.
39092 * sysdeps/sparc/elf/configure: Generate.
39094 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39095 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39096 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39097 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39098 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39100 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39102 * manual/install.texi: Do not mention specific glibc version
39104 * manual/libc.texinfo (VERSION, UPDATED): Update.
39105 (@copying): Use @copyright{} and range of years.
39107 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39110 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39111 [crti.S not in sysdirs] (generated): Do not append.
39112 [crti.S not in sysdirs] (omit-deps): Likewise.
39113 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39114 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39115 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39116 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39117 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39119 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39120 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39121 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39122 * csu/defs.awk: Remove file.
39123 * sysdeps/generic/initfini.c: Likewise.
39124 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39126 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39129 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39131 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39132 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39133 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39136 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39138 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39139 (__EPOLL_PACKED): Define to empty if not defined by
39141 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39145 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39147 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39148 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39149 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39150 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39152 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39156 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39158 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39161 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39162 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39165 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39167 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39168 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39170 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39172 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39173 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39175 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39177 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39180 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39182 * math/w_acos.c: Use non-signaling floating-point comparisons.
39183 * math/w_acosf.c: Likewise.
39184 * math/w_acosh.c: Likewise.
39185 * math/w_acoshf.c: Likewise.
39186 * math/w_acoshl.c: Likewise.
39187 * math/w_acosl.c: Likewise.
39188 * math/w_asin.c: Likewise.
39189 * math/w_asinf.c: Likewise.
39190 * math/w_asinl.c: Likewise.
39191 * math/w_atanh.c: Likewise.
39192 * math/w_atanhf.c: Likewise.
39193 * math/w_atanhl.c: Likewise.
39194 * math/w_exp2.c: Likewise.
39195 * math/w_exp2f.c: Likewise.
39196 * math/w_exp2l.c: Likewise.
39197 * math/w_j0.c: Likewise.
39198 * math/w_j0f.c: Likewise.
39199 * math/w_j0l.c: Likewise.
39200 * math/w_j1.c: Likewise.
39201 * math/w_j1f.c: Likewise.
39202 * math/w_j1l.c: Likewise.
39203 * math/w_jn.c: Likewise.
39204 * math/w_jnf.c: Likewise.
39205 * math/w_log.c: Likewise.
39206 * math/w_log10.c: Likewise.
39207 * math/w_log10f.c: Likewise.
39208 * math/w_log10l.c: Likewise.
39209 * math/w_log2.c: Likewise.
39210 * math/w_log2f.c: Likewise.
39211 * math/w_log2l.c: Likewise.
39212 * math/w_logf.c: Likewise.
39213 * math/w_logl.c: Likewise.
39214 * math/w_sqrt.c: Likewise.
39215 * math/w_sqrtf.c: Likewise.
39216 * math/w_sqrtl.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39220 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39221 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39223 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39226 * manual/string.texi (strnlen): Use correct parameter name in
39227 equivalent expression.
39229 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39232 * manual/users.texi (seteuid): Consistently use neweuid for
39235 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39238 * manual/nss.texi (Services in the NSS configuration): Correct
39239 list of services in example configuration file.
39241 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39244 * manual/arith.texi: Remove statements about negative zero
39245 behaving identically to zero.
39247 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39250 * manual/install.texi: Do not document upgrading from libc5.
39252 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39255 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39257 2012-02-18 David S. Miller <davem@davemloft.net>
39259 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39260 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39261 %o7 across the call.
39262 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39265 SETUP_PIC_REG_LEAF.
39266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39267 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39268 * sysdeps/sparc/crtn.S: Likewise.
39270 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39272 * aout/Makefile: Remove.
39274 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39277 * manual/examples/argp-ex1.c (main): Format definition in GNU
39279 * manual/examples/argp-ex2.c (main): Likewise.
39280 * manual/examples/argp-ex3.c (main): Likewise.
39281 * manual/examples/argp-ex4.c (main): Likewise.
39282 * manual/examples/longopt.c (main): Use new-style prototype
39284 * manual/examples/strncat.c (main): Specify return type and use
39285 (void) for arguments.
39286 * manual/examples/subopt.c (main): Use char **argv argument.
39288 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39291 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39294 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39297 * manual/string.texi (strchr): Change when strchrnul is
39300 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39303 * manual/locale.texi (setlocale): Document LOCPATH.
39305 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39308 * manual/process.texi (execle): Move @dots{} before last argument.
39310 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39313 * manual/charset.texi (Generic Charset Conversion): Fix typo
39314 (LC_TYPE -> LC_CTYPE).
39316 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39319 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39320 (scalbnf): Likewise.
39321 (scalbnl): Likewise.
39322 (scalbln): Likewise.
39323 (scalblnf): Likewise.
39324 (scalblnl): Likewise.
39325 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39326 (vwarnx): Likewise.
39329 * manual/filesys.texi (telldir): Use braces around return type.
39330 * manual/llio.texi (mmap): Add space after comma.
39331 (mmap64): Likewise.
39332 * manual/math.texi (jn): Use @var{} on parameter names.
39338 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39340 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39342 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39343 (sched_get_priority_max): Likewise.
39344 * manual/signal.texi (sigvec): Add space after comma.
39345 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39347 (if_indextoname): Likewise.
39348 (if_freenameindex): Likewise.
39349 (sendto): Use ',' instead of '.' in prototype.
39350 * manual/startup.texi (syscall): Use @dots{} instead of literal
39352 * manual/stdio.texi (__fpending): Separate initial words of
39353 paragraph from @deftypefun line.
39354 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39356 (vsyslog): Use @var{} on parameter names.
39357 * manual/terminal.texi (stty): Use @var{} on parameter names.
39358 * manual/users.texi (getutmp): Use @var{} on parameter names.
39359 (getutmpx): Likewise.
39361 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39364 * manual/stdio.texi (fopen): Fix typos in description of
39367 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39370 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39371 get clock_id definition.
39373 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39376 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39377 (madvise): Cast every argument to void on its own.
39379 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39382 * manual/startup.texi (Exit Status): Fix typo.
39384 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39387 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39388 * manual/examples/argp-ex2.c: Likewise.
39389 * manual/examples/argp-ex3.c: Likewise.
39391 2012-02-16 Richard Henderson <rth@redhat.com>
39393 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39394 * sysdeps/s390/s390-32/initfini.c: Remove.
39395 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39396 * sysdeps/s390/s390-64/initfini.c: Remove.
39398 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39400 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39401 compiler output for sysdeps/generic/initfini.c.
39402 * sysdeps/sh/elf/initfini.c: Remove file.
39404 2012-02-16 David S. Miller <davem@davemloft.net>
39407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39409 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39410 * sysdeps/sparc/crti.S: New file.
39411 * sysdeps/sparc/crtn.S: New file.
39412 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39413 * sysdeps/sparc/sparc64/Makefile: Likewise.
39415 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39418 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39420 2012-02-15 Roland McGrath <roland@hack.frob.com>
39423 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39425 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39426 (write, read, close): Likewise.
39427 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39429 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39431 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39432 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39433 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39434 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39436 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39440 2012-02-14 Marek Polacek <polacek@redhat.com>
39442 * sysdeps/x86_64/crti.S: New file.
39443 * sysdeps/x86_64/crtn.S: New file.
39444 * sysdeps/x86_64/elf/initfini.c: Remove file.
39446 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39448 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39449 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39450 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39451 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39453 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39457 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39459 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39460 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39461 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39462 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39464 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39468 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39470 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39471 __feraiseexcept instead of feraiseexcept.
39473 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39474 nanosleep invocations.
39475 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39476 strings, and add error checking for a nanosleep invocations.
39478 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39480 Replace FSF snail mail address with URLs, as per GNU coding standards.
39481 Most of the snail mail addresses were wrong anyway, and omitting
39482 them makes the source code easier to maintain. Almost all of the
39483 changes are to license notices and to locale LC_IDENTIFICATION
39484 addresses, except for this one:
39485 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39486 not its snail mail address.
39488 2012-02-09 Richard Henderson <rth@twiddle.net>
39490 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39491 of kernel-features.h.
39493 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39495 2012-02-08 Marek Polacek <polacek@redhat.com>
39497 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39498 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39499 * sysdeps/gnu/_G_config.h: Likewise.
39500 * sysdeps/generic/_G_config.h: Likewise.
39502 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39504 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39508 * sysdeps/powerpc/powerpc32/crti.S: New file.
39509 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39510 * sysdeps/powerpc/powerpc64/crti.S: New file.
39511 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39513 * Makeconfig (have-initfini): Don't set.
39514 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39515 * configure.in (nopic_initfini): Don't substitute.
39516 * config.h.in (HAVE_INITFINI): Don't #undef.
39517 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39518 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39520 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39522 Support crti.S and crtn.S provided directly by architectures.
39523 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39524 [crti.S in sysdirs] (omit-deps): Likewise.
39525 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39526 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39527 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39528 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39529 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39530 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39531 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39532 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39533 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39534 compiler output for sysdeps/generic/initfini.c.
39535 * sysdeps/i386/elf/Makefile: Remove file.
39536 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39538 2012-02-07 Marek Polacek <polacek@redhat.com>
39540 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39541 * sysdeps/gnu/_G_config.h: Likewise.
39542 * sysdeps/mach/hurd/_G_config.h: Likewise.
39544 2012-02-07 Marek Polacek <polacek@redhat.com>
39546 * math/Makefile (tests): Add tst-CMPLX2.
39547 * math/tst-CMPLX2.c: New file.
39549 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39551 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39553 * math/libm-test.inc (jn_test): Add missing L suffix.
39555 2012-02-06 Marek Polacek <polacek@redhat.com>
39557 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39558 * sysdeps/i386/fpu/e_powf.S: Likewise.
39559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39560 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39561 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39562 * sysdeps/i386/fpu/e_pow.S: Likewise.
39563 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39564 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39565 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39566 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39567 * sysdeps/i386/fpu/e_log2.S: Likewise.
39568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39570 * sysdeps/i386/fpu/e_powl.S: Likewise.
39571 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39573 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39574 * sysdeps/i386/fpu/e_logl.S: Likewise.
39575 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39576 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39577 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39578 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39581 * sysdeps/i386/fpu/e_log.S: Likewise.
39582 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39583 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39584 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39585 * sysdeps/i386/fpu/e_logf.S: Likewise.
39586 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39587 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39588 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39589 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39590 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39591 * sysdeps/i386/fpu/e_log10.S: Likewise.
39592 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39593 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39594 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39595 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39597 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39598 * sysdeps/i386/asm-syntax.h: Likewise.
39599 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39601 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39602 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39603 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39604 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39605 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39606 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39607 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39608 * sysdeps/powerpc/sysdep.h: Likewise.
39609 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39610 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39612 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39615 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39617 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39619 * sysdeps/i386/sysdep.h: Include <features.h>.
39620 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39623 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39625 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39627 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39630 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39632 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39633 (SETUP_PIC_REG): Use GET_PC_THUNK.
39634 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39637 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39639 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39640 for non-PIC compilation.
39641 (SETUP_PIC_REG): Add .p2align directive.
39642 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39643 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39644 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39645 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39646 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39647 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39648 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39650 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39651 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39652 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39653 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39654 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39655 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39656 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39657 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39658 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39659 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39660 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39661 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39662 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39663 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39664 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39665 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39666 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39669 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39670 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39671 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39672 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39674 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39675 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39676 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39677 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39678 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39679 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39680 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39681 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39682 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39684 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39686 * math/tst-CMPLX.c: Include <stdio.h>.
39688 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39690 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39692 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39693 * sysdeps/sparc/bits/mathdef.h: Likewise.
39695 2012-01-31 Marek Polacek <polacek@redhat.com>
39697 * libio/libio.h: Don't define _PARAMS.
39698 * locale/programs/config.h: Don't define PARAMS.
39699 * stdlib/strtol_l.c: Likewise.
39700 (__strtol_l): Remove PARAMS from the prototype.
39702 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39704 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39705 names. Just use the correct names. Remove unnecessary wrapper
39707 * malloc/arena.c: Likewise.
39708 * malloc/hooks.c: Likewise.
39710 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39711 ARENA_TEST says not to. Simplify test for creation of a new arena.
39712 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39714 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39716 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39718 (update_get_addr): New function.
39719 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39720 GET_ADDR_MODULE parameter.
39722 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39724 * crypt/cert.c: Remove __STDC__ conditionals.
39725 * crypt/crypt-entry.c: Likewise.
39726 * crypt/crypt_util.c: Likewise.
39727 * libio/filedoalloc.c: Likewise.
39728 * libio/fileops.c: Likewise.
39729 * libio/genops.c: Likewise.
39730 * libio/iofclose.c: Likewise.
39731 * libio/iofdopen.c: Likewise.
39732 * libio/iofopen.c: Likewise.
39733 * libio/iofopen64.c: Likewise.
39734 * libio/iogetdelim.c: Likewise.
39735 * libio/iopopen.c: Likewise.
39736 * libio/obprintf.c: Likewise.
39737 * libio/oldfileops.c: Likewise.
39738 * libio/oldiofclose.c: Likewise.
39739 * libio/oldiofdopen.c: Likewise.
39740 * libio/oldiofopen.c: Likewise.
39741 * libio/oldiopopen.c: Likewise.
39742 * libio/wfiledoalloc.c: Likewise.
39743 * libio/wgenops.c: Likewise.
39744 * locale/programs/xmalloc.c: Likewise.
39745 * misc/syslog.c: Likewise.
39746 * stdio-common/xbug.c: Likewise.
39747 * string/memchr.c: Likewise.
39748 * string/memcmp.c: Likewise.
39749 * string/memrchr.c: Likewise.
39750 * string/rawmemchr.c: Likewise.
39751 * sysdeps/posix/getcwd.c: Likewise.
39752 * time/strftime_l.c: Likewise.
39754 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39756 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39757 * config.make.in (config-cflags-sse2avx): Define.
39758 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39761 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39763 * scripts/config.guess: Update from upstream config git repository.
39764 * scripts/config.sub: Likewise.
39766 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39768 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39770 (R_TILEPRO_*, R_TILEGX_*): New macros.
39772 * scripts/firstversions.awk: Fix bug in version range handling.
39774 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39776 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39778 * include/sys/epoll.h: New file.
39779 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39782 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39784 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39785 Avoid unnecessary __WORDSIZE == 64 test.
39786 (fmaxf): Use VEX format if possible.
39791 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39792 * math/math_private.h: Remove libc_fegetround* and
39794 * sysdeps/i386/configure.in: Check for -msse2avx.
39795 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39796 also if SSE2AVX is defined.
39797 Remove libc_fegetround* and libc_fesetround*.
39798 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39799 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39808 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39810 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39812 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39814 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39816 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39819 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39821 * Makeconfig (libm): Define.
39822 * elf/Makefile: Add rules to build and run tst-relsort1.
39823 * elf/tst-relsort1.c: New file.
39824 * elf/tst-relsort1mod1.c: New file.
39825 * elf/tst-relsort1mod2.c: New file.
39827 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39829 * math/s_ldexp.c: Remove __STDC__ conditionals.
39830 * math/s_ldexpf.c: Likewise.
39831 * math/s_ldexpl.c: Likewise.
39832 * math/s_nextafter.c: Likewise.
39833 * math/s_nexttowardf.c: Likewise.
39834 * math/s_significand.c: Likewise.
39835 * math/s_significandf.c: Likewise.
39836 * math/s_significandl.c: Likewise.
39837 * math/w_jnl.c: Likewise.
39838 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39839 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39840 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39841 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39842 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39844 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39845 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39846 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39847 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39848 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39849 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39850 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39851 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39852 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39860 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39862 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39863 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39864 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39865 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39866 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39867 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39868 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39869 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39870 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39871 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39872 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39873 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39874 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39875 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39876 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39877 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39878 * sysdeps/ieee754/k_standard.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39883 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39888 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39889 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39948 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39949 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39953 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39954 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39958 * sysdeps/ieee754/s_matherr.c: Likewise.
39959 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39960 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39964 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39966 * crypt/md5.h: Remove __STDC__ conditionals.
39967 * libio/libioP.h: Likewise.
39968 * locale/programs/config.h: Likewise.
39969 * sysdeps/generic/sysdep.h: Likewise.
39970 * sysdeps/i386/asm-syntax.h: Likewise.
39971 * sysdeps/s390/asm-syntax.h: Likewise.
39972 * sysdeps/unix/sysdep.h: Likewise.
39973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39976 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39978 * libio/libio.h: Remove __STDC__ conditionals.
39979 * malloc/obstack.h: Likewise.
39980 * math/complex.h: Likewise.
39981 * math/math.h: Likewise.
39982 * sysdeps/generic/_G_config.h: Likewise.
39983 * sysdeps/gnu/_G_config.h: Likewise.
39984 * sysdeps/mach/hurd/_G_config.h: Likewise.
39985 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39987 * sysdeps/sparc/bits/mathdef.h: Likewise.
39989 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39992 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39993 Clean up HAS_* macros.
39994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39995 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39997 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39999 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40000 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40001 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40002 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40003 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40005 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40007 * elf/tst-unique3.cc (gets): Remove declaration.
40008 * elf/tst-unique3lib.cc (gets): Likewise.
40009 * elf/tst-unique3lib2.cc (gets): Likewise.
40010 * elf/tst-unique4.cc (gets): Likewise.
40012 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40014 * include/stdio.h: Add C++ protection. Add gets declarations and
40016 * debug/tst-chk1.c: Don't declare gets here.
40017 * stdio-common/tst-gets.c: Likewise.
40019 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40021 * posix/glob: Remove directory.
40023 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40025 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40027 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40029 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40030 of the non-standard EPFNOSUPPORT.
40032 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40034 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40035 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40036 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40038 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40040 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40042 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40044 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40046 * nscd/grpcache.c (cache_addgr): Likewise.
40047 * nscd/hstcache.c (cache_addhst): Likewise.
40048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40049 * nscd/pwdcache.c (cache_addpw): Likewise.
40050 * nscd/servicescache.c (cache_addserv): Likewise.
40052 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40054 * malloc/malloc.c: Various cleanups.
40055 * malloc/hooks.c: Likewise.
40057 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40058 * stdlib/bug-fmtmsg1.c: New file.
40060 * stdlib/fmtmsg.c (init): Add missing unlock.
40061 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40063 2012-01-12 Marek Polacek <polacek@redhat.com>
40065 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40068 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40070 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40071 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40072 macro to ensure uniqueness of label name.
40073 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40074 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40076 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40078 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40080 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40085 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40087 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40089 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40090 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40091 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40093 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40095 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40096 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40100 * math/bits/math-finite.h: Add ldexp support.
40102 2012-01-10 Marek Polacek <polacek@redhat.com>
40104 * locale/programs/localedef.h (show_archive_content): Add noreturn
40107 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40109 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40111 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40113 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40115 * io/Makefile (headers): Add bits/poll2.h.
40117 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40120 typo #include statement.
40122 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40124 * include/sys/cdefs.h: Define __attribute_alloc_size.
40125 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40126 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40127 * elf/pldd.c: Likewise.
40128 * iconv/iconv_charmap.c: Likewise.
40129 * iconv/iconvconfig.c: Likewise.
40130 * iconv/strtab.c: Likewise.
40131 * locale/programs/locale.c: Likewise.
40132 * locale/programs/localedef.h: Likewise.
40133 * locale/programs/simple-hash.c: Likewise.
40134 * nscd/nscd.h: Likewise.
40135 * nss/makedb.c: Likewise.
40136 * sysdeps/generic/ldconfig.h: Likewise.
40137 * locale/programs/localedef.c: Remove xmalloc prototype.
40138 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40140 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40142 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40145 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40147 * math/Makefile (tests): Add tst-CMPLX.
40148 * math/tst-CMPLX.c: New file.
40150 * math/complex.h (CMPLXL): Fix typo.
40152 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40153 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40155 * debug/tst-chk1.c: Add poll and ppoll tests.
40156 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40157 * include/sys/poll.h: Add hidden proto for ppoll.
40158 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40159 * sysdeps/mach/hurd/ppoll.c: Likewise.
40160 * io/ppoll.c: Likewise.
40161 * debug/poll_chk.c: New file.
40162 * debug/ppoll_chk.c: New file.
40163 * include/bits/poll2.h: New file.
40164 * io/bits/poll2.h: New file.
40167 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40169 * configure.in: static is always set to yes. Remove.
40170 * config.make.in: Don't set build-static.
40171 * Makeconfig: Remove use of build-static.
40172 * dlfcn/Makefile: Likewise.
40173 * elf/Makefile: Likewise.
40174 * math/Makefile: Likewise.
40175 * misc/Makefile: Likewise.
40176 * nptl/Makefile: Likewise.
40177 * sysdeps/mach/hurd/Makefile: Likewise.
40179 * configure.in: PWD_P is not used anymore.
40180 * config.make.in: Remove PWD_P entry.
40182 * configure.in: Remove last remnants of RANLIB.
40183 No need to check for signed size_t anymore.
40184 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40186 Remove __builtin_expect test because we require at least gcc 3.4.
40187 * aclocal.m4: Likewise.
40189 * wcsmbs/mbrtoc16.c: Implement using towc function.
40190 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40191 * wcsmbs/wcsmbsload.c: Likewise.
40192 * iconv/gconv_simple.c: Likewise.
40193 * iconv/gconv_int.h: Likewise.
40194 * iconv/gconv_builtin.h: Likewise.
40195 * iconv/iconv_prog.c: Remove CHAR16 handling.
40197 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40199 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40201 * configure.in: Remove --with-elf and --enable-bounded options.
40202 Dont set base_machine for ia64. More non-ELF conditions removed.
40203 Remove testing and setting of leading underscore information.
40204 * config.make.in (build-bounded): Set to no.
40205 * config.h.in: Remove NO_UNDERSCORES entry.
40206 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40208 * csu/start.c: Remove !NO_UNDERSCORE code.
40209 * locale/localeinfo.h: Likewise.
40210 * sysdeps/generic/machine-gmon.h: Likewise.
40211 * sysdeps/generic/sysdep.h: Likewise.
40212 * sysdeps/i386/sysdep.h: Likewise.
40213 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40214 * sysdeps/mach/sysdep.h: Likewise.
40215 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40217 * sysdeps/sh/sysdep.h: Likewise.
40218 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40219 * sysdeps/unix/i386/sysdep.S: Likewise.
40220 * sysdeps/unix/sparc/start.c: Likewise.
40221 * sysdeps/unix/sparc/sysdep.S: Likewise.
40222 * sysdeps/unix/sparc/sysdep.h: Likewise.
40223 * sysdeps/unix/start.c: Likewise.
40224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40225 * sysdeps/x86_64/sysdep.h: Likewise.
40227 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40230 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40232 * argp/argp-fmtstream.h: Use const instead __const.
40233 * argp/argp.h: Likewise.
40234 * assert/assert.h: Likewise.
40235 * bits/fenv.h: Likewise.
40236 * bits/sched.h: Likewise.
40237 * bits/sigset.h: Likewise.
40238 * bits/sigthread.h: Likewise.
40239 * catgets/nl_types.h: Likewise.
40240 * conform/data/pthread.h-data: Likewise.
40241 * crypt/crypt-private.h: Likewise.
40242 * crypt/crypt.h: Likewise.
40243 * crypt/crypt_util.c: Likewise.
40244 * ctype/ctype.h: Likewise.
40245 * debug/execinfo.h: Likewise.
40246 * debug/mbsnrtowcs_chk.c: Likewise.
40247 * debug/mbsrtowcs_chk.c: Likewise.
40248 * debug/wcsnrtombs_chk.c: Likewise.
40249 * debug/wcsrtombs_chk.c: Likewise.
40250 * debug/wcstombs_chk.c: Likewise.
40251 * dirent/dirent.h: Likewise.
40252 * dlfcn/dlfcn.h: Likewise.
40253 * elf/neededtest4.c: Likewise.
40254 * grp/grp.h: Likewise.
40255 * gshadow/gshadow.h: Likewise.
40256 * iconv/gconv.h: Likewise.
40257 * iconv/gconv_int.h: Likewise.
40258 * iconv/gconv_simple.c: Likewise.
40259 * iconv/iconv.h: Likewise.
40260 * iconv/loop.c: Likewise.
40261 * iconv/skeleton.c: Likewise.
40262 * include/aio.h: Likewise.
40263 * include/aliases.h: Likewise.
40264 * include/argz.h: Likewise.
40265 * include/arpa/inet.h: Likewise.
40266 * include/assert.h: Likewise.
40267 * include/dirent.h: Likewise.
40268 * include/dlfcn.h: Likewise.
40269 * include/execinfo.h: Likewise.
40270 * include/fcntl.h: Likewise.
40271 * include/fenv.h: Likewise.
40272 * include/glob.h: Likewise.
40273 * include/grp.h: Likewise.
40274 * include/libintl.h: Likewise.
40275 * include/mntent.h: Likewise.
40276 * include/netdb.h: Likewise.
40277 * include/pwd.h: Likewise.
40278 * include/rpc/netdb.h: Likewise.
40279 * include/sched.h: Likewise.
40280 * include/search.h: Likewise.
40281 * include/shadow.h: Likewise.
40282 * include/signal.h: Likewise.
40283 * include/stdio.h: Likewise.
40284 * include/stdlib.h: Likewise.
40285 * include/string.h: Likewise.
40286 * include/sys/socket.h: Likewise.
40287 * include/sys/stat.h: Likewise.
40288 * include/sys/statfs.h: Likewise.
40289 * include/sys/statvfs.h: Likewise.
40290 * include/sys/syslog.h: Likewise.
40291 * include/sys/time.h: Likewise.
40292 * include/sys/uio.h: Likewise.
40293 * include/time.h: Likewise.
40294 * include/unistd.h: Likewise.
40295 * include/utmp.h: Likewise.
40296 * include/wchar.h: Likewise.
40297 * include/wctype.h: Likewise.
40298 * inet/aliases.h: Likewise.
40299 * inet/arpa/inet.h: Likewise.
40300 * inet/netinet/ether.h: Likewise.
40301 * inet/netinet/in.h: Likewise.
40302 * intl/libintl.h: Likewise.
40303 * io/bits/fcntl2.h: Likewise.
40304 * io/fcntl.h: Likewise.
40305 * io/ftw.h: Likewise.
40306 * io/sys/poll.h: Likewise.
40307 * io/sys/stat.h: Likewise.
40308 * io/sys/statfs.h: Likewise.
40309 * io/sys/statvfs.h: Likewise.
40310 * io/utime.h: Likewise.
40311 * libio/bits/stdio.h: Likewise.
40312 * libio/bits/stdio2.h: Likewise.
40313 * libio/libio.h: Likewise.
40314 * libio/libioP.h: Likewise.
40315 * libio/stdio.h: Likewise.
40316 * locale/lc-ctype.c: Likewise.
40317 * locale/locale.h: Likewise.
40318 * login/utmp.h: Likewise.
40319 * malloc/arena.c: Likewise.
40320 * malloc/malloc.c: Likewise.
40321 * malloc/malloc.h: Likewise.
40322 * malloc/mcheck.c: Likewise.
40323 * malloc/mtrace.c: Likewise.
40324 * math/bits/mathcalls.h: Likewise.
40325 * math/fenv.h: Likewise.
40326 * math/math_private.h: Likewise.
40327 * misc/bits/error.h: Likewise.
40328 * misc/bits/syslog.h: Likewise.
40329 * misc/err.h: Likewise.
40330 * misc/error.h: Likewise.
40331 * misc/fstab.h: Likewise.
40332 * misc/mntent.h: Likewise.
40333 * misc/regexp.h: Likewise.
40334 * misc/search.h: Likewise.
40335 * misc/sgtty.h: Likewise.
40336 * misc/sys/mman.h: Likewise.
40337 * misc/sys/syslog.h: Likewise.
40338 * misc/sys/uio.h: Likewise.
40339 * misc/sys/xattr.h: Likewise.
40340 * misc/ttyent.h: Likewise.
40341 * nis/rpcsvc/ypclnt.h: Likewise.
40342 * nss/nss.h: Likewise.
40343 * posix/bits/unistd.h: Likewise.
40344 * posix/fnmatch.h: Likewise.
40345 * posix/glob.h: Likewise.
40346 * posix/sched.h: Likewise.
40347 * posix/spawn.h: Likewise.
40348 * posix/sys/wait.h: Likewise.
40349 * posix/unistd.h: Likewise.
40350 * posix/wordexp.h: Likewise.
40351 * pwd/pwd.h: Likewise.
40352 * resolv/netdb.h: Likewise.
40353 * resource/sys/resource.h: Likewise.
40354 * rt/aio.h: Likewise.
40355 * rt/bits/mqueue2.h: Likewise.
40356 * rt/mqueue.h: Likewise.
40357 * shadow/shadow.h: Likewise.
40358 * signal/signal.h: Likewise.
40359 * socket/send.c: Likewise.
40360 * socket/sendto.c: Likewise.
40361 * socket/sys/socket.h: Likewise.
40362 * stdio-common/printf.h: Likewise.
40363 * stdlib/bits/stdlib.h: Likewise.
40364 * stdlib/fmtmsg.h: Likewise.
40365 * stdlib/monetary.h: Likewise.
40366 * stdlib/stdlib.h: Likewise.
40367 * stdlib/ucontext.h: Likewise.
40368 * streams/stropts.h: Likewise.
40369 * string/argz.h: Likewise.
40370 * string/bits/string2.h: Likewise.
40371 * string/string.h: Likewise.
40372 * string/strings.h: Likewise.
40373 * sunrpc/rpc/auth.h: Likewise.
40374 * sunrpc/rpc/auth_des.h: Likewise.
40375 * sunrpc/rpc/clnt.h: Likewise.
40376 * sunrpc/rpc/netdb.h: Likewise.
40377 * sunrpc/rpc/pmap_clnt.h: Likewise.
40378 * sunrpc/rpc/xdr.h: Likewise.
40379 * sysdeps/generic/inttypes.h: Likewise.
40380 * sysdeps/generic/net/if.h: Likewise.
40381 * sysdeps/generic/sys/swap.h: Likewise.
40382 * sysdeps/gnu/net/if.h: Likewise.
40383 * sysdeps/gnu/utmpx.h: Likewise.
40384 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40385 * sysdeps/i386/i486/bits/string.h: Likewise.
40386 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40387 * sysdeps/s390/bits/string.h: Likewise.
40388 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40389 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40390 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40391 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40392 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40393 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40394 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40395 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40396 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40397 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40398 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40399 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40400 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40401 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40402 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40403 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40404 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40408 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40409 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40410 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40411 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40412 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40413 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40414 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40416 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40417 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40418 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40419 * sysvipc/sys/ipc.h: Likewise.
40420 * sysvipc/sys/msg.h: Likewise.
40421 * sysvipc/sys/sem.h: Likewise.
40422 * sysvipc/sys/shm.h: Likewise.
40423 * termios/termios.h: Likewise.
40424 * time/sys/time.h: Likewise.
40425 * time/time.h: Likewise.
40426 * wcsmbs/bits/wchar2.h: Likewise.
40427 * wcsmbs/uchar.h: Likewise.
40428 * wcsmbs/wchar.h: Likewise.
40429 * wctype/wctype.h: Likewise.
40432 * Makeconfig: Remove all but ELF support including AIX support.
40433 * Makerules: Likewise.
40434 * config.h.in: Likewise.
40435 * config.make.in: Likewise.
40436 * configure: Likewise.
40437 * configure.in: Likewise.
40438 * csu/Makefile: Likewise.
40439 * csu/version.c: Likewise.
40440 * debug/Makefile: Likewise.
40441 * dlfcn/Makefile: Likewise.
40442 * elf/Makefile: Likewise.
40443 * extra-lib.mk: Likewise.
40444 * iconv/Makefile: Likewise.
40445 * include/libc-symbols.h: Likewise.
40446 * include/shlib-compat.h: Likewise.
40447 * resolv/Makefile: Likewise.
40448 * resolv/res_libc.c: Likewise.
40449 * rt/Makefile: Likewise.
40450 * sysdeps/i386/asm-syntax.h: Likewise.
40451 * sysdeps/i386/sysdep.h: Likewise.
40452 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40453 * sysdeps/mach/sysdep.h: Likewise.
40454 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40455 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40456 * sysdeps/s390/asm-syntax.h: Likewise.
40457 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40459 * sysdeps/sh/sysdep.h: Likewise.
40460 * sysdeps/unix/sparc/sysdep.h: Likewise.
40461 * sysdeps/wordsize-32/divdi3.c: Likewise.
40462 * sysdeps/x86_64/sysdep.h: Likewise.
40464 * argp/Versions: Remove _argp_unlock_xxx.
40467 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40468 * abilist/libBrokenLocale.abilist: Likewise.
40469 * abilist/libanl.abilist: Likewise.
40470 * abilist/libc.abilist: Likewise.
40471 * abilist/libcrypt.abilist: Likewise.
40472 * abilist/libdl.abilist: Likewise.
40473 * abilist/libm.abilist: Likewise.
40474 * abilist/libnsl.abilist: Likewise.
40475 * abilist/libpthread.abilist: Likewise.
40476 * abilist/libresolv.abilist: Likewise.
40477 * abilist/librt.abilist: Likewise.
40478 * abilist/libthread_db.abilist: Likewise.
40479 * abilist/libutil.abilist: Likewise.
40480 * abilist/libnss_db.abilist: New file.
40482 * scripts/abilist.awk: Add support for indirect functions.
40484 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40486 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40488 * shlib-versions: Remove entries for ports architectures.
40490 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40492 * elf/stackguard-macros.h: Remove support for IA-64.
40493 * elf/tst-auditmod1.c: Likewise.
40494 * sysdeps/generic/ldsodefs.h: Likewise.
40496 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40497 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40501 * configure.in: Remove --enable-omitfp support.
40503 * config.make.in: Likewise.
40504 * Makeconfig: Likewise.
40505 * manual/install.texi: Likewise.
40507 In case anyone cares, the IA-64 architecture could move to ports.
40508 * sysdeps/ia64/*: Removed.
40509 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40510 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40513 * configure.in: Remove entries for unsupported architectures.
40516 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40517 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40519 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40520 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40521 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40522 fall back to using wcrtomb.
40523 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40524 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40526 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40527 * wcsmbs/tst-c16c32-1.c: New file.
40529 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40532 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40534 * elf/tst-unique3.cc: Add explicit declaration of gets.
40535 * elf/tst-unique3lib.cc: Likewise.
40536 * elf/tst-unique3lib2.cc: Likewise.
40537 * elf/tst-unique4.cc: Likewise.
40539 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40541 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40544 * assert/assert.h (static_assert): Don't define for C++.
40545 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40546 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40548 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40550 * iconv/loop.c (single loop): Fix assertion in storing of
40553 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40555 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40557 * posix/getconf.c: Update copyright year.
40558 * nss/getent.c: Likewise.
40559 * nss/makedb.c: Likewise.
40560 * iconv/iconvconfig.c: Likewise.
40561 * iconv/iconv_prog.c: Likewise.
40562 * elf/ldconfig.c: Likewise.
40563 * elf/pldd.c: Likewise.
40564 * elf/sotruss.ksh: Likewise.
40565 * catgets/gencat.c: Likewise.
40566 * csu/version.c: Likewise.
40567 * elf/ldd.bash.in: Likewise.
40568 * elf/sprof.c (print_version): Likewise.
40569 * locale/programs/locale.c: Likewise.
40570 * locale/programs/localedef.c: Likewise.
40571 * login/programs/pt_chown.c: Likewise.
40572 * nscd/nscd.c (print_version): Likewise.
40573 * debug/xtrace.sh: Likewise.
40574 * malloc/memusage.sh: Likewise.
40575 * malloc/mtrace.pl: Likewise.
40576 * debug/catchsegv.sh: Likewise.
40578 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40580 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40583 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40586 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40587 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40589 * iconv/gconv_int.h: Likewise.
40590 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40591 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40592 from libc for GLIBC_2.16.
40593 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40594 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40595 * wcsmbs/uchar.h: Really define mbstate_t.
40596 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40597 * wcsmbs/c16rtomb.c: New file.
40598 * wcsmbs/mbrtoc16.c: New file.
40599 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40600 for C/POSIX locale.
40601 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40602 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40604 * wcsmbs/wchar.h: Add missing __restrict.
40606 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40609 * time/Makefile (routines): Add timespec_get.
40610 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40611 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40612 timespec for ISO C11.
40613 * time/timespec_get.c: New file.
40614 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40615 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40618 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40619 * stdlib/stdlib.h: Declare aligned_alloc.
40620 * Versions.def: Add GLIBC_2.16 for libc.
40621 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40624 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40627 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40631 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40634 * assert/assert.h (static_assert): Define.
40636 * version.h: Update for 2.16 development version.
40639 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40642 * version.h (RELEASE): Bump for 2.15 release.
40643 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40645 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40646 Patch by Marek Polacek <mpolacek@redhat.com>.
40648 * bits/byteswap.h: Protect long long constants with __extension__.
40649 * sysdeps/i386/bits/byteswap.h: Likewise.
40650 * sysdeps/ia64/bits/byteswap.h: Likewise.
40651 * sysdeps/s390/bits/byteswap.h: Likewise.
40652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40654 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40657 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40658 destination buffer.
40659 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40661 2011-12-23 Marek Polacek <polacek@redhat.com>
40663 * elf/dl-addr.c (determine_info): Add inline keyword.
40664 * elf/tst-auditmod4b.c (check_avx): Likewise.
40665 * elf/tst-auditmod6b.c (check_avx): Likewise.
40666 * elf/tst-auditmod6c.c (check_avx): Likewise.
40667 * elf/tst-auditmod7b.c (check_avx): Likewise.
40669 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40671 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40674 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40677 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40678 processing for last bytes.
40680 2011-08-06 Bruno Haible <bruno@clisp.org>
40683 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40684 U+0385, not to U+1FEE.
40687 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40688 entry for U+00A5 U+0301.
40690 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40693 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40694 buffer for the output is too small.
40696 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40700 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40701 SSE flags if possible.
40703 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40706 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40707 processing for last bytes.
40709 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40711 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40712 (syscall-list-default-options, syscall-list-default-condition)
40713 (syscall-list-includes): Define.
40714 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40715 list of ABIs and options and #if conditions for each ABI. Do not
40716 handle common syscalls between ABIs specially.
40717 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40719 (syscall-list-variants, syscall-list-32bit-options)
40720 (syscall-list-32bit-condition, syscall-list-64bit-options)
40721 (syscall-list-64bit-condition): Define.
40722 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40723 (syscall-list-variants, syscall-list-32bit-options)
40724 (syscall-list-32bit-condition, syscall-list-64bit-options)
40725 (syscall-list-64bit-condition): Define.
40726 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40728 (syscall-list-variants, syscall-list-32bit-options)
40729 (syscall-list-32bit-condition, syscall-list-64bit-options)
40730 (syscall-list-64bit-condition): Define.
40731 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40733 (syscall-list-variants, syscall-list-32bit-options)
40734 (syscall-list-32bit-condition, syscall-list-64bit-options)
40735 (syscall-list-64bit-condition): Define.
40737 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40739 * locale/iso-639.def: Add brx entry.
40742 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40743 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40745 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40746 __feraiseexcept_renamed.
40748 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40751 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40752 EPOLLET with unsigned values.
40753 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40756 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40757 to large cancellation.
40758 * math/s_cacoshf.c: Likewise.
40759 * math/s_cacoshl.c: Likewise.
40761 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40765 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40766 * math/s_cacoshf.c: Likewise.
40767 * math/s_cacoshl.c: Likewise.
40769 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40772 * iconv/gconv.h: Define __GCONV_SWAP.
40773 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40774 * iconvdata/utf-16.c: Likewise.
40775 * iconvdata/utf-32.c: Likewise.
40777 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40781 numerator after shifting it by one limb.
40783 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40785 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40786 under [__USE_EXTERN_INLINES].
40788 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40791 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40793 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40795 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40796 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40798 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40800 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40801 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40802 for strncasecmp/strncasecmp_l compilation.
40803 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40804 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40806 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40809 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40812 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40815 * time/tzfile.c (__tzfile_read): Check values from file header.
40817 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40819 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40820 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40821 * powerpc/powerpc32/dl-start.S: Likewise.
40822 * powerpc/powerpc32/elf/start.S: Likewise.
40823 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40824 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40825 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40826 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40827 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40828 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40829 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40830 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40831 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40832 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40833 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40834 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40835 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40836 * powerpc/powerpc32/memset.S: Likewise.
40837 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40838 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40839 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40840 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40841 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40842 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40843 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40844 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40845 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40846 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40847 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40848 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40849 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40851 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40853 * math/libm-test.inc: Added more nearbyint tests.
40854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40859 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40861 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40864 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40866 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40867 Add wcscpy-ssse3 wcscpy-c.
40868 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40869 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40870 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40871 * sysdeps/x86_64/wcschr.S: New file.
40872 * sysdeps/x86_64/wcsrchr.S: New file.
40873 * string/test-strcmp.c: Remove checking of wcscmp function for
40875 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40876 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40877 wcsrchr-sse2 wcsrchr-c.
40878 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40879 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40880 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40881 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40882 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40883 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40884 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40885 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40886 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40887 * wcsmbc/wcschr.c (WCSCHR): New macro.
40889 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40891 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40892 * wcsmbs/test-wcsrchr.c: New file.
40893 * string/test-strrchr.c: Add wcsrchr support.
40895 * wcsmbs/test-wcscpy.c: New file.
40896 * string/test-strcpy.c: Add wcscpy support.
40899 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40901 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40904 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40907 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40909 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40911 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40912 Minor optimizations.
40914 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40915 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40916 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40918 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40920 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40921 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40922 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40923 for gcc to avoid warnings.
40924 * inet/Makefile (tests): Add tst-checks.
40925 * inet/tst-checks.c: New file.
40927 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40930 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40933 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40934 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40936 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40938 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40940 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40943 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40945 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40947 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40948 conditional on GCC version.
40949 (__arch_compare_and_exchange_val_8_acq)
40950 (__arch_compare_and_exchange_val_16_acq)
40951 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40952 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40953 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40955 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40957 * sysdeps/sh/backtrace.c: New file.
40959 2011-12-02 Andreas Schwab <schwab@redhat.com>
40961 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40964 2011-12-01 Andreas Schwab <schwab@redhat.com>
40966 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40967 falling back to utime.
40969 2011-11-30 Andreas Schwab <schwab@redhat.com>
40971 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40972 expectations for float.
40974 2011-11-29 Andreas Schwab <schwab@redhat.com>
40976 * locale/weight.h (findidx): Add parameter len.
40977 * locale/weightwc.h (findidx): Likewise.
40978 * posix/fnmatch_loop.c (FCT): Adjust caller.
40979 * posix/regcomp.c (build_equiv_class): Likewise.
40980 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40981 * posix/regexec.c (check_node_accept_bytes): Likewise.
40982 * string/strcoll_l.c (STRCOLL): Likewise.
40983 * string/strxfrm_l.c (STRXFRM): Likewise.
40985 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40987 * Makefile.in: Remove CVSOPT handling.
40988 * configure.in: Remove use of AC_REVISION.
40989 * iconvdata/Makefile (distribute): No need to filter out CVS.
40990 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40993 2011-11-16 Andreas Schwab <schwab@redhat.com>
40995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40996 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40997 [USE_AS_STRNCASECMP_L]: Likewise.
40998 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40999 NO_TLS_DIRECT_SEG_REFS.
41000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41001 Fix argument offsets for non-PIC.
41002 [USE_AS_STRNCASECMP_L]: Likewise.
41003 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41004 NO_TLS_DIRECT_SEG_REFS.
41006 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41008 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41010 * locale/loadlocale.c (_nl_load_locale): Likewise.
41012 2011-11-15 Andreas Schwab <schwab@redhat.com>
41014 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41015 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41016 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41017 (SYSCALL_GETTIME): Set errno on error.
41019 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41020 count references to noai6ai_cached.
41022 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41024 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41026 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41027 FD_CLOEXEC for /proc/self/maps.
41029 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41030 FD_CLOEXEC for /proc/meminfo.
41032 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41035 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41036 FD_CLOEXEC for given file.
41038 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41040 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41041 FD_CLOEXEC for /etc/hosts.
41042 (_gethtent): Likewise.
41044 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41046 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41047 cancellation and set FD_CLOEXEC for /etc/netgroup.
41049 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41050 reading /etc/publickey.
41052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41053 allow cancellation when reading /etc/group.
41055 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41057 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41059 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41060 when using data file.
41062 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41064 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41065 (write_nis_obj): Use "c" and "e" in fopen.
41067 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41069 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41071 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41073 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41075 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41078 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41080 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41082 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41084 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41085 file parsing and set FD_CLOEXEC.
41087 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41089 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41091 2011-11-14 Andreas Schwab <schwab@redhat.com>
41093 * malloc/arena.c (arena_get2): Don't call reused_arena when
41094 _int_new_arena failed.
41096 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41098 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41099 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41101 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41102 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41103 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41104 to compile strcasecmp and strncasecmp.
41105 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41106 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41110 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41112 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41113 locale-defines.sym to gen-as-const-headers.
41114 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41115 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41117 to compile strcasecmp and strncasecmp.
41118 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41119 strcasecmp_l and strncasecmp_l.
41120 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41121 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41122 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41123 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41124 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41125 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41126 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41127 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41128 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41129 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41130 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41132 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41134 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41135 result of SYSDEP_GETTIME_CPU to retval.
41136 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41137 parameter list to macro. Remove trailing semicolon. Adjust users.
41139 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41142 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41144 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41146 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41147 from unused variable.
41149 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41151 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41154 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41157 * sunrpc/rpc_prot.c (rejected): Fix case value.
41159 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41160 unsigned long long int to avoid warnings in shift.
41162 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41164 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41167 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41168 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41169 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41171 * nis/nis_table.c (nis_list): Use variable of correct type for
41172 result of __follow_path call.
41174 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41176 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41177 of math functions ceil, trunc, floor, round, and sqrt, when
41178 avaliable on the platform.
41179 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41181 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41182 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41183 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41185 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41187 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41188 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41190 2011-11-11 Roland McGrath <roland@hack.frob.com>
41192 * include/unistd.h: Fix __readlink return type.
41193 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41195 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41197 * stdlib/ucontext.h: Undo last change for makecontext.
41199 2011-11-11 Andreas Schwab <schwab@redhat.com>
41201 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41203 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41204 * setjmp/setjmp.h: Mark functions as non-leaf.
41205 * setjmp/bits/setjmp2.h: Likewise.
41206 * stdlib/ucontext.h: Likewise.
41208 2011-11-10 Andreas Schwab <schwab@redhat.com>
41210 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41211 (reused_arena): Don't check arena limit.
41212 (arena_get2): Atomically check arena limit.
41214 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41216 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41217 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41222 2011-11-07 Andreas Schwab <schwab@redhat.com>
41224 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41225 handler when locking.
41227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41228 Fix size of allocated buffer.
41230 2011-11-04 Andreas Schwab <schwab@redhat.com>
41233 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41234 declarations for long double functions.
41235 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41237 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41239 2011-11-03 Andreas Schwab <schwab@redhat.com>
41241 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41244 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41247 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41249 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41251 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41253 * include/alloca.h (stackinfo_alloca_round): Define.
41254 (extend_alloca): Use it.
41255 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41256 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41259 * scripts/check-local-headers.sh: Ignore libaudit.h.
41261 * nscd/Makefile (extra-objs): Make recursively expanded.
41263 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41265 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41268 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41269 * posix/tst-rfc3484-2.c: Likewise.
41270 * posix/tst-rfc3484-3.c: Likewise.
41272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41274 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41276 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41277 process_vm_writev from libc using GLIBC_2.15 version.
41279 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41281 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41283 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41286 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41289 * nss/getent.c (initgroups_keys): Show error message in case no group
41292 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41293 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41294 __bump_nl_timestamp.
41295 * nscd/connections (nscd_init): When host database is served open
41296 netlink socket and request notification about configuration changes.
41297 (main_loop_poll): Track netlink file descriptor and bump timestamp
41298 in case data becomes available.
41299 (main_loop_epoll): Likewise.
41300 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41301 (database_pers_head): Add extra_data fileds.
41302 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41303 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41304 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41307 in6ai data, call __free_in6ai.
41308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41309 Add -DHAVE_NETLINK.
41310 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41311 interface information. Reuse previous data if netlink timestamp
41313 (__bump_nl_timestamp): New function.
41314 (__free_in6ai): New function.
41316 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41318 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41319 close_not_cancel_no_status here.
41320 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41322 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41325 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41328 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41329 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41330 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41332 2011-07-03 Andreas Jaeger <aj@suse.de>
41335 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41336 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41337 * math/libm-test.inc (sin_test): Add test case.
41339 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41342 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41343 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41345 * elf/chroot_canon.c (chroot_canon): Cleanups.
41347 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41350 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41351 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41353 * string/test-strchr.c: Make usable for strchrnul testing.
41354 * string/test-strchrnul.c: New file.
41355 * string/Makefile (strop-tests): Add strchrnul.
41357 * po/it.po: Update from translation team.
41358 * po/es.po: Likewise.
41360 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41363 the three constants needed as parameters. Drop the others.
41364 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41365 __m128i_strloadu_tolower.
41366 Create and initialize variable zero and use it in all the places
41367 where _mm_setzero_si128 was used.
41369 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41370 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41371 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41372 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41374 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41375 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41376 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41377 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41378 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41379 __mpranred, __mptan.
41380 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41381 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41382 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41383 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41384 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41385 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41387 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41388 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41390 2011-10-28 Andreas Schwab <schwab@redhat.com>
41392 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41393 redefine if SHARED.
41394 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41397 wide char related routines to wcsmbs subdir.
41399 2011-10-27 Andreas Schwab <schwab@redhat.com>
41402 * misc/sys/cdefs.h (__THROWNL): Define.
41403 * posix/unistd.h: Use __THREADNL instead of __THREAD
41404 for memory synchronization functions.
41406 2011-10-26 Roland McGrath <roland@hack.frob.com>
41409 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41411 * manual/stdio.texi (Obstack Streams): Node removed.
41413 2011-10-26 Andreas Schwab <schwab@redhat.com>
41415 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41416 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41417 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41419 * math/math_private.h (math_force_eval): Allow non-addressable
41421 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41423 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41425 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41426 file is not needed.
41428 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41435 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41437 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41438 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41439 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41440 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41441 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41442 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41443 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41444 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41445 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41446 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41447 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41448 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41450 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41451 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41452 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41453 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41454 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41455 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41457 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41458 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41461 place. Use VEX encoding when compiling for AVX.
41463 2011-10-25 Andreas Schwab <schwab@redhat.com>
41465 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41466 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41468 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41470 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41472 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41473 useless if() expression.
41474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41475 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41478 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41479 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41482 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41483 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41484 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41485 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41486 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41487 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41488 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41489 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41490 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41492 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41494 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41496 2011-10-25 Andreas Schwab <schwab@redhat.com>
41498 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41500 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41502 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41504 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41505 .text section. Avoid duplicate constants.
41506 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41516 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41518 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41520 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41522 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41523 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41526 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41527 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41528 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41529 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41530 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41531 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41532 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41533 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41534 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41535 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41536 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41537 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41538 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41539 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41540 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41541 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41542 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41543 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41544 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41545 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41546 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41547 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41548 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41549 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41550 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41552 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41554 * sysdeps/x86_64/dla.h: Move to ...
41555 * sysdeps/x86_64/fpu/dla.h: ...here.
41556 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41557 situations. Use __builtin_fma only for gcc 4.6 and up.
41559 * config.make.in: Add have-mfma4 entry.
41560 * configure.in: Substitute libc_cv_cc_fma4.
41561 * math/Makefile (dbl-only-routines): Add sincostab.
41562 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41563 Use __sincostab not sincos.
41564 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41571 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41572 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41573 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41574 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41577 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41579 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41580 define aliases when function name is a macro.
41581 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41582 sysdeps/ieee754/dbl-64/sincos.tbl.
41583 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41584 fma4-enabled routines.
41585 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41586 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41587 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41588 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41589 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41590 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41591 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41594 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41595 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41596 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41597 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41598 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41599 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41600 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41601 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41602 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41603 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41605 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41606 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41611 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41612 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41613 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41614 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41616 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41627 2011-10-24 Andreas Schwab <schwab@redhat.com>
41629 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41631 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41633 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41635 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41639 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41640 Remove unused variable magic_bits.
41641 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41643 * string/strnlen.c: Define and use STRNLEN macro.
41644 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41645 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41647 * wcsmbs/wcslen.c: Define and use WCSLEN.
41648 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41649 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41650 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41651 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41652 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41653 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41654 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41656 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41659 strnlen-sse2-no-bsf.
41660 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41662 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41663 Add strnlen support.
41664 (USE_AS_STRNLEN): New macro.
41665 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41667 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41668 * sysdeps/x86_64/wcslen.S: New file.
41670 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41672 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41673 XMM-moves are used for copying on small sizes.
41675 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41677 * wcsmbs/Makefile (strop-tests): Add wcschr.
41678 * wcsmbs/test-wcschr.c: New file.
41679 * string/test-strchr.c: Update.
41680 Add wcschr support.
41683 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41685 * wcsmbs/Makefile (strop-tests): Add wcslen.
41686 * wcsmbs/test-wcslen.c: New file.
41687 * string/test-strlen.c: Update.
41688 Add wcslen support.
41691 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41693 * po/it.po: Update from translation team.
41695 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41697 * sysdeps/x86_64/wcscmp.S: Update.
41698 Fix wrong comparison semantics.
41699 wcscmp shall use signed comparison not unsigned.
41700 Don't use substraction to avoid overflow bug.
41701 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41702 * wcsmbc/wcscmp.c: Likewise.
41703 * string/test-strcmp.c: Likewise.
41704 Add new tests to check cases with negative values.
41706 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41708 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41709 * sysdeps/x86_64/dla.h: ...here. New file.
41710 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41717 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41718 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41720 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41722 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41723 __ynl_finite aliases.
41725 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41729 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41731 [DLA_FMA] (EMULV): Use DLA_FMA.
41732 [DLA_FMA] (MUL12): Use EMULV.
41733 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41734 that are not needed.
41735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41743 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41745 * math/s_nan.c: Undef __nan.
41746 * math/s_nanf.c: Undef __nanf.
41747 * math/s_nanl.c: Undef __nanl.
41748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41751 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41753 * math/s_catan.c: Add branch predictions.
41754 * math/s_catanf.c: Likewise.
41755 * math/s_catanh.c: Likewise.
41756 * math/s_catanhf.c: Likewise.
41757 * math/s_catanhl.c: Likewise.
41758 * math/s_catanl.c: Likewise.
41759 * math/s_cexp.c: Likewise.
41760 * math/s_cexpf.c: Likewise.
41761 * math/s_cexpl.c: Likewise.
41762 * math/s_clog.c: Likewise.
41763 * math/s_clog10.c: Likewise.
41764 * math/s_clog10f.c: Likewise.
41765 * math/s_clog10l.c: Likewise.
41766 * math/s_clogf.c: Likewise.
41767 * math/s_clogl.c: Likewise.
41768 * math/s_csqrt.c: Likewise.
41769 * math/s_csqrtf.c: Likewise.
41770 * math/s_csqrtl.c: Likewise.
41771 * math/s_ctanf.c: Likewise.
41772 * math/s_ctanh.c: Likewise.
41773 * math/s_ctanhf.c: Likewise.
41774 * math/s_ctanhl.c: Likewise.
41775 * math/s_ctanl.c: Likewise.
41777 * math/math_private.h: Define __nan, __nanf, __nanl.
41778 * math/s_cacosh.c: Include <math_private.h>.
41779 * math/s_cacoshl.c: Likewise.
41780 * math/s_casinh.c: Likewise.
41781 * math/s_casinhf.c: Likewise.
41782 * math/s_casinhl.c: Likewise.
41783 * math/s_ccos.c: Rely entire on ccosh.
41784 * math/s_ccosf.c: Rely entire on ccoshf.
41785 * math/s_ccosl.c: Rely entirely on ccoshl.
41786 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41787 Remove tests for FE_INVALID.
41788 * math/s_ccoshf.c: Likewise.
41789 * math/s_ccoshl.c: Likewise.
41790 * math/s_csin.c: Likewise.
41791 * math/s_csinf.c: Likewise.
41792 * math/s_csinh.c Likewise.
41793 * math/s_csinhf.c: Likewise.
41794 * math/s_csinhl.c: Likewise.
41795 * math/s_csinl.c: Likewise.
41796 * math/s_ctan.c: Likewise.
41797 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41798 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41801 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41804 compilation problems.
41806 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41809 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41811 * sysdeps/i386/configure.in: Test for -mfma4 option.
41812 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41813 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41814 COMMON_CPUID_INDEX_80000001.
41815 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41816 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41817 use it if FMA3 is not supported.
41818 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41820 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41821 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41823 2011-10-20 Andreas Schwab <schwab@redhat.com>
41826 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41827 it would create a cycle with a link time dependency.
41829 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41831 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41833 * string/Makefile (strop-tests): Add rawmemchr.
41834 * string/test-rawmemchr.c: New file.
41836 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41838 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41839 when compiling str{,n}casecmp and when AVX is available. Hook up
41840 new optimized code in initializers.
41842 2011-10-19 Andreas Schwab <schwab@redhat.com>
41844 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41845 __feraiseexcept instead of feraiseexcept.
41847 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41849 * math/math_private.h: Define defaults for libc_fetestexcept and
41851 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41852 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41853 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41854 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41855 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41856 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41857 libc_fetestexcept and libc_feupdateenv.
41859 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41860 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41861 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41862 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41863 libc_feholdexcept_setround.
41865 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41866 Add s_nearbyint-c and s_nearbyintf-c.
41867 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41868 nearbyintf inlines.
41869 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41870 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41871 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41872 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41874 * math/math_private.h: Define defaults for libc_fegetround,
41875 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41876 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41877 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41879 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41880 standard functions.
41881 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41882 Remove comments and hacks for old compiler versions.
41883 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41884 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41885 libc_feholdexceptl.
41887 2011-10-18 Andreas Schwab <schwab@redhat.com>
41889 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41890 (__feraiseexcept_renamed): Add __NTH.
41891 (feraiseexcept): Add __NTH. Rename local variables to fix
41892 namespace violations.
41894 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41896 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41898 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41900 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41901 recently added interfaces.
41902 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41904 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41905 about macro parameter expansion.
41907 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41908 __NO_MATH_INLINES is defined. Cleanups.
41910 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41911 and __floorf is target has SSE4.1.
41912 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41913 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41914 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41915 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41917 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41919 (floorf): Likewise.
41921 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41923 2011-10-17 Andreas Schwab <schwab@redhat.com>
41925 * misc/sys/cdefs.h: Fix last change.
41927 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41930 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41932 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41934 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41941 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41942 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41943 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41944 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41945 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41946 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41947 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41948 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41949 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41950 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41951 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41953 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41954 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41955 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41957 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41958 ceil, ceilf, floor, floorf.
41960 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41961 Perform IRELATIVE relocations last.
41963 * elf/do-rel.h: Add another parameter nrelative, replacing the
41964 local variable with the same name. Change name of the function
41965 to end in Rel or Rela (uppercase).
41966 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41967 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41968 elf_dynamic_do_##reloc function.
41970 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41972 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41973 is sufficient, at least on modern CPUs.
41975 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41977 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41978 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41980 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41982 * math/bits/math-finite.h: Add entries for exp.
41983 * math/e_expl.c: Add __*_finite alias.
41984 * sysdeps/i386/fpu/e_exp.S: Likewise.
41985 * sysdeps/i386/fpu/e_expf.S: Likewise.
41986 * sysdeps/i386/fpu/e_expl.c: Likewise.
41987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41989 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41991 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41992 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41993 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41995 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41996 is sufficient, at least on modern CPUs.
41998 * ctype/ctype-info.c (__ctype_init): Define.
41999 * include/ctype.h (__ctype_init): Declare.
42000 (__ctype_b_loc): The variable is always initialized.
42001 (__ctype_toupper_loc): Likewise.
42002 (__ctype_tolower_loc): Likewise.
42003 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42004 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42006 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42008 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42010 * configure.in: Also look in $cxxmachine/include for C++ system
42013 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42015 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42016 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42017 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42018 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42020 (USE_AS_WMEMCMP): New macro.
42022 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42023 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42024 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42025 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42027 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42028 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42029 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42030 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42031 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42032 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42033 (USE_AS_WMEMCMP): New macro.
42034 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42035 * sysdeps/string/test-memcmp.c: Update.
42036 Fix simple_wmemcmp.
42038 * wcsmbs/wmemcmp.c: Update.
42039 (WMEMCMP): New macro.
42042 2011-10-12 Andreas Jaeger <aj@suse.de>
42045 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42047 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42049 * libio/iofwide.c (do_length): Avoid warning.
42051 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42053 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42055 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42057 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42058 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42059 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42060 * sysdeps/i386/i686/fpu/e_log.S: New file.
42061 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42062 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42064 * ctype/ctype.h: Add support for inlined isXXX functions when
42065 compiling C++ code.
42067 2011-10-14 Andreas Schwab <schwab@redhat.com>
42069 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42071 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42073 2011-10-13 Roland McGrath <roland@hack.frob.com>
42076 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42078 2011-10-13 Andreas Schwab <schwab@redhat.com>
42080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42081 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42084 * sysdeps/x86_64/memrchr.S: Check for zero size.
42086 * string/stratcliff.c: Add memrchr tests.
42088 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42091 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42092 rawmemchr-sse2 rawmemchr-sse2-bsf.
42093 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42094 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42095 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42096 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42097 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42098 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42099 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42100 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42101 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42102 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42103 * string/memrchr.c (MEMRCHR): New macro.
42105 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42107 Add integration with gcc's -ffinite-math-only and optimize wrapper
42109 * Versions.def: Define GLIBC_2.15 version for libm.
42110 * math/Makefile (headers): Add bits/math-finite.h.
42111 * math/bits/math-finite.h: New file.
42112 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42113 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42114 * math/e_acoshl.c: Add __*_finite alias.
42115 * math/e_acosl.c: Likewise.
42116 * math/e_asinl.c: Likewise.
42117 * math/e_atan2l.c: Likewise.
42118 * math/e_atanhl.c: Likewise.
42119 * math/e_coshl.c: Likewise.
42120 * math/e_exp10.c: Likewise.
42121 * math/e_exp10f.c: Likewise.
42122 * math/e_exp10l.c: Likewise.
42123 * math/e_exp2l.c: Likewise.
42124 * math/e_fmodl.c: Likewise.
42125 * math/e_gammal_r.c: Likewise.
42126 * math/e_hypotl.c: Likewise.
42127 * math/e_j0l.c: Likewise.
42128 * math/e_j1l.c: Likewise.
42129 * math/e_jnl.c: Likewise.
42130 * math/e_lgammal_r.c: Likewise.
42131 * math/e_log10l.c: Likewise.
42132 * math/e_log2l.c: Likewise.
42133 * math/e_logl.c: Likewise.
42134 * math/e_powl.c: Likewise.
42135 * math/e_sinhl.c: Likewise.
42136 * math/e_sqrtl.c: Likewise.
42137 * math/e_scalb.c: Completely rewritten and optimized.
42138 * math/e_scalbf.c: Likewise.
42139 * math/e_scalbl.c: Likewise.
42140 * math/w_acos.c: Likewise.
42141 * math/w_acosf.c: Likewise.
42142 * math/w_acosl.c: Likewise.
42143 * math/w_acosh.c: Likewise.
42144 * math/w_acoshf.c: Likewise.
42145 * math/w_acoshl.c: Likewise.
42146 * math/w_asin.c: Likewise.
42147 * math/w_asinf.c: Likewise.
42148 * math/w_asinl.c: Likewise.
42149 * math/w_atan2.c: Likewise.
42150 * math/w_atan2f.c: Likewise.
42151 * math/w_atan2l.c: Likewise.
42152 * math/w_atanh.c: Likewise.
42153 * math/w_atanhf.c: Likewise.
42154 * math/w_atanhl.c: Likewise.
42155 * math/w_exp10.c: Likewise.
42156 * math/w_exp10f.c: Likewise.
42157 * math/w_exp10l.c: Likewise.
42158 * math/w_fmod.c: Likewise.
42159 * math/w_fmodf.c: Likewise.
42160 * math/w_fmodl.c: Likewise.
42161 * math/w_j0.c: Likewise.
42162 * math/w_j0f.c: Likewise.
42163 * math/w_j0l.c: Likewise.
42164 * math/w_j1.c: Likewise.
42165 * math/w_j1f.c: Likewise.
42166 * math/w_j1l.c: Likewise.
42167 * math/w_jn.c: Likewise.
42168 * math/w_jnf.c: Likewise.
42169 * math/w_log.c: Likewise.
42170 * math/w_logf.c: Likewise.
42171 * math/w_logl.c: Likewise.
42172 * math/w_log10.c: Likewise.
42173 * math/w_log10f.c: Likewise.
42174 * math/w_log10l.c: Likewise.
42175 * math/w_log2.c: Likewise.
42176 * math/w_log2f.c: Likewise.
42177 * math/w_log2l.c: Likewise.
42178 * math/w_pow.c: Likewise.
42179 * math/w_powf.c: Likewise.
42180 * math/w_powl.c: Likewise.
42181 * math/w_remainder.c: Likewise.
42182 * math/w_remainderf.c: Likewise.
42183 * math/w_remainderl.c: Likewise.
42184 * math/w_scalb.c: Likewise.
42185 * math/w_scalbf.c: Likewise.
42186 * math/w_scalbl.c: Likewise.
42187 * math/w_sqrt.c: Likewise.
42188 * math/w_sqrtf.c: Likewise.
42189 * math/w_sqrtl.c: Likewise.
42190 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42191 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42193 * math/math_private.h: Declare __kernel_standard_f.
42194 * math/w_cosh.c: Remove cruft and optimize a bit.
42195 * math/w_coshf.c: Likewise.
42196 * math/w_coshl.c: Likewise.
42197 * math/w_exp2.c: Likewise.
42198 * math/w_exp2f.c: Likewise.
42199 * math/w_exp2l.c: Likewise.
42200 * math/w_hypot.c: Likewise.
42201 * math/w_hypotf.c: Likewise.
42202 * math/w_hypotl.c: Likewise.
42203 * math/w_lgamma.c: Likewise.
42204 * math/w_lgamma_r.c: Likewise.
42205 * math/w_lgammaf.c: Likewise.
42206 * math/w_lgammaf_r.c: Likewise.
42207 * math/w_lgammal.c: Likewise.
42208 * math/w_lgammal_r.c: Likewise.
42209 * math/w_sinh.c: Likewise.
42210 * math/w_sinhf.c: Likewise.
42211 * math/w_sinhl.c: Likewise.
42212 * math/w_tgamma.c: Likewise.
42213 * math/w_tgammaf.c: Likewise.
42214 * math/w_tgammal.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42216 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42217 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42218 Minor optimizations. Pretty printing. Remove cruft.
42219 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42221 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42222 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42223 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42224 * sysdeps/i386/fpu/e_asin.S: Likewise.
42225 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42226 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42227 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42228 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42229 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42230 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42231 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42232 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42233 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42234 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42235 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42236 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42237 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42238 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42239 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42240 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42241 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42242 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42243 * sysdeps/i386/fpu/e_log.S: Likewise.
42244 * sysdeps/i386/fpu/e_log10.S: Likewise.
42245 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42246 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42247 * sysdeps/i386/fpu/e_log2.S: Likewise.
42248 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42249 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42250 * sysdeps/i386/fpu/e_logf.S: Likewise.
42251 * sysdeps/i386/fpu/e_logl.S: Likewise.
42252 * sysdeps/i386/fpu/e_pow.S: Likewise.
42253 * sysdeps/i386/fpu/e_powf.S: Likewise.
42254 * sysdeps/i386/fpu/e_powl.S: Likewise.
42255 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42256 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42257 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42261 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42262 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42263 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42264 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42265 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42267 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42268 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42269 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42270 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42271 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42272 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42273 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42274 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42275 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42285 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42286 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42288 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42289 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42290 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42291 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42292 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42293 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42295 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42296 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42298 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42299 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42300 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42301 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42302 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42303 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42304 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42305 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42314 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42315 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42316 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42317 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42318 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42320 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42321 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42322 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42344 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42349 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42352 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42355 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42356 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42357 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42358 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42359 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42360 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42361 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42362 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42363 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42364 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42365 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42366 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42367 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42368 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42369 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42370 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42371 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42372 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42374 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42375 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42376 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42377 (__isnanf): Likewise.
42378 (__isinf_ns): Likewise.
42379 (__isinf_nsf): Likewise.
42380 (__finite): Likewise.
42381 (__finitef): Likewise.
42382 (__ieee754_sqrt): Define as macro.
42383 (__ieee754_sqrtf): Define as macro.
42384 (__ieee754_sqrtl): Define as macro.
42385 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42387 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42388 __FINITE_MATH_ONLY__ consistent.
42389 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42391 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42393 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42396 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42398 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42400 * po/ja.po: Update from translation team.
42402 2011-10-08 Roland McGrath <roland@hack.frob.com>
42404 * locale/programs/locarchive.c (prepare_address_space): New function.
42405 (create_archive, enlarge_archive, open_archive): Use it.
42407 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42408 inside [SHARED], where it is used.
42410 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42412 * nss/getent.c (netgroup_keys): Remove unused variable.
42413 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42415 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42417 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42418 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42420 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42421 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42422 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42423 * math/Makefile (libm-calls): Add s_isinf_ns.
42424 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42425 * math/multc3.c: Likewise.
42426 * math/s_casin.c: Likewise.
42427 * math/s_casinf.c: Likewise.
42428 * math/s_casinl.c: Likewise.
42429 * math/s_ccos.c: Likewise.
42430 * math/s_ccosf.c: Likewise.
42431 * math/s_ccosl.c: Likewise.
42432 * math/s_ctan.c: Likewise.
42433 * math/s_ctanf.c: Likewise.
42434 * math/s_ctanh.c: Likewise.
42435 * math/s_ctanhf.c: Likewise.
42436 * math/s_ctanhl.c: Likewise.
42437 * math/s_ctanl.c: Likewise.
42438 * math/w_fmod.c: Likewise.
42439 * math/w_fmodf.c: Likewise.
42440 * math/w_fmodl.c: Likewise.
42441 * math/w_remainder.c: Likewise.
42442 * math/w_remainderf.c: Likewise.
42443 * math/w_remainderl.c: Likewise.
42444 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42445 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42448 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42449 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42450 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42451 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42453 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42455 * stdio-common/printf_fphex.c: Likewise.
42456 * stdio-common/printf_size.c: Likewise.
42458 * math/e_exp10.c: Include math_private.h using <...> not "...".
42459 * math/e_exp10f.c: Likewise.
42460 * math/e_exp10l.c: Likewise.
42461 * math/e_exp2l.c: Likewise.
42462 * math/e_j0l.c: Likewise.
42463 * math/e_j1l.c: Likewise.
42464 * math/e_jnl.c: Likewise.
42465 * math/e_lgammal_r.c: Likewise.
42466 * math/e_rem_pio2l.c: Likewise.
42467 * math/e_scalb.c: Likewise.
42468 * math/e_scalbf.c: Likewise.
42469 * math/e_scalbl.c: Likewise.
42470 * math/k_cosl.c: Likewise.
42471 * math/k_sinl.c: Likewise.
42472 * math/k_tanl.c: Likewise.
42473 * math/s_cacoshf.c: Likewise.
42474 * math/s_catan.c: Likewise.
42475 * math/s_catanf.c: Likewise.
42476 * math/s_catanh.c: Likewise.
42477 * math/s_catanhf.c: Likewise.
42478 * math/s_catanhl.c: Likewise.
42479 * math/s_catanl.c: Likewise.
42480 * math/s_ccosh.c: Likewise.
42481 * math/s_ccoshf.c: Likewise.
42482 * math/s_ccoshl.c: Likewise.
42483 * math/s_cexp.c: Likewise.
42484 * math/s_cexpf.c: Likewise.
42485 * math/s_cexpl.c: Likewise.
42486 * math/s_clog.c: Likewise.
42487 * math/s_clog10.c: Likewise.
42488 * math/s_clog10f.c: Likewise.
42489 * math/s_clog10l.c: Likewise.
42490 * math/s_clogf.c: Likewise.
42491 * math/s_clogl.c: Likewise.
42492 * math/s_csin.c: Likewise.
42493 * math/s_csinf.c: Likewise.
42494 * math/s_csinh.c: Likewise.
42495 * math/s_csinhf.c: Likewise.
42496 * math/s_csinhl.c: Likewise.
42497 * math/s_csinl.c: Likewise.
42498 * math/s_csqrt.c: Likewise.
42499 * math/s_csqrtf.c: Likewise.
42500 * math/s_csqrtl.c: Likewise.
42501 * math/s_ctan.c: Likewise.
42502 * math/s_ctanf.c: Likewise.
42503 * math/s_ctanh.c: Likewise.
42504 * math/s_ctanhf.c: Likewise.
42505 * math/s_ctanhl.c: Likewise.
42506 * math/s_ctanl.c: Likewise.
42507 * math/s_ldexp.c: Likewise.
42508 * math/s_ldexpf.c: Likewise.
42509 * math/s_ldexpl.c: Likewise.
42510 * math/s_significand.c: Likewise.
42511 * math/s_significandf.c: Likewise.
42512 * math/s_significandl.c: Likewise.
42513 * math/w_acos.c: Likewise.
42514 * math/w_acosf.c: Likewise.
42515 * math/w_acosh.c: Likewise.
42516 * math/w_acoshf.c: Likewise.
42517 * math/w_acoshl.c: Likewise.
42518 * math/w_acosl.c: Likewise.
42519 * math/w_asin.c: Likewise.
42520 * math/w_asinf.c: Likewise.
42521 * math/w_asinl.c: Likewise.
42522 * math/w_atan2.c: Likewise.
42523 * math/w_atan2f.c: Likewise.
42524 * math/w_atan2l.c: Likewise.
42525 * math/w_atanh.c: Likewise.
42526 * math/w_atanhf.c: Likewise.
42527 * math/w_atanhl.c: Likewise.
42528 * math/w_cosh.c: Likewise.
42529 * math/w_coshf.c: Likewise.
42530 * math/w_coshl.c: Likewise.
42531 * math/w_dremf.c: Likewise.
42532 * math/w_exp10.c: Likewise.
42533 * math/w_exp10f.c: Likewise.
42534 * math/w_exp10l.c: Likewise.
42535 * math/w_exp2.c: Likewise.
42536 * math/w_exp2f.c: Likewise.
42537 * math/w_fmod.c: Likewise.
42538 * math/w_fmodf.c: Likewise.
42539 * math/w_fmodl.c: Likewise.
42540 * math/w_hypot.c: Likewise.
42541 * math/w_hypotf.c: Likewise.
42542 * math/w_hypotl.c: Likewise.
42543 * math/w_j0.c: Likewise.
42544 * math/w_j0f.c: Likewise.
42545 * math/w_j0l.c: Likewise.
42546 * math/w_j1.c: Likewise.
42547 * math/w_j1f.c: Likewise.
42548 * math/w_j1l.c: Likewise.
42549 * math/w_jn.c: Likewise.
42550 * math/w_jnf.c: Likewise.
42551 * math/w_jnl.c: Likewise.
42552 * math/w_lgamma.c: Likewise.
42553 * math/w_lgamma_r.c: Likewise.
42554 * math/w_lgammaf.c: Likewise.
42555 * math/w_lgammaf_r.c: Likewise.
42556 * math/w_lgammal.c: Likewise.
42557 * math/w_lgammal_r.c: Likewise.
42558 * math/w_log.c: Likewise.
42559 * math/w_log10.c: Likewise.
42560 * math/w_log10f.c: Likewise.
42561 * math/w_log10l.c: Likewise.
42562 * math/w_log2.c: Likewise.
42563 * math/w_log2f.c: Likewise.
42564 * math/w_log2l.c: Likewise.
42565 * math/w_logf.c: Likewise.
42566 * math/w_logl.c: Likewise.
42567 * math/w_pow.c: Likewise.
42568 * math/w_powf.c: Likewise.
42569 * math/w_powl.c: Likewise.
42570 * math/w_remainder.c: Likewise.
42571 * math/w_remainderf.c: Likewise.
42572 * math/w_remainderl.c: Likewise.
42573 * math/w_scalb.c: Likewise.
42574 * math/w_scalbf.c: Likewise.
42575 * math/w_scalbl.c: Likewise.
42576 * math/w_sinh.c: Likewise.
42577 * math/w_sinhf.c: Likewise.
42578 * math/w_sinhl.c: Likewise.
42579 * math/w_sqrt.c: Likewise.
42580 * math/w_sqrtf.c: Likewise.
42581 * math/w_sqrtl.c: Likewise.
42582 * math/w_tgamma.c: Likewise.
42583 * math/w_tgammaf.c: Likewise.
42584 * math/w_tgammal.c: Likewise.
42586 * po/ja.po: Update from translation team.
42588 2011-09-29 Andreas Jaeger <aj@suse.de>
42591 * sunrpc/netname.c (netname2host): Fix logic.
42595 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42597 * math/w_remainder.c (__remainder): Likewise.
42598 * math/w_remainderf.c (__remainderf): Likewise.
42599 * math/libm-test.inc (remainder_test): Add test cases.
42601 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42603 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42606 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42608 * string/test-memcmp.c: Avoid unncessary #defines.
42609 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42611 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42613 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42614 Use new sse2 version for core i3 - i7 as it's faster
42615 than sse42 version.
42616 (bit_Prefer_PMINUB_for_stringop): New.
42617 * sysdeps/x86_64/rawmemchr.S: Update.
42618 Replace with faster SSE2 version.
42619 * sysdeps/x86_64/memrchr.S: New file.
42620 * sysdeps/x86_64/memchr.S: Update.
42621 Replace with faster SSE2 version.
42623 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42625 * elf/dl-load.c (lose): Add cast to avoid warning.
42627 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42629 * po/ca.po: Update from translation team.
42631 * inet/getnetgrent_r.c: Hook up nscd.
42632 * nscd/Makefile (routines): Add nscd_netgroup.
42633 (nscd-modules): Add netgroupcache.
42634 (CFLAGS-netgroupcache.c): Define.
42635 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42636 (cache_search): Add const to second parameter.
42637 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42639 (dbs): Add netgrdb entry.
42640 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42641 (verify_persistent_db): Handle netgrdb.
42642 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42643 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42645 (netgroup_response_header): Define.
42646 (innetgroup_response_header): Define.
42647 (datahead): Add netgroup_response_header and innetgroup_response_header
42649 * nscd/nscd.conf: Add entries for netgroup cache.
42650 * nscd/nscd.h (dbtype): Add netgrdb.
42651 (_PATH_NSCD_NETGROUP_DB): Define.
42652 (netgroup_iov_disabled): Declare.
42653 (xmalloc, xcalloc, xrealloc): Move declarations here.
42654 (cache_search): Adjust prototype.
42655 Add netgroup-related prototypes.
42656 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42657 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42658 (__nscd_innetgr): Declare.
42659 * nscd/selinux.c (perms): Use access_vector_t as element type and
42660 add netgroup-related initializers.
42661 * nscd/netgroupcache.c: New file.
42662 * nscd/nscd_netgroup.c: New file.
42663 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42664 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42665 For four parameters use innetgr.
42666 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42667 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42668 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42669 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42671 * nscd/connections.c (register_traced_file): Don't register file
42672 for disabled databases.
42674 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42676 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42678 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42679 from tree and freeing node.
42681 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42683 * nss/nsswitch.c (__nss_database_lookup): Handle
42684 nss_parse_service_list out of memory case.
42686 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42688 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42689 out of memory case.
42691 2011-10-04 Andreas Schwab <schwab@redhat.com>
42693 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42694 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42696 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42697 elf_machine_rela, elf_machine_lazy_rel.
42698 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42699 (ELF_DYNAMIC_DO_REL): Likewise.
42700 (ELF_DYNAMIC_DO_RELA): Likewise.
42701 (ELF_DYNAMIC_RELOCATE): Likewise.
42702 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42703 to ELF_DYNAMIC_DO_REL.
42704 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42705 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42706 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42708 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42709 skip_ifunc, don't call ifunc function if non-zero.
42710 (elf_machine_rela): Likewise.
42711 (elf_machine_lazy_rel): Likewise.
42712 (elf_machine_lazy_rela): Likewise.
42713 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42714 (elf_machine_lazy_rel): Likewise.
42715 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42717 (elf_machine_lazy_rel): Likewise.
42718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42720 (elf_machine_lazy_rel): Likewise.
42721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42722 (elf_machine_lazy_rel): Likewise.
42723 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42724 (elf_machine_lazy_rel): Likewise.
42725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42726 (elf_machine_lazy_rel): Likewise.
42727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42728 (elf_machine_lazy_rel): Likewise.
42729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42730 (elf_machine_lazy_rel): Likewise.
42731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42732 (elf_machine_lazy_rel): Likewise.
42734 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42736 * nss/nss_files/files-init.c (_nss_files_init): Use static
42737 initialization for all the *_traced_file variables.
42739 2011-09-28 Andreas Schwab <schwab@redhat.com>
42741 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42743 2011-09-27 Roland McGrath <roland@hack.frob.com>
42746 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42748 2011-09-27 Andreas Schwab <schwab@redhat.com>
42750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42751 Reread the line before reparsing it.
42753 2011-09-26 Andreas Schwab <schwab@redhat.com>
42755 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42757 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42758 Maxim Kuvyrkov <maxim@codesourcery.com>
42759 Joseph Myers <joseph@codesourcery.com>
42761 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42762 if needed for __stack_chk_guard.
42764 2011-09-19 Roland McGrath <roland@hack.frob.com>
42766 * sysdeps/posix/spawni.c (script_execute): Always define it.
42767 It will be optimized away if unused.
42768 (maybe_script_execute): New function.
42769 (__spawni): Call it.
42771 * Makerules: Don't include tls.make.
42772 (config-tls): Always set to thread.
42773 * tls.make.c: File removed.
42775 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42777 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42778 * config.make.in (CPPFLAGS-config): New substituted variable.
42780 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42785 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42786 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42788 2011-09-15 Roland McGrath <roland@hack.frob.com>
42790 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42791 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42793 (CALL_FAIL): Likewise.
42794 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42795 (CALL_FAIL): Macro removed.
42796 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42798 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42800 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42801 for __FINITE_MATH_ONLY__ == 1.
42803 2011-09-15 Andreas Schwab <schwab@redhat.com>
42805 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42806 __ieee754_sqrt instead of sqrt.
42807 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42808 __ieee754_sqrtf instead of sqrtf.
42809 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42810 __floorf instead of floorf.
42811 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42812 __floorf, __truncf instead of floorf, truncf.
42814 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42816 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42818 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42819 __extern_always_inline.
42820 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42823 2011-09-14 Andreas Schwab <schwab@redhat.com>
42825 * elf/rtld.c (dl_main): Also relocate in dependency order when
42826 doing symbol dependency testing.
42828 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42831 Always define `refsym'.
42833 2011-09-13 Andreas Schwab <schwab@redhat.com>
42835 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42836 (__FD_ELT): Renamed from __FDELT.
42837 * misc/bits/select2.h (__FD_ELT): Likewise.
42838 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42839 __FD_MASK instead of __FDELT, __FDMASK.
42840 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42842 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42845 * elf/Makefile (gen-ldd): Fix pattern.
42847 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42848 (init_tls): Likewise.
42850 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42854 2011-09-12 Andreas Schwab <schwab@redhat.com>
42856 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42857 `struct cmsghdr *' instead of `void *'.
42858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42861 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42863 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42865 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42866 ldd_rewrite_script.
42868 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42870 * configure.in: Remove --with-tls option.
42871 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42872 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42873 out in case it is missing.
42874 * sysdeps/ia64/elf/configure.in: Likewise.
42875 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42876 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42877 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42878 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42879 * sysdeps/sh/elf/configure.in: Likewise.
42880 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42881 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42882 * sysdeps/x86_64/elf/configure.in: Likewise.
42883 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42884 * sysdeps/mach/hurd/tls.h: Likewise.
42887 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42890 * configure.in: Fix use of AC_INIT.
42892 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42894 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42896 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42898 * malloc/hooks.c: Likewise.
42901 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42902 variables statically.
42903 (narenas): Initialize.
42904 (list_lock): Initialize.
42905 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42906 initializtion of main_arena and list_lock. Small cleanups.
42907 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42908 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42909 Add initializers to main_arena and mp_.
42910 (malloc_state): Remove pagesize member. Change all users to use
42913 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42914 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42915 is always initialized.
42917 * malloc/malloc.c: Removed unused configurations and dead code.
42918 * malloc/arena.c: Likewise.
42919 * malloc/hooks.c: Likewise.
42920 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42922 * include/tls.h: Removed. USE___THREAD must always be defined.
42923 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42924 * elf/dl-libc.c: Likewise.
42925 * elf/dl-tsd.c: Likewise.
42926 * include/errno.h: Likewise.
42927 * include/netdb.h: Likewise.
42928 * include/resolv.h: Likewise.
42929 * inet/herrno-loc.c: Likewise.
42930 * inet/herrno.c: Likewise.
42931 * malloc/arena.c: Likewise.
42932 * malloc/hooks.c: Likewise.
42933 * malloc/malloc.c: Likewise.
42934 * resolv/res-state.c: Likewise.
42935 * resolv/res_libc.c: Likewise.
42936 * sysdeps/i386/dl-machine.h: Likewise.
42937 * sysdeps/ia64/dl-machine.h: Likewise.
42938 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42939 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42940 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42941 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42942 * sysdeps/sh/dl-machine.h: Likewise.
42943 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42945 * sysdeps/unix/i386/sysdep.S: Likewise.
42946 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42947 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42952 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42956 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42957 * sysdeps/x86_64/dl-machine.h: Likewise.
42958 * tls.make.c: Likewise.
42960 * configure.in: Remove --with-__thread option. Make tests for
42961 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42962 tls_model attribute fail if no support is available. Remove
42964 * Makeconfig: Adjust for dropped configure option. All features are
42966 * Makerules: Likewise.
42967 * Versions.def: Likewise.
42968 * argp/argp-fmtstream.c: Likewise.
42969 * argp/argp-fmtstream.h: Likewise.
42970 * argp/argp-help.c: Likewise.
42971 * assert/assert.c: Likewise.
42972 * config.h.in: Likewise.
42973 * config.make.in: Likewise.
42974 * configure: Likewise.
42975 * configure.in: Likewise.
42976 * csu/Versions: Likewise.
42977 * csu/init.c: Likewise.
42978 * elf/tst-audit2.c: Likewise.
42979 * elf/tst-tls10.c: Likewise.
42980 * elf/tst-tls10.h: Likewise.
42981 * elf/tst-tls11.c: Likewise.
42982 * elf/tst-tls12.c: Likewise.
42983 * elf/tst-tls14.c: Likewise.
42984 * elf/tst-tlsmod11.c: Likewise.
42985 * elf/tst-tlsmod12.c: Likewise.
42986 * elf/tst-tlsmod13.c: Likewise.
42987 * elf/tst-tlsmod13a.c: Likewise.
42988 * elf/tst-tlsmod14a.c: Likewise.
42989 * elf/tst-tlsmod15b.c: Likewise.
42990 * elf/tst-tlsmod16a.c: Likewise.
42991 * elf/tst-tlsmod16b.c: Likewise.
42992 * elf/tst-tlsmod7.c: Likewise.
42993 * elf/tst-tlsmod8.c: Likewise.
42994 * elf/tst-tlsmod9.c: Likewise.
42995 * gmon/gmon.c: Likewise.
42996 * grp/fgetgrent_r.c: Likewise.
42997 * grp/putgrent.c: Likewise.
42998 * hurd/fopenport.c: Likewise.
42999 * include/libc-symbols.h: Likewise.
43000 * include/tls.h: Likewise.
43001 * intl/gettextP.h: Likewise.
43002 * intl/loadinfo.h: Likewise.
43003 * locale/global-locale.c: Likewise.
43004 * locale/localeinfo.h: Likewise.
43005 * mach/devstream.c: Likewise.
43006 * malloc/arena.c: Likewise.
43007 * malloc/set-freeres.c: Likewise.
43008 * misc/err.c: Likewise.
43009 * misc/getttyent.c: Likewise.
43010 * misc/mntent_r.c: Likewise.
43011 * posix/getopt.c: Likewise.
43012 * posix/wordexp.c: Likewise.
43013 * pwd/fgetpwent_r.c: Likewise.
43014 * resolv/Versions: Likewise.
43015 * resolv/res_hconf.c: Likewise.
43016 * shadow/fgetspent_r.c: Likewise.
43017 * shadow/putspent.c: Likewise.
43018 * stdio-common/printf_fphex.c: Likewise.
43019 * stdio-common/tmpfile.c: Likewise.
43020 * stdlib/abort.c: Likewise.
43021 * stdlib/fmtmsg.c: Likewise.
43022 * sunrpc/auth_unix.c: Likewise.
43023 * sunrpc/clnt_perr.c: Likewise.
43024 * sunrpc/clnt_tcp.c: Likewise.
43025 * sunrpc/clnt_udp.c: Likewise.
43026 * sunrpc/clnt_unix.c: Likewise.
43027 * sunrpc/openchild.c: Likewise.
43028 * sunrpc/svc_simple.c: Likewise.
43029 * sunrpc/svc_tcp.c: Likewise.
43030 * sunrpc/svc_udp.c: Likewise.
43031 * sunrpc/svc_unix.c: Likewise.
43032 * sunrpc/xdr.c: Likewise.
43033 * sunrpc/xdr_array.c: Likewise.
43034 * sunrpc/xdr_rec.c: Likewise.
43035 * sunrpc/xdr_ref.c: Likewise.
43036 * sunrpc/xdr_stdio.c: Likewise.
43038 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43040 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43042 2011-07-03 Andreas Jaeger <aj@suse.de>
43044 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43045 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43046 regenerate with gen-libm-tests.pl.
43048 2010-05-12 Petr Baudis <pasky@suse.cz>
43051 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43052 around j0() zero points by switching to j1().
43053 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43058 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43060 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43062 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43065 Patch in part by Pavel Roskin <proski@gnu.org>.
43068 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43070 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43071 Free memory block if necessary.
43074 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43075 be NULL. Don't lock in this case.
43077 2011-09-09 Roland McGrath <roland@hack.frob.com>
43079 * elf/elf.h (ELFOSABI_GNU): New macro.
43080 (ELFOSABI_LINUX): Define to that.
43082 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43084 * string/strncat.c (strncat): Undef the symbol in case it has been
43085 defined in bits/string.h.
43087 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43089 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43091 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43094 2011-08-17 Andreas Jaeger <aj@suse.de>
43096 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43098 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43099 Ian Lance Taylor <iant@google.com>
43101 * math/libm-test.inc (lround_test): New testcase.
43102 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43104 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43106 * Makefile: Remove support for automatic cvs check-ins.
43107 * Makerules: Likewise.
43108 * config.make.in: Likewise.
43109 * configure.in: Likewise.
43110 * intl/Makefile: Likewise.
43111 * locale/Makefile: Likewise.
43112 * po/Makefile: Likewise.
43113 * posix/Makefile: Likewise.
43114 * sysdeps/gnu/Makefile: Likewise.
43115 * sysdeps/mach/hurd/Makefile: Likewise.
43116 * sysdeps/sparc/sparc32/Makefile: Likewise.
43119 * posix/Makefile (bug-regex32-ENV): Define.
43120 Patch by John Stanley <jpsinthemix@verizon.net>.
43122 * misc/Makefile (headers): Add bits/select2.h.
43123 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43124 * misc/bits/select2.h: New file.
43125 * include/bits/select2.h: New file.
43126 * debug/Makefile (routines): Add fdelt_chk.
43127 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43128 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43130 * debug/fdelt_chk.c: New file.
43132 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43133 * wcsmbs/test-wmemcmp.c: Likewise.
43134 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43135 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43137 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43139 * string/Makefile (strop-tests): Add memcmp.
43140 * string/test-wmemcmp.c: New file.
43141 * string/test-memcmp.c: Add wmemcmp support.
43143 2011-09-08 Roland McGrath <roland@hack.frob.com>
43146 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43149 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43150 garbage value in a __mach_port_mod_refs call in the cases of the
43151 task-self and thread-self ports.
43153 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43155 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43157 2011-09-08 Andreas Schwab <schwab@redhat.com>
43159 * elf/dl-load.c (lose): Check for non-null L.
43161 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43163 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43165 * elf/dl-libc.c (dlerror_run): Pass back error code from
43169 * elf/dl-load.c (lose): Free l_origin if it is valid.
43171 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43173 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43174 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43176 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43177 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43178 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43180 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43182 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43183 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43184 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43185 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43186 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43187 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43188 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43189 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43190 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43191 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43193 2011-08-15 Alan Modra <amodra@gmail.com>
43196 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43197 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43198 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43199 ppc_mcount to static-only-routines.
43200 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43202 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43203 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43205 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43207 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43208 for finite and infinity parameters.
43210 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43213 and add nop instructions for throughput optimization.
43214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43216 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43218 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43219 aligned copy for power7 with vector-scalar instructions.
43220 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43222 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43227 2011-09-07 Andreas Schwab <schwab@redhat.com>
43230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43233 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43235 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43236 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43237 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43238 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43241 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43243 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43244 Forgot to demangle the pointer.
43246 * sysdeps/i386/sysdep.h: Define atom_text_section.
43247 * sysdeps/x86_64/sysdep.h: Likewise.
43248 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43249 section with atom_text_section.
43250 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43251 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43252 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43254 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43257 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43258 already be defined. Change to take two parameters and don't assign
43259 result to variable. Adjust all users.
43260 Define INTERNAL_GETTIME if not already defined.
43261 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43264 HAVE_CLOCK_GETTIME_VSYSCALL.
43265 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43268 gettimeofday vsyscall, just use time.
43270 2011-09-06 Andreas Schwab <schwab@redhat.com>
43272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43275 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43277 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43281 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43282 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43283 syscall if possible.
43285 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43287 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43288 e_ident. Don't pass to find_mapsXX.
43289 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43291 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43294 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43295 * sysdeps/x86_64/multiarch/strchr.S: Update.
43296 Check bit_slow_BSF bit.
43297 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43298 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43299 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43301 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43304 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43306 (tryshell): Define.
43307 (__spawni): Change last parameter to be flag. Test
43308 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43309 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43310 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43311 * posix/spawni.c: Likewise.
43312 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43313 * posix/spawnp.c: Likewise. Change normal version to use
43314 SPAWN_XFLAGS_USE_PATH.
43315 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43316 SPAWN_XFLAGS_TRY_SHELL.
43319 * posix/glob.h: Remove gcc 1.x support.
43322 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43324 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43327 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43329 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43330 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43331 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43332 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43333 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43334 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43336 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43338 * sysdeps/x86_64/wcscmp.S: New file.
43340 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43341 wcscmp-c wcscmp-sse2
43342 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43343 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43345 * wcsmbs/wcscmp.c: Allow renaming.
43347 2011-09-05 David S. Miller <davem@davemloft.net>
43349 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43350 stack slot, rather than the struct return pointer slot.
43351 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43352 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43354 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43356 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43358 * po/ja.po: Update from translation team.
43361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43362 kernel in 64-bit binaries.
43364 2011-09-01 David S. Miller <davem@davemloft.net>
43366 * elf/elf.h (HWCAP_SPARC_*): Move to..
43367 * sysdeps/sparc/sysdep.h: this new file and add new values.
43368 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43369 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43370 _DL_HWCAP_COUNT to 24.
43371 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43373 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43374 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43375 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43377 instead of magic constants.
43378 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43380 2011-08-31 David S. Miller <davem@davemloft.net>
43382 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43384 Reimplement to do errno handling inline.
43385 (SYSCALL_ERROR_HANDLER): New macro.
43386 (__SYSCALL_STRING): Do not do errno handling in asm.
43387 (__CLONE_SYSCALL_STRING): Delete.
43388 (__INTERNAL_SYSCALL_STRING): Delete.
43389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43390 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43391 (PSEUDO): Reimplement to do errno handling inline.
43392 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43393 (SYSCALL_ERROR_HANDLER): New macro.
43394 (__SYSCALL_STRING): Do not do errno handling in asm.
43395 (__CLONE_SYSCALL_STRING): Delete.
43396 (__INTERNAL_SYSCALL_STRING): Delete.
43397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43398 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43400 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43401 (inline_syscall*): Add 'err' argument.
43402 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43403 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43404 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43405 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43407 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43408 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43410 2011-08-30 Andreas Schwab <schwab@redhat.com>
43412 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43414 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43416 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43419 2011-08-24 David S. Miller <davem@davemloft.net>
43421 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43423 2011-08-24 Andreas Schwab <schwab@redhat.com>
43425 * elf/Makefile: Add rules to build and run unload8 test.
43426 * elf/unload8.c: New file.
43427 * elf/unload8mod1.c: New file.
43428 * elf/unload8mod1x.c: New file.
43429 * elf/unload8mod2.c: New file.
43430 * elf/unload8mod3.c: New file.
43432 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43435 2011-08-23 David S. Miller <davem@davemloft.net>
43437 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43438 subtract stack bias.
43439 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43440 %sp not %fp in calculations.
43441 (_JMPBUF_UNWINDS_ADJ): Likewise.
43443 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43444 (aio_suspend): Call it to force an exception region around the
43445 AIO_MISC_WAIT() invocation.
43447 2011-08-23 Andreas Schwab <schwab@redhat.com>
43449 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43452 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43454 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43456 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43457 and <dl-machine.h>.
43458 (Elf64_FuncDesc): Remove.
43460 2011-08-22 David S. Miller <davem@davemloft.net>
43462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43463 sigaltstack check, add missing cfi directives.
43464 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43465 missing cfi directives, and sigaltstack handling.
43467 2011-08-16 Andreas Schwab <schwab@redhat.com>
43470 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43471 object is seen twice.
43472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43474 * elf/Makefile (distribute): Add tst-initorder2.c.
43475 (tests): Add tst-initorder2.
43476 (modules-names): Add tst-initorder2a tst-initorder2b
43477 tst-initorder2c tst-initorder2d. Add rules to build them.
43478 ($(objpfx)tst-initorder2.out): New rule.
43479 * elf/tst-initorder2.c: New file.
43480 * elf/tst-initorder2.exp: New file.
43482 2011-08-22 Andreas Schwab <schwab@redhat.com>
43484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43486 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43487 dependencies back to end of function.
43489 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43490 $(elfobjdir)/ld.so.
43492 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43495 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43497 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43498 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43499 of __vdso_gettimeofday.
43500 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43501 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43503 (_libc_vdso_platform_setup): Remove initialization of
43504 __vdso_gettimeofday and __vdso_time.
43506 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43508 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43509 and fgetc_unlocked.
43510 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43513 * elf/dl-open.c (add_to_global): Report additions to the global scope
43514 for LD_DEBUG=scopes.
43515 (dl_open_worker): Also print scope of newly loaded dependencies.
43516 (_dl_show_scope): Indicate if there is no scope.
43519 * stdio-common/Makefile (tests): Add bug24.
43520 * stdio-common/bug24.c: New file.
43522 2011-08-19 Andreas Jaeger <aj@suse.de>
43525 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43526 non-existant file when using close-on-exec mode.
43528 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43531 the very first instruction.
43533 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43534 the CFI state in the end.
43535 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43536 inclusion of dl-trampoline.h.
43537 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43539 2011-08-19 Andreas Schwab <schwab@redhat.com>
43541 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43542 expectations for long double.
43544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43545 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43547 2011-08-14 David S. Miller <davem@davemloft.net>
43549 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43550 artificual limit depends upon the system page size.
43552 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43554 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43555 * resolv/Makefile: Define CFLAGS-libresolv.
43557 2011-08-17 Andreas Schwab <schwab@redhat.com>
43559 * nss/makedb.c (compute_tables): Make variables used in nested
43562 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43564 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43565 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43566 if buffer was too small.
43568 * elf/pldd.c (main): Attach to all threads in the process.
43569 Rewrite /proc handling to use *at functions.
43571 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43573 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43574 specifies first scope to show.
43575 (dl_open_worker): Update callers. Move printing scope of new
43576 object to before the relocation.
43577 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43578 * sysdeps/generic/ldsodefs.h: Update declaration.
43580 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43581 string for the scope number.
43583 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43585 * nscd/servicescache.c (cache_addserv): Make sure written is always
43588 2011-08-14 Roland McGrath <roland@hack.frob.com>
43590 * sysdeps/i386/i486/bits/atomic.h
43591 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43592 statement expression, so as to suppress "set but not used" warning.
43593 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43595 * string/strncat.c (STRNCAT): Use prototype definition.
43597 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43598 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43600 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43601 (localedef-modules): Add localedef.
43602 (locale-modules): Add locale.
43604 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43605 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43606 to avoid a warning.
43608 2011-08-14 David S. Miller <davem@davemloft.net>
43610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43611 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43613 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43615 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43616 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43617 * elf/rtld.c (dl_main): Set l_name of vDSO.
43618 Call _dl_show_scope when DL_DEBUG_SCOPES.
43619 (process_dl_debug): Recognize scopes flag and also set it for all.
43620 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43621 Declare _dl_show_scope.
43623 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43624 (do_dlopen): Pass caller_dlopen to dl_open.
43625 (__libc_dlopen_mode): Initialize caller_dlopen.
43627 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43628 of libc. Make tolower call locale-independent. Optimize a bit by
43629 using isdigit instead of isalnum.
43630 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43632 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43634 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43635 was a dependency or dynamically loaded.
43637 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43639 * intl/l10nflist.c: Allow architecture-specific pop function.
43640 * sysdeps/x86_64/l10nflist.c: New file.
43642 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43645 2011-08-10 Andreas Schwab <schwab@redhat.com>
43647 * include/dirent.h: Add libc_hidden_proto for scandirat and
43648 scandirat64. Don't declare __scandirat64.
43649 * dirent/scandirat.c: Add libc_hidden_def.
43650 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43651 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43653 2011-08-10 David S. Miller <davem@davemloft.net>
43655 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43657 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43658 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43661 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43663 * Versions.def [libc]: Add GLIBC_2.15.
43664 * dirent/Makefile (routines): Add scandirat and scandirat64.
43665 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43667 * dirent/dirent.h: Declare scandirat and scandirat64.
43668 * dirent/scandirat.c: New file.
43669 * dirent/scandirat64.c: New file.
43670 * sysdeps/wordsize-64/scandirat.c: New file.
43671 * sysdeps/wordsize-64/scandirat64.c: New file.
43672 * dirent/opendir.c: Define opendirat.
43673 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43675 * dirent/scandir64.c: Adjust for scandir.c change.
43676 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43677 __scandirat64, and __scandir_cancel_handler.
43678 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43679 additional parameter and use openat instead of open (outside of ld.so).
43680 Add new __opendir as wrapper around __opendirat.
43681 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43682 here without requiring old scandirat implementation.
43684 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43686 * dirent/scandir.c (cancel_handler): Renamed to
43687 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43688 defined. Adjust users.
43689 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43692 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43694 * string/test-string.h (IMPL): Use __STRING to expand name and then
43697 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43700 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43702 * string/Makefile: Update.
43703 (strop-tests): Append strncat.
43704 * string/test-wcscmp.c: New file.
43705 New comprehensive test for wcscmp.
43706 * string/test-strcmp.c: Update.
43707 (WIDE): New define.
43709 2011-07-22 Andreas Schwab <schwab@redhat.com>
43711 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43714 2011-07-26 Andreas Schwab <schwab@redhat.com>
43716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43717 encoding to ACE if AI_IDN.
43719 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43722 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43724 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43726 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43727 Fix overflow bug in strncat.
43728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43730 * string/test-strncat.c: Update.
43731 Add new tests for checking overflow bugs.
43733 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43736 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43737 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43738 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43740 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43741 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43742 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43743 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43746 (USE_AS_STRCAT): Define.
43747 Add strcat and strncat support.
43748 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43750 2011-07-25 Andreas Schwab <schwab@redhat.com>
43752 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43753 __n bigger than INT_MAX+1.
43754 (__strncmp_g): Likewise.
43756 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43758 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43759 * libio/stido.h: Likewise.
43761 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43766 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43769 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43773 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43778 (_dl_x86_64_save_sse): Likewise.
43780 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43784 (_dl_x86_64_save_sse): Likewise.
43786 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43788 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43790 2011-07-21 Andreas Schwab <schwab@redhat.com>
43792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43794 (_dl_x86_64_save_sse): Use correct AVX check.
43796 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43799 bug in strncpy/strncat.
43800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43802 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43804 * string/tester.c (test_strcat): Add tests for different alignments
43805 of source and destination.
43806 (test_strncat): Likewise.
43808 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43811 * posix/glob.c (glob): Check passed in values before using them in
43812 expressions to avoid some overflows.
43813 (glob_in_dir): Likewise.
43816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43817 check for AVX enablement so that we don't crash with old kernels and
43819 * elf/tst-audit4.c: Add same checks here.
43820 * elf/tst-audit6.c: Likewise.
43822 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43824 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43826 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43828 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43830 * po/cs.po: Update from translation team.
43831 * po/bg.po: Likewise.
43833 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43835 * misc/sys/cdefs.h: Add support for const attribute.
43836 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43837 to gnu_dev_{major,minor,makedev} functions.
43839 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43841 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43843 2011-07-20 Andreas Schwab <schwab@redhat.com>
43845 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43848 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43851 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43852 register in order to avoid conflicts with the soft frame pointer
43853 being held in r11 when necessary.
43854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43855 (INTERNAL_VSYSCALL_NCS): Likewise.
43857 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43859 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43860 * elf/dl-fini.c (_dl_fini): Adjust caller.
43861 * elf/dl-close.c (_dl_close_worker): Likewise.
43862 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43864 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43866 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43867 "aux_cache->nlibs < 0".
43869 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43870 in the reload-count case.
43872 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43875 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43876 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43877 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43878 * sysdeps/x86_64/multiarch/strcat.S: New file.
43879 * sysdeps/x86_64/multiarch/strncat.S: New file.
43880 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43881 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43882 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43883 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43884 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43885 (USE_AS_STRCAT): Define.
43886 Add strcat and strncat support.
43887 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43888 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43889 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43890 * string/strncat.c: Update.
43891 (USE_AS_STRNCAT): Define.
43892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43893 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43895 * sysdeps/x86_64/multiarch/init-arch.h
43896 (bit_Prefer_PMINUB_for_stringop): New.
43897 (index_Prefer_PMINUB_for_stringop): Likewise.
43898 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43899 bit_Prefer_PMINUB_for_stringop.
43901 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43903 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43905 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43906 of casting of buffer.
43907 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43908 buffer32 and buffer64.
43909 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43910 writes instead of casting of buffer.
43911 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43913 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43916 2011-07-19 Andreas Schwab <schwab@redhat.com>
43918 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43920 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43922 * nscd/nscd.c (termination_handler): Don't do anything for a database
43923 if it has not yet been initialized.
43925 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43927 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43929 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43931 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43933 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43935 * po/nl.po: Update from translation team.
43936 * po/sv.po: Likewise.
43938 2011-07-16 Roland McGrath <roland@hack.frob.com>
43940 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43941 now disallowed by GCC.
43943 * configure.in (use-default-link): Default to yes if a test -shared
43944 link meets our qualifications.
43945 * configure: Regenerated.
43947 * config.make.in (output-format): New variable.
43948 * configure.in: Check for ld --print-output-format support.
43949 * configure: Regenerated.
43950 * Makerules ($(common-objpfx)format.lds)
43951 [$(output-format) != unknown]: Just use $(output-format),
43952 instead of the linker-script munging.
43954 2011-07-14 Roland McGrath <roland@hack.frob.com>
43956 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43957 of $(common-objpfx)shlib.lds.
43958 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43960 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43961 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43963 * configure.in (-z relro check): Adjust test code to add a large
43964 writable data section after it.
43965 * configure: Regenerated.
43967 2011-07-11 Roland McGrath <roland@hack.frob.com>
43969 * configure.in (-z relro check): Fix test code to make the variable
43971 * configure: Regenerated.
43973 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43975 * nscd/nscd.h (struct traced_file): Define.
43976 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43977 elements. Add traced_files.
43978 (inotify_fd): Declare.
43979 (register_traced_file): Declare.
43980 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43981 (inotify_fd): Export.
43982 (resolv_conf_descr): Remove.
43983 (nscd_init): Move inotify descriptor creation to main.
43984 Don't register files for notification here.
43985 (register_traced_file): New function.
43986 (invalidate_cache): Don't use reset_res to determine whether to call
43987 res_init, go through the list of registered files.
43988 (main_loop_poll): The inotify descriptors are now stored in the
43989 structures for the traced files.
43990 (main_loop_epoll): Likewise
43991 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43992 to __nss_disable_nscd.
43993 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43994 for a database anymore. Check the records for all the registered
43996 * nss/Makefile (libnss_files-routines): Add files-init.
43997 (libnss_db-routines): Add db-init.
43998 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43999 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44000 * nss/nss_db/db-init.c: New file.
44001 * nss/nss_files/files-init.c: New file.
44002 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44003 __nss_lookup_function.
44004 (__nss_lookup_function): Call nss_load_library.
44005 (nss_load_all_libraries): New function.
44006 (__nss_disable_nscd): Take parameter with callback function for files
44007 to register. Set is_nscd. Load all the DSOs for the NSS modules
44008 used for the cached services.
44009 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44010 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44011 options for features to all the files in nscd.
44013 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44015 2011-07-10 Roland McGrath <roland@hack.frob.com>
44017 * csu/elf-init.c (__libc_csu_init): Comment typo.
44019 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44021 * po/pl.po: Update from translation team.
44022 * po/ja.po: Likewise.
44023 * po/ru.po: Likewise.
44024 * po/ko.po: Likewise.
44025 * po/fr.po: Likewise.
44027 2011-07-09 Roland McGrath <roland@hack.frob.com>
44029 * configure.in (.ctors/.dtors header and trailer check):
44030 Use an empirical test on a built program.
44031 * configure: Regenerated.
44033 * configure.in (-z relro check): Use an empirical test on a built DSO.
44034 Detect, but do not require, on ia64.
44035 * configure: Regenerated.
44037 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44038 Update tests that use readelf to use $READELF instead.
44039 * configure: Regenerated.
44041 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44043 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44044 if the result is not used.
44046 2011-07-05 Andreas Jaeger <aj@suse.de>
44049 * stdlib/tst-strtod.c: Add testcase.
44051 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44053 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44054 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44055 The latter has a higher limit. Take additional parameter to pass to
44057 (__pathconf): Pass file to __statfs_link_max.
44058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44060 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44064 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44065 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44067 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44068 (__statfs_filesize_max): Likewise.
44069 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44071 2011-07-05 Andreas Jaeger <aj@suse.de>
44073 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44075 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44077 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44079 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44082 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44084 * Makefile (strop-tests): Add strncat.
44085 * string/test-strncat.c: New file.
44087 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44089 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44091 2011-06-21 Andreas Jaeger <aj@suse.de>
44093 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44094 Copy rule from iconvdata/Makefile.
44096 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44099 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44100 but no long options are defined, just return 'W'.
44102 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44105 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44107 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44109 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44111 (innetgr): Likewise.
44113 2011-07-05 Roland McGrath <roland@hack.frob.com>
44115 * config.make.in (install_root): Default to $(DESTDIR).
44117 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44121 2011-07-02 Roland McGrath <roland@hack.frob.com>
44123 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44125 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44126 containing directory rather than embedding absolute directory names.
44128 * scripts/check-local-headers.sh: Rewritten using awk.
44129 Match by word, not by line. Print error messages for matches.
44130 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44132 * Makerules [shlib-lds-flags empty]:
44133 ($(common-objpfx)libc_pic.opts): New target.
44134 ($(common-objpfx)libc_pic.os.clean): New target.
44135 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44137 * config.make.in (OBJCOPY): New variable.
44138 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44139 * configure: Regenerated.
44141 * config.make.in (use-default-link): New variable.
44142 * configure.in (use_default_link): Grok --with-default-link to set it.
44143 * configure: Regenerated.
44144 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44145 (shlib-lds, shlib-lds-flags): Define to empty.
44147 * Makerules (shlib-lds): New variable.
44148 (shlib-lds-flags): New variable.
44149 (build-shlib, build-moduile, build-module-asneeded): Use it.
44150 ($(common-objpfx)libc.so): Use $(shlib-lds).
44151 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44152 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44154 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44155 DT_FLAGS/DT_FLAGS_1 with zero flags.
44157 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44158 linker script munging.
44160 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44162 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44164 * crypt/sha512.c (sha512_process_block): Perform total addition using
44165 128-bit if possible.
44166 (__sha512_finish_ctx): Likewise.
44167 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44169 * crypt/sha256.c (SWAP64): Define.
44170 (sha256_process_block): Perform total addition using 64-bit if
44172 (__sha256_finish_ctx): Likewise.
44174 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44176 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44178 * nscd/hstcache.c (cache_addhst): Likewise.
44179 * nscd/grpcache.c (cache_addgr): Likewise.
44180 * nscd/aicache.c (addhstaiX): Likewise
44181 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44183 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44185 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44187 * nscd/hstcache.c (cache_addhst): Likewise.
44188 * nscd/grpcache.c (cache_addgr): Likewise.
44189 * nscd/aicache.c (addhstaiX): Likewise
44191 2011-07-01 Andreas Schwab <schwab@redhat.com>
44193 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44194 domain only when needed.
44196 2011-06-30 Andreas Schwab <schwab@redhat.com>
44198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44199 is always restored.
44201 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44203 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44204 are re-adding the entry.
44205 * nscd/servicescache.c (cache_addserv): Likewise.
44207 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44209 * sysdeps/generic/dl-irel.h: fix protection against multiple
44211 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44213 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44216 * malloc/memusage.sh: Fix quoting in message.
44217 * debug/xtrace.sh: Likewise.
44219 * configure.in: Remove support for --experimental-malloc option, make
44221 * config.make.in: Likewise.
44222 * malloc/Makefile: Likewise.
44224 2011-06-27 Andreas Schwab <schwab@redhat.com>
44226 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44227 two-byte characters.
44229 2011-06-27 Roland McGrath <roland@hack.frob.com>
44231 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44232 AC_CACHE_CHECK invocation.
44233 * configure: Regenerated.
44235 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44237 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44240 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44241 bit from old_res_options.
44243 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44245 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44246 value type for setfct.
44248 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44251 __gettimeofday instead of gettimeofday.
44253 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44255 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44257 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44259 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44264 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44267 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44268 strcpy-sse2-unaligned strncpy-sse2-unaligned
44269 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44270 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44271 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44272 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44273 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44274 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44275 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44276 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44277 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44278 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44279 (STRCPY): Support SSE2 and SSSE3 versions.
44281 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44285 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44286 kernels which artificially limit size of requests.
44288 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44291 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44292 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44293 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44294 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44295 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44296 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44297 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44298 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44300 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44301 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44302 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44303 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44304 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44306 Enable unaligned load optimization for Intel Core i3, i5 and i7
44308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44310 (index_Fast_Unaligned_Load): Define.
44311 (HAS_FAST_UNALIGNED_LOAD): Define.
44313 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44315 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44317 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44321 until it is clear that the information is realy needed.
44322 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44324 2011-06-22 Andreas Schwab <schwab@redhat.com>
44326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44328 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44331 /sys/devices/system/cpu/online if it is usable.
44333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44334 reading the information from the /proc filesystem to once a second.
44336 2011-06-21 Andreas Jaeger <aj@suse.de>
44338 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44339 NULL after inclusion of kernel headers.
44341 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44343 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44344 calls to internal_setent.
44347 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44348 addresses using gethostbyname4_r ignore IPv4 addresses.
44350 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44351 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44353 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44355 2011-06-20 David S. Miller <davem@davemloft.net>
44357 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44359 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44361 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44362 (elf_irel): Use it.
44363 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44364 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44365 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44366 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44367 * sysdeps/x86_64/dl-irel.h: Likewise.
44369 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44370 * elf/dl-sym.c: Likewise.
44372 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44374 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44375 need to dereference resplen2.
44377 2011-06-14 Andreas Schwab <schwab@redhat.com>
44379 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44381 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44383 * Makeconfig: Define vardbdir and inst_vardbdir.
44384 * nss/Makefile: Add rules to install db-Makefile.
44386 * nss/nss_db/db-XXX.c: Cleanup.
44388 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44389 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44391 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44392 * nss/makedb.c: Implement -g option to specify that value strings
44393 are generated and should not be added to table iterated over for
44395 * nss/nss_db/db-initgroups.c: New file.
44397 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44400 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44401 (internal_getgrouplist): Adjust to name change.
44402 Update use_initgroups_entry if this is not the first call.
44403 * nss/databases.def: Add initgroups entry.
44405 * nss/makedb.c (compute_tables): Check result of multiple hash table
44406 sizes to minimize maximum chain length.
44408 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44410 * Versions.def: Add entry for libnss_db.
44411 * shlib-versions: Likewise.
44412 * nss/Makefile: Add rules to build libnss_db.
44413 * nss/Versions: Add libnss_db information. Organize libnss_files
44415 * nss/db-Makefile: Add gshadow support. Change rules for the new
44416 makedb progra. Some minor improvements to generate smaller files.
44417 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44419 * nss/makedb.c: ...here.
44420 Improve database format to be smaller and require less memory at
44422 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44424 * nss/nss_db/db-netgrp.c: Likewise.
44425 * nss/nss_db/db-open.c: Likewise.
44426 * nss/nss_files/flies-XXX.x: Adjust comments.
44427 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44428 * nss/nss_files/files-grp.c: Likewise.
44429 * nss/nss_files/files-hosts.c: Likewise.
44430 * nss/nss_files/files-network.c: Likewise.
44431 * nss/nss_files/files-proto.c: Likewise.
44432 * nss/nss_files/files-pwd.c: Likewise.
44433 * nss/nss_files/files-rpc.c: Likewise.
44434 * nss/nss_files/files-service.c: Likewise.
44435 * nss/nss_files/files-sgrp.c: Likewise.
44436 * nss/nss_files/files-spwd.c: Likewise.
44437 * nss/nss_db/db-alias.c: Removed.
44438 * nss/nss_db/dummy-db.h: Removed.
44440 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44442 * nss/makedb.c: Rewritten to not use database library.
44443 * nss/Makefile: Update to build new makedb program.
44445 2011-06-14 Andreas Jaeger <aj@suse.de>
44447 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44448 memset declaration.
44450 2011-06-10 Andreas Schwab <schwab@redhat.com>
44452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44455 2011-06-10 Roland McGrath <roland@hack.frob.com>
44457 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44458 * elf/Makefile ($(objpfx)ld.so): Likewise.
44460 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44461 Don't list ld.so twice in dependencies.
44463 * posix/bug-regex31.c: Include <stdlib.h>.
44465 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44467 * nis/nss_compat/compat-spwd.c
44468 (getspent_next_nss_netgr): Remove unused variable.
44469 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44471 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44472 nonmembers" output to use the right array.
44474 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44476 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44478 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44479 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44480 * catgets/gencat.c (read_input_file): Likewise.
44481 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44483 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44484 variable definition inside #if's controlling its use.
44486 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44488 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44490 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44492 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44495 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44497 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44498 * configure: Regenerated.
44500 * Makerules: Revert last change.
44501 * elf/Makefile: Likewise.
44503 2011-06-09 Roland McGrath <roland@hack.frob.com>
44505 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44506 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44507 (reloc-link): Likewise.
44509 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44511 * elf/Makefile: Add rules to build pldd.
44512 * elf/pldd.c: New file.
44513 * elf/pldd-xx.c: New file.
44515 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44517 * version.h: Update for 2.15 development version.
44519 2011-06-07 David S. Miller <davem@davemloft.net>
44521 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44524 elf_machine_lazy_rel): Likewise.
44525 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44527 elf_machine_lazy_rel): Likewise.
44528 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44529 dl_hwcap via passed in argument.
44530 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44533 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44535 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44537 2011-06-06 Roland McGrath <roland@hack.frob.com>
44540 * manual/fdl-1.1.texi: New file, verbatim from:
44541 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44542 * manual/lgpl-2.1.texi: New file, verbatim from:
44543 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44544 * manual/Makefile (licenses): New variable, list those new file names.
44546 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44548 * manual/fdl.texi: File removed.
44549 * manual/lesser.texi: File removed.
44550 * manual/libc.texinfo (Copying, Documentation License):
44551 Use new @include file names, put @appendix directive before @include.
44553 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44556 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44557 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44558 (mq_open): Add __NTH.
44560 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44563 Assume Intel Core i3/i5/i7 processor if AVX is available.
44565 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44570 2011-05-31 Andreas Schwab <schwab@redhat.com>
44572 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44573 memory. Use alloca_account. Fix memory leak when retrying.
44575 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44577 * version.h (RELEASE): Bump for 2.14 release.
44578 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44580 * config.make.in (RANLIB): Remove entry.
44582 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44584 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44585 (libc.pot): Work around missing support for .ksh extension in xgettext.
44588 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44589 if both request failed.
44590 (send_dg): In case of server errors clear resplen or *resplen2.
44593 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44594 when there are multiple maps.
44595 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44596 (_dl_fini): Remove test here.
44598 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44600 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44603 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44604 bit from old_res_options.
44605 (gaih_inet): Likewise.
44608 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44611 * resolv/res_init.c (res_setoptions): Make the code more compact.
44614 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44618 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44620 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44623 * malloc/malloc.h: Declare malloc hook variables as volatile.
44625 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44629 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44630 raise in the comment.
44631 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44632 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44633 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44635 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44638 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44639 grow the buffers more if it already has to be sufficient.
44640 (build_wcs_upper_buffer): Likewise.
44641 * posix/regexec.c (check_matching): Likewise.
44642 (clean_state_log_if_needed): Likewise.
44643 (extend_buffers): Don't enlarge buffers beyond size of the input
44645 Patches mostly by Emil Wojak <emil@wojak.eu>.
44646 * posix/bug-regex32.c: New file.
44647 * posix/Makefile (tests): Add bug-regex32.
44649 * locale/findlocale.c (_nl_find_locale): Return right away if
44650 _nl_explode_name failed.
44651 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44653 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44655 * debug/xtrace.sh: Unify messages.
44656 * malloc/memusage.sh: Likewise.
44659 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44660 time symbol from vDSO. Substitute with vsyscall if not available.
44661 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44664 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44665 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44666 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44667 Add sendmmsg and internal_sendmmsg.
44668 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44669 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44672 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44673 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44676 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44679 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44680 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44682 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44686 * iconvdata/Makefile (tests): Add bug-iconv9.
44687 * iconvdata/bug-iconv9.c: New file.
44689 2011-05-27 Andreas Schwab <schwab@redhat.com>
44692 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44694 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44697 (struct user_regs_struct): Change intcs field back to cs.
44699 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44701 * po/ja.po: Update from translation team.
44703 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44706 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44707 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44709 2011-05-20 Andreas Schwab <schwab@redhat.com>
44711 * stdlib/longlong.h: Update from GCC.
44713 2011-05-23 Andreas Schwab <schwab@redhat.com>
44715 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44717 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44718 Add parameter name.
44719 (__sysconf): Pass it down.
44721 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44724 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44726 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44727 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44728 add in in __libc_use_alloca calls. Adjust callers.
44729 (glob): Use malloc in some situations.
44731 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44732 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44735 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44737 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44738 and CLOCK_BOOTTIME_ALARM.
44741 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44744 * string/_strerror.c (__strerror_r): Print negative errors as signed
44748 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44749 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44750 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44752 * configure.in: Fix typo in redirection and correct removal of test
44753 files in two cases.
44756 * locale/setlocale.c (new_composite_name): Fix test to check for
44757 identical name of all categories.
44760 * libio/filedoalloc.c (local_isatty): New function.
44761 (_IO_file_doallocate): Use local_isatty.
44762 * stdio-common/perror.c (perror): In case a new stream is used
44763 forward the stream error.
44764 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44767 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44772 * include/alloca.h (extend_alloca_account): Define.
44775 * posix/regex.h: Fix comments with documentation of user-accessible
44776 fields after compilation and describe correct free'ing of pattern
44777 after re_compile_pattern.
44778 Patch by Reuben Thomas <rrt@sc3d.org>.
44780 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44782 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44783 and -mno-altivec to prevent the compiler from using Altivec and/or
44784 VSX instructions when the corresponding registers are not available.
44786 2011-05-19 Andreas Schwab <schwab@redhat.com>
44788 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44790 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44792 * libio/freopen.c (freopen): Use __dup2, not dup2.
44793 * libio/freopen64.c (freopen64): Likewise.
44795 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44798 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44799 * math/Makefile (tests): Add test-powl.
44800 (CFLAGS-test-powl.c): Define.
44801 * math/test-powl.c: New file.
44803 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44805 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44807 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44810 * iconvdata/gb18030.c: Update to GB18020-2005.
44812 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44814 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44815 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44816 Patch by Aharon Robbins <arnold@skeeve.com>.
44819 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44823 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44824 through underflows.
44827 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44828 point to strings before performing equality test for error_one_per_line
44832 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44836 (struct user_fpregs_struct): Avoid __uint*_t types.
44839 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44840 symbol info. Use it instead of calling _dl_addr locally.
44841 (lock_and_info): New function.
44842 (tr_freehook): Call lock_and_info and pass symbol info as additional
44843 parameter to tr_where.
44844 (tr_mallochook): Likewise.
44845 (tr_reallochook): Likewise.
44846 (tr_memalignhook): Likewise.
44848 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44849 used and couldn't be at all thread-safe.
44851 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44853 * libio/freopen.c (freopen): Don't close old file descriptor
44854 before the new one is opened. Instead dup the new file descriptor
44855 to the old one after the new stream is created.
44856 * libio/freopen64.c (freopen64): Likewise.
44857 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44858 * libio/fileops.c (_IO_new_file_close_it): Handle new
44859 _IO_FLAGS2_NOCLOSE flag.
44860 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44861 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44862 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44863 _IO_FLAGS2_NOCLOSE flag.
44864 * include/unistd.h: Add hidden_proto for dup3.
44865 Define __have_dup3.
44866 * io/dup3.c: Define hidden symbol.
44867 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44870 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44871 when an incomplete long option is used.
44872 * posix/tst-getopt_long1.c: New file.
44873 * posix/Makefile (tests): Add tst-getopt_long1.
44876 * scripts/config.guess: Update from autoconf-2.68.
44877 * scripts/config.sub: Likewise.
44880 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44882 (has_cpuclock): ...this. New function.
44883 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44884 macro here based on has_cpuclock code.
44887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44888 First byte (not low byte) is now always NUL.
44889 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44892 Use non-cancelable interfaces.
44895 * locale/iso-639.def: Add entry for Sorani.
44898 * include/stdlib.h: Move include protection to the right place.
44899 Define abort_msg_s. Declare __abort_msg with it.
44900 * stdlib/abort.c (__abort_msg): Adjust type.
44901 * assert/assert.c (__assert_fail_base): New function. Majority
44902 of code from __assert_fail. Allocate memory for __abort_msg with
44904 (__assert_fail): Now call __assert_fail_base.
44905 * assert/assert-perr.c: Remove bulk of implementation. Use
44906 __assert_fail_base.
44907 * include/assert.hL Declare __assert_fail_base.
44908 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44910 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44912 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44916 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44917 until all modules are registered in the DTV.
44918 * elf/Makefile: Add rules to build and run tst-tls19.
44919 * elf/tst-tls19.c: New file.
44920 * elf/tst-tls19mod1.c: New file.
44921 * elf/tst-tls19mod2.c: New file.
44922 * elf/tst-tls19mod3.c: New file.
44923 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44926 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44930 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44931 two-byte sequence errors.
44932 * iconvdata/Makefile (tests): Add bug-iconv8.
44933 * iconvdata/bug-iconv8.c: New file.
44936 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44939 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44942 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44943 (dummy_getcfa): New function.
44944 (init): Get _Unwind_GetCFA address, use dummy if not found.
44945 (backtrace_helper): In recursion check, also check whether CFA changes.
44946 (__backtrace): Completely initialize arg.
44948 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44949 storing incomplete byte sequence in state object. Avoid testing for
44950 guaranteed too small input if we know there is enough data available.
44952 2011-05-11 Andreas Schwab <schwab@redhat.com>
44954 * Makeconfig (+link-pie): Indent.
44955 * Rules (binaries-pie): Define if $(have-fpie) and
44957 (binaries-shared): Also filter out $(binaries-pie).
44958 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44959 * nscd/Makefile (others-pie): Add nscd.
44960 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44961 ($(objpfx)nscd): Remove command override.
44962 * login/Makefile (others-pie): Add pt_chown.
44963 ($(objpfx)pt_chown): Remove command override.
44964 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44965 remove command overrides.
44967 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44969 * libio/tst_putwc.c: Fix error messages.
44972 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44973 currently writing and seek to current position when not.
44974 * libio/Makefile (tests): Add bug-fclose1.
44975 * libio/bug-fclose1.c: New file.
44977 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44980 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44981 don't set DF_1_NODELETE here.
44982 (do_lookup_x): When entering new entry test for copy relocation
44983 and if necessary set DF_1_NODELETE flag.
44984 * elf/tst-unique4.cc: New file.
44985 * elf/tst-unique4.h: New file.
44986 * elf/tst-unique4lib.cc: New file.
44987 * elf/Makefile: Add rules to build and run tst-unique4.
44988 Patch by Piotr Bury <pbury@goahead.com>.
44990 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44993 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44996 * misc/mntent_r.c (addmntent): Flush the stream after the output
44999 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45000 (is_trusted_path_normalize): Skip initial colon. Append slash
45001 to empty buffer. Duplicate is_trusted_path code but allow
45002 constructed patch to be prefix.
45003 (is_dst): Allow $ORIGIN followed by /.
45004 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45005 Correct testing of result of is_trusted_path_normalize
45006 (decompose_rpath): Fix warning.
45008 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45011 * grp/initgroups.c (internal_getgrouplist): When we found the service
45012 list through the initgroups entry in nsswitch.conf do not always
45013 continue on a successful lookup. Don't always use the
45014 __nss_group_database value if it is set.
45015 * nss/nsswitch.conf (initgroups): Change action for successful db
45016 lookup to continue for compatibility.
45018 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45021 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45023 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45025 * iconvdata/tst-tables.sh: Likewise.
45026 * iconvdata/cp770.c: New file.
45027 * iconvdata/cp771.c: New file.
45028 * iconvdata/cp772.c: New file.
45029 * iconvdata/cp773.c: New file.
45030 * iconvdata/cp774.c: New file.
45031 * iconvdata/testdata/CP770: New file.
45032 * iconvdata/testdata/CP770..UTF8: New file.
45033 * iconvdata/testdata/CP771: New file.
45034 * iconvdata/testdata/CP771..UTF8: New file.
45035 * iconvdata/testdata/CP772: New file.
45036 * iconvdata/testdata/CP772..UTF8: New file.
45037 * iconvdata/testdata/CP773: New file.
45038 * iconvdata/testdata/CP773..UTF8: New file.
45039 * iconvdata/testdata/CP774: New file.
45040 * iconvdata/testdata/CP774..UTF8: New file.
45042 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45044 * iconvdata/gen-8bit-gap.sh: Likewise.
45045 * iconvdata/gen-8bit.sh: Likewise.
45047 * locale/iso-639.def: Add ary entry.
45050 * locale/C-translit.h.in: Add U20A1 transliteration.
45053 * locale/iso-639.def: Add wae entry.
45054 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45057 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45061 * locale/C-translit.h.in: Add entry for U20B9.
45062 Patch by pravin.d.s@gmail.com.
45064 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45067 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45068 ENAMETOOLONG use generic getcwd.
45069 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45070 in rtld. Use *stat64.
45071 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45072 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45073 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45074 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45075 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45076 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45077 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45078 __fstatat64 macros.
45079 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45080 * dirent/rewinddir.c: Add libc_hidden_def.
45081 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45082 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45084 * include/dirent.h (__alloc_dir): Add flags parameter.
45085 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45086 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45088 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45089 from fdopendir if O_CLOEXEC is already set.
45091 2011-03-15 Alan Modra <amodra@gmail.com>
45093 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45094 l_tls_firstbyte_offset non-zero. Save padding offset in
45095 l_tls_firstbyte_offset for later use.
45096 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45097 freeing static tls block.
45099 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45101 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45102 where #ifdef was intended. The intent is to prevent ARG_MAX from
45103 being defined by the kernel headers.
45105 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45108 * resolv/resolv.h: Define RES_NOTLDQUERY.
45109 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45110 no-tld-query and set RES_NOTLDQUERY.
45111 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45112 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45113 modern BIND to search name as TLD unless forbidden.
45115 2011-05-07 Petr Baudis <pasky@suse.cz>
45116 Ulrich Drepper <drepper@gmail.com>
45119 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45120 (is_trusted_path): ...to here.
45121 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45122 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45123 using is_trusted_path_normalize() in setuid scripts.
45125 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45127 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45128 __BEGIN/__END_DECLS.
45130 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45133 NSS_STATUS_NOTFOUND if no record was found.
45135 2011-05-05 Andreas Schwab <schwab@redhat.com>
45137 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45138 (headers-not-in-tirpc): Remove rpc/netdb.h
45139 * resolv/netdb.h: Revert last change.
45141 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45143 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45144 circular dependency between libgcc.a and libc.a.
45146 2011-05-05 Andreas Schwab <schwab@redhat.com>
45148 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45149 * nis/Makefile: Don't install rpcsvc/*.
45150 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45151 instead of <rpc/types.h>.
45152 (MAXHOSTNAMELEN): Define.
45154 2011-05-03 Andreas Schwab <schwab@redhat.com>
45156 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45158 2011-04-28 Maciej Babinski <mbabinski@google.com>
45161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45162 gethostbyname4_r when IPv6 results are possible.
45164 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45167 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45168 _PC_PIPE_BUF handling.
45170 2011-04-30 Bruno Haible <bruno@clisp.org>
45173 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45174 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45176 * inet/getnameinfo.c (getnameinfo): Likewise.
45178 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45180 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45181 to groups setting in database lookup.
45182 * nss/nsswitch.conf: Add initgroups entry.
45184 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45187 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45189 Patch by Eric Blake <eblake@redhat.com>.
45191 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45193 * sunrpc/Makefile (need-export-routines): Add svc_run.
45194 (routines): Remove svc_run.
45195 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45196 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45197 * sunrpc/svc_run.c (svc_run): Likewise.
45198 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45200 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45203 problem in reallocation in last patch.
45205 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45207 * sunrpc/Makefile: Move inclusion of Rules.
45209 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45211 * nss/nss_files/files-initgroups.c: New file.
45212 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45213 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45214 _nss_files_initgroups_dyn.
45216 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45218 * elf/elf.h (R_ARM_IRELATIVE): Define.
45220 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45222 * po/ru.po: Update from translation team.
45224 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45226 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45229 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45232 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45233 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45234 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45236 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45238 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45240 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45242 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45246 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45249 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45251 * stdlib/bug-getcontext.c: New file.
45252 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45254 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45256 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45257 instructions into .machine "z9-109".
45258 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45259 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45261 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45263 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45264 between environment variables and auxiliary vector.
45266 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45268 * Makefile: Add rules to build linkobj/libc.so.
45269 * include/libc-symbols.h: Define libc_hidden_nolink.
45270 * include/rpc/auth.h: Mark functions which are to be hidden.
45271 * include/rpc/auth_des.h: Likewise.
45272 * include/rpc/auth_unix.h: Likewise.
45273 * include/rpc/clnt.h: Likewise.
45274 * include/rpc/des_crypt.h: Likewise.
45275 * include/rpc/key_prot.h: Likewise.
45276 * include/rpc/pmap_clnt.h: Likewise.
45277 * include/rpc/pmap_prot.h: Likewise.
45278 * include/rpc/pmap_rmt.h: Likewise.
45279 * include/rpc/rpc_msg.h: Likewise.
45280 * include/rpc/svc.h: Likewise.
45281 * include/rpc/svc_auth.h: Likewise.
45282 * include/rpc/xdr.h: Likewise.
45283 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45284 * nss/Makefile: Likewise.
45285 * sunrpc/Makefile: Don't install headers. Build library with normal
45286 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45287 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45288 for the compat linking library. Remove use of INTDEF/INTUSE.
45289 * sunrpc/auth_none.c: Likewise.
45290 * sunrpc/auth_unix.c: Likewise.
45291 * sunrpc/authdes_prot.c: Likewise.
45292 * sunrpc/authuxprot.c: Likewise.
45293 * sunrpc/clnt_gen.c: Likewise.
45294 * sunrpc/clnt_perr.c: Likewise.
45295 * sunrpc/clnt_raw.c: Likewise.
45296 * sunrpc/clnt_simp.c: Likewise.
45297 * sunrpc/clnt_tcp.c: Likewise.
45298 * sunrpc/clnt_udp.c: Likewise.
45299 * sunrpc/clnt_unix.c: Likewise.
45300 * sunrpc/des_crypt.c: Likewise.
45301 * sunrpc/des_soft.c: Likewise.
45302 * sunrpc/get_myaddr.c: Likewise.
45303 * sunrpc/key_call.c: Likewise.
45304 * sunrpc/key_prot.c: Likewise.
45305 * sunrpc/netname.c: Likewise.
45306 * sunrpc/pm_getmaps.c: Likewise.
45307 * sunrpc/pm_getport.c: Likewise.
45308 * sunrpc/pmap_clnt.c: Likewise.
45309 * sunrpc/pmap_prot.c: Likewise.
45310 * sunrpc/pmap_prot2.c: Likewise.
45311 * sunrpc/pmap_rmt.c: Likewise.
45312 * sunrpc/publickey.c: Likewise.
45313 * sunrpc/rpc_cmsg.c: Likewise.
45314 * sunrpc/rpc_common.c: Likewise.
45315 * sunrpc/rpc_dtable.c: Likewise.
45316 * sunrpc/rpc_prot.c: Likewise.
45317 * sunrpc/rpc_thread.c: Likewise.
45318 * sunrpc/rtime.c: Likewise.
45319 * sunrpc/svc.c: Likewise.
45320 * sunrpc/svc_auth.c: Likewise.
45321 * sunrpc/svc_authux.c: Likewise.
45322 * sunrpc/svc_raw.c: Likewise.
45323 * sunrpc/svc_run.c: Likewise.
45324 * sunrpc/svc_simple.c: Likewise.
45325 * sunrpc/svc_tcp.c: Likewise.
45326 * sunrpc/svc_udp.c: Likewise.
45327 * sunrpc/svc_unix.c: Likewise.
45328 * sunrpc/svcauth_des.c: Likewise.
45329 * sunrpc/xcrypt.c: Likewise.
45330 * sunrpc/xdr.c: Likewise.
45331 * sunrpc/xdr_array.c: Likewise.
45332 * sunrpc/xdr_float.c: Likewise.
45333 * sunrpc/xdr_intXX_t.c: Likewise.
45334 * sunrpc/xdr_mem.c: Likewise.
45335 * sunrpc/xdr_rec.c: Likewise.
45336 * sunrpc/xdr_ref.c: Likewise.
45337 * sunrpc/xdr_sizeof.c: Likewise.
45338 * sunrpc/xdr_stdio.c: Likewise.
45340 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45343 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45344 * sysdeps/ia64/dl-tls.h: Likewise.
45345 * sysdeps/powerpc/dl-tls.h: Likewise.
45346 * sysdeps/s390/dl-tls.h: Likewise.
45347 * sysdeps/sh/dl-tls.h: Likewise.
45348 * sysdeps/sparc/dl-tls.h: Likewise.
45349 * sysdeps/x86_64/dl-tls.h: Likewise.
45350 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45352 2011-03-14 Andreas Schwab <schwab@redhat.com>
45354 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45355 rpath element also skip the following colon.
45356 (expand_dynamic_string_token): Add is_path parameter and pass
45357 down to DL_DST_REQUIRED and _dl_dst_substitute.
45358 (decompose_rpath): Call expand_dynamic_string_token with
45359 non-zero is_path. Ignore empty rpaths.
45360 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45363 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45368 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45371 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45372 Patch by Filipe David Manana <fdmanana@apache.org>.
45374 2011-04-07 Andreas Schwab <schwab@redhat.com>
45376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45377 Maintain aligned stack.
45378 (CHECK_RSP): Remove unused macro.
45380 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45382 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45383 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45385 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45387 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45389 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45391 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45394 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45395 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45396 * sysdeps/x86_64/memmove.c: New file.
45397 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45398 (memcpy): Renamed to ...
45399 (__new_memcpy): This.
45400 (memcpy): Provide GLIBC_2_14 memcpy.
45401 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45402 (memcpy): Provide GLIBC_2_2_5 memcpy.
45404 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45407 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45409 2011-03-30 Andreas Schwab <schwab@redhat.com>
45411 * misc/syncfs.c: New file.
45412 * misc/Makefile (routines): Add syncfs.
45413 * posix/unistd.h: Declare syncfs.
45414 * sysdeps/unix/syscalls.list: Add syncfs.
45416 2011-04-01 Andreas Schwab <schwab@redhat.com>
45418 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45420 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45421 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45423 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45425 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45428 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45431 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45432 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45438 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45439 sync_file_range.c with -fexceptions.
45440 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45441 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45442 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45443 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45444 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45445 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45447 sync_file_range as cancellation point
45448 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45449 now a wrapper around __call_sync_file_range with cancellation handling.
45450 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45451 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45452 function name to __call_sync_file_range.
45453 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45454 Add call_sync_file_range.
45456 2011-04-01 Andreas Schwab <schwab@redhat.com>
45458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45461 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45463 * iconv/iconv.h: Fix typo in comment.
45464 * io/fcntl.h: Likewise.
45465 * libio/stdio.h: Likewise.
45466 * posix/spawn.h: Likewise.
45467 * posix/unistd.h: Likewise.
45468 * stdlib/stdlib.h: Likewise.
45469 * time/time.h: Likewise.
45470 * wcsmbs/wchar.h: Likewise.
45472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45473 open_by_handle): Add.
45474 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45475 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45476 Augment a few comments.
45477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45479 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45482 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45485 * io/fcntl.h (AT_EMPTY_PATH): Define.
45487 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45489 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45490 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45491 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45493 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45494 * Versions.def: Add GLIBC_2.14.
45495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45498 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45500 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45502 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45504 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45507 * string/test-strncmp.c (do_page_test): New function.
45508 (check2): Likewise.
45509 (test_main): Call check2.
45510 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45512 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45515 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45516 Handle cache information in CPU leaf 4.
45517 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45519 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45522 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45523 character representation.
45524 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45526 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45528 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45529 END(__isnan) to END(__isnanf) to match function entry point/label
45530 EALIGN(__isnanf,...).
45532 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45534 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45536 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45539 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45540 copy from the symbol referenced in the relocation to initialize the
45542 Patch by Piotr Bury <pbury@goahead.com>.
45543 * elf/Makefile: Add rules to build and tst-unique3.
45544 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45545 * elf/tst-unique3.cc: New file.
45546 * elf/tst-unique3.h: New file.
45547 * elf/tst-unique3lib.cc: New file.
45548 * elf/tst-unique3lib2.cc: New file.
45550 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45552 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45554 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45555 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45558 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45560 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45561 to-be-loaded object along a path to loader is ld.so.
45563 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45564 Ulrich Drepper <drepper@gmail.com>
45566 * sysdeps/x86_64/memset.S: After aligning destination, code
45567 branches to different locations depending on the value of
45568 misalignment, when multiarch is enabled. Fix this.
45570 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45572 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45573 Set _x86_64_preferred_memory_instruction for AMD processsors.
45574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45575 Set bit_Prefer_SSE_for_memop for AMD processors.
45577 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45579 * libio/fmemopen.c (fmemopen): Optimize a bit.
45581 2011-03-03 Andreas Schwab <schwab@redhat.com>
45583 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45585 2011-03-03 Roland McGrath <roland@redhat.com>
45587 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45589 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45591 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45592 __bzero_ultra1 instead of __memset_ultra1.
45594 2011-02-23 Andreas Schwab <schwab@redhat.com>
45595 Ulrich Drepper <drepper@gmail.com>
45598 * include/link.h (struct link_map): Add l_orig_initfini.
45599 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45600 returning unsuccessfully.
45601 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45602 close of a file loaded at startup, restore the original l_initfini
45604 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45605 list, store the pointer.
45606 * elf/Makefile ($(objpfx)noload-mem): New rule.
45607 (noload-ENV): Define.
45608 (tests): Add $(objpfx)noload-mem.
45609 * elf/noload.c: Include <memcheck.h>.
45610 (main): Call mtrace. Close all opened handles.
45612 2011-02-17 Andreas Schwab <schwab@redhat.com>
45615 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45616 dependencies are missing.
45618 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45620 Fix __if_freereq crash: Unlike the generic version which uses free,
45622 * sysdeps/mach/hurd/ifreq.h: New file.
45624 2011-01-27 Petr Baudis <pasky@suse.cz>
45625 Ulrich Drepper <drepper@gmail.com>
45628 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45629 to extend_alloca().
45630 * stdio-common/bug23.c: New file.
45631 * stdio-common/Makefile (tests): Add bug23.
45633 2010-09-28 Andreas Schwab <schwab@redhat.com>
45634 Ulrich Drepper <drepper@gmail.com>
45637 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45638 before performing relro protection. At old place add assertion
45639 to make sure nothing changed.
45641 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45642 Glauber de Oliveira Costa <glommer@gmail.com>
45644 * elf/elf.h: Add new ARM TLS relocs.
45646 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45649 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45651 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45653 * sysdeps/wordsize-64/tst-writev.c: New file.
45655 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45657 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45658 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45659 insns in _dl_start to prevent a TOC reference before relocs are
45662 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45665 * Makeconfig: Remove RANLIB definition.
45666 * Makerules: Don't use RANLIB.
45667 * aclocal.m4: Remove ranlib test.
45668 * configure.in: No need to check for ranlib.
45669 * elf/rtld-Rules: Don't use RANLIB.
45671 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45673 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45675 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45676 inclusion protection macro.
45678 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45679 SIGRTMIN and SIGRTMAX and print information in that case only when
45680 SIGRTMIN is defined.
45682 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45684 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45685 arginfo fn returning -1.
45687 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45688 and thousands string is zero terminated.
45690 2011-02-03 Andreas Schwab <schwab@redhat.com>
45692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45693 sysdeps/unix/sysv/linux/bits/socket.h.
45695 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45697 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45698 (__CPU_COUNT): Remove old macros.
45699 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45700 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45701 (__CPU_ALLOC, __CPU_FREE): Add macros.
45702 (__sched_cpualloc, __sched_cpufree): Add declarations.
45704 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45706 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45707 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45708 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45709 (readdhstai): Return value of addhstaiX call.
45710 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45711 (addgrbyX): Return value returned by cache_addgr.
45712 (readdgrbyname): Return value returned by addgrbyX.
45713 (readdgrbygid): Likewise.
45714 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45715 (addpwbyX): Return value returned by cache_addpw.
45716 (readdpwbyname): Return value returned by addhstbyX.
45717 (readdpwbyuid): Likewise.
45718 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45719 (addservbyX): Return value returned by cache_addserv.
45720 (readdservbyname): Return value returned by addservbyX:
45721 (readdservbyport): Likewise.
45722 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45723 (addhstbyX): Return value returned by cache_addhst.
45724 (readdhstbyname): Return value returned by addhstbyX.
45725 (readdhstbyaddr): Likewise.
45726 (readdhstbynamev6): Likewise.
45727 (readdhstbyaddrv6): Likewise.
45728 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45729 (readdinitgroups): Return value returned by addinitgroupsX.
45730 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45731 (prune_cache): Keep track of timeout value of re-added entries.
45732 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45733 * nscd/nscd.h: Adjust prototypes of readd* functions.
45735 2011-02-04 Roland McGrath <roland@redhat.com>
45737 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45738 (nis_stats): Likewise.
45739 * nis/nis_modify.c (nis_modify): Likewise.
45740 * nis/nis_remove.c (nis_remove): Likewise.
45741 * nis/nis_add.c (nis_add): Likewise.
45743 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45745 * posix/fnmatch_loop.c: Add some consts.
45747 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45749 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45752 * config.make.in (config-cflags-novzeroupper): Define.
45753 * configure.in: Substitute libc_cv_cc_novzeroupper.
45754 * elf/Makefile (AVX-CFLAGS): Define.
45755 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45756 (CFLAGS-tst-auditmod4a.c): Likewise.
45757 (CFLAGS-tst-auditmod4b.c): Likewise.
45758 (CFLAGS-tst-auditmod6b.c): Likewise.
45759 (CFLAGS-tst-auditmod6c.c): Likewise.
45760 (CFLAGS-tst-auditmod7b.c): Likewise.
45761 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45763 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45765 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45766 function to the callback.
45767 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45769 2011-02-02 Andreas Schwab <schwab@redhat.com>
45771 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45774 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45777 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45779 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45781 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45784 * elf/Makefile: Add rules to build and run new test.
45785 * elf/tst-initorder.c: New file.
45786 * elf/tst-initorder.exp: New file.
45787 * elf/tst-initordera1.c: New file.
45788 * elf/tst-initordera2.c: New file.
45789 * elf/tst-initordera3.c: New file.
45790 * elf/tst-initordera4.c: New file.
45791 * elf/tst-initorderb1.c: New file.
45792 * elf/tst-initorderb2.c: New file.
45793 * elf/tst-order-a1.c: New file.
45794 * elf/tst-order-a2.c: New file.
45795 * elf/tst-order-a3.c: New file.
45796 * elf/tst-order-a4.c: New file.
45797 * elf/tst-order-b1.c: New file.
45798 * elf/tst-order-b2.c: New file.
45799 * elf/tst-order-main.c: New file.
45800 New test case by George Gensure <werkt0@gmail.com>.
45802 2010-10-01 Andreas Schwab <schwab@redhat.com>
45804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45805 decoding ACE if AI_CANONIDN.
45807 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45809 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45811 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45813 * version.h (RELEASE): Bump for 2.13 release.
45814 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45816 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45818 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45820 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45821 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45822 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45823 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45824 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45825 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45827 * posix/getconf.c: Update copyright year.
45828 * catgets/gencat.c: Likewise.
45829 * csu/version.c: Likewise.
45830 * debug/catchsegv.sh: Likewise.
45831 * debug/xtrace.sh: Likewise.
45832 * elf/ldconfig.c: Likewise.
45833 * elf/ldd.bash.in: Likewise.
45834 * elf/sprof.c (print_version): Likewise.
45835 * iconv/iconv_prog.c: Likewise.
45836 * iconv/iconvconfig.c: Likewise.
45837 * locale/programs/locale.c: Likewise.
45838 * locale/programs/localedef.c: Likewise.
45839 * malloc/memusage.sh: Likewise.
45840 * malloc/mtrace.pl: Likewise.
45841 * nscd/nscd.c (print_version): Likewise.
45842 * nss/getent.c: Likewise.
45844 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45845 PF_CAIF, and PF_ALG.
45846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45848 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45850 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45851 (modules-names): Use them.
45852 (ifunc-test-modules, ifunc-pie-tests): Define.
45853 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45854 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45855 (test-extras): Likewise.
45856 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45857 $(compile-command.c).
45858 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45859 (all-built-dso): Define.
45860 (check-textrel.out, check-execstack.out): Depend on it.
45862 * configure.in: Don't override --enable-multi-arch.
45864 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45867 * nscd/hstcache.c (tryagain): Define.
45868 (cache_addhst): Return tryagain not notfound for temporary errors.
45869 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45872 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45875 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45876 to make the syscall.
45877 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45880 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45881 and fall back to matching as normal character if the string ends before
45882 the matching ']' is found. This is what POSIX requires.
45883 * posix/testfnm.c: Adjust test result.
45884 * posix/globtest.sh: Adjust test result. Add new test.
45885 * posix/tst-fnmatch.input: Likewise.
45886 * posix/tst-fnmatch2.c: Add new test.
45888 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45890 * elf/Makefile (check-execstack): Revert last change. Depend on
45892 (check-execstack.h): New target.
45893 (generated): Add check-execstack.h.
45894 * elf/check-execstack.c: Include "check-execstack.h".
45895 (main): Revert last change.
45896 (handle_file): Return zero if GNU_STACK is absent and
45897 DEFAULT_STACK_PERMS doesn't include PF_X.
45899 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45901 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45902 in child fails because the descriptor is already closed.
45903 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45904 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45905 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45908 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45912 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45913 temporary buffer used to handle multi lookups locally.
45914 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45916 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45918 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45921 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45923 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45924 alignment for SSE2.
45926 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45929 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45930 characters. When rounding increased number of integer digits recompute
45932 * stdio-common/tst-grouping.c: New file.
45933 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45935 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45937 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45938 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45940 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45942 * bits/select.h: Likewise.
45944 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45946 * po/ja.po: Update from translation team.
45948 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45951 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45952 implementation just like for lxstat, fxstatat, et al.
45954 2010-12-27 Jim Meyering <meyering@redhat.com>
45957 * posix/regexec.c (build_trtable): Return failure indication upon
45958 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45960 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45963 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45964 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45965 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45966 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45969 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45972 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45973 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45975 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45977 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45978 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45979 script has SORT_BY_INIT_PRIORITY.
45980 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45981 NO_CTORS_DTORS_SECTIONS is defined.
45982 * elf/soinit.c: Likewise.
45983 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45984 NO_CTORS_DTORS_SECTIONS is defined.
45985 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45986 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45987 * sysdeps/sh/init-first.c: Likewise.
45988 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45990 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45992 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45993 always use the slow path.
45995 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45997 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45998 similar rule which adds the sysdep directories to the header search in
45999 order to pick up the correct platform stackinfo.h.
46000 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46001 perform test if it is, otherwise return successfully without testing.
46002 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46003 DEFAULT_STACK_PERMS define in stackinfo.h.
46004 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46005 defined in stackinfo.h.
46006 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46007 DEFAULT_STACK_PERMS defined in stackinfo.h.
46008 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46009 * sysdeps/ia64/stackinfo.h: Likewise.
46010 * sysdeps/s390/stackinfo.h: Likewise.
46011 * sysdeps/sh/stackinfo.h: Likewise.
46012 * sysdeps/sparc/stackinfo.h: Likewise.
46013 * sysdeps/x86_64/stackinfo.h: Likewise.
46014 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46015 PF_X for powerpc64. Retain PF_X for powerpc32.
46017 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46019 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46021 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46022 GETDENTS_64BIT_ALIGNED.
46024 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46026 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46028 2010-12-10 Andreas Schwab <schwab@redhat.com>
46030 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46033 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46034 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46036 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46037 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46039 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46042 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46045 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46047 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46049 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46051 * po/it.po: Update from translation team.
46053 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46058 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46060 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46062 2010-11-24 Andreas Schwab <schwab@redhat.com>
46064 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46066 (gaih_getanswer_slice): Likewise.
46068 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46072 2010-05-31 Petr Baudis <pasky@suse.cz>
46075 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46076 silently even in the chroot mode.
46078 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46080 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46081 last patch a bit. Pretty printing
46083 2010-05-31 Petr Baudis <pasky@suse.cz>
46086 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46087 initialization of skip_initgroups_dyn.
46089 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46091 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46094 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46096 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46098 2010-11-11 Andreas Schwab <schwab@redhat.com>
46100 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46101 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46102 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46103 ($(objpfx)tst-fnmatch-mem): New rule.
46104 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46105 * posix/tst-fnmatch.c (main): Call mtrace.
46107 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46110 Support Intel processor model 6 and model 0x2c.
46112 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46114 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46117 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46120 * string/test-strncasecmp.c (check_result): New function.
46121 (do_one_test): Use it.
46122 (check1): New function.
46123 (test_main): Use it.
46124 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46125 Support strcasecmp and strncasecmp.
46127 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46130 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46133 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46135 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46139 * sysdeps/x86_64/multiarch/bzero.S: New file.
46140 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46141 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46142 * sysdeps/x86_64/multiarch/memset.S: New file.
46143 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46145 Set bit_Prefer_SSE_for_memop for Intel processors.
46146 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46148 (index_Prefer_SSE_for_memop): Define.
46149 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46151 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46153 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46154 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46156 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46159 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46160 (__x86_64_raw_data_cache_size_half): Likewise.
46161 (__x86_64_raw_shared_cache_size): Likewise.
46162 (__x86_64_raw_shared_cache_size_half): Likewise.
46164 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46165 (__x86_64_raw_data_cache_size_half): Likewise.
46166 (__x86_64_raw_shared_cache_size): Likewise.
46167 (__x86_64_raw_shared_cache_size_half): Likewise.
46168 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46169 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46170 and __x86_64_raw_shared_cache_size_half. Round
46171 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46172 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46173 to multiple of 256 bytes.
46175 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46178 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46179 of inacessible symlinks. Verify result of symlink before returning it.
46180 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46181 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46183 2010-10-28 Erich Ritz <erichritz@gmail.com>
46185 * math/math.h (isinf): Fix typo in comment.
46187 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46189 * po/da.po: Update from translation team.
46191 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46193 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46194 is added to the list.
46196 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46197 Ulrich Drepper <drepper@gmail.com>
46199 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46200 the global list here. Move code to...
46201 (_dl_add_to_namespace_list): ...here. New function.
46202 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46203 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46204 * elf/dl-load.c (lose): Don't remove the element from the list.
46205 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46206 (_dl_map_object): Likewise.
46208 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46211 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46212 into all bytes of SSE register.
46213 Patch by Richard Li <richardpku@gmail.com>.
46215 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46218 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46221 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46223 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46224 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46226 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46231 2010-10-22 Andreas Schwab <schwab@redhat.com>
46233 * include/dlfcn.h (__RTLD_SECURE): Define.
46234 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46235 mode & __RTLD_SECURE instead.
46236 (open_path): Rename preloaded parameter to secure.
46237 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46238 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46239 * elf/dl-deps.c (openaux): Likewise.
46240 * elf/rtld.c (struct map_args): Remove is_preloaded.
46241 (map_doit): Don't use it.
46242 (dl_main): Likewise.
46243 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46244 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46246 2010-09-09 Andreas Schwab <schwab@redhat.com>
46248 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46249 (sysd-rules-targets): Remove duplicates.
46250 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46251 rtld-%.$o dependency.
46253 2010-10-18 Andreas Schwab <schwab@redhat.com>
46255 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46256 _dl_map_object do it.
46258 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46260 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46261 fast fma builtins, define the macros in the C99 standard.
46262 (FP_FAST_FMAF): Likewise.
46263 (FP_FAST_FMAL): Likewise.
46264 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46266 * bits/mathdef.h: Update copyright year.
46267 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46269 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46271 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46272 builtins, define the macros in the C99 standard.
46273 (FP_FAST_FMAF): Likewise.
46274 (FP_FAST_FMAL): Likewise.
46275 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46277 (FP_FAST_FMAF): Likewise.
46279 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46282 * math/libm-test.inc (fma_test): Some new testcases.
46283 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46285 y and infinite z. Do multiplication by C already in long double.
46286 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46288 y and infinite z. Do bitwise or of inexact bit into u.d.
46289 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46290 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46291 * sysdeps/i386/fpu/s_fma.S: Removed.
46292 * sysdeps/i386/fpu/s_fmal.S: Removed.
46294 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46297 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46299 computation is not scheduled after fetestexcept. Fix value
46300 of minimum denormal long double.
46302 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46305 * math/libm-test.inc (fma_test): Add some more tests.
46306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46309 2010-10-15 Andreas Schwab <schwab@redhat.com>
46311 * scripts/data/localplt-s390-linux-gnu.data: New file.
46312 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46314 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46317 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46318 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46320 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46322 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46324 if one of x and y is very large and the other is subnormal.
46325 * sysdeps/s390/fpu/s_fmaf.c: New file.
46326 * sysdeps/s390/fpu/s_fma.c: New file.
46327 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46328 * sysdeps/powerpc/fpu/s_fma.S: New file.
46329 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46330 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46331 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46333 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46336 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46338 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46339 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46340 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46341 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46342 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46343 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46344 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46346 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46349 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46350 * posix/bug-regex31.input: Add test case.
46352 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46354 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46355 * posix/bug-regex31.input: New file.
46358 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46359 (parse_sub_exp): Fix last change, use postorder.
46361 * posix/bug-regex31.c: New file.
46362 * posix/Makefile: Add rules to build and run bug-regex31.
46364 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46367 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46370 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46371 to have entries in sys_siglist.
46374 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46377 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46380 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46381 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46382 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46383 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46384 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46385 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46386 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46387 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46388 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46389 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46390 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46391 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46392 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46393 * math/ftestexcept.c (fetestexcept): Likewise.
46394 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46395 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46396 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46397 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46398 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46399 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46400 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46402 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46405 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46408 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46410 * string/bug-strstr1.c: New file.
46411 * string/Makefile: Add rules to build and run bug-strstr1.
46413 2010-10-05 Eric Blake <eblake@redhat.com>
46416 * string/str-two-way.h (two_way_long_needle): Always clear memory
46417 when skipping input due to the shift table.
46419 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46422 * malloc/mcheck.c: Handle large requests.
46425 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46426 for strncmp and strncasecmp.
46427 * string/stratcliff.c: Add tests for strcmp and strncmp.
46428 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46430 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46432 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46435 2010-09-30 Andreas Jaeger <aj@suse.de>
46437 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46438 (CGROUP_SUPER_MAGIC): Define.
46439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46440 Handle btrfs and cgroup file systems.
46441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46444 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46446 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46447 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46449 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46452 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46453 trying to locate the ELF header.
46455 2010-09-27 Andreas Schwab <schwab@redhat.com>
46458 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46459 Mask out sign-bit copies when constructing f_fsid.
46461 2010-09-24 Petr Baudis <pasky@suse.cz>
46463 * debug/stack_chk_fail_local.c: Add missing licence exception.
46464 * debug/warning-nop.c: Likewise.
46466 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46469 implementing getdents64 using getdents syscall, set d_type if
46470 __ASSUME_GETDENTS32_D_TYPE.
46472 2010-09-16 Andreas Schwab <schwab@redhat.com>
46474 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46475 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46477 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46480 * posix/unistd.h: Undo change of feature selection for ftruncate from
46483 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46485 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46488 2010-09-20 Andreas Schwab <schwab@redhat.com>
46490 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46492 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46494 2010-09-14 Andreas Schwab <schwab@redhat.com>
46496 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46497 variables after CHECK_SP call.
46498 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46500 2010-09-13 Andreas Schwab <schwab@redhat.com>
46501 Ulrich Drepper <drepper@redhat.com>
46503 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46504 re-relocationg ld.so.
46505 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46506 _dl_init_paths call.
46507 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46510 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46512 * resolv/res_init.c (__res_vinit): Count the default server we added.
46514 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46515 Ulrich Drepper <drepper@redhat.com>
46518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46519 (____longjmp_chk): Use %ebx for saving value across system call.
46522 2010-09-06 Andreas Schwab <schwab@redhat.com>
46524 * manual/Makefile: Don't mix pattern rules with normal rules.
46526 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46528 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46530 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46531 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46532 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46533 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46537 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46540 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46541 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46543 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46545 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46546 * sysdeps/x86_64/addmul_1.S: Likewise.
46547 * sysdeps/x86_64/lshift.S: Likewise.
46548 * sysdeps/x86_64/mul_1.S: Likewise.
46549 * sysdeps/x86_64/rshift.S: Likewise.
46550 * sysdeps/x86_64/sub_n.S: Likewise.
46551 * sysdeps/x86_64/submul_1.S: Likewise.
46553 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46555 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46556 Define __sched_param instead of SCHED_* and sched_param when
46557 <bits/sched.h> is included with __need_schedparam defined.
46558 * bits/sched.h [__need_schedparam]
46559 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46560 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46561 (__defined_schedparam): Define to 1.
46562 (__sched_param): New structure, identical to sched_param.
46563 (__need_schedparam): Undefine.
46565 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46568 (epoll_create1): Declare.
46570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46572 2010-08-31 Andreas Schwab <schwab@redhat.com>
46575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46576 shifting retval into place.
46578 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46580 * nis/rpcsvc/nis.h: Update copyright notice.
46581 * nis/rpcsvc/nis.x: Likewise.
46582 * nis/rpcsvc/nis_callback.h: Likewise.
46583 * nis/rpcsvc/nis_callback.x: Likewise.
46584 * nis/rpcsvc/nis_object.x: Likewise.
46585 * nis/rpcsvc/nis_tags.h: Likewise.
46586 * nis/rpcsvc/yp.h: Likewise.
46587 * nis/rpcsvc/yp.x: Likewise.
46588 * nis/rpcsvc/ypupd.h: Likewise.
46589 * nis/yp_xdr.c: Likewise.
46590 * nis/ypupdate_xdr.c: Likewise.
46592 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46593 mainly the body of pmap_getport. Add parameters to specify timeouts.
46594 (pmap_getport): Use __libc_rpc_getport.
46595 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46596 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46597 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46599 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46604 2010-08-27 Roland McGrath <roland@redhat.com>
46606 * sysdeps/i386/i686/multiarch/Makefile
46607 (CFLAGS-varshift.c): New variable.
46609 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46611 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46612 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46614 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46616 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46618 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46620 * sysdeps/x86_64/strlen.S: Unroll the loop.
46621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46622 strlen-sse2 strlen-sse2-bsf.
46623 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46624 __strlen_no_bsf if bit_Slow_BSF is set.
46625 (__strlen_sse42): Removed.
46626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46627 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46629 2010-08-25 Roland McGrath <roland@redhat.com>
46631 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46632 * sysdeps/x86_64/multiarch/varshift.c: New file.
46633 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46634 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46635 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46636 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46638 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46641 strlen-sse2 strlen-sse2-bsf.
46642 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46643 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46644 (__strlen_sse2): Removed.
46645 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46648 bit_Slow_BSF for Atom.
46649 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46650 (index_Slow_BSF): Define.
46651 (HAS_SLOW_BSF): Define.
46653 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46656 * resolv/res_init.c (__res_vinit): When no server address at all
46657 is given default to loopback.
46659 2010-08-24 Roland McGrath <roland@redhat.com>
46661 * configure.in: Remove config-name.h generation.
46662 * configure: Regenerated.
46663 * config-name.in: File removed.
46664 * scripts/config-uname.sh: New file.
46665 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46666 ($(objdir)config-name.h): New target.
46668 * sunrpc/rpc_parse.h: Avoid nested comment.
46670 2010-08-24 Richard Henderson <rth@redhat.com>
46671 Ulrich Drepper <drepper@redhat.com>
46672 H.J. Lu <hongjiu.lu@intel.com>
46674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46676 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46677 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46678 _mm_alignr_epi8 with _mm_loadu_si128.
46679 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46680 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46681 (__m128i_shift_right): Removed.
46682 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46683 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46684 * sysdeps/x86_64/multiarch/varshift.h: New file.
46685 * sysdeps/x86_64/multiarch/varshift.S: New file.
46687 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46689 * configure.in: Move assembler checks to before sysdep dir checking.
46691 2010-08-20 Petr Baudis <pasky@suse.cz>
46693 * LICENSES: Sync the sunrpc license.
46695 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46697 * sunrpc/auth_des.c: Update copyright notice once again.
46698 * sunrpc/auth_none.c: Likewise.
46699 * sunrpc/auth_unix.c: Likewise.
46700 * sunrpc/authdes_prot.c: Likewise.
46701 * sunrpc/authuxprot.c: Likewise.
46702 * sunrpc/bindrsvprt.c: Likewise.
46703 * sunrpc/clnt_gen.c: Likewise.
46704 * sunrpc/clnt_perr.c: Likewise.
46705 * sunrpc/clnt_raw.c: Likewise.
46706 * sunrpc/clnt_simp.c: Likewise.
46707 * sunrpc/clnt_tcp.c: Likewise.
46708 * sunrpc/clnt_udp.c: Likewise.
46709 * sunrpc/clnt_unix.c: Likewise.
46710 * sunrpc/des_crypt.c: Likewise.
46711 * sunrpc/des_soft.c: Likewise.
46712 * sunrpc/get_myaddr.c: Likewise.
46713 * sunrpc/getrpcport.c: Likewise.
46714 * sunrpc/key_call.c: Likewise.
46715 * sunrpc/key_prot.c: Likewise.
46716 * sunrpc/openchild.c: Likewise.
46717 * sunrpc/pm_getmaps.c: Likewise.
46718 * sunrpc/pm_getport.c: Likewise.
46719 * sunrpc/pmap_clnt.c: Likewise.
46720 * sunrpc/pmap_prot.c: Likewise.
46721 * sunrpc/pmap_prot2.c: Likewise.
46722 * sunrpc/pmap_rmt.c: Likewise.
46723 * sunrpc/rpc/auth.h: Likewise.
46724 * sunrpc/rpc/auth_unix.h: Likewise.
46725 * sunrpc/rpc/clnt.h: Likewise.
46726 * sunrpc/rpc/des_crypt.h: Likewise.
46727 * sunrpc/rpc/key_prot.h: Likewise.
46728 * sunrpc/rpc/netdb.h: Likewise.
46729 * sunrpc/rpc/pmap_clnt.h: Likewise.
46730 * sunrpc/rpc/pmap_prot.h: Likewise.
46731 * sunrpc/rpc/pmap_rmt.h: Likewise.
46732 * sunrpc/rpc/rpc.h: Likewise.
46733 * sunrpc/rpc/rpc_des.h: Likewise.
46734 * sunrpc/rpc/rpc_msg.h: Likewise.
46735 * sunrpc/rpc/svc.h: Likewise.
46736 * sunrpc/rpc/svc_auth.h: Likewise.
46737 * sunrpc/rpc/types.h: Likewise.
46738 * sunrpc/rpc/xdr.h: Likewise.
46739 * sunrpc/rpc_clntout.c: Likewise.
46740 * sunrpc/rpc_cmsg.c: Likewise.
46741 * sunrpc/rpc_common.c: Likewise.
46742 * sunrpc/rpc_cout.c: Likewise.
46743 * sunrpc/rpc_dtable.c: Likewise.
46744 * sunrpc/rpc_hout.c: Likewise.
46745 * sunrpc/rpc_main.c: Likewise.
46746 * sunrpc/rpc_parse.c: Likewise.
46747 * sunrpc/rpc_parse.h: Likewise.
46748 * sunrpc/rpc_prot.c: Likewise.
46749 * sunrpc/rpc_sample.c: Likewise.
46750 * sunrpc/rpc_scan.c: Likewise.
46751 * sunrpc/rpc_scan.h: Likewise.
46752 * sunrpc/rpc_svcout.c: Likewise.
46753 * sunrpc/rpc_tblout.c: Likewise.
46754 * sunrpc/rpc_util.c: Likewise.
46755 * sunrpc/rpc_util.h: Likewise.
46756 * sunrpc/rpcinfo.c: Likewise.
46757 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46758 * sunrpc/rpcsvc/key_prot.x: Likewise.
46759 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46760 * sunrpc/rpcsvc/mount.x: Likewise.
46761 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46762 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46763 * sunrpc/rpcsvc/rex.x: Likewise.
46764 * sunrpc/rpcsvc/rstat.x: Likewise.
46765 * sunrpc/rpcsvc/rusers.x: Likewise.
46766 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46767 * sunrpc/rpcsvc/spray.x: Likewise.
46768 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46769 * sunrpc/rtime.c: Likewise.
46770 * sunrpc/svc.c: Likewise.
46771 * sunrpc/svc_auth.c: Likewise.
46772 * sunrpc/svc_authux.c: Likewise.
46773 * sunrpc/svc_raw.c: Likewise.
46774 * sunrpc/svc_run.c: Likewise.
46775 * sunrpc/svc_simple.c: Likewise.
46776 * sunrpc/svc_tcp.c: Likewise.
46777 * sunrpc/svc_udp.c: Likewise.
46778 * sunrpc/svc_unix.c: Likewise.
46779 * sunrpc/svcauth_des.c: Likewise.
46780 * sunrpc/xcrypt.c: Likewise.
46781 * sunrpc/xdr.c: Likewise.
46782 * sunrpc/xdr_array.c: Likewise.
46783 * sunrpc/xdr_float.c: Likewise.
46784 * sunrpc/xdr_mem.c: Likewise.
46785 * sunrpc/xdr_rec.c: Likewise.
46786 * sunrpc/xdr_ref.c: Likewise.
46787 * sunrpc/xdr_sizeof.c: Likewise.
46788 * sunrpc/xdr_stdio.c: Likewise.
46790 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46793 2010-08-19 Andreas Schwab <schwab@redhat.com>
46795 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46797 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46799 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46800 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46801 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46802 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46803 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46804 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46805 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46806 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46807 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46808 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46809 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46810 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46811 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46812 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46814 2010-07-26 Anton Blanchard <anton@samba.org>
46816 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46817 * malloc/arena.c (heap_trim): Likewise.
46819 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46821 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46824 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46826 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46828 * sysdeps/i386/elf/Makefile: New file.
46830 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46832 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46833 from fanotify_init.
46834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46837 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46839 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46841 * sysdeps/multiarch/strcmp.S: Likewise.
46843 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46845 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46846 strncase_l-nonascii.
46847 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46848 Add strncase_l-ssse3.
46849 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46850 * sysdeps/x86_64/strcmp.S: Likewise.
46851 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46852 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46853 * sysdeps/x86_64/strncase.S: New file.
46854 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46855 * sysdeps/x86_64/strncase_l.S: New file.
46856 * string/Makefile (strop-tests): Add strncasecmp.
46857 * string/test-strncasecmp.c: New file.
46859 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46862 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46863 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46865 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46867 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46869 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46871 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46872 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46873 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46875 2010-05-01 Alan Modra <amodra@gmail.com>
46877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46878 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46879 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46880 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46881 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46882 tidying. Don't tail-call __sigjmp_save for static lib.
46883 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46885 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46886 (CALL_MCOUNT): Add eh info, and nop after bl.
46887 (TAIL_CALL_SYSCALL_ERROR): New macro.
46888 (PSEUDO_RET): Use it.
46889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46890 Correct save location of integer regs and cr.
46891 (_dl_profile_resolve): Correct cr save location. Delete nops
46892 after bl when SHARED. Reduce cfi size a little by better
46893 placement of cfi directives.
46894 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46895 make a stack frame. Instead use parm save area as a temp.
46896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46897 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46899 Don't make a stack frame for parent, use parm save area.
46900 Increase child stack frame to 112 bytes. Don't save unused reg,
46901 and adjust reg usage. Set up cfi on error recovery and
46902 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46904 (__makecontext): Add dummy nop after jump to exit.
46905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46906 Use correct parm save area and cr save, reduce stack frame.
46907 Correct cfi for possible PSEUDO_RET frame setup.
46908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46909 Branch to local label emitted by PSEUDO_RET rather than
46912 2010-08-12 Andreas Schwab <schwab@redhat.com>
46915 * locale/programs/locale.c (print_assignment): New function.
46916 (show_locale_vars): Use it.
46918 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46920 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46922 (struct statfs64): Likewise.
46923 (_STATFS_F_FLAGS): Define.
46924 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46926 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46927 (ST_VALID): Define locally.
46928 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46929 __statvfs_getflags, use the provided value.
46930 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46931 __ASSUME_STATFS_F_FLAGS.
46933 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46935 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46936 Add sys/fanotify.h.
46937 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46938 fanotify_mask for GLIBC_2.13.
46939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46940 fanotify_init and fanotify_mark.
46941 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46942 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46944 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46946 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46947 prlimit64 for GLIBC_2.13.
46948 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46953 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46954 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46955 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46958 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46961 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46962 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46964 * nss/Makefile: Add rules to build and run tst-nss-test1.
46965 * shlib-versions: Add entry for libnss_test1.
46966 * nss/nss_test1.c: New file.
46967 * nss/tst-nss-test1.c: New file.
46969 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46970 (__nss_configure_lookup): Set appropriate entry in
46971 __nss_configure_lookup to true.
46972 * nss/nsswitch.h: Define enum with indeces of databases in
46973 databases and __nss_database_custom arrays. Declare
46974 __nss_database_custom.
46975 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46976 to avoid using nscd when custom rules are installed.
46977 * nss/getXXbyYY_r.c: Likewise.
46978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46980 * nss/nss_files/files-parse.c: Whitespace fixes.
46982 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46985 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46986 * posix/fnmatch_loop.c: Likewise.
46988 2010-07-17 Andi Kleen <ak@linux.intel.com>
46990 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46991 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46992 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46993 * Versions.def [GLIBC_2.13]: Add.
46995 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46998 Also fail if tpwd after pwuid call is NULL.
47000 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47002 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47003 when converting to ms.
47005 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47007 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47008 EOPNOTSUPP errors with ENOTTY.
47009 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47010 EOPNOTSUPP errors with ENOTTY.
47012 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47014 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47015 Add strcasecmp_l-ssse3.
47016 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47018 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47019 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47020 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47022 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47024 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47026 * string/Makefile (strop-tests): Add strcasecmp.
47027 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47028 strcasecmp_l-nonascii.
47029 (gen-as-const-headers): Add locale-defines.sym.
47030 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47031 * sysdeps/x86_64/strcasecmp.S: New file.
47032 * sysdeps/x86_64/strcasecmp_l.S: New file.
47033 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47034 * sysdeps/x86_64/locale-defines.sym: New file.
47035 * string/test-strcasecmp.c: New file.
47037 * string/test-strcasestr.c: Test both ends of the range of characters.
47038 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47040 2010-07-29 Roland McGrath <roland@redhat.com>
47043 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47045 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47047 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47050 2010-07-27 Andreas Schwab <schwab@redhat.com>
47052 * manual/memory.texi (Malloc Tunable Parameters): Document
47055 2010-07-26 Roland McGrath <roland@redhat.com>
47058 * configure.in (-fgnu89-inline check): Set and substitute
47059 gnu89_inline, not libc_cv_gnu89_inline.
47060 * configure: Regenerated.
47061 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47063 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47065 * string/test-strnlen.c: New file.
47066 * string/Makefile (strop-tests): Add strnlen.
47067 * string/tester.c (test_strnlen): Add a few more test cases.
47068 * string/tst-strlen.c: Better error reporting.
47070 * sysdeps/x86_64/strnlen.S: New file.
47072 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47074 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47075 lower-latency instructions.
47077 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47079 * string/test-strcasestr.c: New file.
47080 * string/test-strstr.c: New file.
47081 * string/Makefile (strop-tests): Add strstr and strcasestr.
47082 * string/str-two-way.h: Don't undefine MAX.
47083 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47085 2010-07-21 Andreas Schwab <schwab@redhat.com>
47087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47088 strcasestr-nonascii.
47089 (CFLAGS-strcasestr-nonascii.c): Define.
47090 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47091 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47092 Remove unused attribute.
47094 2010-07-20 Roland McGrath <roland@redhat.com>
47096 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47097 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47098 ld.so.cache was broken. With it, there is no way to disable dsocaps
47099 like LD_HWCAP_MASK can disable hwcaps.
47101 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47103 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47105 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47107 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47108 call in strcasestr.
47109 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47110 __strcasestr_sse42_nonascii.
47111 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47112 strcasestr-nonascii.c.
47113 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47115 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47117 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47119 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47120 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47122 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47124 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47127 2010-07-06 Andreas Schwab <schwab@redhat.com>
47130 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47133 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47135 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47136 _PC_PIPE_BUF using F_GETPIPE_SZ.
47138 2010-07-05 Roland McGrath <roland@redhat.com>
47140 * manual/arith.texi (Rounding Functions): Fix rint description
47141 implicit in round description.
47143 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47145 * elf/Makefile: Fix linking for a few tests to make recent linker
47148 2010-06-30 Andreas Schwab <schwab@redhat.com>
47150 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47151 $(common-objpfx)libc_nonshared.a.
47153 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47155 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47156 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47157 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47158 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47159 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47160 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47161 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47162 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47177 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47178 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47179 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47180 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47181 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47182 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47183 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47184 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47185 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47186 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47187 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47188 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47204 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47206 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47207 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47208 * string/memmove.c (memmove): Renamed to ...
47209 (MEMMOVE): ...this. Default to memmove.
47210 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47211 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47214 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47215 mempcpy-ssse3-back memmove-ssse3-back.
47216 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47217 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47219 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47220 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47221 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47222 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47223 * sysdeps/x86_64/multiarch/memmove.c: New file.
47224 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47225 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47226 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47227 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47231 (index_Fast_Copy_Backward): Define.
47232 (HAS_ARCH_FEATURE): Define.
47233 (HAS_FAST_REP_STRING): Define.
47234 (HAS_FAST_COPY_BACKWARD): Define.
47236 2010-06-21 Andreas Schwab <schwab@redhat.com>
47238 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47239 Restore proper fallback handling.
47241 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47244 * posix/group_member.c (__group_member): Correct checking loop.
47246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47247 OOM in getpwuid_r correctly. Return error number when the caller
47248 should return, otherwise -1.
47249 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47250 call returning > 0 value.
47251 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47253 2010-06-07 Andreas Schwab <schwab@redhat.com>
47255 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47256 libc_nonshared.a from targets in modules-names.
47258 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47260 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47263 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47265 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47266 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47267 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47268 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47270 2010-06-02 Andreas Schwab <schwab@redhat.com>
47272 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47274 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47276 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47283 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47285 2010-06-14 Roland McGrath <roland@redhat.com>
47287 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47289 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47291 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47292 __REDIRECT followed by __THROW.
47293 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47294 * posix/getopt.h (getopt): Likewise.
47296 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47298 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47299 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47300 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47302 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47303 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47305 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47307 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47309 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47313 Properly check family and model.
47315 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47317 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47319 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47321 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47323 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47325 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47328 2010-05-19 Andreas Schwab <schwab@redhat.com>
47330 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47333 2010-05-21 Andreas Schwab <schwab@redhat.com>
47335 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47336 and internal_recvmmsg.
47337 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47338 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47339 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47340 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47342 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47343 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47344 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47346 2010-05-20 Andreas Schwab <schwab@redhat.com>
47348 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47350 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47352 POWER7 optimizations.
47353 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47354 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47356 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47358 * version.h: Update for 2.13 development version.
47360 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47362 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47363 exceptions. Return 0.
47365 2010-05-07 Roland McGrath <roland@redhat.com>
47367 * elf/ldconfig.c (main): Add a const.
47369 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47371 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47372 (args_options): Add no-idn option.
47373 (ahosts_keys_int): Add idn_flags to ai_flags.
47374 (parse_option): Handle 'i' option to clear idn_flags.
47376 * malloc/malloc.c (_int_free): Possible race in the most recently
47377 added check. Only act on the data if no current modification
47380 See ChangeLog.17 for earlier changes.