1 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7 * README: Do not mention ports directory.
9 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14 conditional variable definition.
15 (__futimes): Update comment.
16 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
20 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
22 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26 * math/auto-libm-test-in: Add more tests of exp10.
27 * math/auto-libm-test-out: Regenerated.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30 * sysdeps/unix/sysv/linux/kernel-features.h
31 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32 * sysdeps/unix/sysv/linux/readv.c: Do not include
34 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40 * sysdeps/unix/sysv/linux/writev.c: Do not include
42 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49 2014-06-25 Will Newton <will.newton@linaro.org>
51 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
52 comment changes throughout the file. Remove checks
53 for HAVE_*_H definitions that are not required.
54 (__gen_tempname): Call abort if an unknown kind value is
57 2014-06-25 Andreas Schwab <schwab@suse.de>
60 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
61 scalbln, scalblnf, scalblnl in libc.
63 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
67 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
68 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
70 2014-06-24 Roland McGrath <roland@hack.frob.com>
72 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
73 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
74 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
75 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
77 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
78 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
80 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
81 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
82 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
83 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
84 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
85 * sysdeps/x86/bits/pthreadtypes.h: ... here.
86 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
87 * sysdeps/x86/bits/semaphore.h: ... here.
88 * sysdeps/x86/nptl/elide.h: Moved ...
89 * sysdeps/x86/elide.h: ... here.
90 * sysdeps/x86_64/nptl/Implies: File removed.
91 * sysdeps/i386/nptl/Implies: File removed.
93 2014-06-24 Joseph Myers <joseph@codesourcery.com>
96 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
97 return the argument for normal arguments with exponent below -64.
98 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
100 * math/auto-libm-test-in: Add another test of expm1.
101 * math/auto-libm-test-out: Regenerated.
104 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
105 calling __erfcl for arguments at least 16.
106 * math/auto-libm-test-in: Add more tests of erf.
107 * math/auto-libm-test-out: Regenerated.
109 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
110 individual architectures.
111 * sysdeps/unix/sysv/linux/configure: Regenerated.
112 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
113 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
114 * sysdeps/unix/sysv/linux/powerpc/configure.ac
115 (ldd_rewrite_script): Define variable.
116 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
121 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
122 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
123 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
124 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
125 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
126 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
127 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
128 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
130 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
133 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
134 Rename member __data.d to __data.__elision_data.
136 2014-06-24 Wilco <wdijkstr@arm.com>
138 * NEWS: Add 16918 to fixed bug list.
140 2014-06-24 Wilco <wdijkstr@arm.com>
142 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
144 2014-06-24 Wilco <wdijkstr@arm.com>
146 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
147 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
148 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
149 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
150 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
151 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
152 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
155 2014-06-24 Wilco <wdijkstr@arm.com>
157 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
159 2014-06-24 Wilco <wdijkstr@arm.com>
161 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
162 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
163 * sysdeps/arm/fesetround.c (fesetround): Remove space.
164 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
166 2014-06-24 Wilco <wdijkstr@arm.com>
169 * sysdeps/arm/feupdateenv.c (feupdateenv):
170 Rewrite to reduce FPSCR accesses and fix return value.
172 2014-06-24 Wilco <wdijkstr@arm.com>
174 * sysdeps/arm/fclrexcpt.c (feclearexcept):
175 Optimize to avoid unnecessary FPSCR writes.
176 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
177 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
178 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
179 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
181 2014-06-24 Wilco <wdijkstr@arm.com>
183 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
184 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
185 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
186 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
187 Call libc_fetestexcept_vfp.
188 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
189 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
190 __SOFTFP__ ifdef so that they can be built for softfp.
192 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
194 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
195 argument type signed char.
197 * Makerules (check-abi): Dump diff of symlist if the test
200 2014-06-23 Roland McGrath <roland@hack.frob.com>
202 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
205 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
206 Remove unused variable ST.
208 2014-06-23 Joseph Myers <joseph@codesourcery.com>
212 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
213 small arguments before calling __expm1.
214 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
215 small arguments before calling __expm1f.
216 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
217 small arguments before calling __expm1l.
218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
220 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
221 * math/auto-libm-test-in: Add more cosh tests. Do not allow
222 spurious underflow for some cosh tests.
223 * math/auto-libm-test-out: Regenerated.
224 * sysdeps/i386/fpu/libm-test-ulps: Update.
227 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
228 (__ieee754_y1): Set errno if return value overflows.
229 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
230 (__ieee754_y1f): Set errno if return value overflows.
231 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
232 (__ieee754_y1l): Set errno if return value overflows.
233 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
234 (__ieee754_y1l): Set errno if return value overflows.
235 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
236 * math/auto-libm-test-out: Regenerated.
238 * math/gen-auto-libm-tests.c: Document use of
239 ignore-zero-inf-sign.
240 (input_flag_type): Add value flag_ignore_zero_inf_sign.
241 (input_flags): Add ignore-zero-inf-sign.
242 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
243 * math/gen-libm-test.pl (generate_testfile): Handle
244 ignore-zero-inf-sign.
245 * math/auto-libm-test-in: Mark some cpow tests with
246 ignore-zero-inf-sign and some with xfail-rounding.
247 * math/auto-libm-test-out: Regenerated.
248 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
249 * sysdeps/i386/fpu/libm-test-ulps: Update.
250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
254 overflowing or underflowing operations take place with sign of
256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
257 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
258 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
259 (__ieee754_pow): Recompute overflowing and underflowing results in
260 original rounding mode.
261 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
262 (__powl_helper): Allow negative argument X and scale negated value
263 as needed. Avoid passing value outside [-1, 1] to f2xm1.
264 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
265 overflowing or underflowing operations take place with sign of
267 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
269 * math/auto-libm-test-in: Add more tests of pow.
270 * math/auto-libm-test-out: Regenerated.
271 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
272 (pow_tonearest_test_data): Remove.
273 (pow_test_tonearest): Likewise.
274 (pow_towardzero_test_data): Likewise.
275 (pow_test_towardzero): Likewise.
276 (pow_downward_test_data): Likewise.
277 (pow_test_downward): Likewise.
278 (pow_upward_test_data): Likewise.
279 (pow_test_upward): Likewise.
280 (main): Don't call removed functions.
281 * sysdeps/i386/fpu/libm-test-ulps: Update.
282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284 2014-06-23 Roland McGrath <roland@hack.frob.com>
286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
460 2014-06-23 Will Newton <will.newton@linaro.org>
461 Wilco <wdijkstr@arm.com>
463 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
464 implementation. Include get-rounding-mode.h.
465 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
466 [!libc_feholdsetround_noex_ctx]: Define
467 libc_feholdsetround_noex_ctx.
468 [!libc_feholdsetround_noexf_ctx]: Define
469 libc_feholdsetround_noexf_ctx.
470 [!libc_feholdsetround_noexl_ctx]: Define
471 libc_feholdsetround_noexl_ctx.
472 (libc_feholdsetround_ctx): New function.
473 (libc_feresetround_ctx): New function.
474 (libc_feholdsetround_noex_ctx): New function.
475 (libc_feresetround_noex_ctx): New function.
477 2014-06-23 Roland McGrath <roland@hack.frob.com>
479 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
480 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
481 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
482 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
483 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
484 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
486 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
487 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
488 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
489 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
490 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
491 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
493 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
495 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
496 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
498 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
501 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
502 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
503 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
504 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
506 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
508 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
509 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
510 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
511 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
512 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
515 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
516 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
518 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
519 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
523 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
524 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
526 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
527 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
528 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
529 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
534 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
540 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
542 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
544 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
546 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
548 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
550 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
551 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
552 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
553 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
554 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
555 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
557 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
558 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
559 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
560 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
561 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
563 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
564 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
565 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
567 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
577 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
579 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
581 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
582 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
583 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
585 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
587 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
588 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
589 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
592 2014-06-23 Joseph Myers <joseph@codesourcery.com>
594 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
595 (FALLOC_FL_COLLAPSE_RANGE): New macro.
596 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
597 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
598 (IPV6_PMTUDISC_INTERFACE): Likewise.
599 (IPV6_PMTUDISC_OMIT): Likewise.
601 2014-06-23 Andreas Schwab <schwab@suse.de>
603 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
604 Remove unused errout label.
606 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
609 macro: hardware supports Vector Crypto instructions.
611 2014-06-23 Will Newton <will.newton@linaro.org>
613 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
614 rather than __builtin_expect.
616 * elf/dl-lookup.c (undefined_msg): Remove variable.
617 (_dl_lookup_symbol_x): Replace undefined_msg with string
620 * elf/dl-lookup.c (do_lookup_unique): New function.
621 (do_lookup_x): Move STB_GNU_UNIQUE handling code
622 to a separate function.
624 2014-06-23 Andreas Schwab <schwab@suse.de>
627 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
628 before reading the next line.
630 2014-06-23 Will Newton <will.newton@linaro.org>
632 * test-skeleton.c (signal_handler): Use printf and %m
633 rather than perror. Use printf rather than fprintf to
634 stderr. Use puts rather than fputs to stderr.
637 2014-06-22 Ludovic Courtès <ludo@gnu.org>
639 * nscd/nscd.c (thread_info_t): Remove typedef.
640 (thread_info): Remove variable.
642 2014-06-21 Allan McRae <allan@archlinux.org>
644 * NEWS: Mention CVE-2014-4043.
646 2014-06-20 Roland McGrath <roland@hack.frob.com>
648 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
649 * nptl/smp.h: ... here.
651 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
653 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
654 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
655 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
656 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
658 * nptl/allocatestack.c: Include <stack-aliasing.h>.
659 * nptl/stack-aliasing.h: New file.
660 * sysdeps/i386/i686/stack-aliasing.h: New file.
661 * sysdeps/i386/i686/nptl/Makefile: File removed.
662 * sysdeps/x86_64/stack-aliasing.h: New file.
663 * sysdeps/x86_64/nptl/Makefile
664 (CFLAGS-pthread_create.c): Variable removed.
666 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
667 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
669 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
670 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
673 2014-06-21 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/unix/sysv/linux/arm/kernel-features.h
676 (__ASSUME_SIGFRAME_V2): Remove macro.
677 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
678 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
679 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
680 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
681 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
682 Declare as function. Remove conditional macro definitions.
683 (__default_rt_sa_restorer): Likewise.
684 (__default_sa_restorer_v1): Remove declaration.
685 (__default_sa_restorer_v2): Likewise.
686 (__default_rt_sa_restorer_v1): Likewise.
687 (__default_rt_sa_restorer_v2): Likewise.
688 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
689 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
690 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
692 2014-06-20 Roland McGrath <roland@hack.frob.com>
694 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
695 (libpthread-routines): Add sysdep.
696 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
697 * sysdeps/unix/sysv/linux/sparc/Versions
698 (libpthread: GLIBC_2.3.3): New version set.
699 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
700 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
701 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
702 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
703 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
704 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
706 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
707 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
708 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
709 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
710 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
711 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
712 * sysdeps/sparc/nptl/sem_init.c: ... here.
713 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
714 * sysdeps/sparc/nptl/sem_post.c: ... here.
715 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
716 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
717 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
718 * sysdeps/sparc/nptl/sem_wait.c: ... here.
719 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
720 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
721 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
722 (libpthread-routines): Add cpu_relax.
723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
725 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
726 (librt: GLIBC_2.3.3): New version set.
727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
728 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
730 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
733 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
736 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
738 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
740 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
742 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
744 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
747 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
751 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
755 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
759 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
763 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
767 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
770 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
776 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
778 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
781 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
783 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
785 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
787 2014-06-20 Joseph Myers <joseph@codesourcery.com>
789 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
790 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
791 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
792 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
793 * nscd/nscd.c: Likewise.
794 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
795 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
796 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
797 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
799 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
801 (init_mq_netlink): Remove conditional have_sock_cloexec
802 definitions. Remove code conditional on have_sock_cloexec < 0.
803 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
804 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
805 * sysdeps/unix/sysv/linux/opensock.c: Do not include
807 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
808 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
810 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
813 Add tests for memset_chk and memset.
815 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
818 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
821 * elf/tst-dl-iter-static.c: New file.
822 * elf/Makefile (tests-static): Add tst-dl-iter-static.
824 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
827 2014-06-20 Joseph Myers <joseph@codesourcery.com>
829 * sysdeps/unix/sysv/linux/kernel-features.h
830 (__ASSUME_F_GETOWN_EX): Remove macro.
831 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
833 (miss_F_GETOWN_EX): Remove variable or macro.
834 (do_fcntl): Do not check miss_F_GETOWN_EX.
835 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
840 [!__ASSUME_AT_RANDOM]: Remove conditional code.
841 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
843 * sysdeps/unix/sysv/linux/kernel-features.h
844 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
845 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
846 [ADJ_OFFSET_SS_READ]: Make code unconditional.
847 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
849 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
852 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
853 Fix calculation of the symbol's value.
854 * sysdeps/arm/tst-armtlsdescloc.c: New file.
855 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
856 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
857 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
858 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
859 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
860 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
861 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
862 (modules-names): Add `tst-armtlsdescmod',
863 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
864 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
865 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
866 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
867 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
868 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
869 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
870 ($(objpfx)tst-armtlsdescloc): New dependency.
871 ($(objpfx)tst-armtlsdescextnow): Likewise.
872 ($(objpfx)tst-armtlsdescextlazy): Likewise.
873 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
875 * sysdeps/arm/configure: Regenerate.
877 2014-06-20 Joseph Myers <joseph@codesourcery.com>
879 * include/fcntl.h (__atfct_seterrno): Remove prototype.
880 (__atfct_seterrno_2): Likewise.
881 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
883 (__ASSUME_ATFCTS): Do not undefine and redefine.
884 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
885 (__have_atfcts): Remove conditional definition.
886 (__fxstatat([__NR_fstatat64]: Make code unconditional.
887 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
888 unreachable if [__ASSUME_ATFCTS].
889 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
890 not undefine and redefine.
891 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
893 (faccessat) [__NR_faccessat]: Make code unconditional.
894 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
895 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
897 (fchmodat) [__NR_fchmodat]: Make code unconditional.
898 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
899 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
901 (fchownat) [__NR_fchownat]: Make code unconditional.
902 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
903 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
905 (futimesat) [__NR_futimesat]: Make code unconditional.
906 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
907 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
909 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
910 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
911 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
913 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
914 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
915 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
916 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
918 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
919 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
920 * sysdeps/unix/sysv/linux/linkat.c: Do not include
922 (linkat) [__NR_linkat]: Make code unconditional.
923 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
924 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
925 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
927 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
928 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
929 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
931 (mkdirat) [__NR_mkdirat]: Make code unconditional.
932 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
933 * sysdeps/unix/sysv/linux/openat.c: Do not include
935 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
936 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
937 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
938 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
939 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
940 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
942 (readlinkat) [__NR_readlinkat]: Make code unconditional.
943 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
944 result of INLINE_SYSCALL directly, not via int variable.
945 * sysdeps/unix/sysv/linux/renameat.c: Do not include
947 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
948 (renameat) [__NR_renameat]: Make code unconditional.
949 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
951 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
952 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
953 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
954 (__ASSUME_ATFCTS): Do not undefine and redefine.
955 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
957 (symlinkat) [__NR_symlinkat]: Make code unconditional.
958 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
959 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
961 (unlinkat) [__NR_unlinkat]: Make code unconditional.
962 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
963 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
964 (__ASSUME_ATFCTS): Do not undefine and redefine.
965 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
967 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
968 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
969 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
971 (__xmknodat) [__NR_mknodat]: Make code unconditional.
972 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
974 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
976 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
978 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
981 * posix/regcomp.c (parse_reg_exp): Deallocate partially
982 constructed tree before returning error.
983 * posix/bug-regexp36.c: Expand test case.
985 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
988 * math/libm-test.inc (scalbln_test_date):
989 Add errno expectations.
990 * math/w_scalblnf.c: New File.
991 Add wrapper which checks for setting errno to ERANGE.
992 Add weak_alias for corresponding scalbln function.
993 * math/w_scalbln.c: Likewise.
994 * math/w_scalblnl.c: Likewise.
995 * math/Makefile (libm-calls): Add w_scalbln.
996 * sysdeps/ieee754/flt-32/s_scalblnf.c:
997 Remove weak_alias for corresponding scalbln function.
998 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1000 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1002 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1003 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1004 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1005 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1006 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1007 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1008 Remove long_double_symbol for scalblnl function in libm, libc.
1009 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1010 Add wrapper which checks for setting errno to ERANGE.
1011 Add long_double_symbol for scalblnl function in libm, libc.
1012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1013 Remove long_double_symbol for scalblnl in libm.
1014 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1015 Add wrapper which checks for setting errno to ERANGE.
1016 Add long_double_symbol for scalblnl function in libm.
1017 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1018 Do not use wrapper because of own implementation.
1020 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1022 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1023 3 bytes for __pad1 for x32.
1024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1026 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1027 H.J. Lu <hongjiu.lu@intel.com>
1029 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1030 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1031 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1033 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1035 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1038 * posix/regcomp.c (parse_expression): Deallocate partially
1039 constructed tree before returning error.
1040 * posix/Makefile.c (tests): Add bug-regex36.
1041 (generated): Add bug-regex36.mtrace.
1042 (tests-special): Add $(objpfx)bug-regex36-mem.out
1043 (bug-regex36-ENV): New variable.
1044 ($(objpfx)bug-regex36-mem.out): New rule.
1045 * posix/bug-regex36.c: New file.
1047 2014-06-19 Will Newton <will.newton@linaro.org>
1049 * malloc/malloc.c (systrim): If extra is zero then return
1052 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1054 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1056 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1058 * sysdeps/aarch64/strchr.S: New file.
1060 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1063 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1064 from arguments -2 or below.
1065 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1066 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1068 2014-06-18 Andreas Schwab <schwab@suse.de>
1071 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1072 of a bracket expr not to run off the end of the string.
1073 * posix/Makefile (tests): Add tst-fnmatch3.
1074 * posix/tst-fnmatch3.c: New file.
1076 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1078 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1079 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1080 [$(cross-compiling) = no]: Likewise.
1081 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1082 [$(cross-compiling) = no]: Likewise.
1084 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1087 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1088 double, adjusted for any remainder from the high double.
1089 * math/libm-test.inc (nearbyint): Add tests.
1092 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094 * nptl/sysdeps/powerpc/Makefile: Moved ...
1095 * sysdeps/powerpc/nptl/Makefile: ... here.
1096 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1097 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1098 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1099 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1100 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1101 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1102 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1103 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1104 * nptl/sysdeps/powerpc/tls.h: Moved ...
1105 * sysdeps/powerpc/nptl/tls.h: ... here.
1107 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1111 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1112 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1113 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1114 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1115 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1116 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1117 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1118 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1120 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1122 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1124 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1126 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1129 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1132 2014-06-16 Florian Weimer <fweimer@redhat.com>
1135 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1136 non-executed part of the test.
1138 2014-06-16 Andreas Schwab <schwab@suse.de>
1140 * string/bits/string2.h (strdup, strndup): Update feature guard.
1142 2014-06-14 David S. Miller <davem@davemloft.net>
1144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1146 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1148 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1149 that was previously under [RESET_PID].
1150 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1152 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1153 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1154 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1155 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1156 (__libc_vfork): New strong alias.
1157 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1159 2014-06-14 Andi Kleen <ak@linux.intel.com>
1161 * sysdeps/generic/elide.h: New file.
1163 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1165 * Makefile (installed-headers): Adjust path of pthread.h header.
1167 2014-06-13 Roland McGrath <roland@hack.frob.com>
1169 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1170 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1171 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1172 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1174 * nptl/sysdeps/s390/Makefile: Moved ...
1175 * sysdeps/s390/nptl/Makefile: ... here.
1176 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1177 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1178 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1179 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1180 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1181 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1182 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1183 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1184 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1185 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1186 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1187 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1188 * nptl/sysdeps/s390/tls.h: Moved ...
1189 * sysdeps/s390/nptl/tls.h: ... here.
1191 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1192 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1194 2014-06-13 David S. Miller <davem@davemloft.net>
1196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1203 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1204 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1205 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1206 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1207 Remove RESET_PID cpp guards.
1208 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1209 Remove RESET_PID cpp guards.
1210 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1212 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1214 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1217 2014-06-13 Andi Kleen <ak@linux.intel.com>
1219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1222 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1227 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1229 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1230 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1231 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1233 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1234 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1237 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1240 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1241 (pthread_rwlock_rdlock): Add elision.
1242 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1243 (pthread_rwlock_wrlock): Add elision.
1244 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1245 (pthread_rwlock_trywrlock): Add elision.
1246 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1247 (pthread_rwlock_tryrdlock): Add elision.
1248 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1249 (pthread_rwlock_tryrdlock): Add elision unlock.
1250 * nptl/sysdeps/pthread/pthread.h:
1251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1252 (PTHREAD_RWLOCK_INITIALIZER,
1253 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1254 Handle new elision field.
1255 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1256 * sysdeps/arm/nptl/bits/pthreadtypes.h
1257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1258 * sysdeps/sh/nptl/bits/pthreadtypes.h
1259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1260 * sysdeps/tile/nptl/bits/pthreadtypes.h
1261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1262 * sysdeps/a/nptl/bits/pthreadtypes.h
1263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1264 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1266 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1268 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1270 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1272 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1274 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1276 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1277 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1278 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1280 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1281 (elision_init): Set try_xbegin to zero when no RTM.
1282 * sysdeps/x86/nptl/bits/pthreadtypes.h
1283 (pthread_rwlock_t): Change __pad1 to __rwelision.
1284 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1286 2014-06-13 Andi Kleen <ak@linux.intel.com>
1288 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1289 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1290 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1291 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1293 2014-06-13 Meador Inge <meadori@codesourcery.com>
1296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1297 that the cached result has been set before returning it.
1299 2014-06-12 Roland McGrath <roland@hack.frob.com>
1301 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1302 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1304 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1306 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1308 * nptl/sysdeps/sparc/Makefile: Moved ...
1309 * sysdeps/sparc/nptl/Makefile: ... here.
1310 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1311 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1312 * nptl/sysdeps/sparc/tls.h: Moved ...
1313 * sysdeps/sparc/nptl/tls.h: ... here.
1314 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1315 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1316 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1317 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1318 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1319 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1320 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1321 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1322 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1323 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1324 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1325 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1326 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1327 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1328 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1329 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1330 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1333 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1334 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1336 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1337 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1339 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1340 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1343 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1345 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1346 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1348 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1349 (struct list_links): Type removed.
1350 (struct thread_node, struct timer_node): Replace struct list_links
1351 with struct list_head.
1352 (list_unlink_ip): Likewise.
1353 * sysdeps/pthread/timer_routines.c
1354 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1355 (list_append, list_insbefore): Likewise.
1356 (list_init): Function removed.
1357 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1358 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1359 * sysdeps/pthread/Makefile: ... here, new file.
1361 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1362 * sysdeps/nptl/Implies: ... here.
1363 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1364 * nptl/sysdeps/pthread/list.h: Moved ...
1365 * include/list.h: ... here.
1366 * nptl/sysdeps/pthread/createthread.c: Moved ...
1367 * nptl/createthread.c: ... here.
1368 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1369 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1370 * nptl/pt-longjmp.c: ... here.
1371 * nptl/sysdeps/pthread/Makefile: Moved ...
1372 * sysdeps/nptl/Makefile: ... here.
1373 * nptl/sysdeps/pthread/Subdirs: Moved ...
1374 * sysdeps/nptl/Subdirs: ... here.
1375 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1376 * sysdeps/nptl/aio_misc.h: ... here.
1377 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1378 * sysdeps/nptl/bits/libc-lock.h: ... here.
1379 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1380 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1381 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1382 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1383 * nptl/sysdeps/pthread/configure: Moved ...
1384 * sysdeps/nptl/configure: ... here.
1385 * nptl/sysdeps/pthread/configure.ac: Moved ...
1386 * sysdeps/nptl/configure.ac: ... here.
1387 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1388 * sysdeps/nptl/gai_misc.h: ... here.
1389 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1390 * sysdeps/nptl/librt-cancellation.c: ... here.
1391 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1392 * sysdeps/nptl/malloc-machine.h: ... here.
1393 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1394 * sysdeps/nptl/pthread-functions.h: ... here.
1395 * nptl/sysdeps/pthread/pthread.h: Moved ...
1396 * sysdeps/nptl/pthread.h: ... here.
1397 * nptl/sysdeps/pthread/setxid.h: Moved ...
1398 * sysdeps/nptl/setxid.h: ... here.
1399 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1400 * sysdeps/nptl/sigfillset.c: ... here.
1401 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1402 * sysdeps/nptl/tcb-offsets.h: ... here.
1403 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1404 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1405 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1406 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1407 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1408 * sysdeps/pthread/allocalim.h: ... here.
1409 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1410 * sysdeps/pthread/bits/sigthread.h: ... here.
1411 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1412 * sysdeps/pthread/flockfile.c: ... here.
1413 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1414 * sysdeps/pthread/ftrylockfile.c: ... here.
1415 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1416 * sysdeps/pthread/funlockfile.c: ... here.
1417 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1418 * sysdeps/pthread/posix-timer.h: ... here.
1419 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1420 * sysdeps/pthread/timer_create.c: ... here.
1421 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1422 * sysdeps/pthread/timer_delete.c: ... here.
1423 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1424 * sysdeps/pthread/timer_getoverr.c: ... here.
1425 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1426 * sysdeps/pthread/timer_gettime.c: ... here.
1427 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1428 * sysdeps/pthread/timer_routines.c: ... here.
1429 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1430 * sysdeps/pthread/timer_settime.c: ... here.
1431 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1432 * sysdeps/pthread/tst-timer.c: ... here.
1433 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1434 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1436 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1437 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1439 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1440 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1441 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1442 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1443 Update #include target.
1444 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1445 * sysdeps/i386/i686/nptl/Makefile: ... here.
1446 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1447 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1448 Update #include target.
1449 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1450 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1451 * nptl/sysdeps/i386/Makefile: Moved ...
1452 * sysdeps/i386/nptl/Makefile: ... here.
1453 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1454 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1455 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1456 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1457 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1458 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1459 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1460 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1461 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1462 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1463 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1464 * nptl/sysdeps/i386/tls.h: Moved ...
1465 * sysdeps/i386/nptl/tls.h: ... here.
1467 * sysdeps/sh/Makefile [$(subdir) = csu]
1468 (gen-as-const-headers): Add tcb-offsets.sym.
1469 * nptl/sysdeps/sh/Makefile: File removed.
1470 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1471 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1472 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1473 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1474 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1475 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1476 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1477 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1478 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1479 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1480 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1481 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1482 * nptl/sysdeps/sh/tls.h: Moved ...
1483 * sysdeps/sh/nptl/tls.h: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1485 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1486 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1487 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1488 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1489 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1490 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1491 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1492 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1493 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1494 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1495 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1497 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1499 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1500 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1501 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1503 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1504 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1505 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1510 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1511 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1513 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1515 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1516 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1517 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1519 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1520 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1521 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1522 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1523 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1524 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1525 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1527 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1529 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1531 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1533 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1535 * posix/spawn_faction_addopen.c: Include string.h.
1537 2014-06-11 Roland McGrath <roland@hack.frob.com>
1539 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1540 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1541 * nptl/sysdeps/x86_64/Makefile: Moved ...
1542 * sysdeps/x86_64/nptl/Makefile: ... here.
1543 * nptl/sysdeps/x86_64/configure: Moved ...
1544 * sysdeps/x86_64/nptl/configure: ... here.
1545 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1546 * sysdeps/x86_64/nptl/configure.ac: ... here.
1547 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1548 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1549 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1550 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1551 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1552 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1553 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1554 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1555 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1556 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1557 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1558 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1559 * nptl/sysdeps/x86_64/tls.h: Moved ...
1560 * sysdeps/x86_64/nptl/tls.h: ... here.
1561 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1562 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1563 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1564 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1566 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1568 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1572 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1574 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1576 [POSIX] (off_t): Likewise.
1577 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1578 [POSIX] (S_ISBLK): Require macro.
1579 [POSIX] (S_ISCHR): Likewise.
1580 [POSIX] (S_ISDIR): Likewise.
1581 [POSIX] (S_ISFIFO): Likewise.
1582 [POSIX] (S_ISREG): Likewise.
1583 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1585 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1587 [POSIX] (time_t): Likewise.
1588 [POSIX] (timer_t): Likewise.
1590 2014-06-11 Florian Weimer <fweimer@redhat.com>
1593 * posix/spawn_int.h (struct __spawn_action): Make the path string
1594 non-const to support deallocation.
1595 * posix/spawn_faction_addopen.c
1596 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1597 * posix/spawn_faction_destroy.c
1598 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1599 path in all spawn_do_open actions.
1600 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1601 posix_spawn_file_actions_addopen.
1603 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1605 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1606 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1607 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1608 conditional code always true.
1609 (__libc_vfork): New alias.
1611 2014-06-11 Roland McGrath <roland@hack.frob.com>
1613 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1614 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1616 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1618 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1619 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1621 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1622 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1624 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1625 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1627 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1629 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1630 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1631 multiarch strcmp for PPC64.
1632 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1633 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1635 multiarch optimizations.
1636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1637 (__libc_ifunc_impl_list): Likewise.
1639 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1641 * benchtests/scripts/validate_benchout.py: New script.
1642 * benchtests/Makefile (bench-func): Call it.
1643 * benchtests/scripts/benchout.schema.json: New file.
1645 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1647 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1648 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1649 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1650 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1651 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1652 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1653 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1654 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1655 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1656 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1657 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1658 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1659 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1660 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1661 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1662 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1766 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1767 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1772 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1775 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1783 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1788 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1791 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1796 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1800 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1801 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1802 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1804 2014-06-10 Wilco <wdijkstr@arm.com>
1806 * math/test-fenv-return.c: New file.
1807 * math/Makefile: Add new test test-fenv-return.
1809 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1812 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1814 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1815 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1816 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1817 0.0L for an argument of 1.0L.
1818 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1820 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1821 value when x - 1 is zero.
1822 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1823 * sysdeps/i386/fpu/libm-test-ulps: Update.
1824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1826 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1829 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1831 2014-06-09 Roland McGrath <roland@hack.frob.com>
1833 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1834 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1836 2014-06-09 Roland McGrath <roland@hack.frob.com>
1838 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1839 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1841 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1842 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1844 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1845 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1847 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1848 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1850 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1851 if not already defined.
1852 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1853 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1854 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1855 (TLS_INIT_TP): Use it.
1856 (TLS_DEFINE_INIT_TP): New macro.
1857 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1859 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1861 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1863 [POSIX] (IXANY): Likewise.
1864 [POSIX] (OLCUC): Likewise.
1865 [POSIX || POSIX2008] (CBAUD): Do not allow.
1866 [POSIX || POSIX2008] (DEFECHO): Likewise.
1867 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1868 [POSIX || POSIX2008] (ECHOKE): Likewise.
1869 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1870 [POSIX || POSIX2008] (EXTA): Likewise.
1871 [POSIX || POSIX2008] (EXTB): Likewise.
1872 [POSIX || POSIX2008] (FLUSHO): Likewise.
1873 [POSIX || POSIX2008] (LOBLK): Likewise.
1874 [POSIX || POSIX2008] (PENDIN): Likewise.
1875 [POSIX || POSIX2008] (SWTCH): Likewise.
1876 [POSIX || POSIX2008] (VDISCARD): Likewise.
1877 [POSIX || POSIX2008] (VDSUSP): Likewise.
1878 [POSIX || POSIX2008] (VLNEXT): Likewise.
1879 [POSIX || POSIX2008] (VREPRINT): Likewise.
1880 [POSIX || POSIX2008] (VSTATUS): Likewise.
1881 [POSIX || POSIX2008] (VWERASE): Likewise.
1882 (B*): Change to B[0123456789]*.
1883 * conform/data/time.h-data [POSIX || UNIX98]
1884 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1885 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1886 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1887 [POSIX] (tm_*): Do not allow.
1889 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1891 * Makefile (install): Don't set LANGUAGE.
1892 * Makefile.in (install): Likewise.
1893 * assert/Makefile (test-assert-ENV): Remove variable.
1894 (test-assert-perr-ENV): Likewise.
1895 * elf/Makefile (neededtest4-ENV): Likewise.
1896 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1897 [$(cross-compiling) = no]: Don't set LANGUAGE.
1898 * io/ftwtest-sh (LANG): Remove variable.
1899 * libio/Makefile (tst-widetext-ENV): Likewise.
1900 * manual/install.texi (Running make install): Don't refer to
1901 environment settings for make install.
1902 * INSTALL: Regenerated.
1903 * nptl/tst-tls6.sh: Don't set LANG.
1904 * posix/globtest.sh (LANG): Remove variable.
1905 * string/Makefile (tester-ENV): Likewise.
1906 (inl-tester-ENV): Likewise.
1907 (noinl-tester-ENV): Likewise.
1908 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1909 [$(cross-compiling) = no]: Don't set LANGUAGE.
1910 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1911 without explicit environment settings.
1913 2014-06-06 Roland McGrath <roland@hack.frob.com>
1915 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1916 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1918 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1920 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1922 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1923 other files in the crypt directory.
1924 * crypt/crypt.c: Remove duplicate includes.
1925 * crypt/crypt-entry.c: Likewise.
1926 * crypt/crypt_util.c: Likewise.
1928 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1930 * Makeconfig (run-program-env): New variable.
1931 (run-program-prefix-before-env): Likewise.
1932 (run-program-prefix-after-env): Likewise.
1933 (run-program-prefix): Define in terms of new variables.
1934 (built-program-cmd-before-env): New variable.
1935 (built-program-cmd-after-env): Likewise.
1936 (built-program-cmd): Define in terms of new variables.
1937 (test-program-prefix-before-env): New variable.
1938 (test-program-prefix-after-env): Likewise.
1939 (test-program-prefix): Define in terms of new variables.
1940 (test-program-cmd-before-env): New variable.
1941 (test-program-cmd-after-env): Likewise.
1942 (test-program-cmd): Define in terms of new variables.
1943 * Rules (make-test-out): Use $(run-program-env).
1944 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1945 (help): Do not mention environment variables. Mention
1946 --timeoutfactor option.
1947 (timeoutfactor): New variable.
1948 (blacklist_exports): Remove function.
1949 (exports): Remove variable.
1950 (command): Do not include ${exports}.
1951 * manual/install.texi (Configuring and compiling): Do not mention
1952 test wrappers preserving environment variables. Mention that last
1953 assignment to a variable must take precedence.
1954 * INSTALL: Regenerated.
1955 * benchtests/Makefile (run-bench): Use $(run-program-env).
1956 * catgets/Makefile ($(objpfx)test1.cat): Use
1957 $(built-program-cmd-before-env), $(run-program-env) and
1958 $(built-program-cmd-after-env).
1959 ($(objpfx)test2.cat): Do not specify environment variables
1961 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1962 $(run-program-env) and $(built-program-cmd-after-env).
1963 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1964 $(run-program-env) and $(test-program-cmd-after-env).
1965 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1967 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1968 run_program_env and test_program_cmd_after_env arguments.
1969 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1970 * elf/tst-pathopt.sh: Use run_program_env argument.
1971 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1972 $(test-wrapper-env) and $(run-program-env).
1973 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1974 run_program_env arguments.
1975 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1976 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1977 $(test-program-prefix-before-env), $(run-program-env) and
1978 $(test-program-prefix-after-env).
1979 ($(objpfx)tst-gettext2.out): Likewise.
1980 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1981 run_program_env and test_program_prefix_after_env arguments.
1982 * intl/tst-gettext2.sh: Likewise.
1983 * intl/tst-gettext4.sh: Do not set environment variables
1985 * intl/tst-gettext6.sh: Likewise.
1986 * intl/tst-translit.sh: Likewise.
1987 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1988 $(test-program-prefix-before-env), $(run-program-env) and
1989 $(test-program-prefix-after-env).
1990 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1991 run_program_env and test_program_prefix_after_env arguments.
1992 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1993 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1994 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1995 explicitly with each use of ${test_wrapper_env}.
1996 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1997 $(test-program-prefix-before-env), $(run-program-env) and
1998 $(test-program-prefix-after-env).
1999 * posix/tst-getconf.sh: Do not set environment variables
2001 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2002 run_program_env and test_program_prefix_after_env arguments.
2003 * stdio-common/tst-printf.sh: Do not set environment variables
2005 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2006 $(test-program-prefix-before-env), $(run-program-env) and
2007 $(test-program-prefix-after-env).
2008 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2009 run_program_env and test_program_prefix_after_env arguments.
2010 Split $test calls into $test_pre and $test.
2011 * timezone/Makefile (build-testdata): Use
2012 $(built-program-cmd-before-env), $(run-program-env) and
2013 $(built-program-cmd-after-env).
2015 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2018 strlen for non SHARED builds.
2020 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2022 * nptl/allocatestack.c (check_list): Inlined function...
2023 (__reclaim_stacks): ... here.
2025 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2028 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2031 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2033 * Rules (make-test-out): Include
2034 LOCPATH=$(common-objpfx)localedata in default environment.
2035 * debug/Makefile (tst-chk1-ENV): Remove variable.
2036 (tst-chk2-ENV): Likewise.
2037 (tst-chk3-ENV): Likewise.
2038 (tst-chk4-ENV): Likewise.
2039 (tst-chk5-ENV): Likewise.
2040 (tst-chk6-ENV): Likewise.
2041 (tst-lfschk1-ENV): Likewise.
2042 (tst-lfschk2-ENV): Likewise.
2043 (tst-lfschk3-ENV): Likewise.
2044 (tst-lfschk4-ENV): Likewise.
2045 (tst-lfschk5-ENV): Likewise.
2046 (tst-lfschk6-ENV): Likewise.
2047 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2048 (tst-iconv7-ENV): Likewise.
2049 * intl/Makefile (LOCPATH-ENV): Likewise.
2050 (tst-codeset-ENV): Likewise.
2051 (tst-gettext3-ENV): Likewise.
2052 (tst-gettext5-ENV): Likewise.
2053 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2054 (tst-fopenloc-ENV): Likewise.
2055 (tst-fgetws-ENV): Remove variable.
2056 (tst-ungetwc1-ENV): Likewise.
2057 (tst-ungetwc2-ENV): Likewise.
2058 (bug-ungetwc2-ENV): Likewise.
2059 (tst-swscanf-ENV): Likewise.
2060 (bug-ftell-ENV): Likewise.
2061 (tst-fgetwc-ENV): Likewise.
2062 (tst-fseek-ENV): Likewise.
2063 (tst-ftell-partial-wide-ENV): Likewise.
2064 (tst-ftell-active-handler-ENV): Likewise.
2065 (tst-ftell-append-ENV): Likewise.
2066 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2067 (tst-regexloc-ENV): Likewise.
2068 (bug-regex1-ENV): Likewise.
2069 (tst-regex-ENV): Likewise.
2070 (tst-regex2-ENV): Likewise.
2071 (bug-regex5-ENV): Likewise.
2072 (bug-regex6-ENV): Likewise.
2073 (bug-regex17-ENV): Likewise.
2074 (bug-regex18-ENV): Likewise.
2075 (bug-regex19-ENV): Likewise.
2076 (bug-regex20-ENV): Likewise.
2077 (bug-regex22-ENV): Likewise.
2078 (bug-regex23-ENV): Likewise.
2079 (bug-regex25-ENV): Likewise.
2080 (bug-regex26-ENV): Likewise.
2081 (bug-regex30-ENV): Likewise.
2082 (bug-regex32-ENV): Likewise.
2083 (bug-regex33-ENV): Likewise.
2084 (bug-regex34-ENV): Likewise.
2085 (bug-regex35-ENV): Likewise.
2086 (tst-rxspencer-ENV): Likewise.
2087 (tst-rxspencer-no-utf8-ENV): Likewise.
2088 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2089 (tst-sscanf-ENV): Likewise.
2090 (tst-swprintf-ENV): Likewise.
2091 (tst-swscanf-ENV): Likewise.
2092 (test-vfprintf-ENV): Likewise.
2093 (scanf13-ENV): Likewise.
2094 (bug14-ENV): Likewise.
2095 (tst-grouping-ENV): Likewise.
2096 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2097 (tst-strtod3-ENV): Likewise.
2098 (tst-strtod4-ENV): Likewise.
2099 (tst-strtod5-ENV): Likewise.
2100 (testmb2-ENV): Likewise./
2101 * string/Makefile (tst-strxfrm-ENV): Likewise.
2102 (tst-strxfrm2-ENV): Likewise.
2103 (bug-strcoll1-ENV): Likewise.
2104 (test-strcasecmp-ENV): Likewise.
2105 (test-strncasecmp-ENV): Likewise.
2106 * time/Makefile (tst-strptime-ENV): Likewise.
2107 (tst-ftime_l-ENV): Likewise.
2108 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2109 (tst-mbrtowc-ENV): Likewise.
2110 (tst-wcrtomb-ENV): Likewise.
2111 (tst-mbrtowc2-ENV): Likewise.
2112 (tst-c16c32-1-ENV): Likewise.
2113 (tst-mbsnrtowcs-ENV): Likewise.
2115 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2117 * manual/resource.texi (How to get information about the memory
2118 subsystem?): Fix typo.
2119 Reported by Peon de la Parra Ivan <peon@keba.com>
2121 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2124 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2125 (pthread_spin_lock): Branch out of spin loop to proper location.
2126 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2127 (pthread_spin_lock): Likewise.
2129 * nptl/tst-spin4.c: New test.
2130 * nptl/Makefile (tests): Add tst-spin4.
2132 2014-06-03 Andreas Schwab <schwab@suse.de>
2135 * resolv/res_send.c (send_dg): Reload file descriptor after
2138 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2140 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2142 2014-06-03 Richard Henderson <rth@redhat.com>
2144 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2145 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2146 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2147 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2148 in the SAVE_PID block.
2149 (__libc_vfork): New alias.
2150 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2152 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2153 child in registers, not on the stack. Remove RESET_PID conditionals.
2154 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2156 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2158 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2160 2014-06-03 Wilco <wdijkstr@arm.com>
2162 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2163 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2164 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2165 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2166 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2169 2014-06-03 Wilco <wdijkstr@arm.com>
2171 * sysdeps/aarch64/fpu/math_private.h
2172 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2173 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2174 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2175 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2178 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2180 * crypt/crypt-private.h: Include ufc-crypt.h.
2181 (__b64_from_24bit): Declare extern.
2182 * crypt/crypt_util.c(__b64_from_24bit): New function.
2183 (b64t): New static const variable.
2184 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2185 (b64t): Remove variable.
2186 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2187 * crypt/sha256-crypt.c: Include crypt-private.h.
2188 (b64t): Remove variable.
2189 (__sha256_crypt_r): Remove b64_from_24bit and replace
2190 with __b64_from_24bit.
2191 * crypt/sha512-crypt.c: Likewise.
2193 2014-06-02 Roland McGrath <roland@hack.frob.com>
2195 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2196 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2197 Label the code __libc_vfork rather than __vfork.
2198 [!NOT_IN_libc] (vfork): Define as weak alias.
2199 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2200 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2201 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2203 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2205 * malloc/malloc.c (malloc_info): Fix format specifier for
2208 2014-06-02 Wilco <wdijkstr@arm.com>
2210 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2213 2014-06-02 Wilco <wdijkstr@arm.com>
2216 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2217 Rewrite to reduce FPCR/FPSR accesses.
2219 2014-06-01 David S. Miller <davem@davemloft.net>
2221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2223 2014-05-31 David S. Miller <davem@davemloft.net>
2225 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2226 to occur in round to nearest mode when |x| >= 2.0
2228 2014-05-30 Richard Henderson <rth@twiddle.net>
2230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2231 (PSEUDO_RET_NOERRNO): Remove.
2232 (ret): Don't redefine.
2233 (ret_NOERRNO): Define in terms of ret.
2234 (ret_ERRVAL): Likewise.
2236 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2237 use of PSEUDO_RET; perform the error check directly.
2239 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2241 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2244 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2246 * malloc/malloc (malloc_info): Fix formatting.
2248 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2249 Roland McGrath <roland@hack.frob.com>
2251 * malloc/malloc (malloc_info): Also print mmapped statistics.
2253 2014-05-30 Roland McGrath <roland@hack.frob.com>
2255 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2256 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2258 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2260 * malloc/malloc.c (malloc_info): Inline mi_arena.
2262 2014-05-29 Richard Henderson <rth@twiddle.net>
2264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2265 Remove comma before expanding ASM_ARGS_##nr.
2266 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2267 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2269 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2270 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2271 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2272 (ASM_ARGS_1): Add leading comma.
2274 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2275 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2276 to __errno_location.
2277 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2278 Remove the expected plt for __errno_location.
2280 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2281 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2285 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2286 it and break it down.
2287 (DOCARGS_0, DOCARGS_1): Do nothing.
2288 (DOCARGS_2): Update to store into the new stack frame.
2289 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2290 (UNDOCARGS_1): Update to restore from the new stack frame.
2291 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2292 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2294 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2295 (SINGLE_THREAD_P): New parameter for result regno.
2296 (PSEUDO): Update to match; use cbz instead of beq.
2298 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2299 Use ENTRY to define the _nocancel entry point. Share the syscall
2300 and syscall error check paths with the cancel path.
2303 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2304 whitespace; tabs before and after asm mnemonics.
2306 2014-05-29 Eric Wong <normalperson@yhbt.net>
2309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2310 Call fstat64 or stat64 internally, depending on arguments passed.
2311 Replace stat buffer argument with file descriptor argument.
2312 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2313 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2314 Pass fd to __internal_statvfs instead of calling fstat64.
2315 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2316 Pass fd to __internal_statvfs64 instead of calling fstat64.
2317 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2318 Pass -1 to __internal_statvfs instead of calling stat64.
2319 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2320 Pass -1 to __internal_statvfs64 instead of calling stat64.
2322 2014-05-28 Roland McGrath <roland@hack.frob.com>
2324 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2325 that was previously under [RESET_PID].
2326 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2328 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2329 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2331 2014-05-27 Roland McGrath <roland@hack.frob.com>
2333 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2335 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2336 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2338 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2340 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2342 2014-05-27 Andreas Schwab <schwab@suse.de>
2344 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2346 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2347 * elf/rtld.c (init_tls, dl_main): Likewise.
2348 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2349 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2350 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2351 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2352 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2353 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2354 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2355 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2356 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2357 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2358 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2359 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2360 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2361 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2362 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2363 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2364 * sysdeps/generic/tls.h: Update description.
2366 2014-05-27 Will Newton <will.newton@linaro.org>
2369 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2370 and restore r2 rather than just restoring.
2372 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2375 * libio/tst-ftell-append.c: New test case.
2376 * libio/Makefile (tests): Add test case.
2377 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2379 * libio/wfileops.c (do_ftell_wide): Likewise.
2381 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2385 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2389 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2390 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2392 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2394 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2402 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2404 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2407 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2410 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2412 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2414 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2416 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2419 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2421 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2444 conditional [RESET_PID].
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2448 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2453 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2454 (__libc_vfork): New strong alias.
2455 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2462 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2463 (__libc_vfork): New strong alias.
2464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2469 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2471 * malloc/malloc.c (mi_arena): New function.
2472 (malloc_info): Remove nested function mi_arena. Call non-nosted
2475 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2479 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2480 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2481 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2482 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2483 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2484 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2485 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2487 2014-05-26 Andreas Schwab <schwab@suse.de>
2490 * locale/programs/repertoire.c (repertoire_read): Add slash
2491 between I18NPATH element and file name.
2492 * locale/programs/locfile.c (locfile_read): Likewise.
2494 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2496 * nptl/pthread_mutexattr_settype.c
2497 (__pthread_mutexattr_settype):
2498 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2500 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2502 * nptl/tst-mutex5 (do_test):
2503 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2505 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2507 * benchtests/README: Document 'init' directive.
2508 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2510 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2511 (parse_file): Recognize 'init' directive.
2513 2014-05-26 Kyle McMartin <kyle@redhat.com>
2516 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2517 alignment of struct pthread.
2519 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2522 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2523 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2524 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2525 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2527 2014-05-25 Richard Henderson <rth@twiddle.net>
2529 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2530 (SINGLE_THREAD_P_PIC): Remove.
2531 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2532 (SINGLE_THREAD_P_PIC): Remove.
2534 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2535 branch to syscall error ...
2537 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2538 from __local_syscall_error to .Lsyscall_error.
2539 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2540 (SYSCALL_ERROR): Update label name.
2542 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2543 Do not use DOARGS/UNDOARGS.
2544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2545 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2546 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2547 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2548 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2550 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2553 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2554 define if !NOT_IN_libc.
2555 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2556 define with non-default symbol versions.
2558 2014-05-23 Richard Henderson <rth@twiddle.net>
2560 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2561 (vfork, __vfork): Define via compat_symbol.
2563 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2564 [!HAVE_IFUNC] (vfork_compat): Remove.
2565 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2567 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2570 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2571 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2574 2014-05-23 Richard Henderson <rth@twiddle.net>
2576 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2577 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2578 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2579 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2581 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2582 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2583 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2584 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2585 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2586 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2587 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2588 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2589 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2590 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2591 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2592 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2593 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2594 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2595 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2596 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2597 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2598 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2600 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2601 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2602 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2603 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2604 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2605 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2607 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2608 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2609 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2610 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2611 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2612 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2613 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2614 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2615 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2616 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2617 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2618 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2619 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2620 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2621 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2622 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2623 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2624 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2625 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2626 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2628 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2630 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2631 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2632 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2633 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2634 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2636 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2638 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2639 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2640 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2641 before exiting on error.
2642 (__libc_vfork): New strong alias.
2643 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2644 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2646 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2647 that was previously under [RESET_PID].
2648 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2650 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2652 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2655 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2656 value when x - 1 is zero.
2657 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2658 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2659 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2660 0.0L for an argument of 1.0L.
2661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2663 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2664 value when x - 1 is zero.
2665 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update.
2667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2669 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2671 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2672 alphasort and versionsort.
2674 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2678 [copysignf]: Likewise.
2680 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2682 * crypt/md5-crypt.c: Fix formatting.
2684 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2686 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2687 (b64_from_24bit): New function.
2689 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2692 libc_hidden_builtin_def to ifunc.
2693 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2694 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2696 2014-05-21 Roland McGrath <roland@hack.frob.com>
2698 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2699 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2701 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2703 * nscd/Depend (linuxthreads): Remove.
2705 * resolv/Depend (linuxthreads): Remove.
2706 * rt/Depend (linuxthreads): Remove.
2708 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2709 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2710 $(common-objpfx)elf/.
2711 (link-libc-before-gnulib): Likewise.
2712 (elfobjdir): Remove variable.
2713 * Makefile (install): Use $(elf-objpfx) instead of
2714 $(common-objpfx)elf/.
2715 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2717 (link-libc-deps): Likewise.
2718 ($(common-objpfx)libc.so): Likewise.
2719 ($(common-objpfx)linkobj/libc.so): Likewise.
2720 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2721 instead of $(common-objpfx)elf/.
2722 (symbolic-link-list): Likewise.
2723 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2724 [$(cross-compiling) = no]: Likewise.
2725 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2727 (static-gnulib-arch): Likewise.
2728 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2729 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2730 $(common-objpfx)elf/.
2732 2014-05-21 Richard Henderson <rth@redhat.com>
2734 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2735 (SINGLE_THREAD_P): Use the correct width load. Fold
2736 into the ldr offset.
2738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2739 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2741 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2743 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2744 (libgcc_s_resume): Use __attribute_used__.
2745 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2748 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2750 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2751 optimization when used with float constants.
2753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2755 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2758 * locale/nl_langinfo_l.c: Make direct reference to every
2759 _nl_current_CATEGORY symbol.
2760 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2761 (tests-static): Add tst-langinfo-static.
2762 (tests-special): Add tst-langinfo-static.out.
2763 ($(objpfx)tst-langinfo.out): Redirect output.
2764 ($(objpfx)tst-langinfo-static.out): New.
2765 * localedata/tst-langinfo.sh: Send output to stdout.
2766 * localedata/tst-langinfo-static.c: New file.
2769 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2770 when the shift amount is modulo the limb size.
2772 2014-05-20 Richard Henderson <rth@redhat.com>
2775 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2776 Change type of sa_flags from unsigned int to int.
2779 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2781 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2783 2014-05-20 Will Newton <will.newton@linaro.org>
2785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2786 Test the return value of the system call in the nocancel case.
2788 2014-05-20 Will Newton <will.newton@linaro.org>
2789 Yvan Roux <yvan.roux@linaro.org>
2791 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2792 #include of asm/ptrace.h.
2793 (PTRACE_GET_THREAD_AREA): Remove #undef.
2794 (PTRACE_GETHBPREGS): Likewise.
2795 (PTRACE_SETHBPREGS): Likewise.
2796 (struct user_regs_struct): New structure.
2797 (struct user_fpsimd_struct): New structure.
2798 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2799 #include of asm/ptrace.h and second #include of sys/user.h.
2800 (PTRACE_GET_THREAD_AREA): Remove #undef.
2801 (PTRACE_GETHBPREGS): Likewise.
2802 (PTRACE_SETHBPREGS): Likewise.
2803 (ELF_NGREG): Use new struct user_regs_struct.
2804 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2806 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2811 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2815 membar to avoid block loads/stores to overlap previous stores.
2817 2014-05-17 Richard Henderson <rth@redhat.com>
2819 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2820 Create the __##syscall_name##_nocancel entry point.
2821 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2822 Remove; let the sysdep-cancel.h code create it.
2824 2014-05-17 David S. Miller <davem@davemloft.net>
2826 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2827 Protect with __USE_GNU.
2828 (TIOCSET_TEMPT): Likewise.
2829 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2830 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2831 these are already provided in bits/ioctl-types.h
2833 2014-05-16 Roland McGrath <roland@hack.frob.com>
2835 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2836 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2838 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2839 Use wait4 regardless of [__NR_waitpid].
2841 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2844 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2845 (_FP_NANSIGN_Q): Set the quiet bit.
2847 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2849 * benchtests/Makefile
2850 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2851 not $(common-objpfx)math/libm.so.
2852 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2853 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2854 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2855 $(common-objpfx)dlfcn/libdl.so.
2856 ($(objpfx)tst-audit8): Depend on $(libm), not
2857 $(common-objpfx)math/libm.so.
2858 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2859 not $(common-objpfx)dlfcn/libdl.so.
2861 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2862 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2863 [$(build-shared) = yes].
2864 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2865 $(common-objpfx)nptl/libpthread.so.
2866 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2867 $(common-objpfx)math/libm.so$(libm.so-version) or
2868 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2869 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2870 $(common-objpfx)dlfcn/libdl.so.
2871 * setjmp/Makefile (link-libm): Remove variable.
2872 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2873 * stdio-common/Makefile (link-libm): Remove variable.
2874 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2875 * stdlib/Makefile (link-libm): Remove variable.
2876 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2877 ($(objpfx)tst-strtod-round): Likewise.
2878 ($(objpfx)tst-tininess): Likewise.
2879 ($(objpfx)tst-strtod-underflow): Likewise.
2880 ($(objpfx)tst-strtod6): Likewise.
2881 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2882 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2883 $(common-objpfx)dlfcn/libdl.so.
2885 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2888 BSD terminal modes definitions.
2890 2014-05-16 Roland McGrath <roland@hack.frob.com>
2892 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2893 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2895 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2896 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2897 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2898 Don't do #include_next.
2899 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2900 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2901 Don't do #include_next.
2902 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2903 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2904 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2905 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2907 2014-05-16 Allan McRae <allan@archlinux.org>
2909 * po/sv.po: Update Swedish translation from translation project.
2911 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2914 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2917 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2918 errno if the TIOCGPTN ioctl fails with an error different than
2920 * login/tst-ptsname.c: New file.
2921 * login/Makefile (tests): Add tst-ptsname.
2924 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2927 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2931 herrno to return EAI_AGAIN.
2933 2014-05-14 Roland McGrath <roland@hack.frob.com>
2935 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2936 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2937 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2964 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2966 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2971 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2995 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3000 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3006 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3008 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3012 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3014 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3016 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3018 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3021 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3023 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3026 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3027 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3028 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3029 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3031 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3033 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3035 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3037 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3039 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3041 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3043 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3045 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3047 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3049 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3051 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3053 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3055 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3057 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3058 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3060 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3061 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3062 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3064 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3067 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3070 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3073 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3074 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3076 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3078 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3081 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3083 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3084 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3085 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3087 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3090 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3093 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3095 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3096 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3098 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3101 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3103 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3105 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3107 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3108 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3109 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3115 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3118 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3119 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3123 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3126 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3128 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3130 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3132 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3133 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3135 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3138 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3140 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3141 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3143 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3146 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3148 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3150 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3152 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3154 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3155 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3156 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3157 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3158 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3161 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3164 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3167 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3170 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3172 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3174 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3177 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3179 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3181 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3183 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3186 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3191 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3192 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3194 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3199 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3201 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3203 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3205 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3207 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3209 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3211 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3213 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3214 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3216 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3217 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3219 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3220 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3221 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3223 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3225 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3227 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3231 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3233 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3235 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3238 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3239 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3240 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3243 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3245 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3246 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3247 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3249 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3252 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3255 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3257 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3259 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3260 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3261 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3262 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3263 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3264 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3265 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3266 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3267 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3268 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3269 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3271 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3273 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3274 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3275 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3276 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3277 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3279 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3280 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3282 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3283 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3284 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3285 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3286 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3287 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3288 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3293 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3294 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3295 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3296 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3298 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3299 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3300 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3301 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3302 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3303 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3304 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3305 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3306 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3333 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3334 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3336 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3337 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3338 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3339 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3340 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3341 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3344 that was previously under [RESET_PID].
3345 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3346 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3347 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3349 * sysdeps/i386/nptl/Implies: New file.
3350 * sysdeps/x86_64/nptl/Implies: New file.
3351 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3352 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3353 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3354 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3356 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3357 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3358 (__libc_vfork): New strong alias.
3359 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3360 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3362 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3364 (__libc_vfork): New strong alias.
3365 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3366 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3368 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3370 (__libc_vfork): New strong alias.
3371 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3372 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3373 * nptl/pt-vfork.c: New file.
3374 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3375 (libpthread: GLIBC_2.20): New version set (empty).
3377 2014-05-14 Will Newton <will.newton@linaro.org>
3379 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3382 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3385 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3386 arguments with exponent 65 or above.
3387 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3388 arguments 0x1p113L or above.
3389 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3390 to arguments 0x1p107L or above.
3391 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3392 positive arguments with exponent 65 or above.
3393 * math/auto-libm-test-in: Add more tests of log1p.
3394 * math/auto-libm-test-out: Regenerated.
3397 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3398 non-finite arguments is +0.
3399 * math/s_cacosf.c (__cacosf): Likewise.
3400 * math/s_cacosl.c (__cacosl): Likewise.
3401 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3402 * sysdeps/i386/fpu/libm-test-ulps: Update.
3403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3406 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3408 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3409 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3410 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3411 for explicit high bit of mantissa when testing for argument equal
3413 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3418 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3419 (__erf): Scale by 16 instead of 8 in potentially underflowing
3420 case. Ensure exception if result actually underflows.
3421 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3422 (__erff): Scale by 16 instead of 8 in potentially underflowing
3423 case. Ensure exception if result actually underflows.
3424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3425 (efx8): Remove variable.
3426 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3427 case. Ensure exception if result actually underflows.
3428 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3429 (efx8): Remove variable.
3430 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3431 case. Ensure exception if result actually underflows.
3432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3433 (efx8): Remove variable.
3434 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3435 case. Ensure exception if result actually underflows.
3436 * math/auto-libm-test-in: Add more tests of erf.
3437 * math/auto-libm-test-out: Regenerated.
3439 2014-05-14 Andreas Schwab <schwab@suse.de>
3441 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3442 Remove code conditionalized on USE___THREAD.
3444 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3445 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3448 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3451 Define unconditionally.
3452 (__ASSUME_O_CLOEXEC): Likewise.
3453 (__ASSUME_SOCK_CLOEXEC): Likewise.
3454 (__ASSUME_IN_NONBLOCK): Likewise.
3455 (__ASSUME_PIPE2): Likewise.
3456 (__ASSUME_EVENTFD2): Likewise.
3457 (__ASSUME_SIGNALFD4): Likewise.
3458 (__ASSUME_DUP3): Likewise.
3459 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3460 (__ASSUME_DUP3): Do not define.
3461 (__ASSUME_EVENTFD2): Likewise.
3462 (__ASSUME_IN_NONBLOCK): Likewise.
3463 (__ASSUME_O_CLOEXEC): Likewise.
3464 (__ASSUME_PIPE2): Likewise.
3465 (__ASSUME_SIGNALFD4): Likewise.
3466 (__ASSUME_SOCK_CLOEXEC): Likewise.
3467 (__ASSUME_UTIMES): Undefine.
3468 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3469 (__ASSUME_UTIMES): Do not define.
3470 (__ASSUME_O_CLOEXEC): Likewise.
3471 (__ASSUME_SOCK_CLOEXEC): Likewise.
3472 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3473 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3475 (__ASSUME_PIPE2): Likewise.
3476 (__ASSUME_EVENTFD2): Likewise.
3477 (__ASSUME_SIGNALFD4): Likewise.
3478 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3479 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3481 (__ASSUME_EVENTFD2): Likewise.
3482 (__ASSUME_SIGNALFD4): Likewise.
3483 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3484 (__ASSUME_32BITUIDS): Likewise.
3485 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3486 (__ASSUME_IPC64): Likewise.
3487 (__ASSUME_ST_INO_64_BIT): Likewise.
3488 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3489 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3490 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3491 (__ASSUME_UTIMES): Do not define.
3492 (__ASSUME_PSELECT): Likewise.
3493 (__ASSUME_PPOLL): Likewise.
3494 (__ASSUME_O_CLOEXEC): Likewise.
3495 (__ASSUME_SOCK_CLOEXEC): Likewise.
3496 (__ASSUME_IN_NONBLOCK): Likewise.
3497 (__ASSUME_PIPE2): Likewise.
3498 (__ASSUME_EVENTFD2): Likewise.
3499 (__ASSUME_SIGNALFD4): Likewise.
3500 (__ASSUME_DUP3): Likewise.
3501 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3502 (__ASSUME_UTIMES): Likewise.
3503 (__ASSUME_O_CLOEXEC): Likewise.
3504 (__ASSUME_SOCK_CLOEXEC): Likewise.
3505 (__ASSUME_IN_NONBLOCK): Likewise.
3506 (__ASSUME_PIPE2): Likewise.
3507 (__ASSUME_EVENTFD2): Likewise.
3508 (__ASSUME_SIGNALFD4): Likewise.
3509 (__ASSUME_DUP3): Likewise.
3510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3511 (__ASSUME_UTIMES): Likewise.
3512 (__ASSUME_O_CLOEXEC): Likewise.
3513 (__ASSUME_SOCK_CLOEXEC): Likewise.
3514 (__ASSUME_IN_NONBLOCK): Likewise.
3515 (__ASSUME_PIPE2): Likewise.
3516 (__ASSUME_EVENTFD2): Likewise.
3517 (__ASSUME_SIGNALFD4): Likewise.
3518 (__ASSUME_DUP3): Likewise.
3519 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3521 (__ASSUME_UTIMES): Likewise.
3522 (__ASSUME_EVENTFD2): Likewise.
3523 (__ASSUME_SIGNALFD4): Likewise.
3524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3525 (__ASSUME_O_CLOEXEC): Likewise.
3526 (__ASSUME_SOCK_CLOEXEC): Likewise.
3527 (__ASSUME_IN_NONBLOCK): Likewise.
3528 (__ASSUME_PIPE2): Likewise.
3529 (__ASSUME_EVENTFD2): Likewise.
3530 (__ASSUME_SIGNALFD4): Likewise.
3531 (__ASSUME_DUP3): Likewise.
3532 (__ASSUME_UTIMES): Undefine.
3534 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3535 feclearexcept. Remove symbol versioning code.
3536 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3537 symbol versioning code.
3538 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3539 symbol versioning code.
3540 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3541 feupdateenv. Remove symbol versioning code.
3542 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3543 fegetexceptflag. Remove symbol versioning code.
3544 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3545 fesetexceptflag. Remove symbol versioning code.
3546 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3547 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3548 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3549 (__posix_fadvise64_l32): Remove prototype.
3550 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3553 2014-05-13 Roland McGrath <roland@hack.frob.com>
3555 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3556 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3557 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3558 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3560 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3562 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3563 current working directory
3565 2014-05-13 Roland McGrath <roland@hack.frob.com>
3567 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3568 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3569 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3570 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3571 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3572 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3573 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3600 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3601 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3602 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3603 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3604 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3605 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3606 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3607 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3608 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3610 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3611 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3613 * sysdeps/unix/sysv/linux/arm/Makefile
3614 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3615 Add rt-aeabi_unwind_cpp_pr1.
3616 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3617 Add nptl-aeabi_unwind_cpp_pr1.
3618 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3619 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3620 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3621 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3622 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3623 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3625 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3626 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3627 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3628 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3630 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3631 Deconditionalize the code that was previously under [RESET_PID].
3632 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3634 * sysdeps/generic/exit-thread.h: New file.
3635 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3636 * include/unistd.h (__exit_thread): Remove declaration.
3637 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3638 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3639 * csu/libc-start.c: Include <exit-thread.h>.
3640 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3641 * nptl/pthread_create.c: Include <exit-thread.h>.
3642 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3643 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3644 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3645 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3646 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3647 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3648 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3649 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3650 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3651 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3652 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3653 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3654 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3655 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3656 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3657 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3658 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3660 2014-05-13 Andreas Schwab <schwab@suse.de>
3662 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3664 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3667 (__ASSUME_UTIMES): Do not condition on kernel version.
3668 (__ASSUME_PSELECT): Define unconditionally.
3669 (__ASSUME_PPOLL): Likewise.
3670 (__ASSUME_ATFCTS): Likewise.
3671 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3672 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3673 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3674 (__ASSUME_UTIMENSAT): Define unconditionally.
3675 (__ASSUME_PRIVATE_FUTEX): Likewise.
3676 (__ASSUME_FALLOCATE): Likewise.
3677 (__ASSUME_O_CLOEXEC): Likewise.
3678 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3679 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3680 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3681 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3682 (__ASSUME_IN_NONBLOCK): Likewise.
3683 (__ASSUME_PIPE2): Likewise.
3684 (__ASSUME_EVENTFD2): Likewise.
3685 (__ASSUME_SIGNALFD4): Likewise.
3686 (__ASSUME_DUP3): Likewise.
3687 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3688 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3689 (__ASSUME_AT_RANDOM): Likewise.
3690 (__ASSUME_PREADV): Likewise.
3691 (__ASSUME_PWRITEV): Likewise.
3692 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3693 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3694 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3695 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3696 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3697 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3698 (__ASSUME_O_CLOEXEC): Define unconditionally.
3699 (__ASSUME_PSELECT): Do not undefine conditionally.
3700 (__ASSUME_PPOLL): Likewise.
3701 (__ASSUME_ATFCTS): Likewise.
3702 (__ASSUME_SET_ROBUST_LIST): Likewise.
3703 (__ASSUME_UTIMENSAT): Likewise.
3704 (__ASSUME_FDATASYNC): Define unconditionally.
3705 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3706 (__ASSUME_SIGFRAME_V2): Likewise.
3707 )__ASSUME_EVENTFD2): Likewise.
3708 (__ASSUME_SIGNALFD4): Likewise.
3709 (__ASSUME_PSELECT): Do not undefine conditionally.
3710 (__ASSUME_PPOLL): Likewise.
3711 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3712 (__ASSUME_PSELECT): Define unconditionally.
3713 (__ASSUME_PPOLL): Likewise.
3714 (__ASSUME_O_CLOEXEC): Likewise.
3715 (__ASSUME_SOCK_CLOEXEC): Likewise.
3716 (__ASSUME_IN_NONBLOCK): Likewise.
3717 (__ASSUME_PIPE2): Likewise.
3718 (__ASSUME_EVENTFD2): Likewise.
3719 (__ASSUME_SIGNALFD4): Likewise.
3720 (__ASSUME_DUP3): Likewise.
3721 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3722 (__ASSUME_O_CLOEXEC): Likewise.
3723 (__ASSUME_SOCK_CLOEXEC): Likewise.
3724 (__ASSUME_IN_NONBLOCK): Likewise.
3725 (__ASSUME_PIPE2): Likewise.
3726 (__ASSUME_EVENTFD2): Likewise.
3727 (__ASSUME_SIGNALFD4): Likewise.
3728 (__ASSUME_DUP3): Likewise.
3729 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3730 (__ASSUME_EVENTFD2): Likewise.
3731 (__ASSUME_SIGNALFD4): Likewise.
3732 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3734 2014-05-12 Andreas Schwab <schwab@suse.de>
3737 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3738 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3739 than maximum RPC packet size.
3740 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3741 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3742 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3743 (_nss_nis_getservbyport_r): Likewise.
3745 2014-05-12 Will Newton <will.newton@linaro.org>
3747 * malloc/Makefile (tests): Add tst-mallopt.
3748 * malloc/tst-mallopt.c: New file.
3750 2014-05-09 Roland McGrath <roland@hack.frob.com>
3752 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3753 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3755 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3758 (tst-tlsmod6.so): Likewise.
3760 2014-05-09 Roland McGrath <roland@hack.frob.com>
3762 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3764 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3767 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3768 and <dl-procinfo.h>.
3769 (__fegetenv): Save SSE state in envp->__eip if supported.
3770 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3771 envp->__eip if supported.
3772 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3773 and <dl-procinfo.h>.
3774 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3775 __data_offset and __data_selector in environment to 0. Set SSE
3777 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3779 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3781 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3783 2014-05-09 Will Newton <will.newton@linaro.org>
3785 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3786 and libc_relro_required for ARM.
3787 * sysdeps/arm/preconfigure: Regenerate.
3789 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3790 Stefan Liebler <stli@linux.vnet.ibm.com>
3792 * config.make.in (enable-lock-elision): New Makefile variable.
3793 * configure.ac: Likewise.
3794 * configure: Regenerate.
3795 * sysdeps/s390/configure.ac:
3796 Add check for gcc transactions support.
3797 * sysdeps/s390/configure: Regenerate.
3798 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3799 Build elision files if enabled.
3800 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3801 Add lock elision support for s390.
3802 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3803 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3804 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3805 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3806 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3807 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3810 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3812 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3814 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3816 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3817 (__lll_timedlock_elision, __lll_lock_elision)
3818 (__lll_unlock_elision, __lll_trylock_elision)
3819 (lll_timedlock_elision, lll_lock_elision)
3820 (lll_unlock_elision, lll_trylock_elision): Add.
3821 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3822 (pthread_mutex_t): Add lock elision support for s390.
3824 2014-05-14 Wilco <wdijkstr@arm.com>
3826 * sysdeps/arm/fclrexcpt.c: Cleanup.
3827 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3828 * sysdeps/arm/feenablxcpt.c: Cleanup.
3829 * sysdeps/arm/fegetenv.c: Cleanup.
3830 * sysdeps/arm/fegetexcept.c: Cleanup.
3831 * sysdeps/arm/fegetround.c: Cleanup.
3832 * sysdeps/arm/feholdexcpt.c: Cleanup.
3833 * sysdeps/arm/fesetenv.c: Cleanup.
3834 * sysdeps/arm/fesetround.c: Cleanup.
3835 * sysdeps/arm/feupdateenv.c: Cleanup.
3836 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3837 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3838 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3839 * sysdeps/arm/ftestexcept.c: Cleanup.
3840 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3841 * sysdeps/arm/setfpucw.c: Cleanup.
3843 2014-05-09 Will Newton <will.newton@linaro.org>
3845 * sysdeps/arm/armv7/strcmp.S: New file.
3846 * NEWS: Mention addition of ARMv7 optimized strcmp.
3848 2014-05-08 Roland McGrath <roland@hack.frob.com>
3850 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3851 look for %.ac rather than %.in.
3853 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3854 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3855 * sysdeps/mach/hurd/configure: Regenerated.
3856 * sysdeps/unix/sysv/linux/configure: Regenerated.
3858 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3860 2014-05-07 Steve Ellcey <sellcey@mips.com>
3863 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3867 2014-05-07 Andreas Schwab <schwab@suse.de>
3869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3870 when skipping over non-matching result from nscd.
3872 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3875 * nptl/sockperf.c (client): Check socket return value.
3878 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3879 nscd security class.
3881 2014-05-06 Roland McGrath <roland@hack.frob.com>
3883 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3884 * sysdeps/arm/unwind.h: ... here.
3886 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3889 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3892 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3894 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3895 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3896 multiarch strncpy for PPC64.
3897 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3898 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3900 multiarch optimizations.
3901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3902 (__libc_ifunc_impl_list): Likewise.
3903 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3904 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3905 multiarch stpncpy for PPC64.
3906 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3907 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3909 2014-05-06 Andreas Schwab <schwab@suse.de>
3912 * gmon/mcount.c (_MCOUNT_DECL): Use
3913 atomic_compare_and_exchange_bool_acq instead of
3914 catomic_compare_and_exchange_bool_acq.
3916 2014-05-05 Roland McGrath <roland@hack.frob.com>
3918 * elf/Makefile (others, install-bin): Remove pldd.
3919 (pldd-modules): Variable removed.
3920 ($(objpfx)pldd): Target removed.
3921 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3922 (others, install-bin): Append pldd here.
3923 ($(objpfx)pldd): New target.
3925 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3926 to 0, so the first #if test emitted later doesn't see it undefined.
3927 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3928 * sysdeps/gnu/errlist.c: Regenerated.
3930 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3933 [libc_hidden_builtin_def]: Define to empty value.
3934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3935 [libc_hidden_builtin_def]: Likewise.
3936 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3937 [libc_hidden_builtin_def]: Likewise.
3938 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3939 [libc_hidden_builtin_def]: Likewise.
3940 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3941 __redirect_memcpy and define ifunc as default hidden symbol.
3942 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3943 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3945 2014-05-04 Adam Conrad <adconrad@0c3.net>
3947 * locale/iso-4217.def: Reintroduce XDR currency.
3949 2014-05-04 Allan McRae <allan@archlinux.org>
3951 * po/eo.po: Update Esperanto translation from translation project.
3953 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3955 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3956 and FEATURE_INDEX_MAX to 1.
3957 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3959 2014-05-01 Steve Ellcey <sellcey@mips.com>
3961 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3962 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3963 * iconvdata/big5.c (ONE_DIRECTION): Define.
3964 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3965 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3966 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3967 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3968 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3969 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3970 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3971 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3972 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3973 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3974 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3975 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3976 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3977 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3978 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3979 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3980 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3981 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3982 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3983 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3984 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3985 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3986 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3987 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3988 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3989 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3990 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3991 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3992 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3993 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3994 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3995 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3996 * iconvdata/johab.c (ONE_DIRECTION): Define.
3997 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3998 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3999 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4000 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4001 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4002 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4003 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4004 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4005 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4006 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4008 2014-05-01 Roland McGrath <roland@hack.frob.com>
4010 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4011 (_IO_JUMPS_OFFSET): Define to 0.
4013 * nptl/sysdeps/pthread/bits/libc-lock.h
4014 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4015 (__libc_lock_define_initialized_recursive): Always define using
4016 initializer. Modern compilers treat uninitialized (implicit zero) and
4017 explicit zero initializers the same (i.e. put the datum in bss).
4019 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4021 * nscd/nscd-client.h: Include <string.h>.
4023 2014-05-01 David S. Miller <davem@davemloft.net>
4026 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4027 multiple zero bytes exist at the end of a string.
4028 Reported by Aurelien Jarno <aurelien@aurel32.net>
4030 * string/test-strcmp.c (check): Add explicit test for situations where
4031 there are multiple zero bytes after the first.
4033 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4036 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4037 when compiling wprintf.
4038 * stdio-common/tstdiomisc.c (t3): New function.
4041 2014-05-01 Steve Ellcey <sellcey@mips.com>
4043 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4044 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4045 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4046 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4048 2014-05-01 Steve Ellcey <sellcey@mips.com>
4050 * stdlib/longlong.h: Updated from GCC.
4052 2014-05-01 Will Newton <will.newton@linaro.org>
4053 Bernard Ogden <bernie.ogden@linaro.org>
4055 * NEWS: Update fixed bug list.
4058 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4060 2014-04-30 David S. Miller <davem@davemloft.net>
4062 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4063 (libc_feholdexcept_setround_sparc_ctx): New function.
4064 (libc_fesetenv_sparc_ctx): Likewise.
4065 (libc_feupdateenv_sparc_ctx): Likewise.
4066 (libc_feholdsetround_sparc_ctx): Likewise.
4067 (libc_feholdexcept_setround_ctx): Define.
4068 (libc_feholdexcept_setroundf_ctx): Likewise.
4069 (libc_feholdexcept_setroundl_ctx): Likewise.
4070 (libc_fesetenv_ctx): Likewise.
4071 (libc_fesetenvf_ctx): Likewise.
4072 (libc_fesetenvl_ctx): Likewise.
4073 (libc_feupdateenv_ctx): Likewise.
4074 (libc_feupdateenvf_ctx): Likewise.
4075 (libc_feupdateenvl_ctx): Likewise.
4076 (libc_feresetround_ctx): Likewise.
4077 (libc_feresetroundf_ctx): Likewise.
4078 (libc_feresetroundl_ctx): Likewise.
4079 (libc_feholdsetround_ctx): Likewise.
4080 (libc_feholdsetroundf_ctx): Likewise.
4081 (libc_feholdsetroundl_ctx): Likewise.
4083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4084 with __USE_GNU instead of XOPEN cpp guards.
4086 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4090 with XOPEN cpp guards.
4092 2014-04-30 Julian Brown <julian@codesourcery.com>
4095 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4098 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4101 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4103 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4104 * sysdeps/unix/sysv/linux/configure: Regenerated.
4105 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4106 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4107 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4108 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4109 * README: Update reference to required Linux kernel version.
4110 * manual/install.texi (Linux): Update reference to required Linux
4111 kernel headers version.
4112 * INSTALL: Regenerated.
4114 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4116 [POSIX] (limits.h): Likewise.
4117 [POSIX] (math.h): Likewise.
4118 [POSIX] (sys/wait.h): Likewise.
4119 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4121 [POSIX] (stddef.h): Do not allow header inclusion.
4123 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4125 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4127 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4129 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4130 Return immediately after lll_futex_wake.
4132 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4135 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4137 (datahead_init_pos): Call datahead_init_common early.
4138 (datahead_init_neg): Likewise.
4140 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4141 datahead_init_neg): New functions.
4142 * nscd/aicache.c (addhstaiX): Use them.
4143 * nscd/grpcache.c (cache_addgr): Likewise.
4144 * nscd/hstcache.c (cache_addhst): Likewise.
4145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4146 * nscd/netgroupcache.c (do_notfound): Likewise.
4147 (addgetnetgrentX): Likewise.
4148 (addinnetgrX): Likewise.
4149 * nscd/pwdcache.c (cache_addpw): Likewise.
4150 * nscd/servicescache.c (cache_addserv): Likewise.
4152 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4153 Atsushi Onoe <atsushi@onoe.org>
4158 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4159 one response is valid.
4160 * resolv/res_send.c (send_dg): Check for validity of other
4161 response if the current response is a referral.
4163 2014-04-29 Steve Ellcey <sellcey@mips.com>
4165 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4167 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4170 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4171 Always divide by positive zero when computing -Inf result.
4172 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4173 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4175 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4177 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4178 FPSCR if value do not change.
4179 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4180 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4181 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4182 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4183 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4184 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4187 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4189 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4190 * sysdeps/unix/sysv/linux/hppa: Move directory from
4191 ports/systeps/unix/sysv/linux/hppa.
4192 * README: Update listing for hppa-*-linux-gnu.
4194 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4197 * manual/stdio.texi (Hook functions): Fix types of stream hook
4200 * socket/sys/socket.h: Fix typo in comment.
4202 2014-04-28 Wilco <wdijkstr@arm.com>
4204 * sysdeps/arm/fenv_private.h: New file.
4205 * sysdeps/arm/math_private.h: New file.
4206 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4208 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4210 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4212 (La_x86_64_retval): Likewise.
4214 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4216 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4217 fpsr if value didn't change.
4218 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4219 to fpcr if value didn't change.
4220 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4221 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4222 fpsr or fpcr if value didn't change.
4223 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4224 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4225 fpcr if value didn't change.
4226 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4227 to fpsr if value didn't change.
4229 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4231 * nptl/tst-sem3.c: Use test-skeleton.c
4232 (main): Rename to do_test. Use return instead of
4234 * nptl/tst-sem4.c: Use test-skeleton.c
4235 (main): Rename to do_test.
4237 2014-04-22 David S. Miller <davem@davemloft.net>
4239 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4240 (struct sigaction): New struct member __glibc_reserved0, change
4241 type of sa_flags to int.
4243 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4245 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4246 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4248 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4250 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4251 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4253 2014-04-22 Will Newton <will.newton@linaro.org>
4254 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4256 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4257 (__longjmp): Add longjmp and longjmp_target SystemTap
4259 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4260 (__sigsetjmp): Add setjmp SystemTap probe.
4262 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4264 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4267 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4271 * sysdeps/powerpc/fpu/fenv_private.h
4272 (libc_feholdexcept_setroundl_ctx): Define to
4273 libc_feholdexcept_setround_ppc_ctx.
4274 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4275 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4276 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4277 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4279 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4281 * sysdeps/aarch64/math-tests.h: New file.
4283 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4285 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4288 Check and set bit_AVX2_Usable.
4289 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4291 (bit_AVX2): Likewise.
4292 (index_AVX2_Usable): Likewise.
4293 (CPUID_AVX2): Likewise.
4294 (HAS_AVX2): Likewise.
4296 2014-04-17 Will Newton <will.newton@linaro.org>
4298 * manual/setjmp.texi (System V contexts): Add note that
4299 calling setcontext on a context created by a call to a
4300 signal handler is undefined. Update text to note that
4301 setcontext from a signal handler is possible but not
4305 * stdlib/tst-setcontext.c: Include signal.h.
4306 (main): Check that the signal stack before and
4307 after swapcontext is the same.
4309 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4310 Re-implement to restore registers in user code and avoid
4311 rt_sigreturn system call.
4313 2014-04-17 Wilco <wdijkstr@arm.com>
4315 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4316 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4317 * math/test-fenv.c: Skip exception trap tests on targets which only
4318 support non-stop mode.
4320 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4321 Wilco Dijkstra <wilco.dijkstra@arm.com>
4323 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4324 (libc_feholdsetround_aarch64_ctx)
4325 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4326 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4327 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4328 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4329 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4330 (libc_feresetround_noexl_ctx): Define.
4332 2014-04-16 Richard Henderson <rth@redhat.com>
4334 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4336 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4339 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4340 const from the non-libc, non-ldso copy.
4342 * sysdeps/alpha/libm-test-ulps: Regenerate.
4344 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4345 Wilco Dijkstra <wilco.dijkstra@arm.com>
4347 * sysdeps/aarch64/fpu/math_private.h: New file.
4349 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4351 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4353 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4355 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4356 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4358 Intel MPX bound registers before _dl_profile_fixup.
4359 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4360 registers after _dl_profile_fixup. Save and restore bound
4361 registers bnd0/bnd1 when calling _dl_call_pltexit.
4362 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4363 (LR_BND_OFFSET): Likewise.
4364 (LRV_BND0_OFFSET): Likewise.
4365 (LRV_BND1_OFFSET): Likewise.
4367 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4369 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4371 * sysdeps/mach/hurd/i386/tls.h: ... here.
4372 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4373 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4376 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4378 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4380 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4382 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4384 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4387 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4388 * sysdeps/s390/configure: Regenerate.
4391 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4392 Set round-to-nearest internally to reduce error accumulation.
4394 2014-04-16 Alan Modra <amodra@gmail.com>
4398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4399 * math/libm-test.inc (frexp_test_data): Add tests.
4400 * NEWS: Update fixed bug list.
4402 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * benchtests/Makefile: Depend on libraries in build directory.
4405 (bench-math): Separate out math tests.
4406 (bench-pthread): Separate out pthread tests.
4407 (bench): Include math and pthread tests.
4409 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4412 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4413 _dl_debug_initialize.
4415 * configure.ac: Remove SELinux header check.
4416 * configure: Regenerate.
4417 * nscd/selinux.c (perms): Array of const char* to permission names.
4418 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4419 default policy. Call string_to_security_class and string_to_av_perm to
4420 translate strings. Enforce default policy and call avs_has_perm with
4421 results of translated strings.
4423 2014-04-13 David S. Miller <davem@davemloft.net>
4425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4427 2014-04-12 Allan McRae <allan@archlinux.org>
4430 * manual/string.texi (Collation Functions): Fix qsort argument
4432 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4434 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4436 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4437 Make the test a no-op if there are no exceptions defined.
4439 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4441 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4442 enable-hardcoded-path-in-tests
4444 2014-04-11 Will Newton <will.newton@linaro.org>
4446 * benchtests/Makefile (extra-objs): Add json-lib.o.
4447 (bench-func): Tidy up JSON output.
4448 * benchtests/bench-skeleton.c: Include json-lib.h.
4449 (main): Use JSON library functions to do output of
4451 * benchtests/bench-timing-type.c (main): Output the
4452 timing type simply, leaving formatting to the user.
4453 * benchtests/json-lib.c: New file.
4454 * benchtests/json-lib.h: Likewise.
4456 2014-04-11 Torvald Riegel <triegel@redhat.com>
4459 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4460 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4461 memory barriers. Add comments.
4462 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4463 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4464 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4465 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4466 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4467 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4469 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4471 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4472 * sysdeps/s390/s390-64/configure.ac: ... this ...
4473 * sysdeps/s390/configure.ac: ... to here.
4474 * sysdeps/s390/s390-32/configure: Delete file.
4475 * sysdeps/s390/s390-64/configure: Delete file.
4476 * sysdeps/s390/configure: Regenerate.
4478 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4480 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4482 2014-04-11 Will Newton <will.newton@linaro.org>
4484 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4485 to zero if it is not defined elsewhere. (mtrim): Test
4486 the value of MALLOC_DEBUG with #if rather than #ifdef.
4488 2014-04-10 Torvald Riegel <triegel@redhat.com>
4490 * benchtests/pthread_once-inputs: New file.
4491 * benchtests/pthread_once-source.c: New file.
4492 * benchtests/README: Update documentation.
4494 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4495 H.J. Lu <hongjiu.lu@intel.com>
4497 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4498 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4499 * sysdeps/x86_64/configure: Regenerated.
4500 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4502 (REGISTER_SAVE_RAX): Likewise.
4503 (REGISTER_SAVE_RCX): Likewise.
4504 (REGISTER_SAVE_RDX): Likewise.
4505 (REGISTER_SAVE_RSI): Likewise.
4506 (REGISTER_SAVE_RDI): Likewise.
4507 (REGISTER_SAVE_R8): Likewise.
4508 (REGISTER_SAVE_R9): Likewise.
4509 (REGISTER_SAVE_BND0): Likewise.
4510 (REGISTER_SAVE_BND1): Likewise.
4511 (REGISTER_SAVE_BND2): Likewise.
4512 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4513 bound registers when calling _dl_fixup.
4515 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4517 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4518 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4520 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4521 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4522 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4523 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4524 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4525 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4526 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4528 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4531 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4532 pathconf(_PC_NAME_MAX).
4534 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4536 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4538 (__PTHREAD_SPINS): Move definition to ...
4539 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4540 (__PTHREAD_SPINS): ... here.
4541 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4542 (__PTHREAD_SPIN): Likewise.
4543 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4544 (__PTHREAD_SPIN): Likewise.
4545 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4546 (__PTHREAD_SPIN): Likewise.
4547 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4548 (__PTHREAD_SPIN): Likewise.
4549 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4550 (__PTHREAD_SPIN): Likewise.
4551 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4552 (__PTHREAD_SPIN): Likewise.
4553 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4554 (__PTHREAD_SPIN): Likewise.
4555 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4556 (__PTHREAD_SPIN): Likewise.
4557 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4558 (__PTHREAD_SPIN): Likewise.
4559 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4560 (__PTHREAD_SPIN): Likewise.
4561 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4562 (__PTHREAD_SPIN): Likewise.
4563 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4564 (__PTHREAD_SPIN): Likewise.
4566 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4567 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4568 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4569 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4571 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4572 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4573 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4574 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4576 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4577 strlen symbol for non multi-arch builds.
4578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4579 missing hidden_def and weak_alias.
4581 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4583 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4585 2014-04-07 Will Newton <will.newton@linaro.org>
4587 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4588 and contents. [!_LIBC] Remove #ifndef and contents.
4589 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4590 * string/memccpy.c (__memccpy): Use ANSI prototype.
4591 * string/memfrob.c (memfrob): Likewise.
4592 * string/strcoll.c (STRCOLL): Likewise.
4593 * string/strlen.c (strlen): Likewise.
4594 * string/strtok.c (STRTOK): Likewise.
4595 * string/strcat.c: Remove unused #include of memcopy.h.
4596 (strcat): Use ANSI prototype.
4597 * string/strchr.c: Remove unused #include of memcopy.h.
4598 (strchr): Use ANSI prototype.
4599 * string/strcmp.c: Remove unused #include of memcopy.h.
4600 (strcmp): Use ANSI prototype.
4601 * string/strcpy.c: Remove unused #include of memcopy.h.
4602 (strcpy): Use ANSI prototype.
4604 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4606 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4607 * config.make.in (config-extra-cppflags): Set it from
4608 libc_extra_cppflags.
4609 * configure.ac (libc_extra_cflags): Make it accumulate over
4610 configure fragments.
4611 (libc_extra_cppflags): New flag.
4612 * configure. Regenerate.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4614 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4615 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4620 result for FE_DOWNWARD rounding mode.
4621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4625 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4627 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4628 in function argument name.
4630 2014-04-03 David Svoboda <svoboda@cert.org>
4633 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4636 2014-04-03 Roland McGrath <roland@hack.frob.com>
4638 * elf/dl-unmap-segments.h: New file.
4639 * sysdeps/generic/ldsodefs.h
4640 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4641 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4642 * elf/dl-fptr.c: Likewise.
4643 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4644 * sysdeps/aarch64/tlsdesc.c: Likewise.
4645 * sysdeps/arm/tlsdesc.c: Likewise.
4646 * sysdeps/i386/tlsdesc.c: Likewise.
4647 * sysdeps/tile/dl-runtime.c: Likewise.
4648 * sysdeps/x86_64/tlsdesc.c: Likewise.
4649 * elf/dl-load.h: New file.
4650 * elf/dl-load.c: Include it.
4651 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4652 Macros moved to dl-load.h.
4653 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4654 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4655 Use _dl_unmap_segments in place of __munmap.
4656 Break out segment-mapping loop into ...
4657 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4659 2014-04-03 Will Newton <will.newton@linaro.org>
4661 * elf/dl-lookup.c (do_lookup_x): Remove comment
4662 referring to nested function and move variable
4663 declarations down to before first use.
4665 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4669 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4671 * math/s_catanf.c (__catanf): Likewise.
4672 * math/s_catanh.c (__catanh): Likewise.
4673 * math/s_catanhf.c (__catanhf): Likewise.
4674 * math/s_catanhl.c (__catanhl): Likewise.
4675 * math/s_catanl.c (__catanl): Likewise.
4676 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4677 by positive zero when computing -Inf result.
4678 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4679 (catanh_test): Likewise.
4680 * sysdeps/i386/fpu/libm-test-ulps: Update.
4681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4684 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4685 instead of using underflowing value in computing result.
4686 * math/s_clog10.c (__clog10): Likewise.
4687 * math/s_clog10f.c (__clog10f): Likewise.
4688 * math/s_clog10l.c (__clog10l): Likewise.
4689 * math/s_clogf.c (__clogf): Likewise.
4690 * math/s_clogl.c (__clogl): Likewise.
4691 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4692 (clog10_test): Likewise.
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4696 2014-04-02 Alan Modra <amodra@gmail.com>
4699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4700 output when value is near a power of two. Use int64_t for lx and
4701 remove casts. Use decimal rather than hex exponent constants.
4702 Don't use long double multiplication when double will suffice.
4703 * math/libm-test.inc (nextafter_test_data): Add tests.
4704 * NEWS: Add 16739 and 16786 to bug list.
4706 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4708 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4710 2014-04-01 Will Newton <will.newton@linaro.org>
4712 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4713 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4715 2014-04-01 Florian Weimer <fweimer@redhat.com>
4718 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4719 * nptl/tst-setuid2.c: New file.
4720 * nptl/Makefile (xtests): Add tst-setuid2.
4722 2014-04-01 Alan Modra <amodra@gmail.com>
4725 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4727 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4731 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4732 set errno as appropriate.
4733 * math/w_scalbf.c (__scalbf): Likewise.
4734 * math/w_scalbl.c (__scalbl): Likewise.
4735 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4736 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4737 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4741 * math/w_atan2.c: Include <errno.h>.
4742 (__atan2): Set errno for result underflowing to zero.
4743 * math/w_atan2f.c: Include <errno.h>.
4744 (__atan2f): Set errno for result underflowing to zero.
4745 * math/w_atan2l.c: Include <errno.h>.
4746 (__atan2l): Set errno for result underflowing to zero.
4747 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4749 * math/auto-libm-test-out: Regenerated.
4751 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4753 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4754 Encode instruction correctly in little endian.
4755 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4759 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4764 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4767 * sysdeps/unix/sysv/linux/kernel-features.h
4768 [__sparc__ && !__arch64__ && !__sparc_v9__]
4769 (__ASSUME_SET_ROBUST_LIST): Do not define.
4770 [__sparc__ && !__arch64__ && !__sparc_v9__]
4771 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4772 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4775 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4776 (__ASSUME_REQUEUE_PI): Likewise.
4777 (__ASSUME_SET_ROBUST_LIST): Likewise.
4778 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4779 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4782 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4784 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4788 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4789 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4791 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4792 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4796 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4797 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4798 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4800 2014-03-31 Will Newton <will.newton@linaro.org>
4802 * benchtests/Makefile (bench): Add ffs and ffsll to list
4804 * benchtests/ffs-inputs: New file.
4805 * benchtests/ffsll-inputs: Likewise.
4807 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4810 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4811 too large before casting to int.
4812 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4813 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4814 * math/libm-test.inc (scalb_test_data): Add more tests.
4816 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4818 * benchtests/Makefile (DETAILED_OPT): New make option.
4819 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4821 * benchtests/bench-skeleton.c: Include stdbool.h.
4822 (main): Store and print timings per input.
4823 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4824 member to each argument value.
4825 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4826 (_print_arg_data): Initialize per-input timing to 0.
4828 * benchtests/Makefile (timing-type): New binary.
4829 (bench-clean): Also remove bench-timing-type.
4830 (bench): New target for timing-type.
4831 (bench-func): Print output in JSON format.
4832 * benchtests/bench-skeleton.c (main): Print output in JSON
4834 * benchtests/bench-timing-type.c: New file.
4835 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4836 (TIMING_PRINT_STATS): Remove.
4837 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4840 * benchtests/bench-modf.c: Remove.
4841 * benchtests/modf-inputs: New inputs file.
4843 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4846 * math/s_clog10.c (M_PI_LOG10E): New macro.
4847 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4848 imaginary parts are 0.
4849 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4850 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4851 imaginary parts are 0.
4852 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4853 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4854 imaginary parts are 0.
4855 * math/libm-test.inc (clog10_test_data): Update expected results
4856 for when real and imaginary parts are 0.
4858 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4860 * elf/dl-load.c: Finish conversion of __builtin_expect into
4863 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4867 1+x for argument with exponent below -67.
4868 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4870 * math/auto-libm-test-in: Add more tests of exp.
4871 * math/auto-libm-test-out: Regenerated.
4873 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4876 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4877 (nscd_getnetgrent): Use it.
4880 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4883 2014-03-27 Andi Kleen <ak@linux.intel.com>
4885 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4886 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4887 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4888 (lll_robust_unlock): Remove out of line section. Use cfi
4890 (LLL_STUB_UNWIND_INFO*): Remove.
4891 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4892 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4893 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4894 (lll_robust_unlock): Remove out of line section. Use cfi
4896 (LLL_STUB_UNWIND_INFO*): Remove.
4898 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4901 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4904 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4906 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4908 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4913 * math/test-fenv-preserve.c: New file.
4914 * math/Makefile (tests): Add test-fenv-preserve.
4916 2014-03-26 Will Newton <will.newton@linaro.org>
4918 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4920 2014-03-25 Roland McGrath <roland@hack.frob.com>
4922 * scripts/versionlist.awk: Partition the version sets and emit all
4923 GLIBC_* (sorted) before all others (sorted).
4925 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4927 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4928 GLIBC_2.2.5 version.
4930 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4935 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4940 2014-03-25 Andreas Schwab <schwab@suse.de>
4942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4943 label to be used after in6ailist is initialized.
4945 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4948 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4950 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4954 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4956 (fp_formats): Update initializers.
4957 (init_fp_formats): Initialize new field.
4958 (output_for_one_input_case): Allow underflow for results up to
4960 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4961 * math/auto-libm-test-in: Don't mark some underflows from asin and
4963 * math/auto-libm-test-out: Regenerated.
4964 * sysdeps/i386/fpu/libm-test-ulps: Update.
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967 2014-03-25 Andreas Schwab <schwab@suse.de>
4969 * libio/Makefile (tst-ftell-partial-wide-ENV)
4970 (tst-ftell-active-handler-ENV): Define.
4972 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4974 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4976 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4978 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4980 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4982 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4983 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4984 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4986 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4989 * elf/dl-load.c (open_verify): Add mode parameter.
4990 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4991 (open_path): Change from boolean 'secure' to complete flag 'mode'
4992 (_dl_map_object): Adjust.
4993 * elf/Makefile (tests): Add tst-dlopen-aout.
4994 * elf/tst-dlopen-aout.c: New test.
4996 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4999 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5000 (struct stat): Rename member pad0 to __glibc_reserved0.
5003 * sysdeps/s390/s390-32/bits/wordsize.h
5004 (__WORDSIZE32_SIZE_ULONG): New define.
5005 * sysdeps/s390/s390-64/bits/wordsize.h
5006 (__WORDSIZE32_SIZE_ULONG): Likewise.
5007 * sysdeps/generic/stdint.h (SIZE_MAX):
5008 Define as UL if __WORDSIZE32_SIZE_ULONG.
5011 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5012 (__glibc_reserved0): New variable.
5013 (sa_flags): Change type to int.
5015 * posix/Makefile (before-compile): Use += before-compile instead
5018 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5019 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5021 2014-03-20 Andreas Schwab <schwab@suse.de>
5024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5025 non-matching result from nscd.
5027 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5029 * scripts/bench.py: Moved to ...
5030 * benchtests/scripts/bench.py: ... here.
5031 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5033 2014-03-24 Andreas Schwab <schwab@suse.de>
5036 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5037 alloca_account and account alloca use for struct in6ailist.
5039 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5042 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5043 rounding mode to recompute results that overflow to infinity or
5045 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5047 * math/auto-libm-test-out: Regenerated.
5048 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5049 (ccosh_test): Likewise.
5050 (csin_test_data): Use plus_oflow.
5051 (csin_test): Use ALL_RM_TEST.
5052 (csinh_test_data): Use plus_oflow.
5053 (csinh_test): Use ALL_RM_TEST.
5054 * sysdeps/i386/fpu/libm-test-ulps: Update.
5055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5057 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5059 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5060 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5061 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5064 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5066 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5067 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5068 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5069 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5071 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5072 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5074 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5075 * sysdeps/i386/fpu/libm-test-ulps: Update.
5076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5078 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5080 * scripts/bench.pl: Remove file.
5081 * scripts/bench.py: New benchmark script.
5082 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5083 * benchtests/README: Mention python dependency.
5084 * scripts/pylintrc: New file.
5085 * scripts/pylint: New file.
5087 * bits/mathdef.h: Use #ifdef instead of #if.
5088 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5089 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5090 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5091 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5092 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5093 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5095 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5098 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5100 and strpbrk-ppc64 objects.
5101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5102 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5103 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5104 multiarch strpbrk for POWER7.
5105 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5106 multiarch strpbrk for PPC64.
5107 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5109 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5112 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5114 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5115 (atan_test): Likewise.
5116 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5117 (atanh_test): Use ALL_RM_TEST.
5118 (atan2_test_data): Likewise.
5119 (cabs_test): Likewise.
5120 (cacosh_test): Likewise.
5121 (carg_test): Likewise.
5122 (casin_test): Likewise.
5123 (casinh_test): Likewise.
5124 (cbrt_test): Likewise.
5125 (csqrt_test): Likewise.
5126 (erf_test): Likewise.
5127 (erfc_test): Likewise.
5128 (pow10_test): Likewise.
5129 (exp2_test): Likewise.
5130 (hypot_test): Likewise.
5131 (j0_test): Likewise.
5132 (j1_test): Likewise.
5133 (lgamma_test): Likewise.
5134 (gamma_test): Likewise.
5135 (sincos_test): Likewise.
5136 (tanh_test): Likewise.
5137 (y0_test): Likewise.
5138 (y1_test): Likewise.
5139 * sysdeps/i386/fpu/libm-test-ulps: Update.
5140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5144 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5146 and strcspn-ppc64 objects.
5147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5148 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5149 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5150 multiarch strcspn for POWER7.
5151 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5152 multiarch strcspn for PPC64.
5153 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5155 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5158 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5160 * math/gen-libm-test.pl (generate_testfile): Expect only function
5161 name as argument to AUTO_TESTS_* and pass results for all rounding
5162 modes to parse_args.
5163 (parse_auto_input): Separate inputs of automatic tests from
5164 outputs before storing in %auto_tests.
5165 * math/libm-test.inc (acos_test_data): Update call to
5167 (acos_test): Use ALL_RM_TEST.
5168 (acos_tonearest_test_data): Remove.
5169 (acos_test_tonearest): Likewise.
5170 (acos_towardzero_test_data): Likewise.
5171 (acos_test_towardzero): Likewise.
5172 (acos_downward_test_data): Likewise.
5173 (acos_test_downward): Likewise.
5174 (acos_upward_test_data): Likewise.
5175 (acos_test_upward): Likewise.
5176 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5177 (asin_test_data): Likewise.
5178 (asin_test): Use ALL_RM_TEST.
5179 (asin_tonearest_test_data): Remove.
5180 (asin_test_tonearest): Likewise.
5181 (asin_towardzero_test_data): Likewise.
5182 (asin_test_towardzero): Likewise.
5183 (asin_downward_test_data): Likewise.
5184 (asin_test_downward): Likewise.
5185 (asin_upward_test_data): Likewise.
5186 (asin_test_upward): Likewise.
5187 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5188 (atan_test_data): Likewise.
5189 (atanh_test_data): Likewise.
5190 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5191 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5192 (carg_test_data): Likewise.
5193 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5194 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5195 (ccosh_test_data): Likewise.
5196 (cexp_test_data): Likewise.
5197 (clog_test_data): Likewise.
5198 (clog10_test_data): Likewise.
5199 (cos_test_data): Update call to AUTO_TESTS_f_f.
5200 (cos_test): Use ALL_RM_TEST.
5201 (cos_tonearest_test_data): Remove.
5202 (cos_test_tonearest): Likewise.
5203 (cos_towardzero_test_data): Likewise.
5204 (cos_test_towardzero): Likewise.
5205 (cos_downward_test_data): Likewise.
5206 (cos_test_downward): Likewise.
5207 (cos_upward_test_data): Likewise.
5208 (cos_test_upward): Likewise.
5209 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5210 (cosh_test): Use ALL_RM_TEST.
5211 (cosh_tonearest_test_data): Remove.
5212 (cosh_test_tonearest): Likewise.
5213 (cosh_towardzero_test_data): Likewise.
5214 (cosh_test_towardzero): Likewise.
5215 (cosh_downward_test_data): Likewise.
5216 (cosh_test_downward): Likewise.
5217 (cosh_upward_test_data): Likewise.
5218 (cosh_test_upward): Likewise.
5219 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5220 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5221 (ctan_test_data): Likewise.
5222 (ctan_test): Use ALL_RM_TEST.
5223 (ctan_tonearest_test_data): Remove.
5224 (ctan_test_tonearest): Likewise.
5225 (ctan_towardzero_test_data): Likewise.
5226 (ctan_test_towardzero): Likewise.
5227 (ctan_downward_test_data): Likewise.
5228 (ctan_test_downward): Likewise.
5229 (ctan_upward_test_data): Likewise.
5230 (ctan_test_upward): Likewise.
5231 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5232 (ctanh_test): Use ALL_RM_TEST.
5233 (ctanh_tonearest_test_data): Remove.
5234 (ctanh_test_tonearest): Likewise.
5235 (ctanh_towardzero_test_data): Likewise.
5236 (ctanh_test_towardzero): Likewise.
5237 (ctanh_downward_test_data): Likewise.
5238 (ctanh_test_downward): Likewise.
5239 (ctanh_upward_test_data): Likewise.
5240 (ctanh_test_upward): Likewise.
5241 (erf_test_data): Update call to AUTO_TESTS_f_f.
5242 (erfc_test_data): Likewise.
5243 (exp_test_data): Likewise.
5244 (exp_test): Use ALL_RM_TEST.
5245 (exp_tonearest_test_data): Remove.
5246 (exp_test_tonearest): Likewise.
5247 (exp_towardzero_test_data): Likewise.
5248 (exp_test_towardzero): Likewise.
5249 (exp_downward_test_data): Likewise.
5250 (exp_test_downward): Likewise.
5251 (exp_upward_test_data): Likewise.
5252 (exp_test_upward): Likewise.
5253 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5254 (exp10_test): Use ALL_RM_TEST.
5255 (exp10_tonearest_test_data): Remove.
5256 (exp10_test_tonearest): Likewise.
5257 (exp10_towardzero_test_data): Likewise.
5258 (exp10_test_towardzero): Likewise.
5259 (exp10_downward_test_data): Likewise.
5260 (exp10_test_downward): Likewise.
5261 (exp10_upward_test_data): Likewise.
5262 (exp10_test_upward): Likewise.
5263 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5264 (expm1_test_data): Likewise.
5265 (expm1_test): Use ALL_RM_TEST.
5266 (expm1_tonearest_test_data): Remove.
5267 (expm1_test_tonearest): Likewise.
5268 (expm1_towardzero_test_data): Likewise.
5269 (expm1_test_towardzero): Likewise.
5270 (expm1_downward_test_data): Likewise.
5271 (expm1_test_downward): Likewise.
5272 (expm1_upward_test_data): Likewise.
5273 (expm1_test_upward): Likewise.
5274 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5275 (fma_test): Use ALL_RM_TEST.
5276 (fma_towardzero_test_data): Remove.
5277 (fma_test_towardzero): Likewise.
5278 (fma_downward_test_data): Likewise.
5279 (fma_test_downward): Likewise.
5280 (fma_upward_test_data): Likewise.
5281 (fma_test_upward): Likewise.
5282 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5283 (j0_test_data): Update call to AUTO_TESTS_f_f.
5284 (j1_test_data): Likewise.
5285 (jn_test_data): Update call to AUTO_TESTS_if_f.
5286 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5287 (log_test_data): Update call to AUTO_TESTS_f_f.
5288 (log10_test_data): Likewise.
5289 (log1p_test_data): Likewise.
5290 (log2_test_data): Likewise.
5291 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5292 (pow_tonearest_test_data): Likewise.
5293 (sin_test_data): Update call to AUTO_TESTS_f_f.
5294 (sin_test): Use ALL_RM_TEST.
5295 (sin_tonearest_test_data): Remove.
5296 (sin_test_tonearest): Likewise.
5297 (sin_towardzero_test_data): Likewise.
5298 (sin_test_towardzero): Likewise.
5299 (sin_downward_test_data): Likewise.
5300 (sin_test_downward): Likewise.
5301 (sin_upward_test_data): Likewise.
5302 (sin_test_upward): Likewise.
5303 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5304 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5305 (sinh_test): Use ALL_RM_TEST.
5306 (sinh_tonearest_test_data): Remove.
5307 (sinh_test_tonearest): Likewise.
5308 (sinh_towardzero_test_data): Likewise.
5309 (sinh_test_towardzero): Likewise.
5310 (sinh_downward_test_data): Likewise.
5311 (sinh_test_downward): Likewise.
5312 (sinh_upward_test_data): Likewise.
5313 (sinh_test_upward): Likewise.
5314 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5315 (sqrt_test): Use ALL_RM_TEST.
5316 (sqrt_tonearest_test_data): Remove.
5317 (sqrt_test_tonearest): Likewise.
5318 (sqrt_towardzero_test_data): Likewise.
5319 (sqrt_test_towardzero): Likewise.
5320 (sqrt_downward_test_data): Likewise.
5321 (sqrt_test_downward): Likewise.
5322 (sqrt_upward_test_data): Likewise.
5323 (sqrt_test_upward): Likewise.
5324 (tan_test_data): Update call to AUTO_TESTS_f_f.
5325 (tan_test): Use ALL_RM_TEST.
5326 (tan_tonearest_test_data): Remove.
5327 (tan_test_tonearest): Likewise.
5328 (tan_towardzero_test_data): Likewise.
5329 (tan_test_towardzero): Likewise.
5330 (tan_downward_test_data): Likewise.
5331 (tan_test_downward): Likewise.
5332 (tan_upward_test_data): Likewise.
5333 (tan_test_upward): Likewise.
5334 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5335 (tgamma_test_data): Likewise.
5336 (y0_test_data): Likewise.
5337 (y1_test_data): Likewise.
5338 (yn_test_data): Update call to AUTO_TESTS_if_f.
5339 (main): Do not call removed functions.
5341 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5343 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5344 (ldexp_test_data): Remove.
5345 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5347 (scalb_test): Use ALL_RM_TEST.
5349 2014-03-19 Andreas Schwab <schwab@suse.de>
5351 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5353 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5356 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5357 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5358 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5359 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5360 (__ASSUME_PREADV): Undefine.
5361 (__ASSUME_PWRITEV): Likewise.
5363 2014-03-18 Roland McGrath <roland@hack.frob.com>
5365 * bits/mman-linux.h: Add comment about non-Linux use.
5366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5367 bits/mman-linux.h resting place.
5369 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5370 * bits/mman-linux.h: ... here.
5372 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5374 * conform/conformtest.pl: Add standard definition when calling C
5375 preprocessor on data files.
5376 (checknamespace): Remove unused variable.
5378 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5380 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5381 minus_oflow, plus_uflow and minus_uflow in expected results.
5382 * math/libm-test.inc (scalbn_test_data): Add more tests of
5383 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5385 (scalbn_test): Use ALL_RM_TEST.
5386 (scalbln_test_data): Add more tests of negative arguments. Use
5387 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5388 (scalbln_test): Use ALL_RM_TEST.
5390 2014-03-18 Roland McGrath <roland@hack.frob.com>
5392 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5394 2014-03-18 Will Newton <will.newton@linaro.org>
5396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5399 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5401 * Makerules [!subdir] (check-abi): Exit with error status if a
5404 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5406 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5407 for rint. Include results for all rounding modes.
5408 (nearbyint_test): Use ALL_RM_TEST.
5409 (rint_test_data): Include all tests used for nearbyint.
5411 2014-03-17 Will Newton <will.newton@linaro.org>
5413 * nptl/sysdeps/pthread/pthread.h: Revert previous
5416 * sysdeps/generic/ldsodefs.h: Revert previous
5419 * libio/genops.c: Revert previous change.
5420 * libio/libioP.h: Likewise.
5421 * stdio-common/vfprintf.c: Likewise.
5423 * sysdeps/generic/math_private.h: Revert previous
5426 * sysdeps/generic/math_private.h: Check whether
5427 HAVE_RM_CTX is defined with #ifdef rather
5430 * argp/argp-fmtstream.h: Check whether
5431 __STRICT_ANSI__ is defined with #ifdef rather
5433 * argp/argp.h: Likewise.
5435 * libio/genops.c: Check whether
5436 _IO_JUMPS_OFFSET is defined with #ifdef rather
5438 * libio/libioP.h: Likewise.
5439 * stdio-common/vfprintf.c: Likewise.
5441 * sysdeps/generic/ldsodefs.h: Check whether
5442 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5445 * nptl/sysdeps/pthread/pthread.h: Check
5446 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5449 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5451 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5453 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5457 * libio/fileops.c (_IO_file_open): Seek to end of file but
5458 don't cache the offset.
5459 (get_file_offset): Remove function.
5460 (do_ftell): Use cached offset when available.
5461 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5462 don't cache the offset.
5463 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5465 (do_one_test): Call it.
5466 (do_ftell_test): Fix up expected old offset for a+ mode.
5467 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5470 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5471 up test status with function return status.
5472 (do_write_test): Likewise.
5473 (do_append_test): Likewise.
5475 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5476 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5479 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5481 * math/gen-libm-test.pl (parse_args): Handle results specified for
5482 each rounding mode separately.
5483 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5484 tests and results from lrint_tonearest_test_data,
5485 lrint_towardzero_test_data, lrint_downward_test_data and
5486 lrint_upward_test_data.
5487 (lrint_test): Use ALL_RM_TEST.
5488 (lrint_tonearest_test_data): Remove.
5489 (lrint_test_tonearest): Likewise.
5490 (lrint_towardzero_test_data): Likewise.
5491 (lrint_test_towardzero): Likewise.
5492 (lrint_downward_test_data): Likewise.
5493 (lrint_test_downward): Likewise.
5494 (lrint_upward_test_data): Likewise.
5495 (lrint_test_upward): Likewise.
5496 (llrint_test_data): Merge in per-rounding-mode tests and results
5497 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5498 llrint_downward_test_data and llrint_upward_test_data.
5499 (llrint_test): Use ALL_RM_TEST.
5500 (llrint_tonearest_test_data): Remove.
5501 (llrint_test_tonearest): Likewise.
5502 (llrint_towardzero_test_data): Likewise.
5503 (llrint_test_towardzero): Likewise.
5504 (llrint_downward_test_data): Likewise.
5505 (llrint_test_downward): Likewise.
5506 (llrint_upward_test_data): Likewise.
5507 (llrint_test_upward): Likewise.
5508 (rint_test_data): Merge in per-rounding-mode tests and results
5509 from rint_tonearest_test_data, rint_towardzero_test_data,
5510 rint_downward_test_data and rint_upward_test_data. Add
5511 per-rounding-mode results for tests not in those arrays.
5512 (rint_test): Use ALL_RM_TEST.
5513 (rint_tonearest_test_data): Remove.
5514 (rint_test_tonearest): Likewise.
5515 (rint_towardzero_test_data): Likewise.
5516 (rint_test_towardzero): Likewise.
5517 (rint_downward_test_data): Likewise.
5518 (rint_test_downward): Likewise.
5519 (rint_upward_test_data): Likewise.
5520 (rint_test_upward): Likewise.
5521 (main): Don't call removed functions.
5523 2014-03-14 Roland McGrath <roland@hack.frob.com>
5525 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5526 "Compiled on ..." crapola. It is anti-useful.
5528 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5530 * scripts/evaluate-test.sh: Handle fourth argument to determine
5531 whether test run should stop on failure.
5532 * Makeconfig (stop-on-test-failure): New variable.
5533 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5534 $(stop-on-test-failure).
5535 * Makefile (tests): Give a summary of results from testing and
5536 exit with failure status if they include an ERROR or FAIL.
5538 * manual/install.texi (Configuring and compiling): Mention
5539 stop-on-test-failure=y.
5540 * INSTALL: Regenerated.
5542 2014-03-14 Roland McGrath <roland@hack.frob.com>
5544 * scripts/versionlist.awk: New file.
5545 * Makerules [$(build-shared) = yes]
5546 (postclean-generated): Add Versions.def, not Versions.def.v and
5548 ($(common-objpfx)Versions.def.v.i): Target removed.
5549 ($(common-objpfx)Versions.def): New target.
5550 ($(common-objpfx)Versions.all): Depend on that rather that
5551 $(common-objpfx)Versions.def.v.
5552 * Versions.def: File removed.
5554 * Makeconfig (+gccwarn): Add -Wundef.
5555 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5556 a dl-sysdep.h breaking its contract.
5557 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5558 * include/stackinfo.h: New file.
5559 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5560 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5561 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5562 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5563 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5564 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5565 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5566 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5567 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5568 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5569 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5570 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5571 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5572 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5573 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5575 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5580 * math/libm-test.inc (round_test_data): Add more tests.
5583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5585 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5588 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5590 * math/libm-test.inc (ceil_test_data): Add more tests.
5592 * math/libm-test.inc (trunc_test_data): Add more tests related to
5595 2014-03-14 Roland McGrath <roland@hack.frob.com>
5597 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5598 with #if rather than #ifdef.
5599 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5601 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5603 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5604 first. Disable AVX-512 GCC support if assembler doesn't support
5606 * sysdeps/x86_64/configure: Regenerated.
5608 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5610 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5611 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5612 (__old_pthread_attr_setstack): Likewise.
5613 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5614 [!_STACK_GROWS_DOWN]: Likewise.
5616 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5618 * config.make.in (have-bash2): Delete.
5619 * configure.ac (libc_cv_have_bash2): Delete.
5620 * configure: Regenerate.
5621 * elf/Makefile (common-ldd-rewrite): Rename to ...
5622 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5623 (sh-ldd-rewrite): Delete.
5624 (bash-ldd-rewrite): Delete.
5625 (have-bash2): Delete checks.
5626 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5629 * config.make.in (have-ksh): Delete.
5631 * configure.ac (libc_cv_have_ksh): Delete.
5632 * configure: Regenerate.
5634 * elf/Makefile: Delete $(have-ksh) check.
5635 ($(objpfx)sotruss): Change KSH to BASH.
5636 * elf/sotruss.ksh: Rename to ...
5637 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5638 function style to match POSIX. Drop ksh vim mode setting.
5640 * manual/time.texi (Specifying the Time Zone with TZ): Change
5641 Tuesday to Thursday.
5643 * debug/tst-longjmp_chk2.c: Update header comment.
5644 (stackoverflow_handler): Add comment. Call assert on pass value.
5646 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5648 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5649 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5650 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5651 (La_x86_64_vector): Add zmm.
5652 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5653 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5654 ($(objpfx)tst-audit10): New target.
5655 ($(objpfx)tst-audit10.out): Likewise.
5656 (tst-audit10-ENV): New.
5657 (AVX512-CFLAGS): Likewise.
5658 (CFLAGS-tst-audit10.c): Likewise.
5659 (CFLAGS-tst-auditmod10a.c): Likewise.
5660 (CFLAGS-tst-auditmod10b.c): Likewise.
5661 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5662 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5663 * sysdeps/x86_64/configure: Regenerated.
5664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5665 AVX-512 zmm register support.
5666 (_dl_x86_64_save_sse): Likewise.
5667 (_dl_x86_64_restore_sse): Likewise.
5668 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5669 size vector registers.
5670 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5671 (ZMM_SIZE): Likewise.
5672 * sysdeps/x86_64/tst-audit10.c: New file.
5673 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5674 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5676 2014-03-13 Roland McGrath <roland@hack.frob.com>
5678 * configure.ac (HAVE_EHDR_START): New check.
5679 * configure: Regenerated.
5680 * config.h.in (HAVE_EHDR_START): New #undef.
5681 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5682 assuming the lowest-addressed segment maps the start of the file.
5684 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5686 * INSTALL: Regenerated.
5688 2014-03-13 Will Newton <will.newton@linaro.org>
5690 * manual/setjmp.texi (System V contexts): Improve
5691 clarity and grammar of documentation.
5693 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5696 * elf/Makefile (tests): Add tst-pie2.
5697 (tests-pie): Add tst-pie2.
5698 * elf/tst-pie2.c: New file.
5699 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5701 * elf/rtld.c (map_doit): Load executable as lt_executable.
5702 (dl_main): Likewise.
5704 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5708 (__ASSUME_PSELECT): Undefine.
5710 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5714 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5716 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5717 selector for static builds.
5719 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5722 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5725 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5727 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5728 IFUNC selector for static builds.
5730 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5732 * sysdeps/mips/math_private.h [__mips_hard_float]
5733 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5734 libc_feresetround_mips_ctx.
5735 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5736 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5737 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5740 * math/s_nextafter.c (__nextafter): Do not return value from
5741 overflowing computation.
5742 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5743 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5744 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5746 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5748 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5749 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5751 2014-03-11 Roland McGrath <roland@hack.frob.com>
5753 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5754 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5755 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5756 the new mov targetting sp.
5758 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5762 Define it for static builds as well.
5763 (NO_BZERO_IMPL): Likewise.
5765 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5767 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5768 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5769 multiarch strspn for PPC64.
5770 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5771 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5773 (__libc_ifunc_impl_list): Likewise.
5774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5775 multiarch optimizations
5776 * string/strspn.c (strspn): Using macro to redefine symbol name.
5778 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5779 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5781 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5782 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5783 multiarch strncat for PPC64.
5784 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5785 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5787 (__libc_ifunc_impl_list): Likewise.
5788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5789 multiarch optimizations
5791 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5794 * nscd/nscd.service: Make service type forking.
5796 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5798 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5799 sign in non default rounding modes.
5800 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5802 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5804 * math/libm-test.inc (ALL_RM_TEST): New macro.
5805 (ceil_test): Use ALL_RM_TEST.
5806 (cimag_test): Likewise.
5807 (conj_test): Likewise.
5808 (copysign_test): Likewise.
5809 (cproj_test): Likewise.
5810 (creal_test): Likewise.
5811 (fabs_test): Likewise.
5812 (floor_test): Likewise.
5813 (fmax_test): Likewise.
5814 (fmin_test): Likewise.
5815 (fmod_test): Likewise.
5816 (fpclassify_test): Likewise.
5817 (frexp_test): Likewise.
5818 (ilogb_test): Likewise.
5819 (isfinite_test): Likewise.
5820 (finite_test): Likewise.
5821 (isgreater_test): Likewise.
5822 (isgreaterequal_test): Likewise.
5823 (isinf_test): Likewise.
5824 (isless_test): Likewise.
5825 (islessequal_test): Likewise.
5826 (islessgreater_test): Likewise.
5827 (isnan_test): Likewise.
5828 (isnormal_test): Likewise.
5829 (issignaling_test): Likewise.
5830 (isunordered_test): Likewise.
5831 (logb_test): Likewise.
5832 (logb_downward_test_data): Remove.
5833 (logb_test_downward): Likewise.
5834 (lround_test): Use ALL_RM_TEST.
5835 (llround_test): Likewise.
5836 (modf_test): Likewise.
5837 (nexttoward_test): Likewise.
5838 (remainder_test): Likewise.
5839 (drem_test): Likewise.
5840 (remainder_tonearest_test_data): Likewise.
5841 (remainder_test_tonearest): Likewise.
5842 (drem_test_tonearest): Likewise.
5843 (remainder_towardzero_test_data): Likewise.
5844 (remainder_test_towardzero): Likewise.
5845 (drem_test_towardzero): Likewise.
5846 (remainder_downward_test_data): Likewise.
5847 (remainder_test_downward): Likewise.
5848 (drem_test_downward): Likewise.
5849 (remainder_upward_test_data): Likewise.
5850 (remainder_test_upward): Likewise.
5851 (drem_test_upward): Likewise.
5852 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5853 (round_test): Use ALL_RM_TEST.
5854 (signbit_test): Likewise.
5855 (trunc_test): Likewise.
5856 (significand_test): Likewise.
5857 (main): Don't call removed functions.
5859 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5862 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5864 (ILL_ILLOPN): Likewise.
5865 (ILL_ILLADR): Likewise.
5866 (ILL_ILLTRP): Likewise.
5867 (ILL_PRVOPC): Likewise.
5868 (ILL_PRVREG): Likewise.
5869 (ILL_COPROC): Likewise.
5870 (ILL_BADSTK): Likewise.
5871 (FPE_INTDIV): Likewise.
5872 (FPE_INTOVF): Likewise.
5873 (FPE_FLTDIV): Likewise.
5874 (FPE_FLTOVF): Likewise.
5875 (FPE_FLTUND): Likewise.
5876 (FPE_FLTRES): Likewise.
5877 (FPE_FLTINV): Likewise.
5878 (FPE_FLTSUB): Likewise.
5879 (SEGV_MAPERR): Likewise.
5880 (SEGV_ACCERR): Likewise.
5881 (BUS_ADRALN): Likewise.
5882 (BUS_ADRERR): Likewise.
5883 (BUS_OBJERR): Likewise.
5884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5885 (TRAP_TRACE): Likewise.
5886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5888 (CLD_KILLED): Likewise.
5889 (CLD_DUMPED): Likewise.
5890 (CLD_TRAPPED): Likewise.
5891 (CLD_STOPPED): Likewise.
5892 (CLD_CONTINUED): Likewise.
5893 (POLL_IN): Likewise.
5894 (POLL_OUT): Likewise.
5895 (POLL_MSG): Likewise.
5896 (POLL_ERR): Likewise.
5897 (POLL_PRI): Likewise.
5898 (POLL_HUP): Likewise.
5899 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5901 (ILL_ILLOPN): Likewise.
5902 (ILL_ILLADR): Likewise.
5903 (ILL_ILLTRP): Likewise.
5904 (ILL_PRVOPC): Likewise.
5905 (ILL_PRVREG): Likewise.
5906 (ILL_COPROC): Likewise.
5907 (ILL_BADSTK): Likewise.
5908 (FPE_INTDIV): Likewise.
5909 (FPE_INTOVF): Likewise.
5910 (FPE_FLTDIV): Likewise.
5911 (FPE_FLTOVF): Likewise.
5912 (FPE_FLTUND): Likewise.
5913 (FPE_FLTRES): Likewise.
5914 (FPE_FLTINV): Likewise.
5915 (FPE_FLTSUB): Likewise.
5916 (SEGV_MAPERR): Likewise.
5917 (SEGV_ACCERR): Likewise.
5918 (BUS_ADRALN): Likewise.
5919 (BUS_ADRERR): Likewise.
5920 (BUS_OBJERR): Likewise.
5921 (BUS_MCEERR_AR): Likewise.
5922 (BUS_MCEERR_AO): Likewise.
5923 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5924 (TRAP_TRACE): Likewise.
5925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5927 (CLD_KILLED): Likewise.
5928 (CLD_DUMPED): Likewise.
5929 (CLD_TRAPPED): Likewise.
5930 (CLD_STOPPED): Likewise.
5931 (CLD_CONTINUED): Likewise.
5932 (POLL_IN): Likewise.
5933 (POLL_OUT): Likewise.
5934 (POLL_MSG): Likewise.
5935 (POLL_ERR): Likewise.
5936 (POLL_PRI): Likewise.
5937 (POLL_HUP): Likewise.
5938 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5939 (ILL_ILLOPN): Likewise.
5940 (ILL_ILLADR): Likewise.
5941 (ILL_ILLTRP): Likewise.
5942 (ILL_PRVOPC): Likewise.
5943 (ILL_PRVREG): Likewise.
5944 (ILL_COPROC): Likewise.
5945 (ILL_BADSTK): Likewise.
5946 (FPE_INTDIV): Likewise.
5947 (FPE_INTOVF): Likewise.
5948 (FPE_FLTDIV): Likewise.
5949 (FPE_FLTOVF): Likewise.
5950 (FPE_FLTUND): Likewise.
5951 (FPE_FLTRES): Likewise.
5952 (FPE_FLTINV): Likewise.
5953 (FPE_FLTSUB): Likewise.
5954 (SEGV_MAPERR): Likewise.
5955 (SEGV_ACCERR): Likewise.
5956 (BUS_ADRALN): Likewise.
5957 (BUS_ADRERR): Likewise.
5958 (BUS_OBJERR): Likewise.
5959 (BUS_MCEERR_AR): Likewise.
5960 (BUS_MCEERR_AO): Likewise.
5961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5962 (TRAP_TRACE): Likewise.
5963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5965 (CLD_KILLED): Likewise.
5966 (CLD_DUMPED): Likewise.
5967 (CLD_TRAPPED): Likewise.
5968 (CLD_STOPPED): Likewise.
5969 (CLD_CONTINUED): Likewise.
5970 (POLL_IN): Likewise.
5971 (POLL_OUT): Likewise.
5972 (POLL_MSG): Likewise.
5973 (POLL_ERR): Likewise.
5974 (POLL_PRI): Likewise.
5975 (POLL_HUP): Likewise.
5976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5978 (ILL_ILLOPN): Likewise.
5979 (ILL_ILLADR): Likewise.
5980 (ILL_ILLTRP): Likewise.
5981 (ILL_PRVOPC): Likewise.
5982 (ILL_PRVREG): Likewise.
5983 (ILL_COPROC): Likewise.
5984 (ILL_BADSTK): Likewise.
5985 (ILL_BADIADDR): Likewise.
5986 (ILL_BREAK): Likewise.
5987 (FPE_INTDIV): Likewise.
5988 (FPE_INTOVF): Likewise.
5989 (FPE_FLTDIV): Likewise.
5990 (FPE_FLTOVF): Likewise.
5991 (FPE_FLTUND): Likewise.
5992 (FPE_FLTRES): Likewise.
5993 (FPE_FLTINV): Likewise.
5994 (FPE_FLTSUB): Likewise.
5995 (FPE_DECOVF): Likewise.
5996 (FPE_DECDIV): Likewise.
5997 (FPE_DECERR): Likewise.
5998 (FPE_INVASC): Likewise.
5999 (FPE_INVDEC): Likewise.
6000 (SEGV_MAPERR): Likewise.
6001 (SEGV_ACCERR): Likewise.
6002 (SEGV_PSTKOVF): Likewise.
6003 (BUS_ADRALN): Likewise.
6004 (BUS_ADRERR): Likewise.
6005 (BUS_OBJERR): Likewise.
6006 (BUS_MCEERR_AR): Likewise.
6007 (BUS_MCEERR_AO): Likewise.
6008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6009 (TRAP_TRACE): Likewise.
6010 (TRAP_BRANCH): Likewise.
6011 (TRAP_HWBKPT): Likewise.
6012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6014 (CLD_KILLED): Likewise.
6015 (CLD_DUMPED): Likewise.
6016 (CLD_TRAPPED): Likewise.
6017 (CLD_STOPPED): Likewise.
6018 (CLD_CONTINUED): Likewise.
6019 (POLL_IN): Likewise.
6020 (POLL_OUT): Likewise.
6021 (POLL_MSG): Likewise.
6022 (POLL_ERR): Likewise.
6023 (POLL_PRI): Likewise.
6024 (POLL_HUP): Likewise.
6025 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6026 (ILL_ILLOPN): Likewise.
6027 (ILL_ILLADR): Likewise.
6028 (ILL_ILLTRP): Likewise.
6029 (ILL_PRVOPC): Likewise.
6030 (ILL_PRVREG): Likewise.
6031 (ILL_COPROC): Likewise.
6032 (ILL_BADSTK): Likewise.
6033 (FPE_INTDIV): Likewise.
6034 (FPE_INTOVF): Likewise.
6035 (FPE_FLTDIV): Likewise.
6036 (FPE_FLTOVF): Likewise.
6037 (FPE_FLTUND): Likewise.
6038 (FPE_FLTRES): Likewise.
6039 (FPE_FLTINV): Likewise.
6040 (FPE_FLTSUB): Likewise.
6041 (SEGV_MAPERR): Likewise.
6042 (SEGV_ACCERR): Likewise.
6043 (BUS_ADRALN): Likewise.
6044 (BUS_ADRERR): Likewise.
6045 (BUS_OBJERR): Likewise.
6046 (BUS_MCEERR_AR): Likewise.
6047 (BUS_MCEERR_AO): Likewise.
6048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6049 (TRAP_TRACE): Likewise.
6050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6052 (CLD_KILLED): Likewise.
6053 (CLD_DUMPED): Likewise.
6054 (CLD_TRAPPED): Likewise.
6055 (CLD_STOPPED): Likewise.
6056 (CLD_CONTINUED): Likewise.
6057 (POLL_IN): Likewise.
6058 (POLL_OUT): Likewise.
6059 (POLL_MSG): Likewise.
6060 (POLL_ERR): Likewise.
6061 (POLL_PRI): Likewise.
6062 (POLL_HUP): Likewise.
6063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6064 (ILL_ILLOPN): Likewise.
6065 (ILL_ILLADR): Likewise.
6066 (ILL_ILLTRP): Likewise.
6067 (ILL_PRVOPC): Likewise.
6068 (ILL_PRVREG): Likewise.
6069 (ILL_COPROC): Likewise.
6070 (ILL_BADSTK): Likewise.
6071 (FPE_INTDIV): Likewise.
6072 (FPE_INTOVF): Likewise.
6073 (FPE_FLTDIV): Likewise.
6074 (FPE_FLTOVF): Likewise.
6075 (FPE_FLTUND): Likewise.
6076 (FPE_FLTRES): Likewise.
6077 (FPE_FLTINV): Likewise.
6078 (FPE_FLTSUB): Likewise.
6079 (SEGV_MAPERR): Likewise.
6080 (SEGV_ACCERR): Likewise.
6081 (BUS_ADRALN): Likewise.
6082 (BUS_ADRERR): Likewise.
6083 (BUS_OBJERR): Likewise.
6084 (BUS_MCEERR_AR): Likewise.
6085 (BUS_MCEERR_AO): Likewise.
6086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6087 (TRAP_TRACE): Likewise.
6088 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6090 (CLD_KILLED): Likewise.
6091 (CLD_DUMPED): Likewise.
6092 (CLD_TRAPPED): Likewise.
6093 (CLD_STOPPED): Likewise.
6094 (CLD_CONTINUED): Likewise.
6095 (POLL_IN): Likewise.
6096 (POLL_OUT): Likewise.
6097 (POLL_MSG): Likewise.
6098 (POLL_ERR): Likewise.
6099 (POLL_PRI): Likewise.
6100 (POLL_HUP): Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6102 (ILL_ILLOPN): Likewise.
6103 (ILL_ILLADR): Likewise.
6104 (ILL_ILLTRP): Likewise.
6105 (ILL_PRVOPC): Likewise.
6106 (ILL_PRVREG): Likewise.
6107 (ILL_COPROC): Likewise.
6108 (ILL_BADSTK): Likewise.
6109 (FPE_INTDIV): Likewise.
6110 (FPE_INTOVF): Likewise.
6111 (FPE_FLTDIV): Likewise.
6112 (FPE_FLTOVF): Likewise.
6113 (FPE_FLTUND): Likewise.
6114 (FPE_FLTRES): Likewise.
6115 (FPE_FLTINV): Likewise.
6116 (FPE_FLTSUB): Likewise.
6117 (SEGV_MAPERR): Likewise.
6118 (SEGV_ACCERR): Likewise.
6119 (BUS_ADRALN): Likewise.
6120 (BUS_ADRERR): Likewise.
6121 (BUS_OBJERR): Likewise.
6122 (BUS_MCEERR_AR): Likewise.
6123 (BUS_MCEERR_AO): Likewise.
6124 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6125 (TRAP_TRACE): Likewise.
6126 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6128 (CLD_KILLED): Likewise.
6129 (CLD_DUMPED): Likewise.
6130 (CLD_TRAPPED): Likewise.
6131 (CLD_STOPPED): Likewise.
6132 (CLD_CONTINUED): Likewise.
6133 (POLL_IN): Likewise.
6134 (POLL_OUT): Likewise.
6135 (POLL_MSG): Likewise.
6136 (POLL_ERR): Likewise.
6137 (POLL_PRI): Likewise.
6138 (POLL_HUP): Likewise.
6139 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6140 (ILL_ILLOPN): Likewise.
6141 (ILL_ILLADR): Likewise.
6142 (ILL_ILLTRP): Likewise.
6143 (ILL_PRVOPC): Likewise.
6144 (ILL_PRVREG): Likewise.
6145 (ILL_COPROC): Likewise.
6146 (ILL_BADSTK): Likewise.
6147 (ILL_DBLFLT): Likewise.
6148 (ILL_HARDWALL): Likewise.
6149 (FPE_INTDIV): Likewise.
6150 (FPE_INTOVF): Likewise.
6151 (FPE_FLTDIV): Likewise.
6152 (FPE_FLTOVF): Likewise.
6153 (FPE_FLTUND): Likewise.
6154 (FPE_FLTRES): Likewise.
6155 (FPE_FLTINV): Likewise.
6156 (FPE_FLTSUB): Likewise.
6157 (SEGV_MAPERR): Likewise.
6158 (SEGV_ACCERR): Likewise.
6159 (BUS_ADRALN): Likewise.
6160 (BUS_ADRERR): Likewise.
6161 (BUS_OBJERR): Likewise.
6162 (BUS_MCEERR_AR): Likewise.
6163 (BUS_MCEERR_AO): Likewise.
6164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6165 (TRAP_TRACE): Likewise.
6166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6168 (CLD_KILLED): Likewise.
6169 (CLD_DUMPED): Likewise.
6170 (CLD_TRAPPED): Likewise.
6171 (CLD_STOPPED): Likewise.
6172 (CLD_CONTINUED): Likewise.
6173 (POLL_IN): Likewise.
6174 (POLL_OUT): Likewise.
6175 (POLL_MSG): Likewise.
6176 (POLL_ERR): Likewise.
6177 (POLL_PRI): Likewise.
6178 (POLL_HUP): Likewise.
6179 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6180 (ILL_ILLOPN): Likewise.
6181 (ILL_ILLADR): Likewise.
6182 (ILL_ILLTRP): Likewise.
6183 (ILL_PRVOPC): Likewise.
6184 (ILL_PRVREG): Likewise.
6185 (ILL_COPROC): Likewise.
6186 (ILL_BADSTK): Likewise.
6187 (FPE_INTDIV): Likewise.
6188 (FPE_INTOVF): Likewise.
6189 (FPE_FLTDIV): Likewise.
6190 (FPE_FLTOVF): Likewise.
6191 (FPE_FLTUND): Likewise.
6192 (FPE_FLTRES): Likewise.
6193 (FPE_FLTINV): Likewise.
6194 (FPE_FLTSUB): Likewise.
6195 (SEGV_MAPERR): Likewise.
6196 (SEGV_ACCERR): Likewise.
6197 (BUS_ADRALN): Likewise.
6198 (BUS_ADRERR): Likewise.
6199 (BUS_OBJERR): Likewise.
6200 (BUS_MCEERR_AR): Likewise.
6201 (BUS_MCEERR_AO): Likewise.
6202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6203 (TRAP_TRACE): Likewise.
6204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6206 (CLD_KILLED): Likewise.
6207 (CLD_DUMPED): Likewise.
6208 (CLD_TRAPPED): Likewise.
6209 (CLD_STOPPED): Likewise.
6210 (CLD_CONTINUED): Likewise.
6211 (POLL_IN): Likewise.
6212 (POLL_OUT): Likewise.
6213 (POLL_MSG): Likewise.
6214 (POLL_ERR): Likewise.
6215 (POLL_PRI): Likewise.
6216 (POLL_HUP): Likewise.
6217 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6218 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6221 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6222 before #include of <time.h>.
6223 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6224 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6225 (test-xfail-UNIX98/sched.h/conform): Likewise.
6227 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6229 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6230 error absence of trapping exception support.
6231 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6233 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6235 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6236 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6237 * timezone/Makefile (testdata): Move definition above include of
6239 (test-zones): New variable.
6240 (tests-special): Add zone files.
6241 (build-testdata): Use $(evaluate-test).
6243 * elf/Makefile (tests-special): Rename tests to end with .out.
6244 ($(objpfx)noload-mem): Likewise.
6245 ($(objpfx)tst-leaks1-mem): Likewise.
6246 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6247 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6248 $(objpfx)test-iconvconfig.out.
6249 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6250 set -e inside subshell and redirect output to file.
6251 * iconvdata/Makefile (generated): Rename tests to end with .out.
6253 (tests-special): Rename tests to end with .out.
6254 ($(objpfx)mtrace-tst-loading): Likewise.
6255 * intl/Makefile (generated): Likewise.
6256 (tests-special): Likewise.
6257 ($(objpfx)mtrace-tst-gettext): Likewise.
6258 * misc/Makefile (generated): Likewise.
6259 (tests-special): Likewise.
6260 ($(objpfx)tst-error1-mem): Likewise.
6261 * nptl/Makefile (tests-special): Likewise.
6262 ($(objpfx)tst-stack3-mem): Likewise.
6263 (generated): Likewise.
6264 * posix/Makefile (generated): Likewise.
6265 (tests-special): Likewise.
6266 (xtests-special): Likewise.
6267 ($(objpfx)tst-fnmatch-mem): Likewise.
6268 ($(objpfx)bug-regex2-mem): Likewise.
6269 ($(objpfx)bug-regex14-mem): Likewise.
6270 ($(objpfx)bug-regex21-mem): Likewise.
6271 ($(objpfx)bug-regex31-mem): Likewise.
6272 ($(objpfx)tst-vfork3-mem): Likewise.
6273 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6274 ($(objpfx)tst-pcre-mem): Likewise.
6275 ($(objpfx)tst-boost-mem): Likewise.
6276 ($(objpfx)bug-ga2-mem): Likewise.
6277 ($(objpfx)bug-glob2-mem): Likewise.
6278 * resolv/Makefile (generate): Likewise.
6279 (tests-special): Likewise.
6280 (xtests-special): Likewise.
6281 (generated): Likewise.
6282 ($(objpfx)mtrace-tst-leaks): Likewise.
6283 ($(objpfx)mtrace-tst-leaks2): Likewise.
6285 * scripts/merge-test-results.sh: New file.
6286 * Makefile (tests-special-notdir): New variable.
6287 (tests): Run merge-test-results.sh.
6289 * Rules (tests-special-notdir): New variable.
6290 (xtests-special-notdir): Likewise.
6291 (tests): Run merge-test-results.sh
6294 * Makeconfig (test-xfail-name): New variable.
6295 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6296 compute variable name for expected failures.
6297 * conform/Makefile (conformtest-headers-data): New variable.
6298 (conformtest-standards): Likewise.
6299 (conformtest-headers-ISO): Likewise.
6300 (conformtest-headers-ISO99): Likewise.
6301 (conformtest-headers-ISO11): Likewise.
6302 (conformtest-headers-POSIX): Likewise.
6303 (conformtest-headers-XPG3): Likewise.
6304 (conformtest-headers-XPG4): Likewise.
6305 (conformtest-headers-UNIX98): Likewise.
6306 (conformtest-headers-XOPEN2K): Likewise.
6307 (conformtest-headers-POSIX2008): Likewise.
6308 (conformtest-headers-XOPEN2K8): Likewise.
6309 (conformtest-header-list-base): Likewise.
6310 (conformtest-header-list-tests): Likewise.
6311 (conformtest-header-base): Likewise.
6312 (conformtest-header-tests): Likewise.
6313 (tests-special): Add $(conformtest-header-list-tests). If
6314 [$(fast-check) && !$(cross-compiling)], add
6315 $(conformtest-header-tests) instead of
6316 $(objpfx)run-conformtest.out.
6317 (generated): Add $(conformtest-header-list-base). If
6318 [$(fast-check) && !$(cross-compiling)], add
6319 $(conformtest-header-base). Remove previous setting.
6320 ($(conformtest-header-list-tests)): New target.
6321 (test-xfail-run-conformtest): Remove variable.
6322 ($(objpfx)run-conformtest.out): Remove target.
6323 (test-xfail-ISO11/complex.h/conform): New variable.
6324 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6325 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6326 (test-xfail-XPG3/varargs.h/conform): Likewise.
6327 (test-xfail-XPG4/varargs.h/conform): Likewise.
6328 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6329 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6330 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6331 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6332 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6333 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6334 (test-xfail-XPG3/ftw.h/conform): Likewise.
6335 (test-xfail-XPG3/grp.h/conform): Likewise.
6336 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6337 (test-xfail-XPG3/limits.h/conform): Likewise.
6338 (test-xfail-XPG3/pwd.h/conform): Likewise.
6339 (test-xfail-XPG3/search.h/conform): Likewise.
6340 (test-xfail-XPG3/signal.h/conform): Likewise.
6341 (test-xfail-XPG3/stdio.h/conform): Likewise.
6342 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6343 (test-xfail-XPG3/string.h/conform): Likewise.
6344 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6345 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6346 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6347 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6348 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6349 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6350 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6351 (test-xfail-XPG3/termios.h/conform): Likewise.
6352 (test-xfail-XPG3/time.h/conform): Likewise.
6353 (test-xfail-XPG3/unistd.h/conform): Likewise.
6354 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6355 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6356 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6357 (test-xfail-XPG4/netdb.h/conform): Likewise.
6358 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6359 (test-xfail-XPG4/signal.h/conform): Likewise.
6360 (test-xfail-XPG4/stdio.h/conform): Likewise.
6361 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6362 (test-xfail-XPG4/stropts.h/conform): Likewise.
6363 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6364 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6365 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6366 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6367 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6368 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6369 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6370 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6371 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6372 (test-xfail-XPG4/termios.h/conform): Likewise.
6373 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6374 (test-xfail-XPG4/unistd.h/conform): Likewise.
6375 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6376 (test-xfail-POSIX/sched.h/conform): Likewise.
6377 (test-xfail-POSIX/signal.h/conform): Likewise.
6378 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6379 (test-xfail-POSIX/tar.h/conform): Likewise.
6380 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6381 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6382 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6383 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6384 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6385 (test-xfail-UNIX98/sched.h/conform): Likewise.
6386 (test-xfail-UNIX98/signal.h/conform): Likewise.
6387 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6388 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6389 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6390 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6391 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6392 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6393 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6394 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6395 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6396 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6397 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6398 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6399 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6400 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6401 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6402 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6403 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6404 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6405 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6406 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6407 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6408 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6409 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6410 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6411 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6412 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6413 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6414 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6415 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6416 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6417 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6418 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6419 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6420 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6421 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6422 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6423 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6424 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6425 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6426 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6427 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6428 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6429 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6430 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6431 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6432 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6433 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6434 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6435 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6436 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6437 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6438 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6439 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6440 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6441 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6442 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6443 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6444 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6445 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6446 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6447 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6448 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6449 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6450 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6451 (conformtest-cc-flags): Likewise.
6452 ($(conformtest-header-tests): New target.
6453 * conform/check-header-lists.sh: New file.
6454 * conform/run-conformtest.sh: Remove.
6456 * conform/conformtest.pl: Allow ' and \ in values given for
6458 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6460 [POSIX] (sys/types.h): Likewise.
6461 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6463 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6465 * conform/data/signal.h-data (SIGIO): Remove expectation.
6466 [XPG3] (SIGBUS): Do not expect.
6467 [POSIX || XPG3] (SIGPOLL): Likewise.
6468 [POSIX || XPG3] (SIGPROF): Likewise.
6469 [POSIX || XPG3] (SIGSYS): Likewise.
6470 [XPG3] (SIGTRAP): Likewise.
6471 [POSIX || XPG3] (SIGURG): Likewise.
6472 [POSIX || XPG3] (SIGVTALRM): Likewise.
6473 [POSIX || XPG3] (SIGXCPU): Likewise.
6474 [POSIX || XPG3] (SIGXFSZ): Likewise.
6475 [POSIX] (SA_SIGINFO): Expect.
6476 [XPG3] (siginfo_t): Do not expect type or contents.
6477 [POSIX] (si_pid): Do not expect element.
6478 [POSIX] (si_uid): Likewise.
6479 [POSIX] (si_addr): Likewise.
6480 [POSIX] (si_status): Likewise.
6481 [POSIX] (si_band): Likewise.
6482 [XPG4] (si_value): Likewise.
6483 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6484 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6485 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6486 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6487 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6488 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6489 [POSIX || XPG3] (ILL_COPROC): Likewise.
6490 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6491 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6492 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6493 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6494 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6495 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6496 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6497 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6498 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6499 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6500 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6501 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6502 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6503 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6504 [POSIX || XPG3] (CLD_EXITED): Likewise.
6505 [POSIX || XPG3] (CLD_KILLED): Likewise.
6506 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6507 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6508 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6509 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6510 [POSIX || XPG3] (POLL_IN): Likewise.
6511 [POSIX || XPG3] (POLL_OUT): Likewise.
6512 [POSIX || XPG3] (POLL_MSG): Likewise.
6513 [POSIX || XPG3] (POLL_ERR): Likewise.
6514 [POSIX || XPG3] (POLL_PRI): Likewise.
6515 [POSIX || XPG3] (POLL_HUP): Likewise.
6516 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6517 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6518 (SIG*): Do not allow.
6519 [XPG3] (si_*): Likewise.
6520 [XPG3] (SI_*): Likewise.
6521 [XPG3 || XPG4] (sigev_*): Likewise.
6522 [XPG3 || XPG4] (SIGEV_*): Likewise.
6523 [XPG3 || XPG4] (sival_*): Likewise.
6524 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6525 [POSIX || XPG3] (BUS_*): Likewise.
6526 [POSIX || XPG3] (CLD_*): Likewise.
6527 [POSIX || XPG3] (FPE_*): Likewise.
6528 [POSIX || XPG3] (ILL_*): Likewise.
6529 [POSIX || XPG3] (POLL_*): Likewise.
6530 [POSIX || XPG3] (SEGV_*): Likewise.
6531 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6532 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6533 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6534 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6535 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6536 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6537 Specify type and value.
6538 (TVERSLEN): Likewise.
6539 (REGTYPE): Likewise.
6540 (AREGTYPE): Likewise.
6541 (LNKTYPE): Likewise.
6542 (SYMTYPE): Likewise.
6543 (CHRTYPE): Likewise.
6544 (BLKTYPE): Likewise.
6545 (DIRTYPE): Likewise.
6546 (FIFOTYPE): Likewise.
6547 (CONTTYPE): Likewise.
6552 (TUWRITE): Likewise.
6555 (TGWRITE): Likewise.
6558 (TOWRITE): Likewise.
6560 [POSIX] (TSVTX): Expect constant.
6562 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6564 * Makefile (tests): Change dependencies to ....
6565 (tests-special): ... additions to this variable.
6566 (tests): Depend on $(tests-special).
6567 * Makerules (check-abi-list): New variable.
6568 (check-abi): Depend on $(check-abi-list).
6569 [$(subdir) = elf] (tests-special): Add
6570 $(objpfx)check-abi-libc.out.
6571 [$(build-shared) = yes && subdir] (tests-special): Add
6573 [$(build-shared) = yes && subdir] (tests): Do not depend on
6575 * Rules (tests): Depend on $(tests-special).
6576 (xtests): Depend on $(xtests-special).
6577 * catgets/Makefile (tests): Change dependencies to ....
6578 (tests-special): ... additions to this variable.
6579 * conform/Makefile (tests): Change dependencies to ....
6580 (tests-special): ... additions to this variable.
6581 * elf/Makefile (tests): Change dependencies to ....
6582 (tests-special): ... additions to this variable.
6583 * grp/Makefile (tests): Change dependencies to ....
6584 (tests-special): ... additions to this variable.
6585 * iconv/Makefile (xtests): Change dependencies to ....
6586 (xtests-special): ... additions to this variable.
6587 * iconvdata/Makefile (tests): Change dependencies to ....
6588 (tests-special): ... additions to this variable.
6589 * intl/Makefile (tests): Change dependencies to ....
6590 (tests-special): ... additions to this variable. Also add
6591 $(objpfx)tst-gettext.out.
6592 * io/Makefile (tests): Change dependencies to ....
6593 (tests-special): ... additions to this variable.
6594 * libio/Makefile (tests): Change dependencies to ....
6595 (tests-special): ... additions to this variable.
6596 * malloc/Makefile (tests): Change dependencies to ....
6597 (tests-special): ... additions to this variable.
6598 * misc/Makefile (tests): Change dependencies to ....
6599 (tests-special): ... additions to this variable.
6600 * nptl/Makefile (tests): Change dependencies to ....
6601 (tests-special): ... additions to this variable.
6602 * nptl_db/Makefile (tests): Change dependencies to ....
6603 (tests-special): ... additions to this variable.
6604 * posix/Makefile (tests): Change dependencies to ....
6605 (tests-special): ... additions to this variable.
6606 (xtests): Change dependencies to ....
6607 (xtests-special): ... additions to this variable.
6608 * resolv/Makefile (tests): Change dependencies to ....
6609 (tests-special): ... additions to this variable.
6610 (xtests): Change dependencies to ....
6611 (xtests-special): ... additions to this variable.
6612 * stdio-common/Makefile (tests): Change dependencies to ....
6613 (tests-special): ... additions to this variable.
6614 (do-tst-unbputc): Remove target.
6615 (do-tst-printf): Likewise.
6616 * stdlib/Makefile (tests): Change dependencies to ....
6617 (tests-special): ... additions to this variable.
6618 * string/Makefile (tests): Change dependencies to ....
6619 (tests-special): ... additions to this variable.
6620 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6621 (tests-special): ... additions to this variable.
6623 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6625 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6627 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6628 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6630 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6631 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6632 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6633 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6634 * conform/data/libgen.h-data [XPG3]: Likewise.
6635 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6636 * conform/data/ndbm.h-data [XPG3]: Likewise.
6637 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6638 * conform/data/netdb.h-data [XPG3]: Likewise.
6639 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6640 * conform/data/poll.h-data [XPG3]: Likewise.
6641 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6642 * conform/data/strings.h-data [XPG3]: Likewise.
6643 * conform/data/stropts.h-data [XPG3]: Likewise.
6644 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6645 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6646 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6648 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6649 * conform/data/sys/time.h-data [XPG3]: Likewise.
6650 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6651 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6652 * conform/data/sys/un.h-data [XPG3]: Likewise.
6653 * conform/data/syslog.h-data [XPG3]: Likewise.
6654 * conform/data/ucontext.h-data [XPG3]: Likewise.
6655 * conform/data/utmpx.h-data [XPG3]: Likewise.
6656 * conform/data/varargs.h-data [UNIX98]: Enable file.
6658 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6660 * math/libm-test.inc (struct test_f_f_data): Move expected results
6661 into structure for each rounding mode.
6662 (struct test_ff_f_data): Likewise.
6663 (struct test_ff_f_data_nexttoward): Likewise.
6664 (struct test_fi_f_data): Likewise.
6665 (struct test_fl_f_data): Likewise.
6666 (struct test_if_f_data): Likewise.
6667 (struct test_fff_f_data): Likewise.
6668 (struct test_c_f_data): Likewise.
6669 (struct test_f_f1_data): Likewise.
6670 (struct test_fF_f1_data): Likewise.
6671 (struct test_ffI_f1_data): Likewise.
6672 (struct test_c_c_data): Likewise.
6673 (struct test_cc_c_data): Likewise.
6674 (struct test_f_i_data): Likewise.
6675 (struct test_ff_i_data): Likewise.
6676 (struct test_f_l_data): Likewise.
6677 (struct test_f_L_data): Likewise.
6678 (struct test_fFF_11_data): Likewise.
6680 (RM_FE_DOWNWARD): Likewise.
6681 (RM_FE_TONEAREST): Likewise.
6682 (RM_FE_TOWARDZERO): Likewise.
6683 (RM_FE_UPWARD): Likewise.
6684 (RUN_TEST_LOOP_f_f): Update references to expected results.
6685 (RUN_TEST_LOOP_2_f): Likewise.
6686 (RUN_TEST_LOOP_fff_f): Likewise.
6687 (RUN_TEST_LOOP_c_f): Likewise.
6688 (RUN_TEST_LOOP_f_f1): Likewise.
6689 (RUN_TEST_LOOP_fF_f1): Likewise.
6690 (RUN_TEST_LOOP_fI_f1): Likewise.
6691 (RUN_TEST_LOOP_ffI_f1): Likewise.
6692 (RUN_TEST_LOOP_c_c): Likewise.
6693 (RUN_TEST_LOOP_cc_c): Likewise.
6694 (RUN_TEST_LOOP_f_i): Likewise.
6695 (RUN_TEST_LOOP_f_i_tg): Likewise.
6696 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6697 (RUN_TEST_LOOP_f_b): Likewise.
6698 (RUN_TEST_LOOP_f_b_tg): Likewise.
6699 (RUN_TEST_LOOP_f_l): Likewise.
6700 (RUN_TEST_LOOP_f_L): Likewise.
6701 (RUN_TEST_LOOP_fFF_11): Likewise.
6702 * math/gen-libm-test.pl (parse_args): Output four copies of
6703 expected results for each test.
6705 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6706 (__ASSUME_UTIMES): Remove.
6707 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6708 (__ASSUME_UTIMES): Likewise.
6710 * math/gen-auto-libm-tests.c: Update comment on output format.
6711 (output_for_one_input_case): Generate before-rounding and
6712 after-rounding information as conditions on output flags not
6713 floating-point format.
6714 * math/auto-libm-test-out: Regenerated.
6715 * math/gen-libm-test.pl (cond_value): New function.
6716 (or_cond_value): Use cond_value.
6717 (generate_testfile): Handle conditional exceptions.
6719 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6721 * math/libm-test.inc (max_valid_error): New variable.
6722 (init_max_error): Take new argument specifying whether function
6723 results are exactly determined. Set max_valid_error and bound
6724 other variables for errors based on this argument.
6725 (set_max_error): Do not record results above max_valid_error.
6726 (check_float_internal): Only accept errors of up to 0.5ulps if
6727 also at most max_valid_error.
6728 (START): Take new argument EXACT and pass it to init_max_error.
6729 (acos_test): Update call to START.
6730 (acos_test_tonearest): Likewise.
6731 (acos_test_towardzero): Likewise.
6732 (acos_test_downward): Likewise.
6733 (acos_test_upward): Likewise.
6734 (acosh_test): Likewise.
6735 (asin_test): Likewise.
6736 (asin_test_tonearest): Likewise.
6737 (asin_test_towardzero): Likewise.
6738 (asin_test_downward): Likewise.
6739 (asin_test_upward): Likewise.
6740 (asinh_test): Likewise.
6741 (atan_test): Likewise.
6742 (atanh_test): Likewise.
6743 (atan2_test): Likewise.
6744 (cabs_test): Likewise.
6745 (cacos_test): Likewise.
6746 (cacosh_test): Likewise.
6747 (carg_test): Likewise.
6748 (casin_test): Likewise.
6749 (casinh_test): Likewise.
6750 (catan_test): Likewise.
6751 (catanh_test): Likewise.
6752 (cbrt_test): Likewise.
6753 (ccos_test): Likewise.
6754 (ccosh_test): Likewise.
6755 (ceil_test): Likewise.
6756 (cexp_test): Likewise.
6757 (cimag_test): Likewise.
6758 (clog_test): Likewise.
6759 (clog10_test): Likewise.
6760 (conj_test): Likewise.
6761 (copysign_test): Likewise.
6762 (cos_test): Likewise.
6763 (cos_test_tonearest): Likewise.
6764 (cos_test_towardzero): Likewise.
6765 (cos_test_downward): Likewise.
6766 (cos_test_upward): Likewise.
6767 (cosh_test): Likewise.
6768 (cosh_test_tonearest): Likewise.
6769 (cosh_test_towardzero): Likewise.
6770 (cosh_test_downward): Likewise.
6771 (cosh_test_upward): Likewise.
6772 (cpow_test): Likewise.
6773 (cproj_test): Likewise.
6774 (creal_test): Likewise.
6775 (csin_test): Likewise.
6776 (csinh_test): Likewise.
6777 (csqrt_test): Likewise.
6778 (ctan_test): Likewise.
6779 (ctan_test_tonearest): Likewise.
6780 (ctan_test_towardzero): Likewise.
6781 (ctan_test_downward): Likewise.
6782 (ctan_test_upward): Likewise.
6783 (ctanh_test): Likewise.
6784 (ctanh_test_tonearest): Likewise.
6785 (ctanh_test_towardzero): Likewise.
6786 (ctanh_test_downward): Likewise.
6787 (ctanh_test_upward): Likewise.
6788 (erf_test): Likewise.
6789 (erfc_test): Likewise.
6790 (exp_test): Likewise.
6791 (exp_test_tonearest): Likewise.
6792 (exp_test_towardzero): Likewise.
6793 (exp_test_downward): Likewise.
6794 (exp_test_upward): Likewise.
6795 (exp10_test): Likewise.
6796 (exp10_test_tonearest): Likewise.
6797 (exp10_test_towardzero): Likewise.
6798 (exp10_test_downward): Likewise.
6799 (exp10_test_upward): Likewise.
6800 (pow10_test): Likewise.
6801 (exp2_test): Likewise.
6802 (expm1_test): Likewise.
6803 (expm1_test_tonearest): Likewise.
6804 (expm1_test_towardzero): Likewise.
6805 (expm1_test_downward): Likewise.
6806 (expm1_test_upward): Likewise.
6807 (fabs_test): Likewise.
6808 (fdim_test): Likewise.
6809 (floor_test): Likewise.
6810 (fma_test): Likewise.
6811 (fma_test_towardzero): Likewise.
6812 (fma_test_downward): Likewise.
6813 (fma_test_upward): Likewise.
6814 (fmax_test): Likewise.
6815 (fmin_test): Likewise.
6816 (fmod_test): Likewise.
6817 (fpclassify_test): Likewise.
6818 (frexp_test): Likewise.
6819 (hypot_test): Likewise.
6820 (ilogb_test): Likewise.
6821 (isfinite_test): Likewise.
6822 (finite_test): Likewise.
6823 (isgreater_test): Likewise.
6824 (isgreaterequal_test): Likewise.
6825 (isinf_test): Likewise.
6826 (isless_test): Likewise.
6827 (islessequal_test): Likewise.
6828 (islessgreater_test): Likewise.
6829 (isnan_test): Likewise.
6830 (isnormal_test): Likewise.
6831 (issignaling_test): Likewise.
6832 (isunordered_test): Likewise.
6833 (j0_test): Likewise.
6834 (j1_test): Likewise.
6835 (jn_test): Likewise.
6836 (ldexp_test): Likewise.
6837 (lgamma_test): Likewise.
6838 (gamma_test): Likewise.
6839 (lrint_test): Likewise.
6840 (lrint_test_tonearest): Likewise.
6841 (lrint_test_towardzero): Likewise.
6842 (lrint_test_downward): Likewise.
6843 (lrint_test_upward): Likewise.
6844 (llrint_test): Likewise.
6845 (llrint_test_tonearest): Likewise.
6846 (llrint_test_towardzero): Likewise.
6847 (llrint_test_downward): Likewise.
6848 (llrint_test_upward): Likewise.
6849 (log_test): Likewise.
6850 (log10_test): Likewise.
6851 (log1p_test): Likewise.
6852 (log2_test): Likewise.
6853 (logb_test): Likewise.
6854 (logb_test_downward): Likewise.
6855 (lround_test): Likewise.
6856 (llround_test): Likewise.
6857 (modf_test): Likewise.
6858 (nearbyint_test): Likewise.
6859 (nextafter_test): Likewise.
6860 (nexttoward_test): Likewise.
6861 (pow_test): Likewise.
6862 (pow_test_tonearest): Likewise.
6863 (pow_test_towardzero): Likewise.
6864 (pow_test_downward): Likewise.
6865 (pow_test_upward): Likewise.
6866 (remainder_test): Likewise.
6867 (drem_test): Likewise.
6868 (remainder_test_tonearest): Likewise.
6869 (drem_test_tonearest): Likewise.
6870 (remainder_test_towardzero): Likewise.
6871 (drem_test_towardzero): Likewise.
6872 (remainder_test_downward): Likewise.
6873 (drem_test_downward): Likewise.
6874 (remainder_test_upward): Likewise.
6875 (drem_test_upward): Likewise.
6876 (remquo_test): Likewise.
6877 (rint_test): Likewise.
6878 (rint_test_tonearest): Likewise.
6879 (rint_test_towardzero): Likewise.
6880 (rint_test_downward): Likewise.
6881 (rint_test_upward): Likewise.
6882 (round_test): Likewise.
6883 (scalb_test): Likewise.
6884 (scalbn_test): Likewise.
6885 (scalbln_test): Likewise.
6886 (signbit_test): Likewise.
6887 (sin_test): Likewise.
6888 (sin_test_tonearest): Likewise.
6889 (sin_test_towardzero): Likewise.
6890 (sin_test_downward): Likewise.
6891 (sin_test_upward): Likewise.
6892 (sincos_test): Likewise.
6893 (sinh_test): Likewise.
6894 (sinh_test_tonearest): Likewise.
6895 (sinh_test_towardzero): Likewise.
6896 (sinh_test_downward): Likewise.
6897 (sinh_test_upward): Likewise.
6898 (sqrt_test): Likewise.
6899 (sqrt_test_tonearest): Likewise.
6900 (sqrt_test_towardzero): Likewise.
6901 (sqrt_test_downward): Likewise.
6902 (sqrt_test_upward): Likewise.
6903 (tan_test): Likewise.
6904 (tan_test_tonearest): Likewise.
6905 (tan_test_towardzero): Likewise.
6906 (tan_test_downward): Likewise.
6907 (tan_test_upward): Likewise.
6908 (tanh_test): Likewise.
6909 (tgamma_test): Likewise.
6910 (trunc_test): Likewise.
6911 (y0_test): Likewise.
6912 (y1_test): Likewise.
6913 (yn_test): Likewise.
6914 (significand_test): Likewise.
6916 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6917 individual tests in comment.
6918 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6919 (prev_max_error): New variable.
6920 (prev_real_max_error): Likewise.
6921 (prev_imag_max_error): Likewise.
6922 (compare_ulp_data): Don't refer to test names in comment.
6923 (find_test_ulps): Remove function.
6924 (find_function_ulps): Likewise.
6925 (find_complex_function_ulps): Likewise.
6926 (init_max_error): Take function name as argument. Look up ulps
6928 (print_ulps): Remove function.
6929 (print_max_error): Use prev_max_error instead of calling
6931 (print_complex_max_error): Use prev_real_max_error and
6932 prev_imag_max_error instead of calling find_complex_function_ulps.
6933 (check_float_internal): Take max_ulp parameter instead of calling
6934 find_test_ulps. Don't call print_ulps.
6935 (check_float): Update call to check_float_internal.
6936 (check_complex): Update calls to check_float_internal.
6937 (START): Pass argument to init_max_error.
6938 * math/gen-libm-test.pl (%results): Don't include "kind"
6940 (parse_ulps): Don't handle ulps of individual tests.
6941 (print_ulps_file): Likewise.
6942 (output_ulps): Likewise.
6943 * math/README.libm-test: Update.
6944 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6946 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6947 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6948 * sysdeps/arm/libm-test-ulps: Likewise.
6949 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6950 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6951 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6952 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6953 * sysdeps/microblaze/libm-test-ulps: Likewise.
6954 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6955 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6957 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6958 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6959 * sysdeps/sh/libm-test-ulps: Likewise.
6960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6961 * sysdeps/tile/libm-test-ulps: Likewise.
6962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6964 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6966 * math/libm-test.inc (print_complex_max_error): Check separately
6967 whether real and imaginary errors are within allowed range and
6968 pass 0 to print_complex_function_ulps instead of value within
6971 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6973 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6975 (get_handles_fopen): Likewise.
6976 (do_write_test): Likewise.
6978 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6980 * libio/fileops.c (do_ftell): Use cached offset when
6982 * libio/iofwide.c (do_ftell_wide): Likewise.
6983 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6985 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6988 * libio/libioP.h (get_file_offset): New function.
6989 * libio/fileops.c (get_file_offset): Likewise.
6990 (do_ftell): Likewise.
6991 (_IO_new_file_seekoff): Split out ftell logic.
6992 * libio/wfileops.c (do_ftell_wide): Likewise.
6993 (_IO_wfile_seekoff): Split out ftell logic.
6994 * libio/tst-ftell-active-handler.c: New test case.
6995 * libio/Makefile (tests): Add it.
6997 2014-03-03 Roland McGrath <roland@hack.frob.com>
6999 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7000 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7002 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7005 * nscd/connections.c (nscd_init): Call do_exit.
7006 (start_threads): Call do_exit and notify_parent.
7007 (begin_drop_privileges): Call do_exit.
7008 (finish_drop_privileges): Likewise.
7009 * nscd/selinux.c (preserve_capabilities): Likewise.
7010 (install_real_capabilities): Likewise.
7011 (nscd_selinux_enabled): Likewise.
7012 (avc_create_thread): Likewise.
7013 (avc_alloc_lock): Likewise.
7014 (nscd_avc_init): Likewise.
7015 * nscd/nscd.c (parent_fd): New static variable.
7016 (main): Create a pipe between parent and child processes.
7017 Skip closing parent_fd.
7018 (monitor_child): New function.
7019 (do_exit): Likewise.
7020 (notify_parent): Likewise.
7021 * nscd/nscd.h (notify_parent): Likewise.
7022 (do_exit): Likewise.
7024 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7026 * malloc/malloc.c (__libc_calloc): Revert last change.
7028 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7032 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7034 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7038 (__libc_ifunc_impl_list): Likewise.
7039 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7040 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7041 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7042 * string/strrchr.c: Define STRRCHR.
7044 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7046 * benchtest/bench-strtok.c (simple_strtok): Delete.
7047 (strtok_string): Use as benchmark.
7048 * string/strtok (STRTOK): New macro.
7050 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7052 * manual/threads.texi: Add header and standard comments to all
7055 * elf/dl-lookup.c (check_match): New function.
7056 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7057 (do_lookup_x): Remove nested function check_match. Use non-nested
7058 function check_match.
7060 2014-02-28 Roland McGrath <roland@hack.frob.com>
7062 * csu/Makefile (generated, before-compile): Use += rather than =.
7063 * catgets/Makefile (generated, generated-dirs): Likewise.
7064 * debug/Makefile (generated): Likewise.
7065 * dlfcn/Makefile (generated): Likewise.
7066 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7067 * iconvdata/Makefile (before-compile, generated): Likewise.
7068 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7069 * libio/Makefile (generated): Likewise.
7070 * malloc/Makefile (generated): Likewise.
7071 * manual/Makefile (generated, generated-dirs): Likewise.
7072 * misc/Makefile (generated): Likewise.
7073 * posix/Makefile (generated): Likewise.
7074 * resolv/Makefile (generated): Likewise.
7075 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7076 * timezone/Makefile (generated, generated-dirs): Likewise.
7078 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7080 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7083 power8 implementation.
7084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7085 file: POWER8 llround ifunc implementation.
7086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7087 (__lllround): Add POWER8 implementation.
7088 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7089 POWER8 llround implementation.
7091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7092 power8 implementation.
7093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7094 file: POWER8 llrint ifunc implementation.
7095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7096 Add POWER8 implementation.
7097 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7098 POWER8 llrint implementation.
7100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7101 power8 implementation.
7102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7103 file: POWER8 finite ifunc implementation.
7104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7105 Add POWER8 implementation.
7106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7108 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7109 POWER8 finite implementation.
7110 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7113 power8 implementation.
7114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7115 file: POWER8 isinf ifunc implementation.
7116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7117 POWER8 implementation.
7118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7120 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7121 isinf implementation.
7122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7125 (INIT_ARCH): Add hwcap2 initialization.
7126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7127 power8 implementation.
7128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7129 file: POWER8 isnan ifunc implementation.
7130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7131 POWER8 implementation.
7132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7134 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7135 isnan implementation.
7136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7138 2014-02-27 Joey Ye <joey.ye@arm.com>
7140 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7141 (_FP_NANFRAC_Q): Set to zero.
7143 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7146 * math/auto-libm-test-in: New test inputs.
7147 * math/auto-libm-test-out: Regenerate.
7148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7151 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7153 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7155 * scripts/evaluate-test.sh: Take new argument indicating whether
7156 failure is expected.
7157 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7158 indicating whether failure is expected.
7159 * conform/Makefile (test-xfail-run-conformtest): New variable.
7160 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7162 * posix/Makefile (test-xfail-annexc): New variable.
7163 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7165 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7167 * argp/Makefile: Include Makeconfig immediately after defining
7169 * assert/Makefile: Likewise.
7170 * benchtests/Makefile: Likewise.
7171 * catgets/Makefile: Likewise.
7172 * conform/Makefile: Likewise.
7173 * crypt/Makefile: Likewise.
7174 * csu/Makefile: Likewise.
7175 (all): Remove target.
7176 * ctype/Makefile: Include Makeconfig immediately after defining
7178 * debug/Makefile: Likewise.
7179 * dirent/Makefile: Likewise.
7180 * dlfcn/Makefile: Likewise.
7181 * gmon/Makefile: Likewise.
7182 * gnulib/Makefile: Likewise.
7183 * grp/Makefile: Likewise.
7184 * gshadow/Makefile: Likewise.
7185 * hesiod/Makefile: Likewise.
7186 * hurd/Makefile: Likewise.
7187 (all): Remove target.
7188 * iconvdata/Makefile: Include Makeconfig immediately after
7190 * inet/Makefile: Likewise.
7191 * intl/Makefile: Likewise.
7192 * io/Makefile: Likewise.
7193 * libio/Makefile: Likewise.
7194 (all): Remove target.
7195 * locale/Makefile: Include Makeconfig immediately after defining
7197 * login/Makefile: Likewise.
7198 * mach/Makefile: Likewise.
7199 (all): Remove target.
7200 * malloc/Makefile: Include Makeconfig immediately after defining
7202 (all): Remove target.
7203 * manual/Makefile: Include Makeconfig immediately after defining
7205 * math/Makefile: Likewise.
7206 * misc/Makefile: Likewise.
7207 * nis/Makefile: Likewise.
7208 * nss/Makefile: Likewise.
7209 * po/Makefile: Likewise.
7210 (all): Remove target.
7211 * posix/Makefile: Include Makeconfig immediately after defining
7213 * pwd/Makefile: Likewise.
7214 * resolv/Makefile: Likewise.
7215 * resource/Makefile: Likewise.
7216 * rt/Makefile: Likewise.
7217 * setjmp/Makefile: Likewise.
7218 * shadow/Makefile: Likewise.
7219 * signal/Makefile: Likewise.
7220 * socket/Makefile: Likewise.
7221 * soft-fp/Makefile: Likewise.
7222 * stdio-common/Makefile: Likewise.
7223 * stdlib/Makefile: Likewise.
7224 * streams/Makefile: Likewise.
7225 * string/Makefile: Likewise.
7226 * sunrpc/Makefile: Likewise.
7227 (all): Remove target.
7228 * sysvipc/Makefile: Include Makeconfig immediately after defining
7230 * termios/Makefile: Likewise.
7231 * time/Makefile: Likewise.
7232 * timezone/Makefile: Likewise.
7233 (all): Remove target.
7234 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7236 * wctype/Makefile: Likewise.
7238 2014-02-26 Steve Ellcey <sellcey@mips.com>
7240 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7241 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7242 (libc_feholdexcept_setround_mips): Ditto.
7243 (libc_feholdsetround): New.
7244 (libc_feholdsetroundf): New.
7245 (libc_feholdsetroundl): New.
7246 (libc_feupdateenv_test_mips): New.
7247 (libc_feupdateenv_test): New.
7248 (libc_feupdateenv_testf): New.
7249 (libc_feupdateenv_testl): New.
7250 (libc_feresetround): New.
7251 (libc_feresetroundf): New.
7252 (libc_feresetroundl): New.
7253 (libc_fetestexcept_mips): New.
7254 (libc_fetestexcept): New.
7255 (libc_fetestexceptf): New.
7256 (libc_fetestexceptl): New.
7258 (libc_feholdexcept_setround_mips_ctx): New.
7259 (libc_feholdexcept_setround_ctx): New.
7260 (libc_feholdexcept_setroundf_ctx): New.
7261 (libc_feholdexcept_setroundl_ctx): New.
7262 (libc_fesetenv_mips_ctx): New.
7263 (libc_fesetenv_ctx): New.
7264 (libc_fesetenv_ctxf): New.
7265 (libc_fesetenv_ctxl): New.
7266 (libc_feupdateenv_mips_ctx): New.
7267 (libc_feupdateenv_ctx): New.
7268 (libc_feupdateenvf_ctx): New.
7269 (libc_feupdateenvl_ctx): New.
7270 (libc_feholdsetround_mips_ctx): New.
7271 (libc_feholdsetround_ctx): New.
7272 (libc_feholdsetroundf_ctx): New.
7273 (libc_feholdsetroundl_ctx): New.
7274 (libc_feresetround_mips_ctx): New.
7275 (libc_feresetround_ctx): New.
7276 (libc_feresetroundf_ctx): New.
7277 (libc_feresetroundl_ctx): New.
7279 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7281 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7283 * manual/ipc.texi: New file.
7284 * manual/Makefile (chapters): Add ipc.
7285 * manual/job.texi: Add "Inter-Process Communication" to next.
7286 * manual/process.texi: Add "Inter-Process Communication" to prev.
7288 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7292 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7294 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7296 * manual/arith.texi: Fix spaces after sentences.
7297 * manual/charset.texi: Likewise.
7298 * manual/errno.texi: Likewise.
7299 * manual/install.texi: Likewise.
7300 * manual/llio.texi: Likewise.
7301 * manual/locale.texi: Likewise.
7302 * manual/maint.texi: Likewise.
7303 * manual/math.texi: Likewise.
7304 * manual/memory.texi: Likewise.
7305 * manual/message.texi: Likewise.
7306 * manual/probes.texi: Likewise.
7307 * manual/resource.texi: Likewise.
7308 * manual/signal.texi: Likewise.
7309 * manual/socket.texi: Likewise.
7310 * manual/stdio.texi: Likewise.
7311 * manual/string.texi: Likewise.
7312 * manual/time.texi: Likewise.
7313 * manual/users.texi: Likewise.
7315 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7318 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7319 _DEFAULT_SOURCE is defined.
7321 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7322 Carlos O'Donell <carlos@redhat.com>
7325 * elf/dl-tls.c (_dl_count_modids): New function.
7326 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7327 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7328 audit library and increment generation counter.
7329 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7330 * elf/tst-audit9.c: New file.
7331 * elf/tst-auditmod9a.c: New file.
7332 * elf/tst-auditmod9b.c: New file.
7333 * elf/Makefile: Add rules to build and run tst-audit9.
7335 2014-02-25 Florian Weimer <fweimer@redhat.com>
7338 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7340 2014-02-25 Will Newton <will.newton@linaro.org>
7342 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7343 (__longjmp): Restore sp and lr before restoring callee
7344 saved registers. Add longjmp and longjmp_target
7345 SystemTap probe point.
7346 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7347 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7348 Define to zero to match jmpbuf layout.
7349 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7350 (__sigsetjmp): Save sp and lr before saving callee
7351 saved registers. Add setjmp SystemTap probe point.
7353 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7357 2014-02-24 Andreas Schwab <schwab@suse.de>
7360 * elf/pldd.c (wait_for_ptrace_stop): New function.
7361 (main): Call it after attaching.
7363 2014-02-22 Roland McGrath <roland@hack.frob.com>
7365 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7366 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7367 Versions files is now verboten.
7368 * hurd/Versions (libc: GLIBC_2.0):
7369 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7370 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7371 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7372 * mach/Versions: Likewise.
7374 * csu/Versions: Remove unused %include.
7375 * resolv/Versions: Likewise.
7377 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7379 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7380 ($(objpfx)check-local-headers.out): Likewise.
7381 ($(objpfx)begin-end-check.out): Likewise.
7382 * Makerules (check-abi-%.out): Likewise.
7383 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7384 ($(objpfx)test2.cat): Likewise.
7385 ($(objpfx)de/libc.cat): Likewise.
7386 ($(objpfx)test-gencat.out): Likewise.
7387 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7388 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7389 ($(objpfx)noload-mem): Likewise.
7390 ($(objpfx)tst-pathopt.out): Likewise.
7391 ($(objpfx)tst-rtld-load-self.out): Likewise.
7392 ($(objpfx)tst-array1-cmp.out): Likewise.
7393 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7394 ($(objpfx)tst-array2-cmp.out): Likewise.
7395 ($(objpfx)tst-array3-cmp.out): Likewise.
7396 ($(objpfx)tst-array4-cmp.out): Likewise.
7397 ($(objpfx)tst-array5-cmp.out): Likewise.
7398 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7399 ($(objpfx)check-textrel.out): Likewise.
7400 ($(objpfx)check-execstack.out): Likewise.
7401 ($(objpfx)check-localplt.out): Likewise.
7402 ($(objpfx)order2-cmp.out): Likewise.
7403 ($(objpfx)tst-leaks1-mem): Likewise.
7404 ($(objpfx)tst-leaks1-static-mem): Likewise.
7405 ($(objpfx)tst-initorder-cmp.out): Likewise.
7406 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7407 ($(objpfx)tst-unused-dep.out): Likewise.
7408 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7410 * iconv/Makefile (test-iconvconfig): Likewise.
7411 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7412 ($(objpfx)iconv-test.out): Likewise.
7413 ($(objpfx)tst-tables.out): Likewise.
7414 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7415 ($(objpfx)tst-gettext.out): Likewise.
7416 ($(objpfx)tst-translit.out): Likewise.
7417 ($(objpfx)tst-gettext2.out): Likewise.
7418 ($(objpfx)tst-gettext4.out): Likewise.
7419 ($(objpfx)tst-gettext6.out): Likewise.
7420 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7421 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7422 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7423 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7424 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7425 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7426 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7427 ($(objpfx)wordexp-tst.out): Likewise.
7428 ($(objpfx)annexc.out): Likewise.
7429 ($(objpfx)tst-fnmatch-mem): Likewise.
7430 ($(objpfx)bug-regex2-mem): Likewise.
7431 ($(objpfx)bug-regex14-mem): Likewise.
7432 ($(objpfx)bug-regex21-mem): Likewise.
7433 ($(objpfx)bug-regex31-mem): Likewise.
7434 ($(objpfx)tst-vfork3-mem): Likewise.
7435 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7436 ($(objpfx)tst-pcre-mem): Likewise.
7437 ($(objpfx)tst-boost-mem): Likewise.
7438 ($(objpfx)tst-getconf.out): Likewise.
7439 ($(objpfx)bug-ga2-mem): Likewise.
7440 ($(objpfx)bug-glob2-mem): Likewise.
7441 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7442 ($(objpfx)mtrace-tst-leaks2): Likewise.
7443 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7444 ($(objpfx)tst-printf.out): Likewise.
7445 ($(objpfx)tst-setvbuf1.out): Likewise.
7446 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7447 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7448 ($(objpfx)tst-fmtmsg.out): Likewise.
7449 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7450 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7452 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7453 * bits/sigaction.h [__USE_MISC]: Likewise.
7454 * bits/waitstatus.h: Update #endif comments.
7455 * ctype/ctype.h: Likewise.
7456 * dirent/dirent.h: Likewise.
7457 [__USE_MISC]: Remove redundant conditionals.
7458 * grp/grp.h: Update #endif comments.
7459 [__USE_GNU]: Remove redundant conditionals.
7460 [__USE_MISC]: Likewise.
7461 * inet/netinet/in.h [__USE_GNU]: Likewise.
7462 * io/sys/stat.h [__USE_MISC]: Likewise.
7463 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7464 * libio/bits/stdio.h: Update #endif comments.
7465 [__USE_MISC]: Remove redundant conditionals.
7466 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7467 * libio/stdio.h: Update #endif comments.
7468 [__USE_MISC]: Remove redundant conditionals.
7469 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7470 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7471 * math/math.h: Update #else and #endif comments.
7472 [__USE_MISC]: Remove redundant conditionals.
7473 * misc/sys/uio.h: Update #endif comments.
7474 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7475 * posix/glob.h [__USE_MISC]: Likewise.
7476 * posix/sys/types.h: Update #endif comments.
7477 [__USE_MISC]: Remove redundant conditionals.
7478 * posix/sys/wait.h: Update #endif comments.
7479 [__USE_MISC]: Remove redundant conditionals.
7480 * posix/unistd.h: Update #endif comments.
7481 [__USE_MISC]: Remove redundant conditionals.
7482 * pwd/pwd.h [__USE_GNU]: Likewise.
7483 [__USE_MISC]: Likewise.
7484 * resolv/netdb.h [__USE_GNU]: Likewise.
7485 * signal/signal.h: Update #endif comments.
7486 [__USE_MISC]: Remove redundant conditionals.
7487 * stdlib/stdlib.h: Update #else and #endif comments.
7488 [__USE_MISC]: Remove redundant conditionals.
7489 [__USE_GNU]: Likewise.
7490 * string/bits/string2.h [__USE_MISC]: Likewise.
7491 * string/string.h: Update #endif comments.
7492 [__USE_MISC]: Remove redundant conditionals.
7493 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7496 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7497 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7499 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7503 [__USE_MISC]: Remove redundant conditionals.
7504 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7505 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7506 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7507 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7508 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7510 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7511 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7513 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7514 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7516 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7518 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7521 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7523 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7524 * sysdeps/x86/bits/string.h: Update #endif comments.
7525 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7527 * time/sys/time.h: Update #endif comments.
7528 * time/time.h: Likewise.
7529 [__USE_MISC]: Remove redundant conditionals.
7531 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7534 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7536 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7538 * Versions.def (librt): Add GLIBC_2.17.
7540 2014-02-21 Adam Conrad <adconrad@0c3.net>
7542 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7543 synonym for _SYS_AUXV_H to allow direct inclusion.
7544 * sysdeps/sparc/bits/hwcap.h: Likewise.
7545 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7546 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7547 * sysdeps/sparc/sysdep.h: Likewise.
7549 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7551 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7553 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7555 * benchtests/bench-strrchr.c: Print length instead of position.
7557 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7560 * sysdeps/unix/sysv/linux/kernel-features.h
7561 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7562 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7563 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7564 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7566 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7567 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7568 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7569 (__ASSUME_SENDMMSG): Define instead of using previous
7570 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7571 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7572 (__ASSUME_SENDMMSG_SYSCALL): Define.
7573 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7574 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7576 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7577 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7579 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7580 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7582 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7583 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7584 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7585 [__ASSUME_SENDMMSG]: Change conditionals to
7586 [__ASSUME_SENDMMSG_SOCKETCALL].
7587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7588 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7590 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7591 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7593 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7594 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7595 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7596 [!__ASSUME_SENDMMSG]: Change conditional to
7597 [!__ASSUME_SENDMMSG_SOCKETCALL].
7598 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7599 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7603 * sysdeps/unix/sysv/linux/kernel-features.h
7604 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7605 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7606 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7607 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7608 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7609 [__i386__ || __sparc__]
7610 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7611 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7612 (__ASSUME_RECVMMSG): Define instead of using previous
7613 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7614 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7615 (__ASSUME_RECVMMSG_SYSCALL): Define.
7616 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7619 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7622 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7623 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7625 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7626 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7627 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7628 [__ASSUME_RECVMMSG]: Change condition to
7629 [__ASSUME_RECVMMSG_SOCKETCALL].
7630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7631 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7633 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7634 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7635 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7637 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7638 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7639 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7640 [!__ASSUME_RECVMMSG]: Change condition to
7641 [!__ASSUME_RECVMMSG_SOCKETCALL].
7642 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7643 (__ASSUME_RECVMMSG_SYSCALL): Define.
7646 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7647 __powerpc__ || __s390__ || __sh__ || __sparc__]
7648 (__ASSUME_SOCKETCALL): Define.
7649 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7650 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7651 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7652 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7653 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7654 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7655 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7656 (__ASSUME_ACCEPT4): Define instead of using previous
7657 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7658 __powerpc__ || __sparc__ || __s390__)] condition.
7659 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7660 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7661 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7662 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7663 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7664 [!__ASSUME_ACCEPT4]: Change condition to
7665 [!__ASSUME_ACCEPT4_SOCKETCALL].
7666 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7667 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7668 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7669 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7670 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7671 __ASSUME_ACCEPT4_SYSCALL.
7672 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7673 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7675 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7676 __ASSUME_ACCEPT4_SYSCALL.
7677 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7678 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7679 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7680 [__ASSUME_ACCEPT4]: Change condition to
7681 [__ASSUME_ACCEPT4_SOCKETCALL].
7682 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7683 (__ASSUME_SOCKETCALL): Define.
7684 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7685 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7686 (__ASSUME_SOCKETCALL): Define.
7687 (__ASSUME_ACCEPT4): Remove.
7688 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7690 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7691 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7694 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7696 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7698 (HWCAP_ARM_LPAE): Likewise.
7699 (HWCAP_ARM_EVTSTRM): Likewise.
7700 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7701 Add vpfd32, lpae and evtstrm.
7702 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7705 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7707 * math/auto-libm-test-in: Add tests of clog10.
7708 * math/auto-libm-test-out: Regenerated.
7709 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7713 2014-02-18 Andreas Schwab <schwab@suse.de>
7716 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7717 Store non-zero if the second buffer was newly allocated.
7718 (send_dg): Likewise.
7719 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7720 to send_vc and send_dg.
7721 (res_nsend): Pass NULL for ansp2_malloced.
7722 * resolv/res_query.c (__libc_res_nquery): Add parameter
7723 answerp2_malloced and pass it down to __libc_res_nsend.
7724 (res_nquery): Pass additional NULL to __libc_res_nquery.
7725 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7726 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7727 second answer buffer if answerp2_malloced was set.
7728 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7729 (__libc_res_nquerydomain): Add parameter
7730 answerp2_malloced and pass it down to __libc_res_nquery.
7731 (res_nquerydomain): Pass additional NULL to
7732 __libc_res_nquerydomain.
7733 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7734 additional NULL to __libc_res_nsend and __libc_res_nquery.
7735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7736 additional NULL to __libc_res_nsearch.
7737 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7738 parameter of __libc_res_nsearch to check for separately allocated
7740 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7742 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7743 additional NULL to __libc_res_nquery.
7744 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7746 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7747 * include/resolv.h: Update prototypes of __libc_res_nquery,
7748 __libc_res_nsearch, __libc_res_nsend.
7750 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7752 * math/auto-libm-test-in: Add tests of fma.
7753 * math/auto-libm-test-out: Regenerated.
7754 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7755 (fma_towardzero_test_data): Likewise.
7756 (fma_downward_test_data): Likewise.
7757 (fma_upward_test_data): Likewise.
7758 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7760 (rounding_modes): Add values for new field.
7761 (func_calc_method): Add value mpfr_fff_f.
7762 (func_calc_desc): Add mpfr_fff_f union field.
7763 (test_function): Add field exact_args.
7764 (FUNC): Add macro argument EXACT_ARGS.
7765 (FUNC_mpfr_f_f): Update call to FUNC.
7766 (FUNC_mpfr_f_f): Likewise.
7767 (FUNC_mpfr_ff_f): Likewise.
7768 (FUNC_mpfr_if_f): Likewise.
7769 (FUNC_mpc_c_f): Likewise.
7770 (FUNC_mpc_c_c): Likewise.
7771 (test_functions): Add fma. Update calls to FUNC.
7772 (handle_input_arg): Add argument exact_args.
7773 (add_test): Update call to handle_input_arg.
7774 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7775 (output_for_one_input_case): Update call to calc_generic_results.
7776 Recalculate exact zero results in each rounding mode.
7778 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7779 non-negative before setting low bit.
7780 * math/auto-libm-test-in: Mark one asin test possibly having
7782 * math/auto-libm-test-out: Regenerated.
7783 * sysdeps/i386/fpu/libm-test-ulps: Update.
7784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7786 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7788 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7789 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7790 ports/sysdeps/unix/sysv/linux/microblaze.
7791 * README: Add missing listing for microblaze*-*-linux-gnu.
7793 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7795 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7796 * sysdeps/unix/sysv/linux/ia64: Move directory from
7797 ports/sysdeps/unix/sysv/linux/ia64.
7798 * README: Update listing for ia64-*-linux-gnu.
7800 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7801 Joseph Myers <joseph@codesourcery.com>
7803 * Makeconfig (test-name): New variable.
7804 (evaluate-test): Likewise.
7805 * Makerules (do-test-clean): Remove .test-result files.
7806 (common-mostlyclean): Likewise.
7807 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7808 * scripts/evaluate-test.sh: New file.
7810 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7812 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7813 separate $(objpfx)tst-fopenloc-cmp.out and
7814 $(objpfx)tst-fopenloc-mem.out targets.
7815 (tests): Update dependencies.
7816 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7817 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7818 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7819 (tst-rxspencer-no-utf8-ARGS): New variable.
7820 (tst-rxspencer-no-utf8-ENV): Likewise.
7821 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7822 instead of $(objpfx)tst-rxspencer-mem.
7823 ($(objpfx)tst-rxspencer-mem): Change target to
7824 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7825 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7826 * posix/tst-rxspencer-no-utf8.c: New file.
7828 * elf/Makefile ($(objpfx)order.out): Remove rule.
7829 [$(run-built-tests) = yes] (tests): Depend on
7830 $(objpfx)order-cmp.out.
7831 ($(objpfx)order-cmp.out): New rule.
7832 [$(run-built-tests) = yes] (tests): Depend on
7833 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7834 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7835 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7836 $(objpfx)tst-array5-static-cmp.out.
7837 ($(objpfx)tst-array1.out): Remove rule.
7838 ($(objpfx)tst-array1-cmp.out): New rule.
7839 ($(objpfx)tst-array1-static.out): Remove rule.
7840 ($(objpfx)tst-array1-static-cmp.out): New rule.
7841 ($(objpfx)tst-array2.out): Remove rule.
7842 ($(objpfx)tst-array2-cmp.out): New rule.
7843 ($(objpfx)tst-array3.out): Remove rule.
7844 ($(objpfx)tst-array3-cmp.out): New rule.
7845 ($(objpfx)tst-array4.out): Remove rule.
7846 ($(objpfx)tst-array4-cmp.out): New rule.
7847 ($(objpfx)tst-array5.out): Remove rule.
7848 ($(objpfx)tst-array5-cmp.out): New rule.
7849 ($(objpfx)tst-array5-static.out): Remove rule.
7850 ($(objpfx)tst-array5-static-cmp.out): New rule.
7851 [$(run-built-tests) = yes] (tests): Depend on
7852 $(objpfx)order2-cmp.out.
7853 ($(objpfx)order2.out): Remove rule.
7854 ($(objpfx)order2-cmp.out): New rule.
7855 ($(objpfx)tst-initorder.out): Remove rule.
7856 [$(run-built-tests) = yes] (tests): Depend on
7857 $(objpfx)tst-initorder-cmp.out.
7858 ($(objpfx)tst-initorder-cmp.out): New rule.
7859 ($(objpfx)tst-initorder2.out): Remove rule.
7860 [$(run-built-tests) = yes] (tests): Depend on
7861 $(objpfx)tst-initorder2-cmp.out.
7862 ($(objpfx)tst-initorder2-cmp.out): New rule.
7863 [$(run-built-tests) = yes] (tests): Depend on
7864 $(objpfx)tst-unused-dep-cmp.out.
7865 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7866 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7867 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7868 on $(objpfx)tst-setvbuf1-cmp.out.
7869 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7870 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7871 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7872 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7873 ($(objpfx)tst-svc.out): Remove rule.
7874 ($(objpfx)tst-svc-cmp.out): New rule.
7876 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7878 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7879 * ctype/ctype.h [__USE_MISC]: Likewise.
7880 * dirent/dirent.h [__USE_MISC]: Likewise.
7881 * grp/grp.h [__USE_MISC]: Likewise.
7882 * io/fcntl.h [__USE_MISC]: Likewise.
7883 * io/sys/stat.h [__USE_MISC]: Likewise.
7884 * libio/stdio.h [__USE_MISC]: Likewise.
7885 * posix/unistd.h [__USE_MISC]: Likewise.
7886 * pwd/pwd.h [__USE_MISC]: Likewise.
7887 * stdlib.h [__USE_MISC]: Likewise.
7888 * string/bits/string2.h [__USE_MISC]: Likewise.
7889 * string/string.h [__USE_MISC]: Likewise.
7890 * time/time.h [__USE_MISC]: Likewise.
7892 2014-02-13 Andreas Schwab <schwab@suse.de>
7895 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7896 second answer buffer if it was separately allocated.
7898 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7900 * sysdeps/mips/math-tests.h: Include <features.h>.
7901 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7902 (ROUNDING_TESTS_long_double): Do not define.
7903 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7904 (EXCEPTION_TESTS_long_double): Likewise.
7905 * sysdeps/mips/mips64/libm-test-ulps: Update.
7907 * include/features.h (__USE_BSD): Remove macro definitions.
7908 (__USE_SVID): Likewise.
7909 (_BSD_SOURCE): Likewise.
7910 (_SVID_SOURCE): Likewise.
7911 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7912 from definition of _DEFAULT_SOURCE.
7913 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7915 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7916 * bits/mman.h [__USE_BSD]: Likewise.
7917 * bits/termios.h [__USE_BSD]: Likewise.
7918 * bits/waitstatus.h [__USE_BSD]: Likewise.
7919 * ctype/ctype.h [__USE_SVID]: Likewise.
7920 * dirent/dirent.h [__USE_BSD]: Likewise.
7921 * grp/grp.h [__USE_SVID]: Likewise.
7922 [__USE_BSD]: Likewise.
7923 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7924 * io/fcntl.h [__USE_BSD]: Likewise.
7925 * io/ftw.h [__USE_BSD]: Likewise.
7926 * io/sys/stat.h [__USE_BSD]: Likewise.
7927 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7928 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7929 * libio/stdio.h [__USE_SVID]: Likewise.
7930 [__USE_BSD]: Likewise.
7931 * math/math.h [__USE_SVID]: Likewise.
7932 [__USE_BSD]: Likewise.
7933 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7934 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7935 * misc/search.h [__USE_SVID]: Likewise.
7936 * misc/sys/mman.h [__USE_BSD]: Likewise.
7937 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7938 * misc/sys/uio.h [__USE_BSD]: Likewise.
7939 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7940 * posix/glob.h [__USE_BSD]: Likewise.
7941 * posix/regex.h [__USE_BSD]: Likewise.
7942 * posix/sys/types.h [__USE_BSD]: Likewise.
7943 [__USE_SVID]: Likewise.
7944 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7945 * posix/sys/wait.h [__USE_BSD]: Likewise.
7946 [__USE_SVID]: Likewise.
7947 * posix/unistd.h [__USE_BSD]: Likewise.
7948 [__USE_SVID]: Likewise.
7949 * pwd/pwd.h [__USE_SVID]: Likewise.
7950 * resolv/netdb.h [__USE_BSD]: Likewise.
7951 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7952 * signal/signal.h [__USE_BSD]: Likewise.
7953 [__USE_SVID]: Likewise.
7954 * socket/sys/socket.h [__USE_BSD]: Likewise.
7955 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7956 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7957 [__USE_SVID]: Likewise.
7958 * string/bits/string2.h [__USE_BSD]: Likewise.
7959 [__USE_SVID]: Likewise.
7960 * string/bits/string3.h [__USE_BSD]: Likewise.
7961 * string/endian.h [__USE_BSD]: Likewise.
7962 * string/string.h [__USE_SVID]: Likewise.
7963 [__USE_BSD]: Likewise.
7964 * string/strings.h [__USE_BSD]: Likewise.
7965 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7966 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7967 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7968 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7969 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7970 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7974 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7975 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7977 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7978 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7980 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7982 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7983 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7986 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7988 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7989 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7990 * termios/termios.h [__USE_BSD]: Likewise.
7991 * time/sys/time.h [__USE_BSD]: Likewise.
7992 * time/time.h [__USE_BSD]: Likewise.
7993 [__USE_SVID]: Likewise.
7995 * Makefile (subdir_targets): Remove subdir_lint.out.
7997 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7998 (do-tst-printf): Likewise.
7999 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8000 $(objpfx)tst-printf.out.
8002 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8004 * Makerules (check-abi-%): Change target to
8005 $(objpfx)check-abi-%.out.
8006 (check-abi target): Update dependencies.
8007 (check-abi-pattern variable): Redirect output of diff to $@.
8008 (check-abi variable): Likewise.
8009 * elf/Makefile (check-abi): Update dependencies.
8011 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8013 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8014 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8016 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8017 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8018 value has largest subnormal exponent.
8019 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8020 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8021 * sysdeps/aarch64/soft-fp/sfp-machine.h
8022 (_FP_TININESS_AFTER_ROUNDING): New macro.
8023 * sysdeps/alpha/soft-fp/sfp-machine.h
8024 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8025 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8027 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8028 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8029 * sysdeps/mips/soft-fp/sfp-machine.h
8030 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8031 * sysdeps/powerpc/soft-fp/sfp-machine.h
8032 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8033 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8035 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8036 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8037 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8038 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8039 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8042 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8045 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8048 2014-02-12 Richard Henderson <rth@redhat.com>
8050 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8051 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8052 * sysdeps/unix/sysv/linux/alpha: Move directory from
8053 ports/sysdeps/unix/sysv/linux/alpha.
8054 * README: Update listing for alpha-*-linux-gnu.
8056 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8058 * include/features.h: Update comment documenting feature test
8060 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8062 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8063 (_SVID_SOURCE): Likewise.
8064 (_DEFAULT_SOURCE): Update description of default features.
8065 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8067 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8068 (S_ISVTX): Likewise.
8069 * manual/math.texi (Mathematical Constants): Likewise.
8070 * manual/signal.texi (Interrupted Primitives): Likewise.
8071 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8072 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8073 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8074 Don't refer to _SVID_SOURCE in warning text.
8076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8078 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8080 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8081 * sysdeps/mips/dl-lookup.c: Remove.
8082 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8084 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8087 * math/auto-libm-test-in: Add testcase for expl.
8088 * math/auto-libm-test-out: Regenerate.
8089 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8090 calculation of unsafe.
8091 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8093 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8095 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8096 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8097 ports/sysdeps/unix/sysv/linux/aarch64.
8098 * README: Update listing for aarch64*-*-linux-gnu.
8100 2014-02-11 Will Newton <will.newton@linaro.org>
8102 * manual/probes.texi (Mathematical Function Probes): Use
8103 "triggered" instead of "hit".
8105 * manual/probes.texi (Internal Probes): Add documentation
8106 of setjmp, longjmp and longjmp_target probes.
8108 * include/stap-probe.h: Add comment about probe argument
8111 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8112 definition. (tr_where, tr_freehook, tr_mallochook,
8113 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8115 2014-02-11 David S. Miller <davem@davemloft.net>
8117 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8118 processing int_tests.
8120 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8122 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8123 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8124 * sysdeps/unix/sysv/linux/mips: Move directory from
8125 ports/sysdeps/unix/sysv/linux/mips.
8126 * README: Update listing for mips-*-linux-gnu and
8129 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8131 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8132 * sysdeps/unix/sysv/linux/m68k: Move directory from
8133 ports/sysdeps/unix/sysv/linux/m68k.
8134 * README: Update listing for m68k-*-linux-gnu.
8136 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8138 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8139 * sysdeps/unix/sysv/linux/generic: Move directory from
8140 ports/sysdeps/unix/sysv/linux/generic.
8141 * sysdeps/unix/sysv/linux/tile: Move directory from
8142 ports/sysdeps/unix/sysv/linux/tile.
8143 * README: Update listing for tile*-*-linux-gnu.
8145 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8147 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8149 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8150 * catgets/open_catalog.c (__open_catalog): Likewise.
8151 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8152 * debug/confstr_chk.c: Likewise.
8153 * debug/fread_chk.c (__fread_chk): Likewise.
8154 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8155 * debug/getgroups_chk.c: Likewise.
8156 * debug/mbsnrtowcs_chk.c: Likewise.
8157 * debug/mbsrtowcs_chk.c: Likewise.
8158 * debug/mbstowcs_chk.c: Likewise.
8159 * debug/memcpy_chk.c: Likewise.
8160 * debug/memmove_chk.c: Likewise.
8161 * debug/mempcpy_chk.c: Likewise.
8162 * debug/memset_chk.c: Likewise.
8163 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8164 * debug/strcat_chk.c (__strcat_chk): Likewise.
8165 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8166 * debug/strncat_chk.c (__strncat_chk): Likewise.
8167 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8168 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8169 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8170 * debug/wcpncpy_chk.c: Likewise.
8171 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8172 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8173 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8174 * debug/wcsncpy_chk.c: Likewise.
8175 * debug/wcsnrtombs_chk.c: Likewise.
8176 * debug/wcsrtombs_chk.c: Likewise.
8177 * debug/wcstombs_chk.c: Likewise.
8178 * debug/wmemcpy_chk.c: Likewise.
8179 * debug/wmemmove_chk.c: Likewise.
8180 * debug/wmempcpy_chk.c: Likewise.
8181 * debug/wmemset_chk.c: Likewise.
8182 * dirent/scandirat.c (SCANDIRAT): Likewise.
8183 * dlfcn/dladdr1.c (dladdr1): Likewise.
8184 * dlfcn/dladdr.c (dladdr): Likewise.
8185 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8186 * dlfcn/dlerror.c (__dlerror): Likewise.
8187 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8188 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8189 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8190 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8191 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8192 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8193 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8194 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8196 * elf/dl-conflict.c: Likewise.
8197 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8198 * elf/dl-dst.h: Likewise.
8199 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8200 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8202 * elf/dl-init.c (call_init, _dl_init): Likewise.
8203 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8204 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8205 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8207 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8209 * elf/dl-minimal.c (__libc_memalign): Likewise.
8210 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8211 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8212 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8213 * elf/dl-sym.c (do_sym): Likewise.
8214 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8215 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8216 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8217 * elf/dl-writev.h (_dl_writev): Likewise.
8218 * elf/ldconfig.c (search_dir): Likewise.
8219 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8220 (dl_main): Likewise.
8221 * elf/setup-vdso.h (setup_vdso): Likewise.
8222 * grp/compat-initgroups.c (compat_call): Likewise.
8223 * grp/fgetgrent.c (fgetgrent): Likewise.
8224 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8225 * grp/putgrent.c (putgrent): Likewise.
8226 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8228 * hurd/hurdinit.c: Likewise.
8229 * iconvdata/8bit-gap.c (struct): Likewise.
8230 * iconvdata/ansi_x3.110.c : Likewise.
8231 * iconvdata/big5.c : Likewise.
8232 * iconvdata/big5hkscs.c : Likewise.
8233 * iconvdata/cp1255.c: Likewise.
8234 * iconvdata/cp1258.c : Likewise.
8235 * iconvdata/cp932.c : Likewise.
8236 * iconvdata/euc-cn.c: Likewise.
8237 * iconvdata/euc-jisx0213.c : Likewise.
8238 * iconvdata/euc-jp.c: Likewise.
8239 * iconvdata/euc-jp-ms.c : Likewise.
8240 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8241 * iconvdata/gb18030.c : Likewise.
8242 * iconvdata/gbbig5.c (const): Likewise.
8243 * iconvdata/gbgbk.c: Likewise.
8244 * iconvdata/gbk.c : Likewise.
8245 * iconvdata/ibm1364.c : Likewise.
8246 * iconvdata/ibm930.c : Likewise.
8247 * iconvdata/ibm932.c: Likewise.
8248 * iconvdata/ibm933.c : Likewise.
8249 * iconvdata/ibm935.c : Likewise.
8250 * iconvdata/ibm937.c : Likewise.
8251 * iconvdata/ibm939.c : Likewise.
8252 * iconvdata/ibm943.c: Likewise.
8253 * iconvdata/iso_11548-1.c: Likewise.
8254 * iconvdata/iso-2022-cn.c : Likewise.
8255 * iconvdata/iso-2022-cn-ext.c : Likewise.
8256 * iconvdata/iso-2022-jp-3.c: Likewise.
8257 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8258 * iconvdata/iso-2022-kr.c : Likewise.
8259 * iconvdata/iso646.c (gconv_end): Likewise.
8260 * iconvdata/iso_6937-2.c : Likewise.
8261 * iconvdata/iso_6937.c : Likewise.
8262 * iconvdata/iso8859-1.c: Likewise.
8263 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8264 * iconvdata/shift_jisx0213.c : Likewise.
8265 * iconvdata/sjis.c : Likewise.
8266 * iconvdata/t.61.c : Likewise.
8267 * iconvdata/tcvn5712-1.c : Likewise.
8268 * iconvdata/tscii.c: Likewise.
8269 * iconvdata/uhc.c : Likewise.
8270 * iconvdata/unicode.c (gconv_end): Likewise.
8271 * iconvdata/utf-16.c (gconv_end): Likewise.
8272 * iconvdata/utf-32.c (gconv_end): Likewise.
8273 * iconvdata/utf-7.c (base64): Likewise.
8274 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8275 * iconv/gconv_close.c (__gconv_close): Likewise.
8276 * iconv/gconv_open.c (__gconv_open): Likewise.
8277 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8278 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8279 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8280 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8281 (ucs4le_internal_loop_single): Likewise.
8282 * iconv/iconv.c (iconv): Likewise.
8283 * iconv/iconv_close.c: Likewise.
8284 * iconv/loop.c (SINGLE): Likewise.
8285 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8286 * include/atomic.h: Likewise.
8287 * inet/inet6_option.c (option_alloc): Likewise.
8288 * intl/bindtextdom.c (set_binding_values): Likewise.
8289 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8290 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8291 * intl/localealias.c (read_alias_file): Likewise.
8292 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8293 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8294 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8295 * libio/fmemopen.c (fmemopen): Likewise.
8296 * libio/iofgets.c (_IO_fgets): Likewise.
8297 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8298 * libio/iofgetws.c (fgetws): Likewise.
8299 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8300 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8301 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8302 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8303 * locale/findlocale.c (_nl_find_locale): Likewise.
8304 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8305 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8307 * locale/setlocale.c (setlocale): Likewise.
8308 * login/programs/pt_chown.c (main): Likewise.
8309 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8310 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8311 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8312 (mmap, mmap64, mremap, munmap): Likewise.
8313 * math/e_exp2l.c: Likewise.
8314 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8315 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8316 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8317 * math/s_catan.c (__catan): Likewise.
8318 * math/s_catanf.c (__catanf): Likewise.
8319 * math/s_catanh.c (__catanh): Likewise.
8320 * math/s_catanhf.c (__catanhf): Likewise.
8321 * math/s_catanhl.c (__catanhl): Likewise.
8322 * math/s_catanl.c (__catanl): Likewise.
8323 * math/s_ccosh.c (__ccosh): Likewise.
8324 * math/s_ccoshf.c (__ccoshf): Likewise.
8325 * math/s_ccoshl.c (__ccoshl): Likewise.
8326 * math/s_cexp.c (__cexp): Likewise.
8327 * math/s_cexpf.c (__cexpf): Likewise.
8328 * math/s_cexpl.c (__cexpl): Likewise.
8329 * math/s_clog10.c (__clog10): Likewise.
8330 * math/s_clog10f.c (__clog10f): Likewise.
8331 * math/s_clog10l.c (__clog10l): Likewise.
8332 * math/s_clog.c (__clog): Likewise.
8333 * math/s_clogf.c (__clogf): Likewise.
8334 * math/s_clogl.c (__clogl): Likewise.
8335 * math/s_csin.c (__csin): Likewise.
8336 * math/s_csinf.c (__csinf): Likewise.
8337 * math/s_csinh.c (__csinh): Likewise.
8338 * math/s_csinhf.c (__csinhf): Likewise.
8339 * math/s_csinhl.c (__csinhl): Likewise.
8340 * math/s_csinl.c (__csinl): Likewise.
8341 * math/s_csqrt.c (__csqrt): Likewise.
8342 * math/s_csqrtf.c (__csqrtf): Likewise.
8343 * math/s_csqrtl.c (__csqrtl): Likewise.
8344 * math/s_ctan.c (__ctan): Likewise.
8345 * math/s_ctanf.c (__ctanf): Likewise.
8346 * math/s_ctanh.c (__ctanh): Likewise.
8347 * math/s_ctanhf.c (__ctanhf): Likewise.
8348 * math/s_ctanhl.c (__ctanhl): Likewise.
8349 * math/s_ctanl.c (__ctanl): Likewise.
8350 * math/w_pow.c: Likewise.
8351 * math/w_powf.c: Likewise.
8352 * math/w_powl.c: Likewise.
8353 * math/w_scalb.c (sysv_scalb): Likewise.
8354 * math/w_scalbf.c (sysv_scalbf): Likewise.
8355 * math/w_scalbl.c (sysv_scalbl): Likewise.
8356 * misc/error.c (error_tail): Likewise.
8357 * misc/pselect.c (__pselect): Likewise.
8358 * nis/nis_callback.c (__nis_create_callback): Likewise.
8359 * nis/nis_call.c (__nisfind_server): Likewise.
8360 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8361 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8363 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8364 * nis/nis_lookup.c (nis_lookup): Likewise.
8365 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8366 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8367 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8368 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8369 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8370 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8371 * nis/nss_compat/compat-initgroups.c (add_group)
8372 (internal_getgrent_r): Likewise.
8373 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8374 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8375 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8376 (internal_getspnam_r): Likewise.
8377 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8378 (_nss_nis_getaliasbyname_r): Likewise.
8379 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8380 (_nss_nis_getntohost_r): Likewise.
8381 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8382 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8383 (_nss_nis_getgrgid_r): Likewise.
8384 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8385 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8386 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8387 (_nss_nis_gethostbyname4_r): Likewise.
8388 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8389 (initgroups_netid): Likewise.
8390 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8391 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8392 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8393 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8394 (_nss_nis_getprotobynumber_r): Likewise.
8395 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8396 (_nss_nis_getsecretkey): Likewise.
8397 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8398 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8399 (_nss_nis_getpwuid_r): Likewise.
8400 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8401 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8402 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8403 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8404 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8405 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8406 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8408 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8409 (_nss_nisplus_getntohost_r): Likewise.
8410 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8411 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8412 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8413 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8415 * nis/nss_nisplus/nisplus-initgroups.c
8416 (_nss_nisplus_initgroups_dyn): Likewise.
8417 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8418 (_nss_nisplus_getnetbyaddr_r): Likewise.
8419 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8420 (_nss_nisplus_getprotobynumber_r): Likewise.
8421 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8422 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8423 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8425 * nis/nss_nisplus/nisplus-service.c
8426 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8427 (_nss_nisplus_getservbyport_r): Likewise.
8428 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8429 (_nss_nisplus_getspnam_r): Likewise.
8430 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8432 * nscd/aicache.c (addhstaiX): Likewise.
8433 * nscd/cache.c (cache_search, prune_cache): Likewise.
8434 * nscd/connections.c (register_traced_file, send_ro_fd)
8435 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8436 (main_loop_epoll): Likewise.
8437 * nscd/grpcache.c (addgrbyX): Likewise.
8438 * nscd/hstcache.c (addhstbyX): Likewise.
8439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8440 * nscd/mem.c (gc, mempool_alloc): Likewise.
8441 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8442 (addinnetgrX): Likewise.
8443 * nscd/nscd-client.h (__nscd_acquire_maplock)
8444 (__nscd_drop_map_ref): Likewise.
8445 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8446 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8447 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8449 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8450 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8451 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8452 (__nscd_get_map_ref): Likewise.
8453 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8454 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8456 * nscd/pwdcache.c (addpwbyX): Likewise.
8457 * nscd/selinux.c (preserve_capabilities): Likewise.
8458 * nscd/servicescache.c (addservbyX): Likewise.
8459 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8460 * posix/fnmatch.c (fnmatch): Likewise.
8461 * posix/getopt.c (_getopt_internal_r): Likewise.
8462 * posix/glob.c (glob, glob_in_dir): Likewise.
8463 * posix/wordexp.c (exec_comm_child): Likewise.
8464 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8465 (getanswer_r, gaih_getanswer_slice): Likewise.
8466 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8467 * resolv/res_init.c: Likewise.
8468 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8469 * resolv/res_query.c (__libc_res_nquery): Likewise.
8470 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8472 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8473 * stdio-common/perror.c (perror): Likewise.
8474 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8475 * stdio-common/tmpnam.c (tmpnam): Likewise.
8476 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8477 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8478 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8480 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8481 * stdlib/putenv.c (putenv): Likewise.
8482 * stdlib/setenv.c (__add_to_environ): Likewise.
8483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8484 * stdlib/strtol_l.c (INTERNAL): Likewise.
8485 * string/memmem.c (memmem): Likewise.
8486 * string/strerror.c (strerror): Likewise.
8487 * string/strnlen.c (__strnlen): Likewise.
8488 * string/test-memmem.c (simple_memmem): Likewise.
8489 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8490 * sunrpc/pm_getport.c (__get_socket): Likewise.
8491 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8492 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8493 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8494 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8496 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8497 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8498 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8499 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8500 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8501 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8503 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8505 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8506 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8507 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8508 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8509 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8511 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8512 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8513 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8514 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8515 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8516 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8518 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8522 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8524 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8525 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8526 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8527 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8528 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8537 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8539 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8543 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8545 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8547 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8549 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8550 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8551 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8552 * sysdeps/posix/sleep.c: Likewise.
8553 * sysdeps/posix/tempname.c: Likewise.
8554 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8555 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8557 * sysdeps/powerpc/powerpc32/dl-machine.h
8558 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8559 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8561 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8562 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8564 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8566 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8568 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8569 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8570 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8571 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8572 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8573 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8574 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8575 (elf_machine_lazy_rel): Likewise.
8576 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8578 (elf_machine_lazy_rel): Likewise.
8579 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8580 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8581 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8582 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8583 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8584 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8585 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8588 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8589 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8590 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8591 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8592 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8593 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8594 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8595 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8596 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8597 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8598 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8600 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8601 (__posix_fallocate64_l64): Likewise.
8602 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8603 (posix_fallocate): Likewise.
8604 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8607 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8608 (getifaddrs_internal): Likewise.
8609 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8610 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8611 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8612 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8613 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8614 (__posix_fallocate64_l64): Likewise.
8615 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8617 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8618 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8619 (__get_clockfreq): Likewise.
8620 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8621 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8622 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8623 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8626 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8627 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8629 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8630 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8631 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8632 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8633 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8634 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8635 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8637 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8638 (posix_fallocate): Likewise.
8639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8640 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8641 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8642 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8643 (elf_machine_rela, elf_machine_rela_relative)
8644 (elf_machine_lazy_rel): Likewise.
8645 * time/asctime.c (asctime_internal): Likewise.
8646 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8647 * time/tzset.c (__tzset_parse_tz): Likewise.
8648 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8649 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8650 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8651 * wcsmbs/wcsmbsload.h: Likewise.
8654 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8656 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8657 (arena_get2): Remove THREAD_STATS conditionals.
8658 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8659 (__malloc_stats, int): Likewise.
8661 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8663 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8664 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8666 * manual/setjmp.texi: Fix typos/grammar errors.
8668 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8669 Only return early when n is <= 0. Delete unused return statement.
8671 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8672 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8673 * debug/tst-longjmp_chk3.c: New file.
8675 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8676 (test_main): Replace code with set_fortify_handler call.
8677 * debug/test-strcpy_chk.c: Likewise.
8678 * debug/tst-chk1.c: Likewise.
8679 * debug/tst-longjmp_chk.c: Likewise.
8680 * test-skeleton.c: Include fcntl.h & paths.h
8681 (set_fortify_handler): Define.
8683 * debug/tst-longjmp_chk.c: Add header comment and include
8685 (do_test): Mark static.
8686 (TEST_FUNCTION): Define.
8688 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8689 (IP_PMTUDISC_INTERFACE): Likewise.
8690 (IP_MULTICAST_IF): Likewise.
8691 (IP_MULTICAST_TTL): Likewise.
8692 (IP_MULTICAST_LOOP): Likewise.
8693 (IP_ADD_MEMBERSHIP): Likewise.
8694 (IP_DROP_MEMBERSHIP): Likewise.
8695 (IP_UNBLOCK_SOURCE): Likewise.
8696 (IP_BLOCK_SOURCE): Likewise.
8697 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8698 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8699 (IP_MSFILTER): Likewise.
8700 (MCAST_JOIN_GROUP): Likewise.
8701 (MCAST_BLOCK_SOURCE): Likewise.
8702 (MCAST_UNBLOCK_SOURCE): Likewise.
8703 (MCAST_LEAVE_GROUP): Likewise.
8704 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8705 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8706 (MCAST_MSFILTER): Likewise.
8707 (IP_MULTICAST_ALL): Likewise.
8708 (IP_UNICAST_IF): Likewise.
8710 * timezone/Makefile: Delete $(have-ksh) check.
8711 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8712 * timezone/tzselect.ksh: Add +x mode bits.
8714 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8715 (ANON_INODE_FS_MAGIC): Likewise.
8716 (BDEVFS_MAGIC): Likewise.
8717 (BINFMTFS_MAGIC): Likewise.
8718 (BTRFS_TEST_MAGIC): Likewise.
8719 (CRAMFS_MAGIC_WEND): Likewise.
8720 (DEBUGFS_MAGIC): Likewise.
8721 (ECRYPTFS_SUPER_MAGIC): Likewise.
8722 (EXT3_SUPER_MAGIC): Likewise.
8723 (EXT4_SUPER_MAGIC): Likewise.
8724 (FUTEXFS_SUPER_MAGIC): Likewise.
8725 (HOSTFS_SUPER_MAGIC): Likewise.
8726 (HUGETLBFS_MAGIC): Likewise.
8727 (MINIX3_SUPER_MAGIC): Likewise.
8728 (MTD_INODE_FS_MAGIC): Likewise.
8729 (NILFS_SUPER_MAGIC): Likewise.
8730 (OPENPROM_SUPER_MAGIC): Likewise.
8731 (PIPEFS_MAGIC): Likewise.
8732 (PSTOREFS_MAGIC): Likewise.
8733 (QNX6_SUPER_MAGIC): Likewise.
8734 (RAMFS_MAGIC): Likewise.
8735 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8736 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8737 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8738 (SECURITYFS_MAGIC): Likewise.
8739 (SELINUX_MAGIC): Likewise.
8740 (SMACK_MAGIC): Likewise.
8741 (SOCKFS_MAGIC): Likewise.
8742 (SQUASHFS_MAGIC): Likewise.
8743 (STACK_END_MAGIC): Likewise.
8744 (TMPFS_MAGIC): Likewise.
8745 (USBDEVICE_SUPER_MAGIC): Likewise.
8746 (V9FS_MAGIC): Likewise.
8747 (XENFS_SUPER_MAGIC): Likewise.
8748 (CRAMFS_MAGIC): Fix typo in comment.
8749 (EXT2_SUPER_MAGIC): Update comment.
8750 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8752 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8754 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8755 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8756 * sysdeps/unix/sysv/linux/arm: Move directory from
8757 ports/sysdeps/unix/sysv/linux/arm.
8758 * README: Update listing for arm-*-linux-gnueabi.
8760 * README: Remove mention of am33.
8762 2014-02-07 Roland McGrath <roland@hack.frob.com>
8764 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8765 than the comma operator, to avoid "rhs of comma has no effect"
8767 (__sigfillset, __sigandset, __sigorset): Likewise.
8768 * include/signal.h (__sigemptyset): Likewise.
8769 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8771 2014-02-07 Allan McRae <allan@archlinux.org>
8773 * version.h (RELEASE): Set to "development".
8774 (VERSION): Set to "2.19.90"
8775 * NEWS: Add 2.20 section.
8777 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8780 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8782 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8784 * manual/contrib.texi: Update entry for Carlos O'Donell,
8785 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8787 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8789 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8791 * sysdeps/unix/sysv/linux/kernel-features.h
8792 [__LINUX_KERNEL_VERSION >= 0x020621]
8793 (__ASSUME_PROC_PID_TASK_COMM): Define.
8795 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8798 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8799 conversion when destination buffer does not have enough space.
8800 * libio/tst-ftell-partial-wide.c: New test case.
8801 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8803 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8804 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8805 Leonard and Allan McRae.
8807 2014-02-04 David S. Miller <davem@davemloft.net>
8809 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8812 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8841 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8844 * shlib-versions: Likewise.
8846 2014-02-04 Roland McGrath <roland@hack.frob.com>
8847 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8850 (abilist-pattern): New variable, set to %-le.abilist.
8852 * Makerules (abilist-pattern): New variable.
8853 (vpath): Use $(abilist-pattern) in place of %.abilist.
8854 (check-abi-% pattern rule): Likewise.
8855 (check-abi, update-abi): Likewise.
8857 2014-02-04 Eric Wong <normalperson@yhbt.net>
8859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8861 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8863 * manual/startup.texi: Add next, previous, and top entries for
8864 the `Program Arguments' and `Environment Variables' nodes.
8866 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8868 * manual/macros.texi: Add comments before MTASC-safety macros.
8870 * manual/users.texi: Document MTASC-safety properties.
8872 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8873 (pthread_getspecific, pthread_setspecific): Format with
8874 @deftypefun, and add @safety note.
8875 * manual/signal.texi: Move comments that analyze the above
8876 functions to their home place.
8878 2014-02-03 Allan McRae <allan@archlinux.org>
8880 * po/sl.po: Update Slovenian translation from translation project.
8882 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8884 * manual/time.texi (timegm): Add missing blank after @c.
8885 Reported by Joseph Myers <joseph@codesourcery.com>.
8887 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8889 * manual/check-safety.sh: New.
8890 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8892 * manual/terminal.texi: Document MTASC-safety properties.
8894 * manual/filesys.texi: Document MTASC-safety properties.
8896 * manual/errno.texi: Document MTASC-safety properties.
8898 * manual/intro.texi: Document safety identifiers and
8901 * manual/string.texi (wcstok): Fix prototype.
8902 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8904 * manual/time.texi: Document MTASC-safety properties.
8906 * manual/string.texi: Document MTASC-safety properties.
8908 * manual/threads.texi: Document MTASC-safety properties.
8910 * manual/stdio.texi: Document MTASC-safety properties.
8912 * manual/syslog.texi: Document MTASC-safety properties.
8914 * manual/sysinfo.texi: Document MTASC-safety properties.
8916 * manual/startup.texi: Document MTASC-safety properties.
8918 * manual/socket.texi: Document MTASC-safety properties.
8920 * manual/signal.texi: Document MTASC-safety properties.
8922 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8924 * manual/setjmp.texi: Document MTASC-safety properties.
8926 * manual/search.texi: Document MTASC-safety properties.
8928 * manual/resource.texi: Document MTASC-safety properties.
8930 * manual/process.texi: Document MTASC-safety properties.
8932 * manual/platform.texi: Document MTASC-safety properties.
8934 * manual/pipe.texi: Document MTASC-safety properties.
8936 * manual/pattern.texi: Document MTASC-safety properties.
8938 * manual/message.texi: Document MTASC-safety properties.
8941 * manual/memory.texi: Document MTASC-safety properties.
8943 * manual/math.texi: Document MTASC-safety properties.
8945 * manual/locale.texi: Document MTASC-safety properties.
8947 * manual/llio.texi: Document MTASC-safety properties.
8949 * manual/libdl.texi: New.
8951 * manual/lang.texi: Document MTASC-safety properties.
8953 * manual/job.texi: Document MTASC-safety properties.
8955 * manual/getopt.texi: Document MTASC-safety properties.
8957 * manual/ctype.texi: Document MTASC-safety properties.
8959 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8962 * csu/libc-tls.c (static_map): Remove variable.
8963 (__libc_setup_tls): Use main executable's link map for TLS data.
8964 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8965 casing for LM_ID_BASE and GL(dl_nns).
8966 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8967 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8968 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8969 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8970 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8972 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8975 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8977 * manual/debug.texi: Document MTASC-safety properties.
8979 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8982 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8983 of __x86_64__ when disabling x87 inline functions.
8985 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8987 * manual/charset.texi: Document MTASC-safety properties.
8989 * manual/crypt.texi: Document MTASC-safety properties.
8991 * manual/conf.texi: Document MTASC-safety properties.
8993 * manual/arith.texi: Document MTASC-safety properties.
8995 * manual/argp.texi: Document MTASC-safety properties.
8997 * manual/macros.texi: Introduce macros to document multi
8998 thread, asynchronous signal and asynchronous cancellation
9000 * manual/intro.texi: Introduce the properties themselves.
9002 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9004 * sysdeps/sh/sh4/Makefile: New file.
9006 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9008 * math/gen-libm-test.pl ($srcdir): New variable.
9009 ($auto_input): Use it.
9011 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9014 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9015 access beyond array bounds when parsing netgroups file.
9017 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9018 the old buffer before realloc.
9020 2014-01-27 Allan McRae <allan@archlinux.org>
9022 * po/fr.po: Update French translation from translation project.
9024 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9026 * sysdeps/sh/libm-test-ulps: Regenerate.
9028 2014-01-24 David S. Miller <davem@davemloft.net>
9030 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9032 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9034 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9035 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9037 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9040 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9041 string pointers after reallocation.
9043 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9045 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9046 __SH4A__ instead of __SH_FPU_ANY__.
9048 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9050 * sysdeps/sh/fpu_control.h: New file.
9051 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9052 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9053 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9054 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9055 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9056 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9057 * sysdeps/sh/sys/ucontext.h: Remove.
9058 * sysdeps/sh/sys: Remove directory.
9060 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9062 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9063 s390/sys/ucontext.h.
9064 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9065 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9067 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9070 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9072 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9076 Adjust the vDSO correctly for internal calls.
9077 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9079 2014-01-20 Allan McRae <allan@archlinux.org>
9081 * po/ca.po: Update Catalan translation from translation project.
9083 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9085 * sysdeps/s390/sotruss-lib.c: New file.
9087 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9091 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9092 local calls issues by not having a PLT stub required for IFUNC calls.
9093 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9095 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9097 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9098 * math/test-fpucw-static.c: Likewise.
9100 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9103 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9105 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9107 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9108 implementation for powerpc.
9110 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9113 * sysdeps/posix/system.c (__libc_system): Do not enable
9114 asynchronous cancellation.
9116 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9119 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9120 handling only for numbers special also in the IEEE case.
9122 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9124 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9126 2014-01-11 Allan McRae <allan@archlinux.org>
9128 * po/bg.po: Update Bulgarian translation from translation project.
9130 * po/de.po: Update German translation from translation project.
9132 2014-01-10 Roland McGrath <roland@hack.frob.com>
9134 * sysdeps/generic/gcc-compat.h: New file.
9136 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9138 * benchtests/asin-inputs: Correct slow inputs.
9139 * benchtests/acos-inputs: Likewise.
9141 2014-01-10 Allan McRae <allan@archlinux.org>
9143 * po:sv.po: Update Swedish translation from translation project.
9145 * po/vi.po: Update Vietnamese translation from translation project.
9147 * po/eo.po: Update Esperanto translation from translation project.
9149 * po/cs.po: Update Czech translation from translation project.
9151 * po/nl.po: Update Dutch translation from translation project.
9153 * po/pl.po: Update Polish translation from translation project.
9155 * po/ru.po: Update Russian translation from translation project.
9157 * po/uk.po: Update Ukrainian translation from translation project.
9159 2014-01-08 Brooks Moses <bmoses@google.com>
9161 * elf/dl-load.c: Fix comment typo.
9163 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9165 * po/header.pot: Rename to...
9166 * po/pot.header: ... this.
9167 * po/Makefile: Use pot.header.
9169 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9170 Maxim Kuvyrkov <maxim@kugelworks.com>
9173 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9174 SRC and DEST against LEN.
9176 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9179 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9181 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9183 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9187 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9191 for large positive arguments.
9193 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9195 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9197 * math/auto-libm-test-in: Mark various tests with
9198 xfail-rounding:ldbl-128ibm.
9199 * math/auto-libm-test-out: Regenerated.
9202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9203 Increase overflow threshold.
9205 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9208 * stdio-common/vfprintf.c: Check for integer overflow.
9210 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9212 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9213 the first argument and return value of __tls_get_addr_internal.
9215 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9217 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9218 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9220 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9222 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9223 * sysdeps/s390/rtld-global-offsets.sym: New file.
9224 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9226 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9227 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9228 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9230 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9231 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9237 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9238 halfs of GPRs for high_gprs contexts.
9239 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9240 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9242 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9246 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9247 for high GPRs (uc_high_gprs) and for future extensions
9249 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9250 for future extensions (__reserved).
9251 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9253 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9254 SC_HIGHGPRS offset definition.
9255 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9256 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9258 * Versions.def: Add GLIBC_2.19 for libpthread.
9259 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9260 siglongjmp for libpthread with GLIBC_2.19 symver.
9261 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9262 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9263 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9264 * sysdeps/s390/__longjmp.c: New file.
9265 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9266 * sysdeps/s390/longjmp.c: New file.
9267 * sysdeps/s390/setjmp.S: New file.
9268 * sysdeps/s390/sigjmp.S: New file.
9269 * sysdeps/s390/v1-longjmp.c: New file.
9270 * sysdeps/s390/v1-setjmp.h: New file.
9271 * sysdeps/s390/v1-sigjmp.c: New file.
9272 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9273 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9275 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9276 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9277 versioned symbols for ____longjmp_chk.
9278 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9288 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9289 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9290 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9291 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9292 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9293 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9294 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9295 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9296 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9297 * sysdeps/s390/rtld-__longjmp.c: New file.
9298 * sysdeps/s390/rtld-setjmp.S: New file.
9300 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9303 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9304 Return -__logl (x) for small positive arguments without evaluating
9307 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9309 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9311 (__ptrace_peeksiginfo_args): ... this.
9312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9316 2014-01-06 Allan McRae <allan@archlinux.org>
9318 * inet/netinet/in.h: Fix typo in comment.
9320 2014-01-05 Andreas Jaeger <aj@suse.de>
9322 * sysdeps/i386/fpu/libm-test-ulps: Update.
9324 2014-01-05 Allan McRae <allan@archlinux.org>
9326 * po/libc.pot: Regenerated.
9328 * malloc/memusagestat.c: Fix gettext call formatting.
9330 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9332 * nscd/nscd.c: Improve usage() output.
9334 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9336 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9337 * sysdeps/unix/sysv/linux/configure: Regenerated.
9338 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9339 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9341 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9345 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9347 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9349 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9350 extra tokens at end of #undef directive.
9351 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9352 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9353 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9355 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9357 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9359 * math/auto-libm-test-in: Mark various tests with
9360 xfail-rounding:ldbl-128ibm.
9361 * math/auto-libm-test-out: Regenerated.
9363 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9366 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9367 numbers with subnormal high part when calculating exponent.
9370 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9376 (__ieee754_acoshl): Use __log1pl not __log1p.
9378 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9380 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9381 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9382 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9383 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9384 (reused_arena, arena_get2): Convert to GNU style.
9385 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9386 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9387 (memalign_check, __malloc_set_state): Likewise.
9388 * malloc/mallocbug.c (main): Likewise.
9389 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9390 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9391 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9392 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9393 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9394 (__posix_memalign, malloc_info): Likewise.
9395 * malloc/malloc.h: Likewise.
9396 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9397 (mallochook, memalignhook, reallochook, mabort): Likewise.
9398 * malloc/mcheck.h: Likewise.
9399 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9400 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9401 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9402 * malloc/morecore.c (__default_morecore): Likewise.
9403 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9404 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9405 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9406 (print_and_abort): Likewise.
9407 * malloc/obstack.h: Likewise.
9408 * malloc/set-freeres.c (__libc_freeres): Likewise.
9409 * malloc/tst-mallocstate.c (main): Likewise.
9410 * malloc/tst-mtrace.c (main): Likewise.
9411 * malloc/tst-realloc.c (do_test): Likewise.
9413 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9416 * nscd/netgroupcache.c (do_notfound): New function.
9417 (addgetnetgrentX): Use it.
9420 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9421 NSS_STATUS_NOTFOUND.
9423 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9425 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9428 2014-01-01 Allan McRae <allan@archlinux.org>
9430 * scripts/update-copyrights: Update configure input file suffix.
9432 * NEWS: Update copyright year.
9433 * catgets/gencat.c: Likewise.
9434 * csu/version.c: Likewise.
9435 * debug/catchsegv.sh: Likewise.
9436 * debug/pcprofiledump.c: Likewise.
9437 * debug/xtrace.sh: Likewise.
9438 * elf/ldconfig.c: Likewise.
9439 * elf/ldd.bash.in: Likewise.
9440 * elf/pldd.c: Likewise.
9441 * elf/sotruss.ksh: Likewise.
9442 * elf/sprof.c: Likewise.
9443 * iconv/iconv_prog.c: Likewise.
9444 * iconv/iconvconfig.c: Likewise.
9445 * locale/programs/locale.c: Likewise.
9446 * locale/programs/localedef.c: Likewise.
9447 * login/programs/pt_chown.c: Likewise.
9448 * malloc/memusage.sh: Likewise.
9449 * malloc/memusagestat.c: Likewise.
9450 * malloc/mtrace.pl: Likewise.
9451 * manual/libc.texinfo: Likewise.
9452 * nscd/nscd.c: Likewise.
9453 * nss/getent.c: Likewise.
9454 * nss/makedb.c: Likewise.
9455 * posix/getconf.c: Likewise.
9456 * scripts/test-installation.pl: Likewise.
9458 * All files with FSF copyright notices: Update copyright dates
9459 using scripts/update-copyrights.
9460 * intl/plural.c: Regenerated.
9461 * locale/programs/charmap-kw.h: Likewise.
9462 * locale/programs/locfile-kw.h: Likewise.
9464 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9466 * sysdeps/unix/sysv/linux/configure: Regenerated.
9467 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9468 the linux/fanotify.h header.
9469 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9470 HAVE_LINUX_FANOTIFY_H is defined.
9472 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9474 * benchtests/cos-inputs: New inputs.
9475 * benchtests/sin-inputs: Likewise.
9477 * benchtests/atan-inputs: New inputs. Fix name of multiple
9478 precision fallback inputs.
9480 * benchtests/atanh-inputs: New inputs.
9481 * benchtests/tanh-inputs: Likewise.
9483 * benchtests/acosh-inputs: New inputs.
9484 * benchtests/asinh-inputs: Likewise.
9486 * benchtests/cosh-inputs: New inputs.
9487 * benchtests/sinh-inputs: Likewise.
9489 * benchtests/acos-inputs: Add more inputs.
9490 * benchtests/asin-inputs: Likewise.
9492 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9495 * manual/arith.texi: Fix spelling.
9496 * manual/charset.texi: Likewise.
9497 * manual/errno.texi: Likewise.
9498 * manual/filesys.texi: Likewise.
9499 * manual/lang.texi: Likewise.
9500 * manual/llio.texi: Likewise.
9501 * manual/locale.texi: Likewise.
9502 * manual/message.texi: Likewise.
9503 * manual/resource.texi: Likewise.
9504 * manual/search.texi: Likewise.
9505 * manual/setjmp.texi: Likewise.
9506 * manual/stdio.texi: Likewise.
9507 * manual/string.texi: Likewise.
9508 * manual/sysinfo.texi: Likewise.
9509 * manual/time.texi: Likewise.
9511 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9513 * po/sl.po: New file.
9515 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9517 * .gitignore: Add core/.gdbinit/.gdb_history.
9519 2013-12-27 Allan McRae <allan@archlinux.org>
9522 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9523 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9525 2013-12-24 Brooks Moses <bmoses@google.com>
9527 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9528 all compilers that claim C++98 compliance, not just GCC.
9529 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9532 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9534 * NEWS: Restore accidentally deleted bug-fix entries.
9536 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9537 Ondřej Bílka <neleai@seznam.cz>
9540 * malloc/malloc.c (_int_free): Perform sanity check only if we
9543 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9546 * manual/stdio.texi (String Input Conversions): Clarify that character
9547 classes are not supported.
9549 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9553 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9557 Calculate results for small negative arguments directly rather
9558 than using reflection formula with special underflow handling.
9560 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9561 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9562 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9563 (fchflags): Likewise.
9565 (setlogin): Likewise.
9566 (sigaltstack): Likewise.
9569 (sigsetmask): Likewise.
9571 (waitpid): Likewise.
9572 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9573 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9575 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9576 * sysdeps/unix/bsd/Makefile: ... here.
9577 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9578 * sysdeps/unix/bsd/Versions: ... here.
9579 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9580 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9581 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9582 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9583 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9584 * sysdeps/unix/bsd/sigblock.c: ... here.
9585 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9586 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9587 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9588 * sysdeps/unix/bsd/sigvec.c: ... here.
9589 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9590 * sysdeps/unix/bsd/tcdrain.c: ... here.
9591 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9592 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9593 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9594 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9595 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9596 * sysdeps/unix/bsd/wait.c: ... here.
9597 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9598 * sysdeps/unix/bsd/wait3.c: ... here.
9599 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9600 * sysdeps/unix/bsd/waitpid.c: ... here.
9602 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9606 round-to-nearest for [!USE_AS_EXPM1L].
9607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9608 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9609 more tests of exp and exp10. Expect some exp10 tests to miss
9610 exceptions or fail in directed rounding modes.
9611 * math/auto-libm-test-out: Regenerated.
9612 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9613 (exp10_test_tonearest): New function.
9614 (exp10_towardzero_test_data): New array.
9615 (exp10_test_towardzero): New function.
9616 (exp10_downward_test_data): New array.
9617 (exp10_test_downward): New function.
9618 (exp10_upward_test_data): New array.
9619 (exp10_test_upward): New function.
9620 (main): Call the new functions.
9621 * sysdeps/i386/fpu/libm-test-ulps: Update.
9622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9624 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9626 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9627 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9628 * math/auto-libm-test-out: Regenerated.
9629 * math/libm-test.inc (acosh_test_data): Add more tests.
9630 (atanh_test_data): Likewise.
9631 (ceil_test_data): Likewise.
9632 (copysign_test_data): Likewise.
9633 * sysdeps/i386/fpu/libm-test-ulps: Update.
9634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9636 * timezone/checktab.awk: Update from tzcode 2013i.
9637 * timezone/private.h: Likewise.
9638 * timezone/scheck.c: Likewise.
9639 * timezone/tzfile.h: Likewise.
9640 * timezone/tzselect.ksh: Likewise.
9641 * timezone/zdump.c: Likewise.
9642 * timezone/zic.c: Likewise.
9644 * math/auto-libm-test-in: Add tests of cpow.
9645 * math/auto-libm-test-out: Regenerated.
9646 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9647 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9649 (func_calc_desc): Add mpc_cc_c union field.
9650 (test_functions): Add cpow.
9651 (special_fill_2pi): New function.
9652 (special_real_inputs): Add 2pi.
9653 (calc_generic_results): Handle mpc_cc_c.
9654 * sysdeps/i386/fpu/libm-test-ulps: Update.
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9657 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9658 csqrt, ctan and ctanh.
9659 * math/auto-libm-test-out: Regenerated.
9660 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9661 (TEST_COND_x86): Likewise.
9662 (ccos_test_data): Use AUTO_TESTS_c_c.
9663 (ccosh_test_data): Likewise.
9664 (cexp_test_data): Likewise.
9665 (clog_test_data): Likewise.
9666 (csqrt_test_data): Likewise.
9667 (ctan_test_data): Likewise.
9668 (ctan_tonearest_test_data): Likewise.
9669 (ctan_towardzero_test_data): Likewise.
9670 (ctan_downward_test_data): Likewise.
9671 (ctan_upward_test_data): Likewise.
9672 (ctanh_test_data): Likewise.
9673 (ctanh_tonearest_test_data): Likewise.
9674 (ctanh_towardzero_test_data): Likewise.
9675 (ctanh_downward_test_data): Likewise.
9676 (ctanh_upward_test_data): Likewise.
9677 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9679 (func_calc_desc): Add mpc_c_c union field.
9680 (FUNC_mpc_c_c): New macro.
9681 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9682 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9684 (special_fill_min_subnorm_p120): New function.
9685 (special_real_inputs): Add min_subnorm_p120.
9686 (calc_generic_results): Handle mpc_c_c.
9687 * sysdeps/i386/fpu/libm-test-ulps: Update.
9688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9690 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9692 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9693 (do_sin_slow): New functions.
9694 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9695 (cslow2, csloww1, csloww2): Use the new functions.
9697 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9698 Use M to change sign of result instead of X. Assume X is
9700 (csloww1): Likewise.
9704 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9711 (sloww1): Don't adjust sign of DX.
9712 (csloww1): Likewise.
9713 (sloww2): Use X directly and don't adjust sign of DX.
9714 (csloww2): Likewise.
9716 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9718 * math/auto-libm-test-in: Add tests of cabs and carg.
9719 * math/auto-libm-test-out: Regenerated.
9720 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9721 (carg_test_data): Likewise.
9722 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9724 (func_calc_desc): Add mpc_c_f union field.
9725 (test_functions): Add cabs and carg.
9726 (calc_generic_results): Handle mpc_c_f.
9728 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9729 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9730 as a macro and a compat symbol.
9731 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9732 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9733 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9734 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9735 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9736 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9738 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9740 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9742 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9744 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9746 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9748 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9749 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9752 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9756 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9758 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9759 trailing whitespace removed.
9760 * scripts/config.guess: Update to version 2013-11-29.
9761 * scripts/config.sub: Update to version 2013-10-01.
9763 * math/auto-libm-test-in: Add tests of sincos.
9764 * math/auto-libm-test-out: Regenerated.
9765 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9768 (func_calc_desc): Add mpfr_f_11 union field.
9769 (test_functions): Add sincos.
9770 (calc_generic_results): Handle mpfr_f_11.
9771 * sysdeps/i386/fpu/libm-test-ulps: Update.
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9774 2013-12-19 Andreas Schwab <schwab@suse.de>
9776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9778 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9780 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9782 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9784 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9785 * sysdeps/i386/fpu/libm-test-ulps: Update.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9789 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9790 round-to-nearest mode when using frndint.
9791 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9792 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9793 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9795 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9797 * math/auto-libm-test-out: Regenerated.
9798 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9799 (TEST_COND_x86): Likewise.
9800 (expm1_tonearest_test_data): New array.
9801 (expm1_test_tonearest): New function.
9802 (expm1_towardzero_test_data): New array.
9803 (expm1_test_towardzero): New function.
9804 (expm1_downward_test_data): New array.
9805 (expm1_test_downward): New function.
9806 (expm1_upward_test_data): New array.
9807 (expm1_test_upward): New function.
9808 (main): Run the new test functions.
9809 * sysdeps/i386/fpu/libm-test-ulps: Update.
9810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9812 * include/features.h: Update comment documenting feature test
9813 macros. Mention _DEFAULT_SOURCE in comment.
9814 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9815 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9816 _BSD_SOURCE and _SVID_SOURCE.
9817 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9818 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9819 !_SVID_SOURCE]: Likewise.
9820 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9821 (__USE_POSIX_IMPLICITLY): Define.
9822 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9823 (_POSIX_SOURCE): Undefine and redefine.
9824 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9825 (_POSIX_C_SOURCE): Likewise.
9826 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9827 (Feature Test Macros): Update documentation of default features.
9829 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9831 * benchtests/Makefile: Add bench-strtok.
9832 * benchtests/bench-strtok.c: New file: strtok benchtest.
9834 2013-12-19 Allan McRae <allan@archlinux.org>
9836 * manual/install.texi: Suppress menu for plain text output.
9837 * INSTALL: Regenerated.
9839 2013-12-18 Brooks Moses <bmoses@google.com>
9842 * misc/getauxval.c: Include errno.h.
9843 (__getauxval): Set errno to ENOENT if the requested type is not
9845 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9846 don't declare with __attribute_const__.
9847 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9848 * manual/startup.texi: Document that getauxval sets errno.
9850 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9852 * math/auto-libm-test-in: Add tests of jn and yn.
9853 * math/auto-libm-test-out: Regenerated.
9854 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9855 (yn_test_data): Likewise.
9856 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9858 (func_calc_desc): Add mpfr_if_f union field.
9859 (FUNC_mpfr_if_f): New macro.
9860 (test_functions): Add jn and yn.
9861 (calc_generic_results): Assert type of second input for
9862 mpfr_ff_f. Handle mpfr_if_f.
9863 (output_for_one_input_case): Disable all checking for arguments
9864 fitting floating-point types in case of an integer argument.
9865 * sysdeps/i386/fpu/libm-test-ulps: Update.
9866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9869 Don't expect fegetround reference in libm.so.
9871 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9873 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9874 $(config-cflags-nofma).
9876 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9878 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9879 * math/auto-libm-test-out: Regenerated.
9882 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9883 to determine exponent and adjust argument to have exponent of -1.
9884 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9886 * math/auto-libm-test-out: Regenerated.
9887 * sysdeps/i386/fpu/libm-test-ulps: Update.
9888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9890 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9892 * manual/probes.texi: Remove cases when per-thread arenas are
9895 2013-12-18 Andreas Schwab <schwab@suse.de>
9897 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9898 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9899 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9900 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9901 * sysdeps/i386/i686/multiarch/Makefile: Update.
9902 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9904 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9906 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9907 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9909 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9912 Support TZ transition times < 00:00:00.
9913 This is needed for version-3 tz-format files; it supports time
9914 stamps past 2037 for America/Godthab (the only entry in the tz
9915 database for which this change is relevant).
9916 * manual/time.texi (TZ Variable): Document transition times
9917 from -167:59:59 through -00:00:01.
9918 * time/tzset.c (tz_rule): Time of day is now signed.
9919 (__tzset_parse_tz): Parse negative time of day.
9921 Document TZ transition times >= 25:00:00.
9922 * manual/time.texi (TZ Variable): Document transition times from
9923 25:00:00 through 167:59:59. These are already supported, and this
9924 support will help with version-3 tz-format files.
9926 * manual/time.texi (TZ Variable): Modernize North America example
9927 to reflect current (i.e., 2007-and-later) daylight saving rules.
9929 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9931 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9933 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9934 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9937 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9938 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9939 * sysdeps/unix/bsd/clock.c: Likewise.
9940 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9941 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9942 * sysdeps/unix/bsd/init-posix.c: Likewise.
9943 * sysdeps/unix/bsd/poll.c: Likewise.
9944 * sysdeps/unix/bsd/ptsname.c: Likewise.
9945 * sysdeps/unix/bsd/seekdir.c: Likewise.
9946 * sysdeps/unix/bsd/setegid.c: Likewise.
9947 * sysdeps/unix/bsd/seteuid.c: Likewise.
9948 * sysdeps/unix/bsd/setgid.c: Likewise.
9949 * sysdeps/unix/bsd/setrgid.c: Likewise.
9950 * sysdeps/unix/bsd/setruid.c: Likewise.
9951 * sysdeps/unix/bsd/setsid.c: Likewise.
9952 * sysdeps/unix/bsd/setuid.c: Likewise.
9953 * sysdeps/unix/bsd/sigaction.c: Likewise.
9954 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9955 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9956 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9957 * sysdeps/unix/bsd/telldir.c: Likewise.
9958 * sysdeps/unix/bsd/times.c: Likewise.
9959 * sysdeps/unix/bsd/usleep.c: Likewise.
9961 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9962 ($(objpfx)libbsd-compat.a): Remove rule.
9964 * include/features.h (__FAVOR_BSD): Do not define.
9965 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9966 features conflicting with POSIX.
9967 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9968 (_BSD_SOURCE): Remove description of not being a subset of other
9969 feature test macros.
9970 * manual/job.texi (getpgrp): Do not document BSD version.
9971 (getpgid): Do not document by reference to BSD getpgrp.
9972 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9973 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9974 * signal/signal.h [__FAVOR_BSD]: Likewise.
9975 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9976 instead of making contents conditional on [__FAVOR_BSD].
9977 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9979 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9983 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9986 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9987 values below 2**-450, not 2**-500.
9988 * math/auto-libm-test-in: Don't allow spurious underflow from
9990 * math/auto-libm-test-out: Regenerated.
9994 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9995 values of ha and hb and sort them after adjusting subnormal
9997 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9999 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10000 values of ea and eb and sort them after adjusting subnormal
10002 * math/auto-libm-test-in: Do not expect some hypot tests of
10003 subnormals to fail. Add more hypot tests.
10004 * math/auto-libm-test-out: Regenerated.
10006 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10009 * sysdeps/sh/s_fma.c: New file.
10010 * sysdeps/sh/s_fmaf.c: New file.
10011 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10013 * sysdeps/sh/Implies: Add sh/soft-fp.
10015 2013-12-16 Roland McGrath <roland@hack.frob.com>
10017 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10018 level of indirection to members `objname', `errstring', `malloced'.
10019 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10020 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10021 it as the __longjmp argument (just pass 1 instead).
10022 (_dl_catch_error): Initialize C with argument pointers and address of
10023 volatile local ERRCODE rather than copying values out of C at return.
10025 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10027 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10028 * math/auto-libm-test-out: Regenerated.
10029 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10030 (hypot_test_data): Likewise.
10031 (pow_test_data): Likewise.
10032 (pow_tonearest_test_data): Likewise.
10033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10035 (func_calc_desc): Add mpfr_ff_f union field.
10036 (FUNC_mpfr_ff_f): New macro.
10037 (test_functions): Add atan2, hypot and pow.
10038 (special_fill_min): New function.
10039 (special_fill_minus_min): Likewise.
10040 (special_fill_min_subnorm): Likewise.
10041 (special_fill_minus_min_subnorm): Likewise.
10042 (special_real_inputs): Add min, -min, min_subnorm and
10044 (calc_generic_results): Handle mpfr_ff_f.
10045 * sysdeps/i386/fpu/libm-test-ulps: Update.
10046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10048 2013-12-16 Will Newton <will.newton@linaro.org>
10050 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10051 (Aligned Memory Blocks): Add documentation for aligned_alloc
10052 and suggest it as an alternative to posix_memalign.
10053 (Hooks for Malloc): Document __memalign_hook is also called
10054 for aligned_alloc. (Summary of Malloc): Add summary for
10055 aligned alloc. Document __memalign_hook is also called
10058 2013-12-16 Will Newton <will.newton@linaro.org>
10060 * manual/memory.texi (Malloc Examples): Clarify default
10061 alignment documentation. Suggest posix_memalign rather
10062 than memalign or valloc.
10063 (Aligned Memory Blocks): Remove suggestion to use memalign
10064 or valloc. Remove obsolete comment about BSD.
10065 Document memalign errno values and mark the function obsolete.
10066 Document posix_memalign returned error codes. Mark valloc
10067 as obsolete. (Hooks for Malloc): __memalign_hook is also
10068 called for posix_memalign and valloc.
10069 (Summary of Malloc): Add posix_memalign to function summary.
10070 __memalign_hook is also called for posix_memalign and valloc.
10072 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10074 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10078 (sloww): Use mynumber union. Expand ternary operator into
10079 if-else statements.
10080 (cslow): use mynumber union.
10082 2013-12-16 Allan McRae <allan@archlinux.org>
10084 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10085 * configure: Regenerated.
10087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10090 * configure.ac: Added --enable-maintainer-mode. Check for
10091 autoconf when enabled.
10092 * configure: Regenerated.
10094 * nscd/nscd.service: New file.
10095 * nscd/nscd.tmpfiles: New file.
10097 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10100 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10101 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10102 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10103 (strstr): Add __strstr_sse2_unaligned ifunc.
10104 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10105 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10106 (strcasestr): Remove __strcasestr_sse42 ifunc.
10107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10111 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10113 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10114 * sysdeps/sh/bits/fenv.h: ... here.
10115 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10117 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10119 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10122 hypotf multiarch implementations.
10123 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10125 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10126 multiarch hypot for PPC64.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10130 multiarch hypotf for PPC64.
10132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10133 modff multiarch implementations.
10134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10137 multiarch modf for PPC64.
10138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10141 multiarch modff for PPC64.
10143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10144 and logl multiarch implementations.
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10148 multiarch logb for PPC64.
10149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10152 multiarch logb for PPC64.
10153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10156 multiarch logb for PPC64.
10158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10159 isinff multiarch implementation.
10160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10164 multiarch isinf for PPC64.
10165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10168 multiarch isinff for PPC64.
10170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10171 finitef multiarch implementation.
10172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10176 multiarch finite for PPC64.
10177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10180 multiarch finitef for PPC64.
10182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10183 lrint multiarch implementation.
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10188 multiarch llrint for PPC64.
10189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10190 multiarch lrint for PPC64.
10192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10193 copysignf multiarch implementation.
10194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10199 multiarch copysign for PPC64.
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10201 multiarch copysignf for PPC64.
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10204 multiarch implementation.
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10213 multiarch llround for PPC64.
10214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10215 multiarch trunc for PPC64.
10216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10217 multiarch truncf for PPC64.
10219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10220 multiarch implementation.
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10229 multiarch llround for PPC64.
10230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10231 multiarch round for PPC64.
10232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10233 multiarch roundf for PPC64.
10235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10236 multiarch implementation.
10237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10245 multiarch llround for PPC64.
10246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10247 multiarch floor for PPC64.
10248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10249 multiarch floorf for PPC64.
10251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10252 multiarch implementation.
10253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10261 multiarch llround for PPC64.
10262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10263 multiarch ceil for PPC64.
10264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10265 multiarch ceilf for PPC64.
10267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10268 multiarch implementation.
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10276 multiarch llround for PPC64.
10277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10278 multiarch lround for PPC64.
10280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10281 multiarch implementation.
10282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10289 multiarch isnan for PPC64.
10290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10291 multiarch isnanf for PPC64.
10293 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10294 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10295 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10296 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10297 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10300 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10306 multiarch implementations.
10307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10308 (__libc_ifunc_impl_list): Likewise.
10309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10312 multiarch stpcpy for PPC64.
10314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10315 multiarch implementations.
10316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10317 (__libc_ifunc_impl_list): Likewise.
10318 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10319 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10320 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10321 multiarch strcpy for PPC64.
10323 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10324 redefine function name.
10325 (_wordcopy_fwd_dest_aligned): Likewise.
10326 (_wordcopy_bwd_aligned): Likewise.
10327 (_wordcopy_bwd_dest_aligned): Likewise.
10328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10329 multiarch implementations.
10330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10331 (__libc_ifunc_impl_list): Likewise.
10332 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10333 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10334 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10335 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10336 multiarch wcscpy for PPC64.
10338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10339 multiarch implementations.
10340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10341 (__libc_ifunc_impl_list): Likewise.
10342 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10343 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10344 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10345 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10346 multiarch wcscpy for PPC64.
10348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10349 multiarch implementations.
10350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10351 (__libc_ifunc_impl_list): Likewise.
10352 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10353 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10354 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10355 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10356 multiarch wcsrchr for PPC64.
10358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10359 multiarch implementations.
10360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10361 (__libc_ifunc_impl_list): Likewise.
10362 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10363 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10364 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10366 multiarch wcschr for PPC64.
10368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10369 multiarch implementations.
10370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10371 (__libc_ifunc_impl_list): Likewise.
10372 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10373 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10374 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10375 multiarch strchrnul for PPC64.
10377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10380 (__libc_ifunc_impl_list): Likewise.
10381 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10382 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10383 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10384 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10390 (__libc_ifunc_impl_list): Likewise.
10391 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10392 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10393 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10394 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10398 multiarch implementations.
10399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10400 (__libc_ifunc_impl_list): Likewise.
10401 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10402 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10403 strncasecmp for PPC64.
10404 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10405 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10406 multiarch strncasecmp_l for PPC64.
10408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10409 multiarch implementations.
10410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10411 (__libc_ifunc_impl_list): Likewise.
10412 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10413 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10414 multiarch strcasecmp for PPC64.
10415 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10417 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10418 multiarch strcasecmp_l for PPC64.
10420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10423 (__libc_ifunc_impl_list): Likewise.
10424 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10425 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10426 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10432 (__libc_ifunc_impl_list): Likewise.
10433 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10434 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10435 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10441 (__libc_ifunc_impl_list): Likewise.
10442 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10443 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10444 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10445 rawmemrchr for PPC64.
10447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10450 (__libc_ifunc_impl_list): Likewise.
10451 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10452 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10453 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10459 (__libc_ifunc_impl_list): Likewise.
10460 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10461 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10462 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10468 (__libc_ifunc_impl_list): Likewise.
10469 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10470 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10471 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10474 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10475 avoid cretion of __bzero symbol.
10476 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10478 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10480 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10483 multiarch implementations.
10484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10485 (__libc_ifunc_impl_list): Likewise.
10486 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10487 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10488 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10489 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10491 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10492 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10493 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10494 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10495 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10497 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10499 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10503 (__libc_ifunc_impl_list): Likewise.
10504 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10505 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10506 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10507 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10511 multiarch for POWER/PPC64.
10512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10513 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10514 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10515 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10516 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10517 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10518 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10520 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10523 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10524 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10525 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10526 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10527 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10528 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10529 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10530 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10531 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10532 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10533 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10534 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10535 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10536 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10537 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10546 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10550 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10552 * benchtests/Makefile (bench): Add exp2 and log2.
10553 (LDLIBS-bench-exp2): Add -lm.
10554 (LDLIBS-bench-log2): Likewise.
10555 * benchtests/exp2-inputs: New inputs file.
10556 * benchtests/log2-inputs: New inputs file.
10557 * benchtests/log-inputs: Add new inputs.
10558 * benchtests/tan-inputs: Likewise.
10560 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10562 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10564 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10565 (csloww2): ... from here.
10567 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10568 instead of structures.
10569 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10570 (POLYNOMIAL): Likewise.
10571 (TAYLOR_SLOW): Likewise.
10577 (sloww1); Likewise.
10578 (sloww2): Likewise.
10579 (bsloww1): Likewise.
10580 (bsloww2): Likewise.
10581 (cslow2): Likewise.
10582 (csloww): Likewise.
10583 (csloww1): Likewise.
10584 (csloww2): Likewise.
10586 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10588 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10589 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10590 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10591 * malloc/hooks.c (realloc_check): Likewise.
10593 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10594 * malloc/arena.c: Remove PER_THREAD conditional.
10595 [!PER_THREAD]: Remove code.
10596 (ptmalloc_unlock_all2): Likewise.
10597 (ptmalloc_init): Likewise.
10598 (_int_new_arena): Likewise.
10599 (arena_get2): Likewise.
10600 * malloc/hooks.c (__malloc_get_state): Likewise.
10601 (__malloc_set_state): Likewise.
10602 * malloc/malloc.c: Likewise.
10603 (struct malloc_state): Likewise.
10604 (struct malloc_par): Likewise.
10605 (__libc_realloc): Likewise.
10606 (__libc_mallopt): Likewise.
10608 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10610 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10612 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10614 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10615 macro to a function. Check for zero perturb_byte.
10616 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10618 * malloc/malloc.c: (force_reg): Remove.
10619 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10620 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10621 force_reg by atomic_forced_read.
10622 * malloc/arena.c (ptmalloc_init): Likewise.
10623 * malloc/hooks.c (top_check): Likewise.
10625 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10629 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10633 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10635 * math/auto-libm-test-in: Add tests of lgamma.
10636 * math/auto-libm-test-out: Regenerated.
10637 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10638 (M_LOG_2_SQRT_PIl): Likewise.
10639 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10642 (func_calc_desc): Add mpfr_f_f1 union field.
10643 (ARGS1): New macro.
10651 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10652 (test_functions): Add lgamma.
10653 (calc_generic_results): Handle mpfr_f_f1.
10654 * sysdeps/i386/fpu/libm-test-ulps: Update.
10655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10657 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10659 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10660 __mpn_add_n for PowerPC64/POWER7.
10661 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10662 __mpn_sub_n for PowerPC64/POWER7.
10664 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10665 __mpn_addmul_1 for PowerPC64.
10666 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10667 __mpn_submul_1 for PowerPC64.
10668 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10670 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10673 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10676 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10678 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10682 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10683 add multiarch folders.
10684 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10685 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10686 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10687 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10688 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10689 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10690 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10691 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10692 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10693 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10694 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10703 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10709 multiarch __ieee754_hypot for PowerPC32.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10715 multiarch __ieee754_hypotf for PowerPC32.
10717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10718 long_double_symbol only if __logbl is defined.
10719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10720 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10722 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10724 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10725 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10726 path for implementation.
10727 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10730 logb, and logbl multiarch implementations for PowerPC32.
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10736 multiarch logb for PowerPC32.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10742 multiarch logbf for PowerPC32.
10743 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10747 multiarch logbl implementation for PowerPC32.
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10750 and modff multiarch implementations.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10756 multiarch modf for PowerPC32.
10757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10762 multiarch modff for PowerPC32.
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10765 and lrintf multiarch implementations.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10771 multiarch lrint for PowerPC32.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10773 file: multiarch lrintf for PowerPC32.
10775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10776 and lroundf multiarch implementations.
10777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10784 multiarch lround for PowerPC32.
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10786 file: multiarch lroundf for PowerPC32.
10788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10789 copysign and copysignf multiarch implementations.
10790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10795 file: multiarch copysign for PowerPC32.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10797 file: multiarch copysignf for PowerPC32.
10799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10800 and truncf multiarch implementations.
10801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10806 multiarch trunc for PowerPC32.
10807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10812 multiarch truncf for PowerPC32.
10814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10815 and roundf multiarch implementations.
10816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10821 multiarch round for PowerPC32.
10822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10827 multiarch roundf for PowerPC32.
10829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10830 and floorf multiarch implementations.
10831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10836 multiarch floor for PowerPC32.
10837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10842 multiarch floorf for PowerPC32.
10844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10845 and ceilf multiarch implementations.
10846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10851 multiarch ceil for PowerPC32.
10852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10857 multiarch ceilf for PowerPC32.
10859 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10861 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10862 FINITEF is defined.
10863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10864 and finitef multiarch implementations.
10865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10870 multiarch finite for PowerPC32.
10871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10874 file: multiarch finitef for PowerPC32.
10876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10877 and isinff multiarch implementations.
10878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10883 multiarch isinf for PowerPC32.
10884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10887 multiarch isinff for PowerPC32.
10889 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10890 alias when __isnan is defined.
10891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10892 and isnanf multiarch implementations.
10893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10902 multiarch isnan for PowerPC32.
10903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10908 multiarch isnanf for PowerPC32.
10910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10911 and sqrtf multiarch implementations.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10917 multiarch sqrt for PowerPC32.
10918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10923 multiarch sqrtf for PowerPC32.
10925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10926 and llroundf multiarch implementations.
10927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10934 file: multiarch llround for PowerPC32.
10935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10936 file: multiarch llroundf for PowerPC32.
10938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10939 multiarch PowerPC32 fpu implementations.
10940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10945 multiarch llrint for PowerPC32.
10946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10961 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10962 multiarch wordcopy for PPC32.
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10966 (__libc_ifunc_impl_list): Likewise.
10967 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10968 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10969 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10970 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10971 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10972 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10974 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10982 multiarch wcscpy for PPC32.
10983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10986 (__libc_ifunc_impl_list): Likewise.
10987 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10988 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10989 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10990 sysdeps/powerpc/power6/wcscpy.c.
10992 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11000 multiarch wcsrchr for PPC32.
11001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11004 (__libc_ifunc_impl_list): Likewise.
11005 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11006 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11007 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11008 sysdeps/powerpc/power6/wcsrchr.c.
11010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11016 multiarch wcschr for PPc32.
11017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11020 (__libc_ifunc_impl_list): Likewise.
11021 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11022 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11023 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11024 sysdeps/powerpc/power6/wcschr.c.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11027 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11029 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11030 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11031 file: multiarch strchr for PPC32.
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11035 (__libc_ifunc_impl_list): Likewise.
11037 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11039 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11044 multiarch strchrnul for PPC32.
11045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11048 (__libc_ifunc_impl_list): Likewise.
11050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11052 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11053 multiarch strncasecmp for PPC32.
11054 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11056 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11057 multiarch strncasecmp_l for PPC32.
11058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11059 strncasecmp multiarch objects.
11060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11061 (__libc_ifunc_impl_list): Likewise.
11063 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11066 multiarch strncasecmp for PPC32.
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11070 multiarch strcasecmp_l for PPC32.
11071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11074 (__libc_ifunc_impl_list): Likewise.
11076 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11078 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11080 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11081 multiarch strncmp for PPC32.
11082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11085 (__libc_ifunc_impl_list): Likewise.
11087 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11088 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11090 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11091 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11095 (__libc_ifunc_impl_list): Likewise.
11097 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11099 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11101 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11105 (__libc_ifunc_impl_list): Likewise.
11107 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11109 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11111 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11112 multiarch rawmemchr for PPC32.
11113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11116 (__libc_ifunc_impl_list): Likewise.
11118 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11120 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11122 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11123 file: memrchr multiarch for PPC32.
11124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11127 (__libc_ifunc_impl_list): Likewise.
11129 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11130 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11132 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11133 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11134 multiarch memchr for PPC32.
11135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11138 (__libc_ifunc_impl_list): Likewise.
11140 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11141 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11143 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11145 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11146 file: multiarch mempcpy for PPC32.
11147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11150 (__libc_ifunc_impl_list): Likewise.
11152 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11153 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11155 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11156 multiarch bzero for PPC32.
11157 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11159 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11161 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11162 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11163 file: multiarch memset for PPC32.
11164 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11166 memset multiarch objects.
11167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11168 (__libc_ifunc_impl_list): Likewise.
11170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11172 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11175 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11179 (__libc_ifunc_impl_list): Likewise.
11181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11190 multiarch memcpy for PPC32.
11191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11194 (__libc_ifunc_impl_list): Likewise.
11196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11197 support multiarch for POWER/PPC32.
11198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11200 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11202 Implies file to make multiarch folder appers before the fpu and
11203 default folder for power4 configuration.
11205 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11207 * scripts/bench.pl: Append volatile keyword to type.
11209 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11211 * sysdeps/sh/sotruss-lib.c: New file.
11212 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11214 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11218 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11221 * math/w_tgamma.c: Include <errno.h>.
11222 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11223 * math/w_tgammaf.c: Include <errno.h>.
11224 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11225 * math/w_tgammal.c: Include <errno.h>.
11226 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11227 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11228 underflow. Add more tgamma tests.
11229 * math/auto-libm-test-out: Regenerated.
11230 * sysdeps/i386/fpu/libm-test-ulps: Update.
11231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11233 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11234 sin, sinh, tan, tanh, tgamma, y0 and y1.
11235 * math/auto-libm-test-out: Regenerated.
11236 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11237 (TEST_COND_x86): Likewise.
11238 (M_E2l): Remove macro.
11240 (M_2_SQRT_PIl): Likewise.
11241 (M_SQRT_PIl): Likewise.
11242 (M_1_DIV_El): Likewise.
11243 (log_test_data): Use AUTO_TESTS_f_f.
11244 (log10_test_data): Likewise.
11245 (log1p_test_data): Likewise.
11246 (log2_test_data): Likewise.
11247 (sin_test_data): Likewise.
11248 (sin_tonearest_test_data): Likewise.
11249 (sin_towardzero_test_data): Likewise.
11250 (sin_downward_test_data): Likewise.
11251 (sin_upward_test_data): Likewise.
11252 (sinh_test_data): Likewise.
11253 (sinh_tonearest_test_data): Likewise.
11254 (sinh_towardzero_test_data): Likewise.
11255 (sinh_downward_test_data): Likewise.
11256 (sinh_upward_test_data): Likewise.
11257 (tan_test_data): Likewise.
11258 (tan_tonearest_test_data): Likewise.
11259 (tan_towardzero_test_data): Likewise.
11260 (tan_downward_test_data): Likewise.
11261 (tan_upward_test_data): Likewise.
11262 (tanh_test_data): Likewise.
11263 (tgamma_test_data): Likewise.
11264 (y0_test_data): Likewise.
11265 (y1_test_data): Likewise.
11266 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11267 (special_real_inputs): Add pi/4.
11268 * sysdeps/i386/fpu/libm-test-ulps: Update.
11269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11271 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11273 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11274 "longjmp_target" static probes.
11275 (__longjmp): Rename to __longjmp_symbol.
11276 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11278 on which longjmp to generate.
11279 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11280 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11282 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11283 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11284 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11285 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11286 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11287 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11289 __longjmp_symbol based on which __longjmp to generate.
11290 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11292 (setjmp): Rename to setjmp_symbol.
11293 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11294 (_setjmp): Rename to _setjmp_symbol.
11295 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11296 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11297 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11298 which setjmp to generate.
11299 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11300 "longjmp_target" static probes.
11302 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11304 * benchtests/README: Add note about output arguments.
11305 * benchtests/bench-sincos.c: Remove file.
11306 * benchtests/sincos-inputs: New file.
11307 * scripts/bench.pl: Identify output arguments and define
11308 static variables for them.
11310 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11313 * Makefile (INSTALL): Add install-plain.texi as the primary
11315 * manual/install-plain.texi: New file.
11316 * manual/install.texi: Include node directive only for
11317 non-plaintext output.
11319 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11321 * stdlib/longlong.h: Update from GCC.
11325 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11326 * math/w_j0f.c (y0f): Likewise.
11327 * math/w_j0l.c (__y0l): Likewise.
11328 * math/w_j1.c (y1): Likewise.
11329 * math/w_j1f.c (y1f): Likewise.
11330 * math/w_j1l.c (__y1l): Likewise
11331 * math/w_jn.c (yn): Likewise.
11332 * math/w_jnf.c (ynf): Likewise.
11333 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11334 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11335 value for Bessel function domain errors outside _SVID_ mode.
11336 Adjust sign of return value for yn (negative integer, 0).
11337 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11338 by zero in return for negative x and set sign appropriately for
11340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11341 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11342 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11343 expectations in error cases.
11344 (y1_test_data): Likewise.
11345 (yn_test_data): Likewise.
11346 * sysdeps/i386/fpu/libm-test-ulps: Update.
11347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11349 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11351 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11352 "64" to "64-v1". Add "64-v2".
11353 (abi-64-options): Rename to ...
11354 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11355 (abi-64-condition): Rename to ...
11356 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11357 (abi-64-ld-soname): Rename to ...
11358 (abi-64-v1-ld-soname): ... this.
11359 (abi-64-v2-options): Define.
11360 (abi-64-v2-condition): Likewise.
11361 (abi-64-v2-ld-soname): Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11363 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11368 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11369 Alan Modra <amodra@gmail.com>
11371 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11372 New versions for use with the ELFv2 ABI.
11373 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11374 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11376 (struct La_ppc64v2_retval): Likewise.
11377 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11378 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11379 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11380 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11381 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11382 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11383 Do not save or restore CR.
11384 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11385 (_dl_profile_resolve): Do no save or restore CR. Support extended
11386 return values for ELFv2 ABI. Fix location of FPR return registers.
11387 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11388 updated values for _CALL_ELF == 2.
11389 (La_regs, La_retval, int_retval): Likewise.
11391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11393 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11394 (FRAME_MIN_SIZE_PARM): Likewise.
11395 (FRAME_BACKCHAIN): Likewise.
11396 (FRAME_CR_SAVE): Likewise.
11397 (FRAME_LR_SAVE): 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 (call_mcount_parm_offset): New macro.
11404 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11405 (PROF): Use symbolic stack frame offsets.
11406 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11407 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11408 Redefine in terms of FRAME_MIN_SIZE.
11409 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11410 (_dl_profile_resolve): Likewise. Update comment.
11411 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11412 symbols stack frame offsets.
11413 (__sigsetjmp): Likewise.
11414 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11415 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11416 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11417 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11420 (FRAME_BACKCHAIN): Remove.
11421 (FRAME_CR_SAVE): Likewise.
11422 (FRAME_LR_SAVE): Likewise.
11423 (FRAME_COMPILER_DW): Likewise.
11424 (FRAME_LINKER_DW): Likewise.
11425 (FRAME_TOC_SAVE): Likewise.
11426 (FRAME_PARM_SAVE): Likewise.
11427 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11428 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11429 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11431 (CHECK_SP): Use symbolic stack frame offsets.
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11433 zone" instead of caller's parameter save area for temp storage.
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11435 Likewise. Also, use symbolic stack frame offsets.
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11437 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11438 our own stack frame instead of the caller's.
11439 (__socket): Use symbolic stack frame offsets.
11441 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11442 Alan Modra <amodra@gmail.com>
11444 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11446 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11447 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11448 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11450 (elf_machine_fixup_plt): Call it.
11451 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11453 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11454 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11455 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11456 r2 before calling target.
11458 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11459 Alan Modra <amodra@gmail.com>
11461 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11462 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11463 versions of macros to support ELFv2 ABI.
11464 (LOCALENTRY): New macro.
11465 (ENTRY, EALIGN): Use it.
11466 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11467 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11468 fall through into ENTRY entry point.
11469 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11470 Only define if _CALL_ELF != 2.
11472 (elf_machine_matches_host): Verify ABI version matches.
11473 (RTLD_START): Use LOCALENTRY.
11474 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11475 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11476 (PLT_ENTRY_WORDS): New macro.
11477 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11478 (elf_machine_runtime_setup): Support ELFv2 ABI.
11479 (elf_machine_fixup_plt): Likewise.
11480 (elf_machine_plt_conflict): Likewise.
11481 (resolve_ifunc): Likewise.
11482 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11486 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11488 (makecontext): Support ELFv2 ABI.
11489 * elf/elf.h (EF_PPC64_ABI): Define.
11491 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11493 * sysdeps/powerpc/powerpc64/sysdep.h
11494 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11495 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11496 (ENTRY) [ASSEMBLER]: ... but instead here ...
11497 (EALIGN) [ASSEMBLER]: ... and here.
11498 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11499 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11500 (ENTRY_2) [!ASSEMBLER]: Use it.
11501 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11502 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11503 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11504 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11505 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11507 Use PPC64_LOAD_FUNCPTR.
11509 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11511 2013-12-04 Alan Modra <amodra@gmail.com>
11513 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11514 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11515 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11516 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11518 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11519 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11520 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11521 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11522 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11523 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11525 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11528 (__makecontext): Fix incorrect CFI when backtracing out of
11529 context created via makecontext.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11531 (__setcontext): Fix incorrect CFI during switch to new context.
11532 (__novec_setcontext): Likewise.
11534 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11537 * time/strptime_l.c (__strptime_internal): Allow modifiers
11539 * time/tst-strptime.c (day_tests): Add testcase.
11541 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11543 * scripts/bench.pl: Skip over blank lines.
11545 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11548 * manual/time.texi (Calendar Time): Clarify what timezone functions
11551 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11555 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11557 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11559 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11560 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11561 * debug/memset_chk.c (__memset_chk): Likewise.
11562 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11563 * debug/strncpy_chk.c: Likewise.
11565 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11570 (__ieee754_exp): For possibly underflowing results, check size of
11571 result and force underflow exception if required.
11572 * math/auto-libm-test-in: Add more tests of exp.
11573 * math/auto-libm-test-out: Regenerated.
11574 * sysdeps/i386/fpu/libm-test-ulps: Update.
11575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11578 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11579 * math/w_exp2f.c (__exp2f): Likewise.
11580 * math/w_exp2l.c (__exp2l): Likewise.
11581 * math/auto-libm-test-in: Do not allow missing errno on exp2
11583 * math/auto-libm-test-out: Regenerated.
11585 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11588 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11589 handle filename validation.
11590 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11593 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11596 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11597 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11598 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11600 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11601 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11602 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11604 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11605 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11606 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11607 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11608 Add more erfc tests.
11609 * math/auto-libm-test-out: Regenerated.
11610 * sysdeps/i386/fpu/libm-test-ulps: Update.
11611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11614 exp2, expm1, j0 and j1.
11615 * math/auto-libm-test-out: Regenerated.
11616 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11617 (erfc_test_data): Likewise.
11618 (exp_test_data): Likewise.
11619 (exp_tonearest_test_data): Likewise.
11620 (exp_towardzero_test_data): Likewise.
11621 (exp_downward_test_data): Likewise.
11622 (exp_upward_test_data): Likewise.
11623 (exp10_test_data): Likewise.
11624 (exp2_test_data): Likewise.
11625 (expm1_test_data): Likewise.
11626 (j0_test_data): Likewise.
11627 (j1_test_data): Likewise.
11628 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11629 (input_flag_type): Add flag_xfail_rounding.
11630 (input_flags): Add xfail-rounding.
11631 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11632 (output_for_one_input_case): Handle flag_xfail_rounding.
11633 * sysdeps/i386/fpu/libm-test-ulps: Update.
11634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11636 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11639 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11642 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11646 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11647 (STAP_PROBE0): New macro.
11648 (STAP_PROBE1): Likewise.
11649 (STAP_PROBE2): Likewise.
11650 (STAP_PROBE3): Likewise.
11651 (STAP_PROBE4): Likewise.
11653 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11655 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11657 2013-12-02 Steve Ellcey <sellcey@mips.com>
11659 * benchtests/Makefile (bench): Add sqrt.
11660 (LDLIBS-bench-sqrt): New.
11661 * benchtests/sqrt-input: New.
11663 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11665 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11666 (GAIH_EAI): Likewise.
11667 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11668 (gaih_inet): Likewise.
11669 (getaddrinfo): Don't use GAIH_EAI.
11671 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11672 (struct gaih): Remove definition.
11674 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11676 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11677 Use HERRNOP directly.
11679 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11683 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11685 * math/gen-auto-libm-tests.c (test_functions): Add more
11686 single-argument functions.
11687 (special_fill_pi_2): New function.
11688 (special_fill_minus_pi_2): Likewise.
11689 (special_fill_pi_6): Likewise.
11690 (special_fill_minus_pi_6): Likewise.
11691 (special_fill_pi_3): Likewise.
11692 (special_fill_2pi_3): Likewise.
11693 (special_fill_e): Likewise.
11694 (special_fill_1_e): Likewise.
11695 (special_fill_e_minus_1): Likewise.
11696 (special_real_inputs): Add more special inputs.
11697 (output_for_one_input_case): Do not require ERANGE on underflow to
11698 zero if round-to-nearest result does not underflow to zero, unless
11699 exact results required.
11700 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11701 atan, atanh, cbrt, cos and cosh.
11702 * math/auto-libm-test-out: Regenerated.
11703 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11704 (acos_tonearest_test_data): Likewise.
11705 (acos_towardzero_test_data): Likewise.
11706 (acos_downward_test_data): Likewise.
11707 (acos_upward_test_data): Likewise.
11708 (acosh_test_data): Likewise.
11709 (asin_test_data): Likewise.
11710 (asin_tonearest_test_data): Likewise.
11711 (asin_towardzero_test_data): Likewise.
11712 (asin_upward_test_data): Likewise.
11713 (asinh_test_data): Likewise.
11714 (atan_test_data): Likewise.
11715 (atanh_test_data): Likewise.
11716 (cbrt_test_data): Likewise.
11717 (cos_test_data): Likewise.
11718 (cos_tonearest_test_data): Likewise.
11719 (cos_towardzero_test_data): Likewise.
11720 (cos_downward_test_data): Likewise.
11721 (cos_upward_test_data): Likewise.
11722 (cosh_test_data): Likewise.
11723 (cosh_tonearest_test_data): Likewise.
11724 (cosh_towardzero_test_data): Likewise.
11725 (cosh_downward_test_data): Likewise.
11726 (cosh_upward_test_data): Likewise.
11727 * sysdeps/i386/fpu/libm-test-ulps: Update.
11728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11730 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11733 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11734 * math/w_exp10f.c (__exp10f): Likewise.
11735 * math/w_exp10l.c (__exp10l): Likewise.
11736 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11737 errno settings in existing tests.
11740 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11741 precision control set to double precision.
11742 * sysdeps/i386/fpu/w_sqrt.c: New file.
11743 * math/auto-libm-test-in: Add more tests.
11744 * math/auto-libm-test-out: Update.
11746 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11747 (sqrt_test_tonearest): New function.
11748 (sqrt_towardzero_test_data): New variable.
11749 (sqrt_test_towardzero): New function.
11750 (sqrt_downward_test_data): New variable.
11751 (sqrt_test_downward): New function.
11752 (sqrt_upward_test_data): New variable.
11753 (sqrt_test_upward): New function.
11754 (main): Call the new functions.
11756 * math/gen-auto-libm-tests.c: New file.
11757 * math/auto-libm-test-in: Likewise.
11758 * math/auto-libm-test-out: New generated file.
11759 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11761 (%beautify): Add generated representations of zero.
11762 (top level): Set $auto_input and call parse_auto_input.
11763 (beautify): Remove trailing "f" from hex float constants.
11764 (parse_args): Handle XFAIL_TEST.
11765 (convert_condition): New function.
11766 (or_value): Likewise.
11767 (or_cond_value): Likewise.
11768 (generate_testfile): Handle AUTO_TESTS_* lines.
11769 (parse_auto_input): New function.
11770 * math/libm-test.inc (XFAIL_TEST): New macro.
11771 (ERRNO_UNCHANGED): Update value.
11772 (ERRNO_EDOM): Likewise.
11773 (ERRNO_ERANGE): Likewise.
11774 (IGNORE_RESULT): Likewise.
11775 (TEST_COND_flt_32): New macro.
11776 (TEST_COND_dbl_64): Likewise.
11777 (TEST_COND_ldbl_96_intel): Likewise.
11778 (TEST_COND_ldbl_96_m68k): Likewise.
11779 (TEST_COND_ldbl_128): Likewise.
11780 (TEST_COND_ldbl_128ibm): Likewise.
11781 (TEST_COND_long32): Likewise.
11782 (TEST_COND_long64): Likewise.
11783 (TEST_COND_before_rounding): Likewise.
11784 (TEST_COND_after_rounding): Likewise.
11785 (enable_test): Handle XFAIL_TEST flag.
11786 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11787 with finite results.
11788 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11789 auto-libm-test-out.
11791 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11792 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11795 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11796 __tls_get_addr_internal instead of __tls_get_offset in order to
11797 avoid GOT pointer dependency. Make rtld export
11798 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11799 __tls_get_addr since we are a __tls_get_offset platform.
11800 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11801 GOT pointer being set up before.
11802 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11804 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11806 * manual/math.texi (Errors in Math Functions): Document accuracy
11810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11811 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11825 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11827 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11828 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11829 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11830 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11831 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11833 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11835 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11837 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11838 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11839 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11840 atomic-feupdateenv and flt-rounds.
11841 * sysdeps/powerpc/nofpu/Versions (libc): Add
11842 __atomic_feholdexcept, __atomic_feclearexcept,
11843 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11844 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11845 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11846 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11847 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11852 * manual/arith.texi (FP Exceptions): Document that exceptions may
11853 not be raised when matherr is used.
11854 (Math Error Reporting): Document overflow in directed rounding
11855 modes. Document that errno may not be set when finite values are
11856 returned on overflow. Document intent to set errno on underflow
11857 only for underflow to zero.
11860 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11861 round-to-nearest then adjust result for other rounding modes.
11862 * include/fenv.h (fegetround): Use libm_hidden_proto.
11863 * math/fegetround.c (fegetround): Use libm_hidden_def.
11864 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11865 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11866 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11867 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11869 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11870 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11871 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11872 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11874 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11877 * nss/Versions (libnss_files): Add
11878 _nss_files_gethostbyname3_r.
11879 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11881 (HOST_DB_LOOKUP): Remove macro.
11882 (_nss_files_gethostbyname_r): Implement function without the
11883 HOST_DB_LOOKUP macro.
11884 (_nss_files_gethostbyname2_r): Likewise.
11886 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11888 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11890 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11892 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11893 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11896 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11899 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11900 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11901 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11902 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11903 __fe_nomask_env_priv and attribute_hidden.
11904 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11905 (libc_feupdateenv_test_ppc): Likewise.
11906 (libc_feresetround_ppc): Likewise.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11908 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11909 compat_symbol macro.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11911 (__fe_nomask_env): Likewise.
11912 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11914 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11916 * string/Makefile: Remove ifunc tests.
11917 * string/test-string.h: Define TEST_IFUNC.
11918 * string/test-bcopy-ifunc.c: Remove.
11919 * string/test-bzero-ifunc.c: Likewise.
11920 * string/test-memccpy-ifunc.c: Likewise.
11921 * string/test-memchr-ifunc.c: Likewise.
11922 * string/test-memcmp-ifunc.c: Likewise.
11923 * string/test-memcpy-ifunc.c: Likewise.
11924 * string/test-memmem-ifunc.c: Likewise.
11925 * string/test-memmove-ifunc.c: Likewise.
11926 * string/test-mempcpy-ifunc.c: Likewise.
11927 * string/test-memrchr-ifunc.c: Likewise.
11928 * string/test-memset-ifunc.c: Likewise.
11929 * string/test-rawmemchr-ifunc.c: Likewise.
11930 * string/test-stpcpy-ifunc.c: Likewise.
11931 * string/test-stpncpy-ifunc.c: Likewise.
11932 * string/test-strcasecmp-ifunc.c: Likewise.
11933 * string/test-strcasestr-ifunc.c: Likewise.
11934 * string/test-strcat-ifunc.c: Likewise.
11935 * string/test-strchr-ifunc.c: Likewise.
11936 * string/test-strchrnul-ifunc.c: Likewise.
11937 * string/test-strcmp-ifunc.c: Likewise.
11938 * string/test-strcpy-ifunc.c: Likewise.
11939 * string/test-strcspn-ifunc.c: Likewise.
11940 * string/test-strlen-ifunc.c: Likewise.
11941 * string/test-strncasecmp-ifunc.c: Likewise.
11942 * string/test-strncat-ifunc.c: Likewise.
11943 * string/test-strncmp-ifunc.c: Likewise.
11944 * string/test-strncpy-ifunc.c: Likewise.
11945 * string/test-strnlen-ifunc.c: Likewise.
11946 * string/test-strpbrk-ifunc.c: Likewise.
11947 * string/test-strrchr-ifunc.c: Likewise.
11948 * string/test-strspn-ifunc.c: Likewise.
11949 * string/test-strstr-ifunc.c: Likewise.
11951 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11953 * benchtests/Makefile: Remove ifunc tests.
11954 * benchtests/bench-string.h: Define TEST_IFUNC.
11955 * benchtests/bench-bcopy-ifunc.c: Remove.
11956 * benchtests/bench-bzero-ifunc.c: Likewise.
11957 * benchtests/bench-memccpy-ifunc.c: Likewise.
11958 * benchtests/bench-memchr-ifunc.c: Likewise.
11959 * benchtests/bench-memcmp-ifunc.c: Likewise.
11960 * benchtests/bench-memcpy-ifunc.c: Likewise.
11961 * benchtests/bench-memmem-ifunc.c: Likewise.
11962 * benchtests/bench-memmove-ifunc.c: Likewise.
11963 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11964 * benchtests/bench-memrchr-ifunc.c: Likewise.
11965 * benchtests/bench-memset-ifunc.c: Likewise.
11966 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11967 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11968 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11969 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11970 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11971 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11972 * benchtests/bench-strcat-ifunc.c: Likewise.
11973 * benchtests/bench-strchr-ifunc.c: Likewise.
11974 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11975 * benchtests/bench-strcmp-ifunc.c: Likewise.
11976 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11977 * benchtests/bench-strcpy-ifunc.c: Likewise.
11978 * benchtests/bench-strcspn-ifunc.c: Likewise.
11979 * benchtests/bench-strlen-ifunc.c: Likewise.
11980 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11981 * benchtests/bench-strncat-ifunc.c: Likewise.
11982 * benchtests/bench-strncmp-ifunc.c: Likewise.
11983 * benchtests/bench-strncpy-ifunc.c: Likewise.
11984 * benchtests/bench-strnlen-ifunc.c: Likewise.
11985 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11986 * benchtests/bench-strrchr-ifunc.c: Likewise.
11987 * benchtests/bench-strsep-ifunc.c: Likewise.
11988 * benchtests/bench-strspn-ifunc.c: Likewise.
11989 * benchtests/bench-strstr-ifunc.c: Likewise.
11991 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11993 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11995 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11997 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11998 * rt/aio.h: Likewise.
11999 * sysdeps/gnu/bits/utmp.h: Likewise.
12000 * sysdeps/gnu/bits/utmpx.h: Likewise.
12001 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12002 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12003 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12004 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12005 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12006 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12007 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12008 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12010 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12011 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12012 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12013 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12015 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12016 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12017 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12018 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12019 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12020 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12021 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12022 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12023 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12024 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12025 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12027 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12028 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12029 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12033 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12034 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12035 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12036 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12037 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12038 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12039 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12040 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12041 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12042 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12044 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12047 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12048 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12050 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12052 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12053 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12056 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12059 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12060 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12061 (__fesetround): Remove define.
12062 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12063 rounding and exceptions handling.
12064 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12065 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12066 (__fe_nomask_env): Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12068 __fegetround instead of fegetround.
12069 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12070 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12072 2013-11-21 Roland McGrath <roland@hack.frob.com>
12074 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12077 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12079 2013-11-21 Meador Inge <meadori@codesourcery.com>
12082 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12083 (encrypt_r): Likewise.
12084 * malloc/obstack.h (obstack_free): Likewise.
12085 * posix/unistd.h (encrypt): Likewise.
12087 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12089 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12090 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12091 DL_CALL_DT_FINI() that call the functions directly.
12092 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12093 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12094 * elf/dl-fini.c: Likewise.
12096 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12098 * malloc/hooks.c (memalign_check): Add alignment rounding.
12099 * malloc/malloc.c (_mid_memalign): New function.
12100 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12101 Implement by calling _mid_memalign.
12102 * manual/probes.texi (Memory Allocation Probes): Remove
12103 memory_valloc_retry and memory_pvalloc_retry.
12105 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12107 * locale/programs/locarchive.c (open_archive): Add const
12108 qualifier to ARCHIVEFNAME and copy default fname to
12112 * libio/tst-widetext.input: Rename Oriya to Odia.
12113 * locale/iso-639.def: Likewise.
12115 * manual/probes.texi (Mathematical Function Probes): Add
12116 documentation for sin, cos, asin and acos probes.
12117 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12118 (__sin32): Add slowasin probe.
12119 (__cos32): Add slowacos probe.
12120 (__mpsin): Add slowsin probe.
12121 (__mpcos): Add slowcos probe.
12123 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12126 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12127 thread-local __sim_exceptions_thread and global
12128 __sim_exceptions_global.
12129 (__sim_disabled_exceptions): Change to thread-local
12130 __sim_disabled_exceptions_thread and global
12131 __sim_disabled_exceptions_global.
12132 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12133 and global __sim_round_mode_global.
12134 (__simulate_exceptions): Use thread-local floating-point state and
12135 set global state from it as needed.
12136 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12137 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12138 __sim_round_mode_thread.
12139 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12140 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12141 and global __sim_exceptions_global.
12142 (__sim_disabled_exceptions): Change to thread-local
12143 __sim_disabled_exceptions_thread and global
12144 __sim_disabled_exceptions_global.
12145 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12146 and global __sim_round_mode_global.
12147 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12148 (SIM_SET_GLOBAL): Likewise.
12149 * sysdeps/powerpc/soft-fp/sfp-machine.h
12150 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12151 __sim_round_mode_thread.
12152 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12153 __sim_disabled_exceptions_thread.
12154 (__sim_exceptions): Change to __sim_exceptions_thread.
12155 (__sim_disabled_exceptions): Change to
12156 __sim_disabled_exceptions_thread.
12157 (__sim_round_mode): Change to __sim_round_mode_thread.
12158 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12159 thread-local floating-point state and set global state from it as
12161 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12162 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12163 (__sim_disabled_exceptions): Remove extern declaration.
12164 (feenableexcept): Use thread-local floating-point state and set
12165 global state from it as needed.
12166 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12167 extern declaration.
12168 (__sim_disabled_exceptions): Likewise.
12169 (__sim_round_mode): Likewise.
12170 (__fegetenv): Use thread-local floating-point state.
12171 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12172 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12173 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12174 floating-point state and set global state from it as needed.
12175 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12176 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12177 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12179 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12180 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12182 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12183 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12184 Use __sim_round_mode_thread.
12185 * math/test-fenv-tls.c: New file.
12186 * math/Makefile (tests): Add test-fenv-tls.
12187 ($(objpfx)test-fenv-tls): Depend on
12188 $(common-objpfx)nptl/libpthread.so.
12190 2013-11-19 Andreas Schwab <schwab@suse.de>
12192 * locale/programs/locale.c (show_info): Decode wordarray elements.
12193 * locale/categories.def (LC_MONETARY): Add element for
12194 _NL_MONETARY_CRNCYSTR.
12195 * locale/C-monetary.c (conversion_rate): New variable.
12196 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12199 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12201 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12202 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12204 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12206 * elf/Makefile (tst-auxv): New test.
12207 * elf/tst-auxv.c: New
12208 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12210 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12212 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12213 (hidden_proto): Caller changed.
12214 (hidden_tls_proto): New macro.
12215 (libc_hidden_tls_proto): Likewise.
12216 (rtld_hidden_tls_proto): Likewise.
12217 (libm_hidden_tls_proto): Likewise.
12218 (libresolv_hidden_tls_proto): Likewise.
12219 (librt_hidden_tls_proto): Likewise.
12220 (libdl_hidden_tls_proto): Likewise.
12221 (libnss_files_hidden_tls_proto): Likewise.
12222 (libnsl_hidden_tls_proto): Likewise.
12223 (libnss_nisplus_hidden_tls_proto): Likewise.
12224 (libutil_hidden_tls_proto): Likewise.
12226 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12229 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12230 (decompose_rpath): Defer expansion to fillin_rpath.
12231 (_dl_init_paths): Pass linkmap to fillin_rpath.
12233 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12235 * benchtests/Makefile: Add strsep.
12236 * benchtests/bench-strsep.c: New file: strsep benchtest.
12237 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12239 2013-11-18 Andreas Schwab <schwab@suse.de>
12241 * locale/programs/locale.c (show_info) [case byte]: Check for
12242 '\377' instead of '\177'.
12243 * locale/C-monetary.c (not_available): Always use "\377".
12244 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12245 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12246 detect unavailable sign_posn locale elements.
12247 * locale/localeconv.c (__localeconv): For grouping and
12248 mon_grouping handle "\177" and "\377" like no grouping.
12249 (INT_ELEM): New macro. Use it to set all numeric members.
12250 * locale/programs/ld-monetary.c (monetary_read)
12251 <tok_mon_grouping>: Normalize single -1 to the empty string.
12252 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12255 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12259 when we match (nil).
12260 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12262 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12264 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12265 (NO_TEST_INLINE): Update value.
12266 (ERRNO_UNCHANGED): Likewise.
12267 (ERRNO_EDOM): Likewise.
12268 (ERRNO_ERANGE): Likewise.
12269 (IGNORE_RESULT): Likewise.
12270 (check_float_internal): Check signs of NaN results if
12271 TEST_NAN_SIGN used.
12272 (check_complex): Pass TEST_NAN_SIGN flag through to second
12273 check_float_internal call.
12274 (copysign_test_data): Add tests with quiet NaNs as second
12275 argument. Use TEST_NAN_SIGN.
12276 (fabs_test_data): Add test of negative quiet NaN argument. Use
12278 (signbit_test_data): Add tests of quiet NaN argument.
12279 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12281 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12283 (parse_args): Handle function results specified as IGNORE.
12284 * math/libm-test.inc (IGNORE_RESULT): New macro.
12285 (check_float_internal): Do not check numerical result if flag
12287 (check_complex): Pass through IGNORE_RESULT to second
12288 check_float_internal call.
12289 (check_int): Do not check numerical result if flag IGNORE_RESULT
12291 (check_long): Likewise.
12292 (check_bool): Likewise.
12293 (check_longlong): Likewise.
12294 (lrint_test_data): Add tests of infinite and NaN arguments.
12295 (lrint_tonearest_test_data): Likewise.
12296 (lrint_towardzero_test_data): Likewise.
12297 (lrint_downward_test_data): Likewise.
12298 (lrint_upward_test_data): Likewise.
12299 (llrint_test_data): Likewise.
12300 (llrint_tonearest_test_data): Likewise.
12301 (llrint_towardzero_test_data): Likewise.
12302 (llrint_downward_test_data): Likewise.
12303 (llrint_upward_test_data): Likewise.
12304 (lround_test_data): Likewise.
12305 (llround_test_data): Likewise.
12307 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12308 (ERRNO_UNCHANGED): Update value.
12309 (ERRNO_EDOM): Likewise.
12310 (ERRNO_ERANGE): Likewise.
12311 (NO_TEST_INLINE_FLOAT): New macro.
12312 (NO_TEST_INLINE_DOUBLE): Likewise.
12313 (enable_test): New function.
12314 (RUN_TEST_f_f): Check enable_test before running test.
12315 (RUN_TEST_2_f): Likewise.
12316 (RUN_TEST_fff_f): Likewise.
12317 (RUN_TEST_c_f): Likewise.
12318 (RUN_TEST_f_f1): Likewise.
12319 (RUN_TEST_fF_f1): Likewise.
12320 (RUN_TEST_fI_f1): Likewise.
12321 (RUN_TEST_ffI_f1): Likewise.
12322 (RUN_TEST_c_c): Likewise.
12323 (RUN_TEST_cc_c): Likewise.
12324 (RUN_TEST_f_i): Likewise.
12325 (RUN_TEST_f_i_tg): Likewise.
12326 (RUN_TEST_ff_i_tg): Likewise.
12327 (RUN_TEST_f_b): Likewise.
12328 (RUN_TEST_f_b_tg): Likewise.
12329 (RUN_TEST_f_l): Likewise.
12330 (RUN_TEST_f_L): Likewise.
12331 (RUN_TEST_fFF_11): Likewise.
12332 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12334 (cosh_test_data): Likewise.
12335 (exp_test_data): Likewise.
12336 (expm1_test_data): Likewise.
12337 (hypot_test_data): Likewise.
12338 (pow_test_data): Likewise.
12339 (sinh_test_data): Likewise.
12340 (tanh_test_data): Likewise.
12341 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12344 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12345 tests with quiet NaN input and output.
12346 (acosh_test_data): Likewise.
12347 (asin_test_data): Likewise.
12348 (asinh_test_data): Likewise.
12349 (atan_test_data): Likewise.
12350 (atanh_test_data): Likewise.
12351 (atan2_test_data): Likewise.
12352 (cbrt_test_data): Likewise.
12353 (cos_test_data): Likewise.
12354 (cosh_test_data): Likewise.
12355 (erf_test_data): Likewise.
12356 (erfc_test_data): Likewise.
12357 (exp_test_data): Likewise.
12358 (exp10_test_data): Likewise.
12359 (exp2_test_data): Likewise.
12360 (expm1_test_data): Likewise.
12361 (hypot_test_data): Likewise.
12362 (j0_test_data): Likewise.
12363 (j1_test_data): Likewise.
12364 (jn_test_data): Likewise.
12365 (lgamma_test_data): Likewise.
12366 (log_test_data): Likewise.
12367 (log10_test_data): Likewise.
12368 (log1p_test_data): Likewise.
12369 (log2_test_data): Likewise.
12370 (pow_test_data): Likewise.
12371 (scalb_test_data): Likewise.
12372 (sin_test_data): Likewise.
12373 (sincos_test_data): Likewise.
12374 (sinh_test_data): Likewise.
12375 (tan_test_data): Likewise.
12376 (tanh_test_data): Likewise.
12377 (tgamma_test_data): Likewise.
12378 (y0_test_data): Likewise.
12379 (y1_test_data): Likewise.
12380 (yn_test_data): Likewise.
12383 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12384 argument being NaN and avoid computations with second argument in
12386 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12387 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12388 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12390 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12392 * locale/iso-639.def: Add Chitwani Tharu (the).
12394 2013-11-14 Andreas Schwab <schwab@suse.de>
12396 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12397 word instead of empty string.
12399 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12402 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12404 (__fe_nomask_env): Likewise.
12406 2013-11-13 Steve Ellcey <sellcey@mips.com>
12408 * benchtests/bench-timing.h: Include time.h.
12410 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12413 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12415 * sysdeps/unix/sysv/linux/configure: Regenerated.
12417 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12420 * stdlib/strtod_l.c (round_and_return): Do not consider
12421 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12422 exponent one less than half the least subnormal exponent.
12423 * stdlib/test-strtod-round-data: Add more tests.
12424 * stdlib/tst-strtod-round.c (tests): Regenerated.
12426 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12429 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12430 (__fe_mask_env): Likewise.
12431 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12432 libm_hidden_proto and add function prototype.
12433 (__fe_mask_env): Add function prototype.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12435 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12437 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12439 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12441 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12443 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12444 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12446 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12448 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12449 of htab_find_slot().
12451 2013-11-11 David S. Miller <davem@davemloft.net>
12454 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12455 symbol in the non-vis3 case in static builds.
12456 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12457 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12458 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12459 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12461 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12464 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12467 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12469 * benchtests/Makefile: Add bench-strtod.
12470 * benchtests/bench-strtod.c: New file: strtod benchtest
12472 2013-11-11 Andreas Schwab <schwab@suse.de>
12475 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12476 terminating NUL in key length.
12478 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12481 Add artificial ODP entry for vDSO symbol for PPC64.
12482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12483 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12485 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12488 * nss/getent.c (services_keys): Recognize services starting with digit.
12490 2013-11-06 David S. Miller <davem@davemloft.net>
12493 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12494 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12496 2013-11-06 Will Newton <will.newton@linaro.org>
12498 * manual/memory.texi (Malloc Examples): Remove register
12499 keyword from examples.
12501 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12503 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12505 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12508 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12509 depending on [__GCC_IEC_559 > 0].
12510 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12511 depending on [__GCC_IEC_559_COMPLEX > 0].
12513 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12515 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12518 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12520 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12522 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12525 * malloc/malloc (malloc_info): Do not handle first bin as
12528 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12530 * locale/iso-639.def: Add Central Nahuatl (nhn).
12532 2013-11-01 Bruno Haible <bruno@clisp.org>
12535 * manual/math.texi (BSD Random): Specify range upper bound as
12538 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12540 * locale/iso-639.def: Add Meadow Mari (mhr).
12542 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12544 [BZ #14752], [BZ #15763]
12545 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12547 * rt/tst_shm.c: Add test for escaping directory.
12549 2013-10-31 Andreas Schwab <schwab@suse.de>
12552 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12553 followed by 'x' as part of digit sequence.
12554 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12556 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12559 * configure.ac: allow GNU Make 4.0 and greater.
12560 * configure: Regenerated.
12562 2013-10-30 Will Newton <will.newton@linaro.org>
12565 * malloc/hooks.c (memalign_check): Limit alignment to the
12566 maximum representable power of two.
12567 * malloc/malloc.c (__libc_memalign): Likewise.
12568 * malloc/tst-memalign.c (do_test): Add test for very
12569 large alignment values.
12570 * malloc/tst-posix_memalign.c (do_test): Likewise.
12572 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12575 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12576 (munmap_chunk): Likewise.
12577 (mremap_chunk): Likewise.
12579 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12582 * stdlib/div.c (div): Remove obsolete code.
12583 * stdlib/ldiv.c (ldiv): Likewise.
12584 * stdlib/lldiv.c (lldiv): Likewise.
12586 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12589 * nss/nss_files/files-XXX.c (get_contents_ret): New
12591 (get_contents): New function.
12592 (internal_getent): Use it. Expand size of LINEBUFLEN.
12594 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12596 * configure.in: Moved to ...
12597 * configure.ac: ... here. Change reference to configure.in
12599 * sysdeps/arm/preconfigure.ac: ... here.
12600 configure.in to configure.ac.
12601 * sysdeps/gnu/configure.in: Moved to ...
12602 * sysdeps/gnu/configure.ac: ... here.
12603 * sysdeps/i386/configure.in: Moved to ...
12604 * sysdeps/i386/configure.ac: ... here.
12605 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12606 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12607 * sysdeps/mach/configure.in: Moved to ...
12608 * sysdeps/mach/configure.ac: ... here.
12609 * sysdeps/mach/hurd/configure.in: Moved to ...
12610 * sysdeps/mach/hurd/configure.ac: ... here.
12611 * sysdeps/powerpc/configure.in: Moved to ...
12612 * sysdeps/powerpc/configure.ac: ... here.
12613 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12614 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12615 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12616 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12617 * sysdeps/s390/s390-32/configure.in: Moved to ...
12618 * sysdeps/s390/s390-32/configure.ac: ... here.
12619 * sysdeps/s390/s390-64/configure.in: Moved to ...
12620 * sysdeps/s390/s390-64/configure.ac: ... here.
12621 * sysdeps/sh/configure.in: Moved to ...
12622 * sysdeps/sh/configure.ac: ... here.
12623 * sysdeps/sparc/configure.in: Moved to ...
12624 * sysdeps/sparc/configure.ac: ... here.
12625 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12626 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12627 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12628 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12629 * sysdeps/x86_64/configure.in: Moved to ...
12630 * sysdeps/x86_64/configure.ac: ... here.
12631 * sysdeps/x86_64/preconfigure.in: Moved to ...
12632 * sysdeps/x86_64/preconfigure.ac: ... here.
12633 * aclocal.m4: Change reference to configure.in to configure.ac.
12634 * config.h.in: Likewise.
12635 * manual/install.texi: Likewise.
12636 * manual/maint.texi: Likewise.
12637 * Makefile: Likewise.
12638 * malloc/Makefile: Likewise.
12639 * nscd/Makefile: Likewise.
12640 * Makeconfig: Change reference to configure.in and
12641 preconfigure.in to configure.ac and preconfigure.ac
12643 * INSTALL: Regenerated.
12644 * configure: Likewise.
12645 * sysdeps/gnu/configure: Likewise.
12646 * sysdeps/i386/configure: Likewise.
12647 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12648 * sysdeps/mach/configure: Likewise.
12649 * sysdeps/mach/hurd/configure: Likewise.
12650 * sysdeps/powerpc/configure: Likewise.
12651 * sysdeps/powerpc/powerpc32/configure: Likewise.
12652 * sysdeps/powerpc/powerpc64/configure: Likewise.
12653 * sysdeps/s390/s390-32/configure: Likewise.
12654 * sysdeps/s390/s390-64/configure: Likewise.
12655 * sysdeps/sh/configure: Likewise.
12656 * sysdeps/sparc/configure: Likewise.
12657 * sysdeps/unix/sysv/linux/configure: Likewise.
12658 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12659 * sysdeps/x86_64/configure: Likewise.
12660 * sysdeps/x86_64/preconfigure: Likewise.
12662 2013-10-29 Andreas Schwab <schwab@suse.de>
12664 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12666 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12668 * benchtests/pow-inputs: Add new inputs.
12670 * benchtests/exp-inputs: Add new inputs.
12672 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12673 conditional check for return value.
12674 (__cos32): Likewise.
12676 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12678 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12679 to provide a boost for large inputs with word alignment.
12680 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12681 implementation based on optimized PPC64 strcpy.
12682 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12683 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12684 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12685 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12687 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12690 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12692 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12695 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12696 * time/tst-strptime.c (day_tests): Add testcase.
12698 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12701 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12703 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12706 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12707 MAP_FAILED on error.
12709 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12712 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12713 heap for large requests.
12715 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12718 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12719 result if the result has no associated interface.
12720 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12721 interface for all 127.X.Y.Z addresses.
12723 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12725 * locale/iso-639.def: Add Ligurian (lij)
12727 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12730 * sunrpc/rpc_main.c: Document rpcgen -5.
12732 2013-10-19 Michael Stahl <mstahl@redhat.com>
12734 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12736 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12739 * posix/glob.c: Match only directories when trailing slash is present.
12740 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12741 (main): Add testcase.
12743 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12746 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12748 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12750 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12751 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12752 AUTH_DES and cindex for FIPS 140-2.
12753 (DES Encryption): Add cindex FIPS 46-3.
12755 * locale/locarchive.h (struct locarhandle): Add fname.
12756 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12757 if an optional argument was specified to --list-archive,
12759 * locale/programs/locarchive.c (show_archive_content): Take new
12760 argument fname and pass it via ah.fname to open_archive.
12761 * locale/programs/localedef.h: Update decl.
12762 (open_archive): If AH->fname is non-null, open that file
12763 rather than the default file name, and don't ignore ENOENT.
12764 (create_archive): Set AH.fname to NULL.
12765 (delete_locales_from_archive): Likewise.
12766 (add_locales_to_archive): Likewise.
12767 * locale/programs/locfile.c (write_all_categories): Likewise.
12769 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12770 Aldy Hernandez <aldyh@redhat.com>
12772 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12773 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12774 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12775 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12776 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12777 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12778 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12779 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12780 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12781 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12782 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12783 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12784 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12785 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12786 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12788 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12790 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12792 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12794 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12795 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12797 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12798 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12799 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12800 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12802 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12803 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12804 * sysdeps/powerpc/preconfigure: Likewise.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12807 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12808 Replace contents of file by #include of <fenv_libc.h>.
12809 * sysdeps/powerpc/soft-fp/sfp-machine.h
12810 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12812 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12813 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12814 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12815 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12816 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12817 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12819 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12825 Allow copysignl PLT reference to be missing.
12827 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12828 Joseph Myers <joseph@codesourcery.com
12831 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12833 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12835 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12837 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12838 * elf/tst-tls1.c: Likewise.
12839 * elf/tst-tls10.h: Likewise.
12840 * elf/tst-tls14.c: Likewise.
12841 * elf/tst-tls2.c: Likewise.
12842 * elf/tst-tls3.c: Likewise.
12843 * elf/tst-tls4.c: Likewise.
12844 * elf/tst-tls5.c: Likewise.
12845 * elf/tst-tls6.c: Likewise.
12846 * elf/tst-tls7.c: Likewise.
12847 * elf/tst-tls8.c: Likewise.
12848 * elf/tst-tls9.c: Likewise.
12849 * elf/tst-tlsmod1.c: Likewise.
12850 * elf/tst-tlsmod13.c: Likewise.
12851 * elf/tst-tlsmod13a.c: Likewise.
12852 * elf/tst-tlsmod14a.c: Likewise.
12853 * elf/tst-tlsmod16a.c: Likewise.
12854 * elf/tst-tlsmod16b.c: Likewise.
12855 * elf/tst-tlsmod2.c: Likewise.
12856 * elf/tst-tlsmod3.c: Likewise.
12857 * elf/tst-tlsmod4.c: Likewise.
12858 * elf/tst-tlsmod5.c: Likewise.
12859 * elf/tst-tlsmod6.c: Likewise.
12861 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12864 * malloc/malloc.c: remove checks for statistics.
12866 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12869 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12870 * inet/tst-network.c: Add testcase.
12872 2013-10-17 Andreas Schwab <schwab@suse.de>
12875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12876 to determine canonical name.
12878 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12880 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12881 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12904 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12905 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12910 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12917 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12918 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12929 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12930 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12931 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12932 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12933 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12939 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12942 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12943 make result into a quiet NaN.
12945 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12947 * soft-fp/adddf3.c: Fix horizontal whitespace.
12948 * soft-fp/addsf3.c: Likewise.
12949 * soft-fp/addtf3.c: Likewise.
12950 * soft-fp/divdf3.c: Likewise.
12951 * soft-fp/divsf3.c: Likewise.
12952 * soft-fp/divtf3.c: Likewise.
12953 * soft-fp/double.h: Likewise.
12954 * soft-fp/eqdf2.c: Likewise.
12955 * soft-fp/eqsf2.c: Likewise.
12956 * soft-fp/eqtf2.c: Likewise.
12957 * soft-fp/extenddftf2.c: Likewise.
12958 * soft-fp/extended.h: Likewise.
12959 * soft-fp/extendsfdf2.c: Likewise.
12960 * soft-fp/extendsftf2.c: Likewise.
12961 * soft-fp/extendxftf2.c: Likewise.
12962 * soft-fp/fixdfdi.c: Likewise.
12963 * soft-fp/fixdfsi.c: Likewise.
12964 * soft-fp/fixdfti.c: Likewise.
12965 * soft-fp/fixsfdi.c: Likewise.
12966 * soft-fp/fixsfsi.c: Likewise.
12967 * soft-fp/fixsfti.c: Likewise.
12968 * soft-fp/fixtfdi.c: Likewise.
12969 * soft-fp/fixtfsi.c: Likewise.
12970 * soft-fp/fixtfti.c: Likewise.
12971 * soft-fp/fixunsdfdi.c: Likewise.
12972 * soft-fp/fixunsdfsi.c: Likewise.
12973 * soft-fp/fixunsdfti.c: Likewise.
12974 * soft-fp/fixunssfdi.c: Likewise.
12975 * soft-fp/fixunssfsi.c: Likewise.
12976 * soft-fp/fixunssfti.c: Likewise.
12977 * soft-fp/fixunstfdi.c: Likewise.
12978 * soft-fp/fixunstfsi.c: Likewise.
12979 * soft-fp/fixunstfti.c: Likewise.
12980 * soft-fp/floatdidf.c: Likewise.
12981 * soft-fp/floatdisf.c: Likewise.
12982 * soft-fp/floatditf.c: Likewise.
12983 * soft-fp/floatsidf.c: Likewise.
12984 * soft-fp/floatsisf.c: Likewise.
12985 * soft-fp/floatsitf.c: Likewise.
12986 * soft-fp/floattidf.c: Likewise.
12987 * soft-fp/floattisf.c: Likewise.
12988 * soft-fp/floattitf.c: Likewise.
12989 * soft-fp/floatundidf.c: Likewise.
12990 * soft-fp/floatundisf.c: Likewise.
12991 * soft-fp/floatunditf.c: Likewise.
12992 * soft-fp/floatunsidf.c: Likewise.
12993 * soft-fp/floatunsisf.c: Likewise.
12994 * soft-fp/floatunsitf.c: Likewise.
12995 * soft-fp/floatuntidf.c: Likewise.
12996 * soft-fp/floatuntisf.c: Likewise.
12997 * soft-fp/floatuntitf.c: Likewise.
12998 * soft-fp/fmadf4.c: Likewise.
12999 * soft-fp/fmasf4.c: Likewise.
13000 * soft-fp/fmatf4.c: Likewise.
13001 * soft-fp/gedf2.c: Likewise.
13002 * soft-fp/gesf2.c: Likewise.
13003 * soft-fp/getf2.c: Likewise.
13004 * soft-fp/ledf2.c: Likewise.
13005 * soft-fp/lesf2.c: Likewise.
13006 * soft-fp/letf2.c: Likewise.
13007 * soft-fp/muldf3.c: Likewise.
13008 * soft-fp/mulsf3.c: Likewise.
13009 * soft-fp/multf3.c: Likewise.
13010 * soft-fp/negdf2.c: Likewise.
13011 * soft-fp/negsf2.c: Likewise.
13012 * soft-fp/negtf2.c: Likewise.
13013 * soft-fp/op-1.h: Likewise.
13014 * soft-fp/op-2.h: Likewise.
13015 * soft-fp/op-4.h: Likewise.
13016 * soft-fp/op-8.h: Likewise.
13017 * soft-fp/op-common.h: Likewise.
13018 * soft-fp/quad.h: Likewise.
13019 * soft-fp/single.h: Likewise.
13020 * soft-fp/soft-fp.h: Likewise.
13021 * soft-fp/sqrtdf2.c: Likewise.
13022 * soft-fp/sqrtsf2.c: Likewise.
13023 * soft-fp/sqrttf2.c: Likewise.
13024 * soft-fp/subdf3.c: Likewise.
13025 * soft-fp/subsf3.c: Likewise.
13026 * soft-fp/subtf3.c: Likewise.
13027 * soft-fp/truncdfsf2.c: Likewise.
13028 * soft-fp/trunctfdf2.c: Likewise.
13029 * soft-fp/trunctfsf2.c: Likewise.
13030 * soft-fp/trunctfxf2.c: Likewise.
13031 * soft-fp/unorddf2.c: Likewise.
13032 * soft-fp/unordsf2.c: Likewise.
13033 * soft-fp/unordtf2.c: Likewise.
13035 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13037 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13038 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13040 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13042 * elf/dl-libc.c: Clear initfini list after freeing.
13044 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13046 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13047 * soft-fp/addsf3.c: Likewise.
13048 * soft-fp/addtf3.c: Likewise.
13049 * soft-fp/divdf3.c: Likewise.
13050 * soft-fp/divsf3.c: Likewise.
13051 * soft-fp/divtf3.c: Likewise.
13052 * soft-fp/double.h: Likewise.
13053 * soft-fp/eqdf2.c: Likewise.
13054 * soft-fp/eqsf2.c: Likewise.
13055 * soft-fp/eqtf2.c: Likewise.
13056 * soft-fp/extenddftf2.c: Likewise.
13057 * soft-fp/extended.h: Likewise.
13058 * soft-fp/extendsfdf2.c: Likewise.
13059 * soft-fp/extendsftf2.c: Likewise.
13060 * soft-fp/extendxftf2.c: Likewise.
13061 * soft-fp/fixdfdi.c: Likewise.
13062 * soft-fp/fixdfsi.c: Likewise.
13063 * soft-fp/fixdfti.c: Likewise.
13064 * soft-fp/fixsfdi.c: Likewise.
13065 * soft-fp/fixsfsi.c: Likewise.
13066 * soft-fp/fixsfti.c: Likewise.
13067 * soft-fp/fixtfdi.c: Likewise.
13068 * soft-fp/fixtfsi.c: Likewise.
13069 * soft-fp/fixtfti.c: Likewise.
13070 * soft-fp/fixunsdfdi.c: Likewise.
13071 * soft-fp/fixunsdfsi.c: Likewise.
13072 * soft-fp/fixunsdfti.c: Likewise.
13073 * soft-fp/fixunssfdi.c: Likewise.
13074 * soft-fp/fixunssfsi.c: Likewise.
13075 * soft-fp/fixunssfti.c: Likewise.
13076 * soft-fp/fixunstfdi.c: Likewise.
13077 * soft-fp/fixunstfsi.c: Likewise.
13078 * soft-fp/fixunstfti.c: Likewise.
13079 * soft-fp/floatdidf.c: Likewise.
13080 * soft-fp/floatdisf.c: Likewise.
13081 * soft-fp/floatditf.c: Likewise.
13082 * soft-fp/floatsidf.c: Likewise.
13083 * soft-fp/floatsisf.c: Likewise.
13084 * soft-fp/floatsitf.c: Likewise.
13085 * soft-fp/floattidf.c: Likewise.
13086 * soft-fp/floattisf.c: Likewise.
13087 * soft-fp/floattitf.c: Likewise.
13088 * soft-fp/floatundidf.c: Likewise.
13089 * soft-fp/floatundisf.c: Likewise.
13090 * soft-fp/floatunsidf.c: Likewise.
13091 * soft-fp/floatunsisf.c: Likewise.
13092 * soft-fp/floatuntidf.c: Likewise.
13093 * soft-fp/floatuntisf.c: Likewise.
13094 * soft-fp/floatuntitf.c: Likewise.
13095 * soft-fp/fmadf4.c: Likewise.
13096 * soft-fp/fmasf4.c: Likewise.
13097 * soft-fp/fmatf4.c: Likewise.
13098 * soft-fp/gedf2.c: Likewise.
13099 * soft-fp/gesf2.c: Likewise.
13100 * soft-fp/getf2.c: Likewise.
13101 * soft-fp/ledf2.c: Likewise.
13102 * soft-fp/lesf2.c: Likewise.
13103 * soft-fp/letf2.c: Likewise.
13104 * soft-fp/muldf3.c: Likewise.
13105 * soft-fp/mulsf3.c: Likewise.
13106 * soft-fp/multf3.c: Likewise.
13107 * soft-fp/negdf2.c: Likewise.
13108 * soft-fp/negsf2.c: Likewise.
13109 * soft-fp/negtf2.c: Likewise.
13110 * soft-fp/op-1.h: Likewise.
13111 * soft-fp/op-2.h: Likewise.
13112 * soft-fp/op-4.h: Likewise.
13113 * soft-fp/op-8.h: Likewise.
13114 * soft-fp/op-common.h: Likewise.
13115 * soft-fp/quad.h: Likewise.
13116 * soft-fp/single.h: Likewise.
13117 * soft-fp/soft-fp.h: Likewise.
13118 * soft-fp/sqrtdf2.c: Likewise.
13119 * soft-fp/sqrtsf2.c: Likewise.
13120 * soft-fp/sqrttf2.c: Likewise.
13121 * soft-fp/subdf3.c: Likewise.
13122 * soft-fp/subsf3.c: Likewise.
13123 * soft-fp/subtf3.c: Likewise.
13124 * soft-fp/truncdfsf2.c: Likewise.
13125 * soft-fp/trunctfdf2.c: Likewise.
13126 * soft-fp/trunctfsf2.c: Likewise.
13127 * soft-fp/trunctfxf2.c: Likewise.
13128 * soft-fp/unorddf2.c: Likewise.
13129 * soft-fp/unordsf2.c: Likewise.
13130 * soft-fp/unordtf2.c: Likewise.
13132 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13135 * misc/error.c (error_tail): Fix possible buffer overflow.
13137 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13140 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13143 2013-10-14 P. J. McDermott <pj@pehjota.net>
13146 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13147 testing pipefail option.
13149 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13151 * soft-fp/double.h: Indent preprocessor directives inside #if.
13152 * soft-fp/extended.h: Likewise.
13153 * soft-fp/op-2.h: Likewise.
13154 * soft-fp/op-4.h: Likewise.
13155 * soft-fp/op-common.h: Likewise.
13156 * soft-fp/quad.h: Likewise.
13157 * soft-fp/single.h: Likewise.
13158 * soft-fp/soft-fp.h: Likewise.
13160 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13162 * iconv/iconv_prog.c: Fix typos.
13163 * stdio-common/psiginfo-data.h: Likewise.
13165 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13168 * locale/setlocale.c: Fix typo.
13170 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13173 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13174 signaling NaN arguments.
13175 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13176 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13179 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13180 unordered operands.
13181 * soft-fp/gesf2.c (__gesf2): Likewise.
13182 * soft-fp/getf2.c (__getf2): Likewise.
13183 * soft-fp/ledf2.c (__ledf2): Likewise.
13184 * soft-fp/lesf2.c (__lesf2): Likewise.
13185 * soft-fp/letf2.c (__letf2): Likewise.
13187 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13188 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13189 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13190 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13191 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13192 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13193 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13194 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13195 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13196 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13197 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13198 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13199 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13200 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13201 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13202 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13203 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13204 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13205 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13206 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13207 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13208 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13209 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13210 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13211 * soft-fp/floattidf.c (__floattidf): Likewise.
13212 * soft-fp/floattisf.c (__floattisf): Likewise.
13213 * soft-fp/floattitf.c (__floattitf): Likewise.
13214 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13215 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13216 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13217 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13218 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13219 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13220 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13221 * soft-fp/gesf2.c (__gesf2): Likewise.
13222 * soft-fp/getf2.c (__getf2): Likewise.
13223 * soft-fp/ledf2.c (__ledf2): Likewise.
13224 * soft-fp/lesf2.c (__lesf2): Likewise.
13225 * soft-fp/letf2.c (__letf2): Likewise.
13227 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13228 Undefine and redefine.
13229 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13230 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13231 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13232 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13233 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13234 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13235 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13236 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13237 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13238 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13239 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13240 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13241 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13242 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13243 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13246 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13247 without decrementing exponent if mantissa >= that for the
13248 denominator, not >.
13249 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13250 denominator, not >. Decrement exponent in < case instead of
13251 incrementing in >= case.
13252 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13253 without decrementing exponent if mantissa >= that for the
13254 denominator, not >.
13256 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13257 computing saturated result for unsigned overflow.
13259 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13260 Jeff Law <law@redhat.com>
13262 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13263 (atan2Mp): Add systemtap probe marker.
13264 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13265 (__ieee754_log): Add systemtap probe marker.
13266 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13267 (atanMp): Add systemtap probe marker.
13268 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13269 (tanMp): Add systemtap probe marker.
13270 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13271 (__slowexp): Add systemtap probe marker.
13272 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13273 (__slowpow): Add systemtap probe marker.
13274 * manual/probes.texi: Document probes.
13276 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13279 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13281 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13283 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13284 written to buffer but not flushed.
13285 * libio/iofwrite_u.c: Likewise.
13286 * libio/iopadn.c: Return bytes returned even if EOF was
13288 * libio/iowpadn.c: Likewise.
13289 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13290 if _IO_padn does not write the whole buffer.
13291 [!COMPILE_WPRINTF] (PAD): Likewise.
13293 2013-10-10 David S. Miller <davem@davemloft.net>
13295 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13298 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13300 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13301 instead of FSF address.
13302 * soft-fp/fixdfti.c: Likewise.
13303 * soft-fp/fixsfti.c: Likewise.
13304 * soft-fp/fixtfti.c: Likewise.
13305 * soft-fp/fixunsdfti.c: Likewise.
13306 * soft-fp/fixunssfti.c: Likewise.
13307 * soft-fp/fixunstfti.c: Likewise.
13308 * soft-fp/floattidf.c: Likewise.
13309 * soft-fp/floattisf.c: Likewise.
13310 * soft-fp/floattitf.c: Likewise.
13311 * soft-fp/floatuntidf.c: Likewise.
13312 * soft-fp/floatuntisf.c: Likewise.
13313 * soft-fp/floatuntitf.c: Likewise.
13314 * soft-fp/trunctfxf2.c: Likewise.
13316 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13317 * soft-fp/fixdfti.c: Likewise.
13318 * soft-fp/fixsfti.c: Likewise.
13319 * soft-fp/fixtfti.c: Likewise.
13320 * soft-fp/fixunsdfti.c: Likewise.
13321 * soft-fp/fixunssfti.c: Likewise.
13322 * soft-fp/fixunstfti.c: Likewise.
13323 * soft-fp/floattidf.c: Likewise.
13324 * soft-fp/floattisf.c: Likewise.
13325 * soft-fp/floattitf.c: Likewise.
13326 * soft-fp/floatuntidf.c: Likewise.
13327 * soft-fp/floatuntisf.c: Likewise.
13328 * soft-fp/floatuntitf.c: Likewise.
13329 * soft-fp/trunctfxf2.c: Likewise.
13331 2013-10-10 David S. Miller <davem@davemloft.net>
13333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13335 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13337 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13338 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13339 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13340 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13341 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13342 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13343 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13346 for NaNs before doing comparisons on argument.
13347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13350 2013-10-10 Will Newton <will.newton@linaro.org>
13352 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13353 passed to _int_memalign does not overflow.
13355 2013-10-10 Torvald Riegel <triegel@redhat.com>
13357 * scripts/bench.pl: Add include-sources directive.
13358 * benchtests/README: Update documentation.
13360 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13362 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13363 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13364 instead of FP_INIT_ROUNDMODE.
13365 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13366 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13369 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13370 copy class of input value.
13371 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13372 not handle exceptions.
13373 * soft-fp/negsf2.c (__negsf2): Likewise.
13374 * soft-fp/negtf2.c (__negtf2): Likewise.
13375 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13377 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13379 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13380 semicolon. From Linux kernel.
13382 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13384 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13386 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13389 * manual/socket.texi: Added statement about buffer
13390 for gethostbyname2_r.
13392 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13394 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13395 Use .p2align directive instead, throughout.
13396 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13397 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13398 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13401 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13402 * sysdeps/x86_64/strchr.S: Likewise.
13403 * sysdeps/x86_64/strrchr.S: Likewise.
13405 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13407 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13409 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13411 * sysdeps/generic/math_private.h (__mpsin1): Remove
13413 (__mpcos1): Likewise.
13414 (__mpsin): New argument __range_reduce.
13415 (__mpcos): Likewise.
13416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13417 (slow): Use __mpsin and __mpcos.
13421 (sloww1): Likewise.
13422 (sloww2): Likewise.
13423 (bsloww): Likewise.
13424 (bsloww1): Likewise.
13425 (bsloww2): Likewise.
13426 (cslow2): Likewise.
13427 (csloww): Likewise.
13428 (csloww1): Likewise.
13429 (csloww2): Likewise.
13430 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13431 range_reduce. Merge in __mpsin1.
13432 (__mpcos): Likewise.
13433 (__mpsin1): Remove.
13434 (__mpcos1): Likewise.
13436 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13438 * locale/loadlocale.c (_nl_intern_locale_data): Use
13440 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13441 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13442 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13443 obstack data is appropriately aligned.
13444 (obstack_int32_grow_fast): Likewise.
13445 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13446 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13447 (add_locale_uint32_array): Likewise.
13449 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13451 * benchtests/Makefile: Remove ARGLIST and RET variables.
13452 ($(objpfx)bench-%.c): Pass only function name to the script.
13453 * benchtests/README: Update documentation.
13454 * benchtests/acos-inputs: Add new directives.
13455 * benchtests/acosh-inputs: Likewise.
13456 * benchtests/asin-inputs: Likewise.
13457 * benchtests/asinh-inputs: Likewise.
13458 * benchtests/atan-inputs: Likewise.
13459 * benchtests/atanh-inputs: Likewise.
13460 * benchtests/cos-inputs: Likewise.
13461 * benchtests/cosh-inputs: Likewise.
13462 * benchtests/exp-inputs: Likewise.
13463 * benchtests/log-inputs: Likewise.
13464 * benchtests/pow-inputs: Likewise.
13465 * benchtests/rint-inputs: Likewise.
13466 * benchtests/sin-inputs: Likewise.
13467 * benchtests/sinh-inputs: Likewise.
13468 * benchtests/tan-inputs: Likewise.
13469 * benchtests/tanh-inputs: Likewise.
13470 * scripts/bench.pl: Add support for new directives.
13472 2013-10-07 Alan Modra <amodra@gmail.com>
13474 * README: Fix careless merge.
13476 2013-10-05 Alan Modra <amodra@gmail.com>
13478 * NEWS: Mention powerpc64le support and bugs fixed.
13479 * README: Both big-endian and little-endian powerpc64 supported.
13481 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13483 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13484 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13485 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13486 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13488 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13490 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13493 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13495 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13496 Move -mhard-float appending from
13497 ports/sysdeps/powerpc/powerpc32/Makefile.
13498 [$(with-fp) = yes] (ASFLAGS): Likewise.
13499 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13500 * sysdeps/powerpc/nofpu: Move directory from
13501 ports/sysdeps/powerpc/nofpu.
13502 * sysdeps/powerpc/soft-fp: Move directory from
13503 ports/sysdeps/powerpc/soft-fp.
13504 * sysdeps/powerpc/powerpc32/405: Move directory from
13505 ports/sysdeps/powerpc/powerpc32/405.
13506 * sysdeps/powerpc/powerpc32/440: Move directory from
13507 ports/sysdeps/powerpc/powerpc32/440.
13508 * sysdeps/powerpc/powerpc32/464: Move directory from
13509 ports/sysdeps/powerpc/powerpc32/464.
13510 * sysdeps/powerpc/powerpc32/476: Move directory from
13511 ports/sysdeps/powerpc/powerpc32/476.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13513 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13515 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13517 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13519 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13521 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13522 * README: Update for powerpc-*-linux-gnu software floating point
13525 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13526 case to powerpc/powerpc32*.
13527 * sysdeps/unix/sysv/linux/configure: Regenerated.
13529 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13530 (_FPU_MASK_OM): Define as 0x04.
13531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13539 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13542 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13545 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13546 and setcontext_e500.
13548 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13550 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13552 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13554 * manual/threads.texi (Default Thread Attributes): Fix typo.
13556 2013-10-04 Will Newton <will.newton@linaro.org>
13558 * malloc/Makefile: Add tst-memalign.
13559 * malloc/tst-memalign.c: New file.
13561 * malloc/tst-posix_memalign.c: Add comments.
13562 (do_test): Add comments and call free on all potentially
13563 allocated pointers. Add space after cast.
13565 * malloc/tst-pvalloc.c: Add comments.
13566 (do_test): Add comments and call free on all potentially
13567 allocated pointers. Remove duplicate check for NULL pointer.
13568 Add space after cast.
13570 * malloc/tst-valloc.c: Add comments.
13571 (do_test): Add comments and call free on all potentially
13572 allocated pointers. Remove duplicate check for NULL pointer.
13573 Add space after cast.
13575 2013-10-04 Alan Modra <amodra@gmail.com>
13577 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13578 Use stdint types in rather than __attribute__((mode())).
13579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13581 2013-10-04 Alan Modra <amodra@gmail.com>
13583 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13584 Correct handling of unaligned relocs for little-endian.
13585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13587 2013-10-04 Alan Modra <amodra@gmail.com>
13589 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13590 * configure: Regenerate.
13591 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13592 * shlib-versions: Likewise.
13594 2013-10-04 Alan Modra <amodra@gmail.com>
13596 * string/tester.c (test_memrchr): Increment reported test cycle.
13598 2013-10-04 Alan Modra <amodra@gmail.com>
13600 * string/test-memcpy.c (do_one_test): When reporting errors, print
13601 string address and don't overrun end of string.
13603 2013-10-04 Alan Modra <amodra@gmail.com>
13605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13606 insrdi. Make better use of reg selection to speed exit slightly.
13607 Schedule entry path a little better. Remove useless "are we done"
13608 checks on entry to main loop. Handle wrapping around zero address.
13609 Correct main loop count. Handle single left-over word from main
13610 loop inline rather than by using loop_small. Remove extra word
13611 case in loop_small caused by wrong loop count. Add little-endian
13613 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13614 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13617 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13618 support. Avoid rlwimi.
13619 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13621 2013-10-04 Alan Modra <amodra@gmail.com>
13623 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13624 insrdi. Formatting.
13625 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13626 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13627 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13628 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13629 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13630 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13632 2013-10-04 Alan Modra <amodra@gmail.com>
13634 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13635 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13636 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13638 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13639 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13641 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13642 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13643 use of regs. Use power7 mtocrf. Tidy function tails.
13645 2013-10-04 Alan Modra <amodra@gmail.com>
13647 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13648 Formatting. Consistently use rXXX register defines or rN defines.
13649 Use early exit labels that avoid restoring unused non-volatile regs.
13650 Make cr field use more consistent with rWORDn compares. Rename
13651 regs used as shift registers for unaligned loop, using rN defines
13652 for short lifetime/multiple use regs.
13653 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13654 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13655 addi 1,1,64 to pop stack frame. Simplify return value code.
13656 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13658 2013-10-04 Alan Modra <amodra@gmail.com>
13660 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13661 support. Correct typos, formatting. Optimize tail. Use insrdi
13662 rather than rlwimi.
13663 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13664 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13665 little-endian support. Correct typos.
13666 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13667 rather than rlwimi.
13668 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13669 in loop and entry code to keep "and." results.
13670 (strchr): Add little-endian support. Comment. Move cntlzd
13672 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13674 2013-10-04 Alan Modra <amodra@gmail.com>
13676 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13677 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13678 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13679 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13681 2013-10-04 Alan Modra <amodra@gmail.com>
13683 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13684 (rTMP): Define as r11.
13685 (strcmp): Add little-endian support. Optimise tail.
13686 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13687 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13689 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13690 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13691 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13694 2013-10-04 Alan Modra <amodra@gmail.com>
13696 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13697 little-endian support. Remove unnecessary "are we done" tests.
13698 Handle "s" wrapping around zero and extremely large "size".
13699 Correct main loop count. Handle single left-over word from main
13700 loop inline rather than by using small_loop. Correct comments.
13701 Delete "zero" tail, use "end_max" instead.
13702 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13704 2013-10-04 Alan Modra <amodra@gmail.com>
13706 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13707 support. Don't branch over align.
13708 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13709 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13710 support. Rearrange tmp reg use to suit. Comment.
13711 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13713 2013-10-04 Alan Modra <amodra@gmail.com>
13715 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13717 2013-10-04 Alan Modra <amodra@gmail.com>
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13720 conditional form of branch and link when obtaining pc.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13723 2013-10-04 Alan Modra <amodra@gmail.com>
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13730 2013-10-04 Alan Modra <amodra@gmail.com>
13732 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13733 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13734 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13735 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13736 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13737 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13738 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13739 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13740 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13741 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13743 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13744 Alistair Popple <alistair@ozlabs.au.ibm.com>
13745 Alan Modra <amodra@gmail.com>
13748 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13749 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13750 _dl_hwcap access for little-endian.
13751 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13752 destroy vmx regs when saving unaligned.
13753 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13754 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13755 destroy vmx regs when saving unaligned.
13757 2013-10-04 Alan Modra <amodra@gmail.com>
13759 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13760 Don't use a union to pack hi/low value.
13762 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13764 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13766 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13768 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13769 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13770 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13772 2013-10-04 Alan Modra <amodra@gmail.com>
13774 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13775 constants to usual value for .cst8 section, and remove redundant
13777 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13778 constant for 0x1p52. Load little-endian words of double from
13779 correct stack offsets.
13781 2013-10-04 Alan Modra <amodra@gmail.com>
13783 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13784 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13785 words of double from correct stack offsets.
13786 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13787 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13788 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13791 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13792 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13793 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13794 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13796 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13797 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13798 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13799 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13800 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13801 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13802 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13804 2013-10-04 Alan Modra <amodra@gmail.com>
13806 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13807 64-bit int/double union.
13808 (_FPU_SETCW): Likewise.
13809 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13810 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13812 2013-10-04 Alan Modra <amodra@gmail.com>
13814 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13815 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13817 2013-10-04 Alan Modra <amodra@gmail.com>
13819 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13820 use vector int constants.
13821 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13823 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13825 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13826 array with long long.
13827 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13828 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13829 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13830 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13831 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13832 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13833 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13834 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13835 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13836 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13837 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13838 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13839 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13841 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13843 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13844 (__signbit): Likewise. Correct for little-endian.
13845 (__signbitl): Call __signbit.
13846 (lrint): Correct for little-endian.
13847 (lrintf): Call lrint.
13849 2013-10-04 Alan Modra <amodra@gmail.com>
13851 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13852 union 32-bit int array member with 64-bit int array.
13853 (t515, tm256): Double rather than long double.
13854 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13856 2013-10-04 Alan Modra <amodra@gmail.com>
13858 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13860 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13862 version of math_ldbl.h.
13864 2013-10-04 Alan Modra <amodra@gmail.com>
13866 [BZ #15734], [BZ #15735]
13867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13868 all uses of ieee875 long double macros and unions. Simplify test
13869 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13870 ldbl_extract_mantissa value for ix,iy exponents. Properly
13871 normalize after ldbl_extract_mantissa, and don't add hidden bit
13872 already handled. Don't treat low word of ieee854 mantissa like
13873 low word of IBM long double and mask off bit when testing for
13875 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13876 all uses of ieee875 long double macros and unions. Simplify tests
13877 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13878 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13879 two1022, instead use their values. Recognise that tests for large
13880 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13881 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13882 Rewrite all uses of ieee875 long double macros and unions. Simplify
13883 test for 0.0L and nan. Correct negation.
13884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13885 ieee875 long double macros and unions. Correct output for large
13886 magnitude x. Correct absolute value calculation.
13887 (__erfcl): Likewise.
13888 * math/libm-test.inc: Add tests for errors discovered in IBM long
13889 double versions of fmodl, remainderl, erfl and erfcl.
13891 2013-10-04 Alan Modra <amodra@gmail.com>
13893 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13894 all uses of ieee854 long double macros and unions. Simplify tests
13895 for long doubles that are fully specified by the high double.
13896 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13898 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13899 Remove dead code too.
13900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13901 (__ieee754_ynl): Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13905 Remove dead code too.
13906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13911 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13913 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13916 Comment on variable precision.
13917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13920 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13924 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13926 2013-10-04 Alan Modra <amodra@gmail.com>
13928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13930 all uses of ieee854 long double macros and unions.
13931 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13944 Simplify sign and nan test too.
13945 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13947 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13950 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13960 2013-10-04 Alan Modra <amodra@gmail.com>
13962 * stdio-common/printf_size.c (__printf_size): Don't use
13963 union ieee854_long_double in fpnum union.
13964 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13965 signbit macro to retrieve sign from long double.
13966 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13967 retrieve sign from long double.
13968 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13969 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13970 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13971 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13972 * math/test-misc.c (main): Don't use union ieee854_long_double.
13974 2013-10-04 Alan Modra <amodra@gmail.com>
13977 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13978 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13979 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13980 calculation. Remove unnecessary test for denormal exponent.
13981 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13982 Correct handling of denormals. Avoid undefined shift behaviour.
13983 Correct normalisation of low mantissa when low double is denormal.
13984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13985 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13986 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13987 Correct normalisation of low mantissa. Test for overflow of high
13988 mantissa and normalise.
13989 (ldbl_nearbyint): Use more readable constant for two52.
13990 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13991 (__mpn_construct_long_double): Fix test for overflow of high
13992 mantissa and correct normalisation. Avoid undefined shift.
13994 2013-10-04 Alan Modra <amodra@gmail.com>
13996 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13997 (union ibm_extended_long_double): Define as an array of ieee754_double.
13998 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13999 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14000 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14001 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14005 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14010 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14012 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14013 page size instead of calling getpagesize.
14015 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14016 (LOCFILE_ALIGN_MASK): Likewise.
14017 (LOCFILE_ALIGN_UP): Likewise.
14018 (LOCFILE_ALIGNED_P): Likewise.
14019 * locale/programs/ld-collate.c (collate_output): Use the new
14020 macros instead of __alignof__ (int32_t).
14021 * locale/weight.h (findidx): Likewise.
14023 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14026 * manual/string.texi: Fix strncat and wcsncat.
14028 2013-10-03 Brooks Moses <bmoses@google.com>
14031 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14032 * Makerules: ...here, and adjust associated comments.
14034 2013-10-02 Will Newton <will.newton@linaro.org>
14036 * malloc/Makefile: Add tst-pvalloc.
14037 * malloc/tst-pvalloc.c: New file.
14039 2013-10-02 Will Newton <will.newton@linaro.org>
14041 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14042 improve test coverage.
14044 2013-10-02 Will Newton <will.newton@linaro.org>
14046 * malloc/Makefile: Add tst-posix_memalign.
14047 * malloc/tst-posix_memalign.c: New file.
14049 2013-10-01 Eric Blake <eblake@redhat.com>
14051 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14052 Use __THROWNL rather than __THROW on static functions.
14054 2013-09-30 Petr Machata <pmachata@redhat.com>
14056 * elf/elf.h (R_AARCH64_ABS16): New macro.
14057 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14058 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14059 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14060 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14061 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14062 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14063 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14064 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14065 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14066 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14067 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14068 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14069 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14070 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14071 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14072 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14073 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14074 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14075 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14076 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14077 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14078 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14079 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14080 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14081 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14082 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14083 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14084 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14085 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14086 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14087 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14088 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14089 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14090 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14091 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14092 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14093 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14094 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14095 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14096 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14097 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14098 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14099 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14100 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14101 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14102 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14103 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14104 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14105 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14106 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14107 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14108 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14109 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14110 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14111 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14112 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14113 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14114 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14115 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14116 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14117 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14118 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14119 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14120 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14121 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14122 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14123 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14124 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14125 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14126 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14127 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14128 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14129 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14130 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14131 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14132 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14133 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14134 (R_AARCH64_TLSDESC_LDR): Likewise.
14135 (R_AARCH64_TLSDESC_ADD): Likewise.
14136 (R_AARCH64_TLSDESC_CALL): Likewise.
14138 2013-09-30 Andreas Schwab <schwab@suse.de>
14141 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14142 the nss database lookup.
14143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14146 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14148 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14150 2013-09-28 P. J. McDermott <pj@pehjota.net>
14152 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14153 ${Bash-specific parameter/pattern/string} parameter expansion.
14154 * sysdeps/unix/make-syscalls.sh: Likewise.
14156 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14158 * sysdeps/sh/stackguard-macros.h: New file.
14160 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14164 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14165 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14167 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14169 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14171 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14172 Fix thread ID register.
14174 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14176 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14177 [POSIX || UNIX98]: Require rather than permitting all symbols from
14179 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14180 element of struct sched_param.
14181 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14182 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14183 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14184 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14187 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14189 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14190 argument calculation.
14192 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14194 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14196 [POSIX] (pthread_attr_t): Do not require type.
14197 [POSIX] (pthread_cond_t): Likewise.
14198 [POSIX] (pthread_condattr_t): Likewise.
14199 [POSIX] (pthread_key_t): Likewise.
14200 [POSIX] (pthread_mutex_t): Likewise.
14201 [POSIX] (pthread_mutexattr_t): Likewise.
14202 [POSIX] (pthread_once_t): Likewise.
14203 [POSIX] (pthread_t): Likewise.
14204 [POSIX-based standards] (pthread_atfork): Expect function.
14206 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14207 Richard Sandiford <richard@codesourcery.com>
14209 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14210 (swap_endianness_p): New extern variable.
14211 (set_big_endian): New inline function.
14212 (maybe_swap_uint32): Likewise.
14213 (maybe_swap_uint32_array): Likewise.
14214 (maybe_swap_uint32_obstack): Likewise.
14215 * locale/programs/locfile.c: Include <stdbool.h>.
14216 (swap_endianness_p): New variable.
14217 (add_locale_uint32): Call maybe_swap_uint32.
14218 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14219 (write_locale_data): Call maybe_swap_uint32_array.
14220 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14222 (obstack_int32_grow_fast): Likewise.
14223 (output_weightwc): Call maybe_swap_uint32_obstack.
14224 (collate_output): Likewise.
14225 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14226 (OPT_LITTLE_ENDIAN): Likewise.
14227 (options): Add --little-endian and --big-endian options.
14228 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14229 * locale/programs/locarchive.c: Include "locfile.h".
14233 (create_archive): Use the new macros to access fields of
14234 structures directly mapped from or written to locale archives.
14235 (oldlocrecentcmp): Likewise.
14236 (enlarge_archive): Likewise.
14237 (insert_name): Likewise.
14238 (add_alias): Likewise.
14239 (add_locale): Likewise.
14240 (delete_locales_from_archive): Likewise.
14241 (show_archive_content): Likewise.
14242 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14245 2013-09-24 Roland McGrath <roland@hack.frob.com>
14247 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14248 http://www.gnu.org/doc/freemanuals.texi.
14249 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14251 2013-09-24 Will Newton <will.newton@linaro.org>
14253 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14256 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14258 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14261 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14263 * manual/threads.texi (POSIX Threads): Fix a typo.
14265 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14268 * string/tst-strcoll-overflow.c: New test case.
14269 * string/Makefile (xtests): Add tst-strcoll-overflow.
14270 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14271 cache if string sizes may cause integer overflow.
14274 * string/strcoll_l.c (coll_seq): New members rule, idx,
14275 save_idx and back_us.
14276 (get_next_seq_nocache): New function.
14277 (do_compare_nocache): New function.
14278 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14281 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14284 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14285 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14286 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14289 * elf/Makefile (tests): Add tst-ptrguard1.
14290 (tests-static): Add tst-ptrguard1-static.
14291 (tst-ptrguard1-ARGS): Define.
14292 (tst-ptrguard1-static-ARGS): Define.
14293 * elf/tst-ptrguard1.c: New file.
14294 * elf/tst-ptrguard1-static.c: New file.
14295 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14296 * sysdeps/i386/stackguard-macros.h: Likewise.
14297 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14298 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14299 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14300 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14301 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14302 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14304 2013-09-23 Hector Marco <hecmargi@upv.es>
14305 Ismael Ripoll <iripoll@disca.upv.es>
14306 Carlos O'Donell <carlos@redhat.com>
14309 * sysdeps/generic/stackguard-macros.h: Define
14310 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14311 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14312 Define __pointer_chk_guard_local.
14313 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14314 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14316 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14319 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14321 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14323 * include/string.h (__ffs): Declare as hidden.
14324 * string/ffs.c (__ffs): Define as hidden.
14325 * sysdeps/i386/ffs.c (__ffs): Likewise.
14326 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14327 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14328 * sysdeps/s390/ffs.c (__ffs): Likewise.
14329 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14331 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14333 * NEWS: Mention malloc probes.
14335 * malloc/arena.c (new_heap): New memory_heap_new probe.
14336 (grow_heap): New memory_heap_more probe.
14337 (shrink_heap): New memory_heap_less probe.
14338 (heap_trim): New memory_heap_free probe.
14339 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14340 (systrim): New memory_sbrk_less probe.
14341 * manual/probes.texi: Document them.
14343 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14344 * manual/probes.texi: Document it.
14346 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14347 (__libc_realloc): Add memory_realloc_retry probe.
14348 (__libc_memalign): Add memory_memalign_retry probe.
14349 (__libc_valloc): Add memory_valloc_retry probe.
14350 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14351 (__libc_calloc): Add memory_calloc_retry probe.
14352 * manual/probes.texi: Document them.
14354 * malloc/arena.c (get_free_list): Add probe
14355 memory_arena_reuse_free_list.
14356 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14357 and memory_arena_reuse.
14358 (arena_get2) [!PER_THREAD]: Likewise.
14359 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14360 memory_arena_reuse_realloc.
14361 * manual/probes.texi: Document them.
14363 * malloc/malloc.c (__libc_free): Add
14364 memory_mallopt_free_dyn_thresholds probe.
14365 (__libc_mallopt): Add multiple memory_mallopt probes.
14366 * manual/probes.texi: Document them.
14368 * malloc/malloc.c: Include stap-probe.h.
14369 (__libc_mallopt): Add memory_mallopt probe.
14370 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14371 * manual/probes.texi: New.
14372 * manual/Makefile (chapters): Add probes.
14373 * manual/threads.texi: Set next node.
14375 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14377 [BZ #15963, #13985]
14378 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14379 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14380 Add `Chinese' to `nan' entry name.
14382 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14384 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14385 (POLYNOMIAL): Likewise.
14386 (TAYLOR_SINCOS): Likewise.
14387 (TAYLOR_SLOW): Likewise.
14388 (__sin): Use TAYLOR_SINCOS.
14390 (slow): Use TAYLOR_SLOW.
14392 (bsloww): Likewise.
14393 (csloww): Likewise.
14395 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14397 * stdlib/strtod_l.c: Fix buffer overrun.
14399 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14401 * benchtests/Makefile (bench): Add sincos.
14402 * benchtests/bench-sincos.c: New file.
14404 * math/libm-test.inc (cos_test_data): New test inputs.
14405 (sin_test_data): Likewise.
14407 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14413 (sloww1): Likewise.
14414 (sloww2): Likewise.
14415 (bsloww1): Likewise.
14416 (bsloww2): Likewise.
14417 (cslow2): Likewise.
14418 (csloww1): Likewise.
14419 (csloww2): Likewise.
14421 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14430 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14432 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14433 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14434 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14435 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14436 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14437 * elf/cache.c (print_entry): Handle the new cache flags.
14439 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14440 Aldy Hernandez <aldyh@redhat.com>
14442 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14443 Change condition to [_SOFT_FLOAT].
14444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14456 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14459 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14462 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14464 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14465 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14466 (__longjmp): Use LOAD_GP to load saved GPRs.
14467 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14468 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14469 (__sigsetjmp): Use SAVE_GP to save GPRs.
14471 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14472 Do not append -msoft-float.
14473 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14475 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14477 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14479 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14482 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14483 (_FPU_GETCW): Use initial "__" on variable and field names but not
14484 on macro parameter name.
14485 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14486 parentheses around reference to macro parameter.
14488 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14490 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14492 (ctype_startup): Use uint32_t in cast and sizeof for
14495 2013-09-11 Jia Liu <proljc@gmail.com>
14497 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14499 [__FreeBSD__]: Likewise.
14501 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14504 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14505 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14506 (strchr): Remove __strchr_sse42 ifunc selection.
14507 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14508 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14510 2013-09-11 Will Newton <will.newton@linaro.org>
14512 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14513 parameter to RES. Remove hardcoded 1000 value.
14514 * benchtests/bench-skeleton.c (main): Pass RES parameter
14515 to TIMING_INIT and multiply result by 1000.
14517 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14521 2013-09-11 Andreas Schwab <schwab@suse.de>
14523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14525 (O_TMPFILE) [__USE_GNU]: Define.
14526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14529 2013-09-11 Will Newton <will.newton@linaro.org>
14532 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14535 2013-09-11 Will Newton <will.newton@linaro.org>
14538 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14541 2013-09-11 Will Newton <will.newton@linaro.org>
14544 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14547 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14549 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14555 2013-09-10 Allan McRae <allan@archlinux.org>
14558 * manual/arith.texi (Parsing of Floats): Clarify
14562 * manual/install.texi (Running make install): Mention
14564 * INSTALL: Regenerated.
14566 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14568 * csu/init-first.c (_init): Remove the !SHARED condition around
14569 FPU control word initialization.
14570 * elf/dl-support.c (_dl_fpu_control): New variable.
14571 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14572 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14573 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14574 * math/test-fpucw-static.c: New file.
14575 * math/test-fpucw-ieee.c: New file.
14576 * math/test-fpucw-ieee-static.c: New file.
14577 * math/Makefile (tests): Add `test-fpucw-ieee' and
14579 (tests-static): New variable.
14580 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14582 [($(build-shared),yes)]
14583 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14585 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14588 2013-09-09 Allan McRae <allan@archlinux.org>
14591 * manual/string.texi (Collation Functions): Fix typo in
14593 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14596 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14599 * libio/memstream.c (open_memstream): Fix memory leak.
14600 * libio/wmemstream.c (open_wmemstream): Likewise.
14603 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14605 2013-09-09 Will Newton <will.newton@linaro.org>
14607 * malloc/Makefile: Add tst-realloc to tests.
14608 * malloc/tst-realloc.c: New file.
14610 2013-09-09 Allan McRae <allan@archlinux.org>
14613 * COPYING: Update from GNU website to fix FSF address.
14614 * COPYING.LIB: Likewise.
14616 2013-09-06 David S. Miller <davem@davemloft.net>
14618 * po/zh_TW.po: Update Chinese (traditional) translation from
14619 translation project.
14621 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14622 Joseph Myers <joseph@codesourcery.com>
14624 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14626 (obstack_chunk_alloc): New macro.
14627 (obstack_chunk_free): Likewise.
14628 (record_offset): New function.
14629 (init_locale_data): Likewise.
14630 (align_locale_data): Likewise.
14631 (add_locale_empty): Likewise.
14632 (add_locale_raw_data): Likewise.
14633 (add_locale_raw_obstack): Likewise.
14634 (add_locale_string): Likewise.
14635 (add_locale_wstring): Likewise.
14636 (add_locale_uint32): Likewise.
14637 (add_locale_uint32_array): Likewise.
14638 (add_locale_char): Likewise.
14639 (start_locale_structure): Likewise.
14640 (end_locale_structure): Likewise.
14641 (start_locale_prelude): Likewise.
14642 (end_locale_prelude): Likewise.
14643 (write_locale_data): Take locale_file structure rather than an
14645 * locale/programs/locfile.h: Include "obstack.h".
14646 (struct locale_file): Change to store locale file contents instead
14648 (init_locale_data): New prototype.
14649 (align_locale_data): Likewise.
14650 (add_locale_empty): Likewise.
14651 (add_locale_raw_data): Likewise.
14652 (add_locale_raw_obstack): Likewise.
14653 (add_locale_string): Likewise.
14654 (add_locale_wstring): Likewise.
14655 (add_locale_uint32): Likewise.
14656 (add_locale_uint32_array): Likewise.
14657 (add_locale_char): Likewise.
14658 (start_locale_structure): Likewise.
14659 (end_locale_structure): Likewise.
14660 (start_locale_prelude): Likewise.
14661 (end_locale_prelude): Likewise.
14662 (write_locale_data): Update prototype.
14663 * locale/programs/3level.h (struct TABLE): Remove result field.
14664 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14665 Use new locale_file interface.
14666 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14667 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14668 * locale/programs/ld-address.c (address_output): Use new
14669 locale_file interface.
14670 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14672 (collate_finish): Don't call collseq_table_finalize.
14673 (collate_output): Use new locale_file interface.
14674 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14676 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14677 (TABLE): Move defines earlier in file.
14678 (ELEMENT): Likewise.
14679 (DEFAULT): Likewise.
14680 (wctrans_table_add): Move macro and inline function earlier in
14682 (struct wctype_table): Move type earlier in file.
14683 (add_locale_wctype_table): New static prototype.
14684 (struct locale_ctype_t): Use logical types instead of struct iovec
14685 pointers for members.
14686 (ctype_output): Use new locale_file interface.
14687 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14688 new locale_file interface.
14689 (allocate_arrays): Update for use of new locale_file interface.
14690 * locale/programs/ld-identification.c (identification_output): Use
14691 new locale_file interface.
14692 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14693 * locale/programs/ld-messages.c (messages_output): Likewise.
14694 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14695 * locale/programs/ld-name.c (name_output): Likewise.
14696 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14697 * locale/programs/ld-paper.c (paper_output): Likewise.
14698 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14699 * locale/programs/ld-time.c (time_output): Likewise.
14701 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14703 * benchtests/Makefile: Add memrchr benchmark.
14704 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14705 benchmark as memrchr.
14706 * benchtests/bench-memrchr-ifunc.c: New file.
14707 * benchtests/bench-memrchr.c: New file.
14709 2013-09-06 Will Newton <will.newton@linaro.org>
14711 * benchtests/Makefile (string-bench): Add memcpy.
14713 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14714 Cong Wang <amwang@redhat.com>
14717 * sysdeps/unix/sysv/linux/bits/in.h
14718 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14719 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14720 before __USE_KERNEL_IPV6_DEFS uses.
14721 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14723 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14724 sockaddr_in6, or ipv6_mreq.
14726 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14728 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14729 memory access for final bytes in some large inputs.
14730 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14732 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734 * string/test-memrchr.c: New file.
14735 * string/test-memrchr-ifunc.c: New file.
14736 * string/Makefile: Add new memrchr testcase.
14738 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14740 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14741 fanotify_init returns EPERM.
14743 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14745 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14747 (top level): Treat second token from macro or constant entries for
14748 allowed headers as allowed.
14749 * include/complex.h: Condition internal declarations on
14751 * include/fenv.h: Condition include of <stdbool.h> and internal
14752 declarations on [!_ISOMAC].
14754 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14757 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14759 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14761 * configure.in (--enable-versioning): Remove configure option.
14762 (libc_cv_asm_symver_directive): Remove configure test.
14763 (libc_cv_ld_version_script_option): Likewise.
14764 (VERSIONING): Remove variable and AC_SUBST.
14765 (DO_VERSIONING): Remove AC_DEFINE.
14766 * configure: Regenerated.
14767 * config.h.in (DO_VERSIONING): Remove macro.
14768 * Makerules [$(versioning) = yes]: Change conditionals to
14769 [$(build-shared) = yes].
14770 * config.make.in (versioning): Remove variable.
14771 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14772 [$(build-shared) = yes].
14773 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14774 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14775 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14776 [$(build-shared) = yes].
14777 * extra-lib.mk [$(versioning) = yes]: Likewise.
14778 * hurd/Makefile [$(versioning) = yes]: Likewise.
14779 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14781 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14783 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14784 [SHARED && !NO_HIDDEN].
14785 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14787 [SHARED && DO_VERSIONING]: Likewise..
14788 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14789 [$(build-shared) = yes].
14790 * manual/install.texi (--disable-versioning): Remove
14792 * INSTALL: Regenerated.
14793 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14795 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14796 [$(build-shared) = yes].
14797 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14798 * sysdeps/i386/i686/multiarch/strstr-c.c
14799 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14800 [SHARED && !NO_HIDDEN].
14801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14802 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14803 * sysdeps/powerpc/powerpc32/dl-machine.c
14804 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14805 * sysdeps/powerpc/powerpc32/sysdep.h
14806 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14807 to [SHARED && PIC && !NO_HIDDEN].
14808 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14809 conditional to [SHARED].
14811 2013-09-04 Will Newton <will.newton@linaro.org>
14813 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14814 * benchtests/bench-string.h: Include bench-timing.h instead
14815 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14816 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14817 call to HP_TIMING_DIFF_INIT.
14818 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14819 instead of hp-timing.h macros.
14820 * benchtests/bench-memchr.c: Likewise.
14821 * benchtests/bench-memcmp.c: Likewise.
14822 * benchtests/bench-memcpy.c: Likewise.
14823 * benchtests/bench-memmem.c: Likewise.
14824 * benchtests/bench-memmove.c: Likewise.
14825 * benchtests/bench-memset.c: Likewise.
14826 * benchtests/bench-rawmemchr.c: Likewise.
14827 * benchtests/bench-strcasecmp.c: Likewise.
14828 * benchtests/bench-strcasestr.c: Likewise.
14829 * benchtests/bench-strcat.c: Likewise.
14830 * benchtests/bench-strchr.c: Likewise.
14831 * benchtests/bench-strcmp.c: Likewise.
14832 * benchtests/bench-strcpy.c: Likewise.
14833 * benchtests/bench-strcpy_chk.c: Likewise.
14834 * benchtests/bench-strlen.c: Likewise.
14835 * benchtests/bench-strncasecmp.c: Likewise.
14836 * benchtests/bench-strncat.c: Likewise.
14837 * benchtests/bench-strncmp.c: Likewise.
14838 * benchtests/bench-strncpy.c: Likewise.
14839 * benchtests/bench-strnlen.c: Likewise.
14840 * benchtests/bench-strpbrk.c: Likewise.
14841 * benchtests/bench-strrchr.c: Likewise.
14842 * benchtests/bench-strspn.c: Likewise.
14843 * benchtests/bench-strstr.c: Likewise.
14845 2013-09-04 Will Newton <will.newton@linaro.org>
14847 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14849 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14852 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14853 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14854 * math/libm-test.inc (lgamma_test_data): Add more tests.
14855 * sysdeps/i386/fpu/libm-test-ulps: Update.
14856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14858 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14860 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14864 Add strcmp-sse2-unaligned
14865 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14867 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14869 * Versions.def (libc): Add GLIBC_2.19.
14871 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14873 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14874 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14876 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14879 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14880 intermediate calculations in recurrence.
14881 (__ieee754_ynf): Likewise.
14882 * math/libm-test.inc (jn_test_data): Do not allow spurious
14883 underflow exception. Add more tests.
14884 (yn_test_data): Add more tests.
14885 * sysdeps/i386/fpu/libm-test-ulps: Update.
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14888 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14892 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14894 * csu/init-first.c: Fix then/than typos.
14895 * locale/programs/ld-collate.c: Likewise.
14896 * locale/programs/linereader.h: Likewise.
14897 * manual/charset.texi: Likewise.
14898 * manual/filesys.texi: Likewise.
14899 * manual/stdio.texi: Likewise.
14900 * manual/string.texi: Likewise.
14901 * stdlib/fmtmsg.c: Likewise.
14902 * sysdeps/i386/stpncpy.S: Likewise.
14903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14905 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14906 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14908 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14910 * elf/dl-open.c: Fix typos.
14911 * iconvdata/gbbig5.c: Likewise.
14912 * iconvdata/iso-2022-jp.c: Likewise.
14913 * iconv/gconv_int.h: Likewise.
14914 * iconv/loop.c: Likewise.
14915 * nis/rpcsvc/nis.h: Likewise.
14916 * resolv/ns_name.c: Likewise.
14917 * stdio-common/vfscanf.c: Likewise.
14918 * streams/stropts.h: Likewise.
14919 * sunrpc/rpc_thread.c: Likewise.
14920 * sysdeps/i386/strpbrk.S: Likewise.
14921 * sysdeps/ieee754/k_standard.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14924 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14925 * sysdeps/mach/hurd/profil.c: Likewise.
14926 * sysdeps/s390/dl-procinfo.h: Likewise.
14927 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14928 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14929 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14930 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14933 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14935 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14938 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14940 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14941 aix specific files.
14942 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14944 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14946 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14949 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14951 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14952 Roland McGrath <roland@hack.frob.com>
14954 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14955 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14957 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14959 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14960 __executable_start symbol instead of _start.
14962 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14964 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14965 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14967 * sysdeps/gnu/ldsodefs.h: ... this new file.
14969 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14970 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14971 instead of ELFOSABI_LINUX.
14973 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14974 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14975 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14976 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14978 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14979 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14982 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14983 (ibm_extended_long_double): Add ieee_nan member.
14984 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14985 (do_test): New function.
14987 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14989 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14990 functions, renamed from truncdfsf_test, trunctfsf_test,
14992 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14994 (do_test): Run all these.
14996 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14998 * argp/argp-help.c: Fix typos.
14999 * argp/argp-parse.c: Likewise.
15000 * debug/backtracesyms.c: Likewise.
15001 * elf/elf.h: Likewise.
15002 * malloc/malloc.c: Likewise.
15003 * nis/nis_print.c: Likewise.
15004 * resolv/res_comp.c: Likewise.
15005 * stdlib/stdlib.h: Likewise.
15006 * sunrpc/clnt_tcp.c: Likewise.
15007 * sunrpc/clnt_udp.c: Likewise.
15008 * sunrpc/clnt_unix.c: Likewise.
15009 * sysdeps/unix/bsd/ptsname.c: Likewise.
15010 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15011 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15018 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15020 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15022 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15025 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15028 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15029 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15030 ($(objpfx)bug-dl-leaf): New rule.
15031 ($(objpfx)bug-dl-leaf.so): Likewise.
15032 ($(objpfx)bug-dl-leaf.out): Likewise.
15033 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15034 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15035 * dlfcn/bug-dl-leaf.c: New test.
15036 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15037 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15038 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15039 (dlclose): Likewise.
15040 (dlmopen): Likewise.
15042 2013-08-27 Roland McGrath <roland@hack.frob.com>
15044 * include/netdb.h [!_ISOMAC]:
15045 Don't include <tls.h>.
15046 (h_errno, __libc_h_errno): Move declaration and macros out of
15049 * include/resolv.h [_RESOLV_H_]:
15050 Don't include <tls.h>.
15051 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15052 * resolv/res_libc.c: Don't include <tls.h>.
15053 (_res): Use __attribute__ ((nocommon)) in place of
15054 __attribute__ ((section (".bss"))).
15056 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15057 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15059 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15061 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15062 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15064 * resolv/res_mkquery.c: Include <sys/time.h>.
15066 * inet/ifreq.c: Moved to ...
15067 * sysdeps/unix/ifreq.c: ... here.
15068 * inet/ifreq.c: New file, true stub version.
15070 * socket/sa_len.c: New file.
15071 * socket/Makefile (aux): Add it.
15072 * sysdeps/unix/sysv/linux/Makefile
15073 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15074 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15075 and #include <socket/sa_len.c>.
15076 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15077 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15079 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15080 * bits/socket.h: ... here.
15082 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15083 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15084 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15086 2013-08-27 Andreas Schwab <schwab@suse.de>
15089 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15090 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15091 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15092 * string/test-strcasecmp.c (test_main): Run tests in several
15094 * string/test-strncasecmp.c (test_main): Likewise.
15096 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15097 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15098 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15100 (__strncasecmp_ssse3) [PIC]: Likewise.
15102 2013-08-26 Roland McGrath <roland@hack.frob.com>
15104 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15106 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15107 instead of explicitly declaring xdecrypt.
15108 * nis/nss_nis/nis-publickey.c: Likewise.
15110 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15113 * nscd/aicache.c: Include res_hconf.h.
15114 (addhstaiX): Initialize res_hconf.
15116 2013-08-26 Andreas Schwab <schwab@suse.de>
15118 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15119 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15121 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15123 * nscd/aicache.c (addhstaiX): Fix indentation.
15125 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15127 * configure.ac: Quote $build_pt_chown test.
15128 * configure: Regenerated.
15130 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15133 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15134 * math/s_cexpf.c (__cexpf): Likewise.
15135 * math/s_cexpl.c (__cexpl): Likewise.
15136 * math/libm-test.inc (cexp_test_data): Correct expected return
15137 value for NaN + i0. Add another test.
15139 2013-08-22 David S. Miller <davem@davemloft.net>
15141 * po/ca.po: Update Catalan translation from translation project.
15142 * po/uk.po: Add Ukrainian translations from translation project.
15144 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15147 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15148 is infinite, not alongside NaN test.
15149 * math/s_fdimf.c (__fdimf): Likewise.
15150 * math/s_fdiml.c (__fdiml): Likewise.
15151 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15152 errno is unchanged.
15154 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15156 * argp/argp-help.c: Fix typos.
15157 * crypt/speeds.c: Likewise.
15158 * csu/check_fds.c: Likewise.
15159 * elf/dl-load.c: Likewise.
15160 * elf/dl-open.c: Likewise.
15161 * elf/reldep3.c: Likewise.
15162 * elf/reldep.c: Likewise.
15163 * elf/sprof.c: Likewise.
15164 * iconv/iconv_charmap.c: Likewise.
15165 * iconv/skeleton.c: Likewise.
15166 * iconv/strtab.c: Likewise.
15167 * io/lockf64.c: Likewise.
15168 * libio/libioP.h: Likewise.
15169 * resolv/gai_notify.c: Likewise.
15170 * resolv/ns_name.c: Likewise.
15171 * resolv/ns_samedomain.c: Likewise.
15172 * resolv/res_send.c: Likewise.
15173 * stdlib/random.c: Likewise.
15174 * sunrpc/rpc/xdr.h: Likewise.
15175 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15176 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15177 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15178 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15183 * sysdeps/mach/hurd/check_fds.c: Likewise.
15184 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15185 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15186 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15187 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15188 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15189 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15190 * sysdeps/pthread/aio_notify.c: Likewise.
15191 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15192 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15193 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15194 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15195 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15197 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15199 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15200 version if bit_Slow_SSE4_2 is set.
15201 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15202 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15204 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15207 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15208 trampoline stack frame information.
15209 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15211 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15212 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15213 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15214 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15215 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15216 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15218 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15219 interrupting a syscall and set with option SA_SIGINFO.
15221 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15224 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15225 argument is infinite.
15226 * math/s_cprojf.c (__cprojf): Likewise.
15227 * math/s_cprojl.c (__cprojl): Likewise.
15228 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15229 * math/libm-test.inc (cproj_test_data): Add more tests.
15231 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15233 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15234 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15235 size. Use __ffs to determine corresponding shift.
15237 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15238 Roland McGrath <roland@hack.frob.com>
15240 * Makefile (INSTALL): Remove trailing blank lines from output of
15243 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15245 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15246 Align 32 bit compat elf_greg to 8 bytes.
15248 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15250 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15252 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15254 * string/strcoll_l.c (coll_seq): New structure.
15255 (get_next_seq_cached): New function.
15256 (get_next_seq): New function.
15257 (do_compare): New function.
15258 (STRCOLL): Use GNU style definition. Simplify implementation
15259 by using get_next_seq, get_next_seq_cached and do_compare.
15261 2013-08-16 Florian Weimer <fweimer@redhat.com>
15265 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15267 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15269 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15270 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15271 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15273 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15274 GETDENTS_64BIT_ALIGNED.
15275 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15276 * manual/filesys.texi (Reading/Closing Directory): Document
15277 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15279 * manual/conf.texi (Limits for Files): Add portability note to
15280 NAME_MAX, PATH_MAX.
15281 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15283 2013-08-13 Andreas Schwab <schwab@suse.de>
15286 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15288 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15289 LDBL_MAX_EXP >= 16384]: Add tests for it.
15291 2013-08-12 David S. Miller <davem@davemloft.net>
15293 * version.h (RELEASE): Set to "development".
15294 (VERSION): Set to "2.18.90".
15295 * NEWS: Add 2.19 section.
15297 2013-08-03 David S. Miller <davem@davemloft.net>
15299 * po/ko.po: Update Korean translation from translation project.
15301 2013-08-01 David S. Miller <davem@davemloft.net>
15303 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15304 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15307 2013-07-30 David S. Miller <davem@davemloft.net>
15309 * po/fr.po: Update French translation from translation project.
15311 2013-07-28 David S. Miller <davem@davemloft.net>
15313 * po/cs.po: Update Czech translation from translation project.
15315 * po/sv.po: Update Swedish translation from translation project.
15317 2013-07-27 David S. Miller <davem@davemloft.net>
15319 * po/eo.po: Update Esperanto translation from translation project.
15321 * po/vi.po: Update Vietnamese translation from translation project.
15323 * po/de.po: Update German translation from translation project.
15325 2013-07-26 David S. Miller <davem@davemloft.net>
15327 * po/bg.po: Update Bulgarian translation from translation project.
15329 * po/nl.po: Update Dutch translation from translation project.
15330 * po/pl.po: Update Polish translation from translation project.
15331 * po/ru.po: Update Russian translation from translation project.
15333 2013-07-24 David S. Miller <davem@davemloft.net>
15335 * po/libc.pot: Update.
15337 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15339 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15340 variable page size.
15341 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15343 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15345 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15347 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15349 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15350 Andreas Schwab <schwab@suse.de>
15351 Roland McGrath <roland@hack.frob.com>
15352 Joseph Myers <joseph@codesourcery.com>
15353 Carlos O'Donell <carlos@redhat.com>
15356 * config.h.in: Define HAVE_PT_CHOWN.
15357 * config.make.in (build-pt-chown): New variable.
15358 * configure.in (--enable-pt_chown): New configure option.
15359 * configure: Regenerate.
15360 * login/Makefile: Include Makeconfig. Build pt_chown only if
15361 build-pt-chown is enabled.
15362 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15363 pt_chown to fix pty ownership.
15364 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15366 * manual/install.texi (Configuring and compiling): Mention
15367 --enable-pt_chown. Add @findex for grantpt.
15368 * INSTALL: Regenerate.
15370 2013-07-20 David S. Miller <davem@davemloft.net>
15372 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15373 difference between 32-bit and 64-bit.
15375 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15378 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15379 Avoid system header dependency with -ffreestanding.
15380 ($(objpfx)bits/syscall%d): Likewise.
15382 2013-07-13 David S. Miller <davem@davemloft.net>
15384 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15385 underflows from atanl/atan2l due to bug 15319.
15386 (casinh_test_data): Likewise.
15388 2013-07-07 David S. Miller <davem@davemloft.net>
15390 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15392 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15394 * sysdeps/i386/fpu/libm-test-ulps: Update.
15395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15397 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15399 * configure.in (--enable-lock-elision): Fix message text.
15400 * INSTALL: Regenerate.
15401 * configure: Regenerate.
15403 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15407 2013-07-03 Andreas Jaeger <aj@suse.de>
15409 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15411 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15412 (ptrace_peeksiginfo_args): Add.
15413 (__ptrace_peeksiginfo_flags): Add.
15414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15418 2013-07-03 Allan McRae <allan@archlinux.org>
15420 * sysdeps/i386/fpu/libm-test-ulps: Update.
15422 2013-07-02 David S. Miller <davem@davemloft.net>
15424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15426 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15430 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15432 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435 2013-07-02 Andi Kleen <ak@linux.intel.com>
15437 * config.h.in (ENABLE_LOCK_ELISION): Add.
15438 * configure.in (--enable-lock-elision): Add option.
15439 * manual/install.texi: Document --enable lock elision.
15440 * configure: Regenerate
15441 * INSTALL: Regenerate.
15443 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15445 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15446 SSE4.2 strcasecmp for libc.a.
15447 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15449 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15452 * soft-fp/op-common.h (_FP_FMA): New macro.
15453 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15454 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15455 (_FP_MUL_MEAT_1_imm): ... here.
15456 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15457 (_FP_MUL_MEAT_1_wide): ... here.
15458 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15459 (_FP_MUL_MEAT_1_hard): ... here.
15460 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15461 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15462 (_FP_MUL_MEAT_2_wide): ... here.
15463 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15464 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15465 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15466 (_FP_MUL_MEAT_2_gmp): ... here.
15467 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15468 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15469 (_FP_MUL_MEAT_4_wide): ... here.
15470 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15471 (_FP_MUL_MEAT_4_gmp): ... here.
15472 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15473 (_FP_WFRACBITS_DW_S): Likewise.
15474 (_FP_WFRACXBITS_DW_S): Likewise.
15475 (_FP_HIGHBIT_DW_S): Likewise.
15476 (FP_FMA_S): Likewise.
15477 (_FP_FRAC_HIGH_DW_S): Likewise.
15478 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15479 (_FP_WFRACBITS_DW_D): Likewise.
15480 (_FP_WFRACXBITS_DW_D): Likewise.
15481 (_FP_HIGHBIT_DW_D): Likewise.
15482 (FP_FMA_D): Likewise.
15483 (_FP_FRAC_HIGH_DW_D): Likewise.
15484 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15485 (_FP_WFRACBITS_DW_E): Likewise.
15486 (_FP_WFRACXBITS_DW_E): Likewise.
15487 (_FP_HIGHBIT_DW_E): Likewise.
15488 (FP_FMA_E): Likewise.
15489 (_FP_FRAC_HIGH_DW_E): Likewise.
15490 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15491 (_FP_WFRACBITS_DW_Q): Likewise.
15492 (_FP_WFRACXBITS_DW_Q): Likewise.
15493 (_FP_HIGHBIT_DW_Q): Likewise.
15494 (FP_FMA_Q): Likewise.
15495 (_FP_FRAC_HIGH_DW_Q): Likewise.
15496 * soft-fp/fmasf4.c: New file.
15497 * soft-fp/fmadf4.c: Likewise.
15498 * soft-fp/fmatf4.c: Likewise.
15500 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15503 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15507 (index_Slow_SSE4_2): Likewise.
15508 (index_Prefer_PMINUB_for_stringop): Likewise.
15509 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15510 bit_Slow_SSE4_2 is set.
15511 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15512 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15514 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15516 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15517 rtld_global._dl_hwcap2.
15518 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15520 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15521 POWER8 feature descriptions defined in _dl_hwcap2.
15522 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15523 string handling for POWER8 feature bits.
15524 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15525 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15526 _dl_powerpc_cap_flags.
15527 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15528 * sysdeps/powerpc/rtld-global-offsets.sym
15529 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15530 _dl_hwcap2 in the rtld_global_ro structure.
15532 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15534 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15535 hardware capabilities in support of AT_HWCAP2.
15536 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15537 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15539 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15540 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15541 explicitly the unknown a_type display mechanism is used.
15542 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15543 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15545 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15546 to macro prototype for AT_HWCAP2 support.
15547 * sysdeps/i386/dl-procinfo.h: Likewise.
15548 * sysdeps/s390/dl-procinfo.h: Likewise.
15549 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15550 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15551 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15552 return -1 for unknown a_type display fallback.
15553 * sysdeps/sparc/dl-procinfo.h: Likewise.
15554 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15555 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15557 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15559 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15560 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15562 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15565 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15566 mprotect making __stack_prot writable.
15568 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15569 Joseph Myers <joseph@codesourcery.com>
15571 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15572 as being properly aligned.
15574 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15576 * dlfcn/modstatic5.c: New file.
15577 * dlfcn/tststatic5.c: New file.
15578 * dlfcn/Makefile (tests): Add tststatic5.
15579 (tests-static): Likewise.
15580 (modules-names): Add modstatic5.
15581 (tststatic5-ENV): New variable.
15582 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15585 * elf/dl-support.c (_dl_main_map): New variable.
15586 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15587 (_dl_nns, _dl_load_adds): Set to 1.
15588 (_dl_initial_searchlist): Refer to _dl_main_map.
15589 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15590 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15591 call to _dl_get_origin.
15592 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15594 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15595 * dlfcn/modstatic3.c: New file.
15596 * dlfcn/tststatic3.c: New file.
15597 * dlfcn/tststatic4.c: New file.
15598 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15599 (tests-static): Likewise.
15600 (modules-names): Add modstatic3.
15601 (tststatic3-ENV, tststatic4-ENV): New variables.
15602 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15603 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15605 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15607 * configure.in (CC): Require GCC version 4.4 or later.
15608 * configure: Regenerated.
15609 * manual/install.texi (Tools for Compilation): Update GCC version
15611 * INSTALL: Regenerated.
15613 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15616 * string/test-memcmp.c (check2): New.
15617 (main): Call check2.
15619 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15621 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15624 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15626 (dl_open_worker) [!SHARED]: ... here.
15628 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15630 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15632 2013-06-25 Richard Henderson <rth@redhat.com>
15634 * locale/programs/locarchive.c: Include <libc-internal.h>
15636 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15638 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15639 trailing whitespace removed.
15641 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15644 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15645 * locale/programs/locarchive.c: Include libc-mmap.h.
15646 (prepare_address_space): Take two new outputs (the mmap base and len).
15647 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15649 (create_archive): Declare new mmap base and len values for
15650 prepare_address_space, and store the result in ah.
15651 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15652 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15653 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15654 Declare new mmap base and len values for
15655 prepare_address_space, and store the result in new_ah.
15656 (open_archive): Declare new mmap base and len values for
15657 prepare_address_space, and store the result in ah.
15658 (close_archive): If ah->mmap_base is not NULL, use that and
15659 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15660 * sysdeps/generic/libc-mmap.h: New file.
15662 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15664 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15665 (ALIGN_UP): Likewise.
15666 (PTR_ALIGN_DOWN): Likewise.
15667 (PTR_ALIGN_UP): Likewise.
15669 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15671 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15672 entry mapped to PPC_PLATFORM_POWER8.
15673 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15675 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15676 (_dl_string_platform): Add case for exporting platform position for
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15679 search path to sysdeps/powerpc/powerpc32/power8 directory.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15681 search path to sysdeps/powerpc/powerpc64/power8 directory.
15682 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15683 power7 directories.
15684 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15685 power7 directories.
15687 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15689 * INSTALL: Regenerate.
15691 * nscd/connections.c (nscd_init): Fix comment.
15693 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15695 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15698 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15699 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15701 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15703 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15705 (DL_DST_REQ_STATIC): Remove macro.
15707 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15710 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15711 with a shift of 0 bits.
15713 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15715 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15718 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15721 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15723 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15725 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15726 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15727 accepts -fno-tree-loop-distribute-patterns.
15728 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15729 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15731 * string/memset.c (memset): Likewise.
15732 * string/test-memmove.c (simple_memmove): Disable loop transformation
15734 * string/test-memset.c (simple_memset): Likewise.
15735 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15736 * benchtests/bench-memset.c (simple_memset): Likewise.
15737 * configure: Regenerated.
15739 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15741 * math/test-misc.c (main): Ignore fesetround failure when failures
15742 of subsequent rounding tests would be ignored.
15745 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15746 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15747 * math/fegetenv.c (__fegetenv): Return 0.
15748 * math/fegetexcept.c (fegetexcept): Return 0.
15749 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15751 * math/feholdexcpt.c (feholdexcept): Return 0.
15752 * math/fesetenv.c (__fesetenv): Return 0.
15753 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15754 argument FE_TONEAREST.
15755 * math/feupdateenv.c (__feupdateenv): Return 0.
15756 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15758 2013-06-18 Roland McGrath <roland@hack.frob.com>
15760 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15761 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15762 ($(objpfx)rtld-%.os rules): Use them.
15764 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15766 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15769 2013-06-17 Roland McGrath <roland@hack.frob.com>
15771 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15772 length of target pattern, then descending length of dependency pattern.
15773 * configure.in (AWK): Require gawk 3.1.2 or newer.
15774 * manual/install.texi (Tools for Compilation): Say that we do.
15775 * configure: Regenerated.
15777 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15778 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15779 * scripts/sysd-rules.awk: ... this new script.
15780 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15781 than a glob-style pattern.
15783 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15785 * math/test-misc.c (main): Do not treat incorrectly rounded
15786 conversions as failure unless ROUNDING_TESTS passes.
15788 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15791 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15792 restore exception state around main square root computation, then
15793 check for inexactness explicitly.
15795 * math/libm-test.inc (fma_test_data): Add another test.
15797 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15799 * manual/threads.texi (Non-POSIX Extensions): New document
15800 node. Document pthread_getattr_default_np and
15801 pthread_setattr_default_np.
15803 * Versions.def (libpthread): Add GLIBC_2.18.
15804 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15813 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15824 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15827 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15829 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15830 H.J. Lu <hjl.tools@gmail.com>
15833 * sysdeps/x86_64/rtld-memset.c: Remove file.
15834 * sysdeps/x86_64/rtld-memset.S: New file.
15836 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15838 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15839 (test_in_one_mode): Take arguments for whether the rounding mode
15840 is supported for each floating-point type.
15841 (do_test): Pass new arguments to test_in_one_mode using
15844 2013-06-13 Roland McGrath <roland@hack.frob.com>
15846 * posix/tst-waitid.c (do_test): Distinguish different instances of
15847 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15848 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15849 before entering the kernel for waitpid.
15851 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15853 * NEWS: Fix note on clock function precision. Text by Roland
15856 2013-06-13 Roland McGrath <roland@hack.frob.com>
15858 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15859 it into place only when and if the sanity check passes.
15861 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15863 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15864 output for whether conversion result is exact. Take argument
15865 indicating whether type is IBM long double.
15866 (round_for_all): Change need_exact field to ibm_ld.
15867 * stdlib/tst-strtod-round.c (struct exactness): New type.
15868 (struct test): Change bool ld_ok field to struct exactness exact.
15869 (TEST): Update all definitions for change to field.
15870 (tests): Regenerate array contents.
15871 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15872 field value. Check for IBM long double here.
15873 (do_test): Update calls to test_in_one_mode.
15875 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15878 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15879 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15881 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15884 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15885 generated by the compiler on loop optimizations.
15886 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15887 general definitions.
15889 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15891 * math/bug-nextafter.c: Include <math-tests.h>.
15892 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15894 * math/bug-nexttoward.c: Include <math-tests.h>.
15895 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15897 * math/test-misc.c: Include <math-tests.h>.
15898 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15901 2013-06-12 Andreas Jaeger <aj@suse.de>
15903 * po/ia.po: Update Interlingua translation from translation
15906 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15908 * include/fenv.h: Include stdbool.h.
15909 (struct rm_ctx): New structure.
15910 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15912 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15913 (SET_RESTORE_ROUNDF): Likewise.
15914 (SET_RESTORE_ROUNDL): Likewise.
15915 (SET_RESTORE_ROUND_NOEX): Likewise.
15916 (SET_RESTORE_ROUND_NOEXF): Likewise.
15917 (SET_RESTORE_ROUND_NOEXL): Likewise.
15918 (SET_RESTORE_ROUND_53BIT): Likewise.
15919 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15920 (libc_feresetround_noexf_ctx): Likewise.
15921 (libc_feresetround_noexl_ctx): Likewise.
15922 (libc_feholdsetround_53bit_ctx): Likewise.
15923 (libc_feresetround_53bit_ctx): Likewise.
15924 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15925 (libc_feholdexcept_setround_sse_ctx): New function.
15926 (libc_fesetenv_sse_ctx): Likewise.
15927 (libc_feupdateenv_sse_ctx): Likewise.
15928 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15929 (libc_feholdexcept_setround_387_ctx): Likewise.
15930 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15931 (libc_feholdsetround_387_prec_ctx): Likewise.
15932 (libc_feholdsetround_387_ctx): Likewise.
15933 (libc_feholdsetround_387_53bit_ctx): Likewise.
15934 (libc_feholdsetround_sse_ctx): Likewise.
15935 (libc_feresetround_sse_ctx): Likewise.
15936 (libc_feresetround_387_ctx): Likewise.
15937 (libc_feupdateenv_387_ctx): Likewise.
15938 (libc_feholdexcept_setroundf_ctx): Define macro.
15939 (libc_fesetenvf_ctx): Likewise.
15940 (libc_feupdateenvf_ctx): Likewise.
15941 (libc_feholdsetroundf_ctx): Likewise.
15942 (libc_feresetroundf_ctx): Likewise.
15943 (libc_feholdexcept_setround_ctx): Likewise.
15944 (libc_fesetenv_ctx): Likewise.
15945 (libc_feupdateenv_ctx): Likewise.
15946 (libc_feholdsetround_ctx): Likewise.
15947 (libc_feresetround_ctx): Likewise.
15948 (libc_feholdexcept_setroundl_ctx): Likewise.
15949 (libc_feupdateenvl_ctx): Likewise.
15950 (libc_feholdsetroundl_ctx): Likewise.
15951 (libc_feresetroundl_ctx): Likewise.
15952 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15953 (libc_feresetround_53bit_ctx): Likewise.
15955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15957 * locale/iso-639.def: Convert to UTF-8.
15959 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15961 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15962 (EXCEPTION_TESTS_double): Likewise.
15963 (EXCEPTION_TESTS_long_double): Likewise.
15964 (EXCEPTION_TESTS): Likewise.
15965 * math/libm-test.inc (test_exceptions): Only test exceptions if
15966 EXCEPTION_TESTS (FLOAT).
15968 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15970 * benchtests/Makefile (string-bench): Add strcpy_chk and
15972 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15973 * benchtests/bench-stpcpy_chk.c: New file.
15974 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15975 * benchtests/bench-strcpy_chk.c: New file.
15976 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15978 (do_test): Likewise.
15980 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15982 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15983 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15984 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15985 with tabs where appropriate.
15986 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15988 [PPC_PLATFORM_PPC440]: Likewise.
15989 [PPC_PLATFORM_PPC464]: Likewise.
15990 [PPC_PLATFORM_PPC476]: Likewise.
15991 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15992 ppc464, and ppc476 platform strings merging from ports/
15995 2013-06-11 Andreas Schwab <schwab@suse.de>
15998 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15999 (from_ucs4_idx): Regenerate.
16000 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16001 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16002 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16003 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16004 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16005 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16006 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16007 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16008 from FROM_LOOP and TO_LOOP specific macros.
16009 (BODY): Handle combining characters.
16010 * iconvdata/BIG5HKSCS.irreversible: Update.
16011 * iconvdata/BIG5HKSCS.precomposed: New file.
16012 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16014 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16016 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16018 * include/sys/time.h: Fix indentation and add copyright header.
16020 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16021 (do_test): Likewise.
16022 * string/test-memchr.c (do_one_test): Likewise.
16023 (do_test): Likewise.
16024 * string/test-memcmp.c (do_one_test): Likewise.
16025 (do_test): Likewise.
16026 * string/test-memcpy.c (do_one_test): Likewise.
16027 (do_test): Likewise.
16028 * string/test-memmem.c (do_one_test): Likewise.
16029 (do_test): Likewise.
16030 (do_random_tests): Likewise.
16031 * string/test-memmove.c (do_one_test): Likewise.
16032 (do_test): Likewise.
16033 * string/test-memset.c (do_one_test): Likewise.
16034 (do_test): Likewise.
16035 * string/test-rawmemchr.c (do_one_test): Likewise.
16036 (do_test): Likewise.
16037 * string/test-strcasecmp.c (do_one_test): Likewise.
16038 (do_test): Likewise.
16039 * string/test-strcasestr.c (do_one_test): Likewise.
16040 (do_test): Likewise.
16041 * string/test-strcat.c (do_one_test): Likewise.
16042 (do_test): Likewise.
16043 * string/test-strchr.c (do_one_test): Likewise.
16044 (do_test): Likewise.
16045 * string/test-strcmp.c (do_one_test): Likewise.
16046 (do_test): Likewise.
16047 * string/test-strcpy.c (do_one_test): Likewise.
16048 (do_test): Likewise.
16049 * string/test-string.h: Likewise.
16050 (test_init): Likewise.
16051 * string/test-strlen.c (do_one_test): Likewise.
16052 (do_test): Likewise.
16053 * string/test-strncasecmp.c (do_one_test): Likewise.
16054 (do_test): Likewise.
16055 * string/test-strncat.c (do_one_test): Likewise.
16056 (do_test): Likewise.
16057 * string/test-strncmp.c (do_one_test): Likewise.
16058 (do_test_limit): Likewise.
16059 (do_test): Likewise.
16060 * string/test-strncpy.c (do_one_test): Likewise.
16061 (do_test): Likewise.
16062 * string/test-strnlen.c (do_one_test): Likewise.
16063 (do_test): Likewise.
16064 * string/test-strpbrk.c (do_one_test): Likewise.
16065 (do_test): Likewise.
16066 * string/test-strrchr.c (do_one_test): Likewise.
16067 (do_test): Likewise.
16068 * string/test-strspn.c (do_one_test): Likewise.
16069 (do_test): Likewise.
16070 * string/test-strstr.c (do_one_test): Likewise.
16071 (do_test): Likewise.
16073 * benchtests/Makefile (string-bench): Add string benchmarks.
16074 * benchtests/bench-bcopy-ifunc.c: New file.
16075 * benchtests/bench-bcopy.c: New file.
16076 * benchtests/bench-bzero-ifunc.c: New file.
16077 * benchtests/bench-bzero.c: New file.
16078 * benchtests/bench-memccpy-ifunc.c: New file.
16079 * benchtests/bench-memccpy.c: New file.
16080 * benchtests/bench-memchr-ifunc.c: New file.
16081 * benchtests/bench-memchr.c: New file.
16082 * benchtests/bench-memcmp-ifunc.c: New file.
16083 * benchtests/bench-memcmp.c: New file.
16084 * benchtests/bench-memmem-ifunc.c: New file.
16085 * benchtests/bench-memmem.c: New file.
16086 * benchtests/bench-memmove-ifunc.c: New file.
16087 * benchtests/bench-memmove.c: New file.
16088 * benchtests/bench-mempcpy-ifunc.c: New file.
16089 * benchtests/bench-mempcpy.c: New file.
16090 * benchtests/bench-memset-ifunc.c: New file.
16091 * benchtests/bench-memset.c: New file.
16092 * benchtests/bench-rawmemchr-ifunc.c: New file.
16093 * benchtests/bench-rawmemchr.c: New file.
16094 * benchtests/bench-stpcpy-ifunc.c: New file.
16095 * benchtests/bench-stpcpy.c: New file.
16096 * benchtests/bench-stpncpy-ifunc.c: New file.
16097 * benchtests/bench-stpncpy.c: New file.
16098 * benchtests/bench-strcasecmp-ifunc.c: New file.
16099 * benchtests/bench-strcasecmp.c: New file.
16100 * benchtests/bench-strcasestr-ifunc.c: New file.
16101 * benchtests/bench-strcasestr.c: New file.
16102 * benchtests/bench-strcat-ifunc.c: New file.
16103 * benchtests/bench-strcat.c: New file.
16104 * benchtests/bench-strchr-ifunc.c: New file.
16105 * benchtests/bench-strchr.c: New file.
16106 * benchtests/bench-strchrnul-ifunc.c: New file.
16107 * benchtests/bench-strchrnul.c: New file.
16108 * benchtests/bench-strcmp-ifunc.c: New file.
16109 * benchtests/bench-strcmp.c: New file.
16110 * benchtests/bench-strcpy-ifunc.c: New file.
16111 * benchtests/bench-strcpy.c: New file.
16112 * benchtests/bench-strcspn-ifunc.c: New file.
16113 * benchtests/bench-strcspn.c: New file.
16114 * benchtests/bench-strlen-ifunc.c: New file.
16115 * benchtests/bench-strlen.c: New file.
16116 * benchtests/bench-strncasecmp-ifunc.c: New file.
16117 * benchtests/bench-strncasecmp.c: New file.
16118 * benchtests/bench-strncat-ifunc.c: New file.
16119 * benchtests/bench-strncat.c: New file.
16120 * benchtests/bench-strncmp-ifunc.c: New file.
16121 * benchtests/bench-strncmp.c: New file.
16122 * benchtests/bench-strncpy-ifunc.c: New file.
16123 * benchtests/bench-strncpy.c: New file.
16124 * benchtests/bench-strnlen-ifunc.c: New file.
16125 * benchtests/bench-strnlen.c: New file.
16126 * benchtests/bench-strpbrk-ifunc.c: New file.
16127 * benchtests/bench-strpbrk.c: New file.
16128 * benchtests/bench-strrchr-ifunc.c: New file.
16129 * benchtests/bench-strrchr.c: New file.
16130 * benchtests/bench-strspn-ifunc.c: New file.
16131 * benchtests/bench-strspn.c: New file.
16132 * benchtests/bench-strstr-ifunc.c: New file.
16133 * benchtests/bench-strstr.c: New file.
16135 * benchtests/Makefile: Disable parallel execution of targets.
16136 (string-bench): Add memcpy.
16137 (benchset): New variable to store a list of benchmark sets.
16138 (bench-func): Renamed from bench.
16139 (bench-set): New target.
16140 (bench): Depend on bench-func and bench-set.
16141 * benchtests/README: Add section on benchmark sets.
16142 * benchtests/bench-memcpy-ifunc.c: New file.
16143 * benchtests/bench-memcpy.c: New file.
16144 * benchtests/bench-string.h: New file.
16146 2013-06-11 Andreas Schwab <schwab@suse.de>
16149 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16150 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16151 values in the triple.
16152 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16153 terminator in the group key.
16155 2013-06-11 Andreas Jaeger <aj@suse.de>
16157 * po/zh_TW.po: Update Chinese (traditional) translation from
16158 translation project.
16160 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16162 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16163 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16164 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16166 (clock_getcpuclockid): Likewise.
16167 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16168 Add weak_alias and libc_hidden_def.
16169 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16170 * rt/clock_gettime.c (clock_gettime): Rename to
16171 __clock_gettime. Add weak_alias and libc_hidden_def.
16172 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16173 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16174 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16175 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16176 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16178 * rt/clock_settime.c (clock_settime): Rename to
16179 __clock_settime. Add weak_alias and libc_hidden_def.
16180 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16182 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16184 * mach/err_boot.sub: Remove trailing whitespace.
16185 * mach/err_ipc.sub: Likewise.
16186 * mach/err_mach.sub: Likewise.
16188 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16189 (ROUNDING_TESTS_double): Likewise.
16190 (ROUNDING_TESTS_long_double): Likewise.
16191 (ROUNDING_TESTS): Likewise.
16192 * math/libm-test.inc: Include <math-tests.h>.
16193 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16194 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16195 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16196 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16198 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16200 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16203 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16205 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16206 otherwise empty TRANS lines.
16207 * sysdeps/gnu/errlist.c: Regenerated.
16209 * catgets/gencat.c (error_print): Use (void) in function
16211 * crypt/crypt_util.c (__init_des): Likewise.
16212 * crypt/speeds.c (Stop): Likewise.
16214 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16215 * inet/ruserpass.c (token): Likewise.
16216 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16217 * intl/localealias.c (extend_alias_table): Likewise.
16218 * intl/plural-exp.c (init_germanic_plural): Likewise.
16219 * libio/fcloseall.c (__fcloseall): Likewise.
16220 * libio/genops.c (_IO_flush_all): Likewise.
16221 (_IO_flush_all_linebuffered): Likewise.
16222 (_IO_cleanup): Likewise.
16223 (_IO_iter_begin): Likewise.
16224 (_IO_iter_end): Likewise.
16225 (_IO_list_lock): Likewise.
16226 (_IO_list_unlock): Likewise.
16227 (_IO_list_resetlock): Likewise.
16228 * libio/getchar.c (getchar): Likewise.
16229 * libio/getchar_u.c (getchar_unlocked): Likewise.
16230 * libio/getwchar.c (getwchar): Likewise.
16231 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16232 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16233 * login/getpt.c (__getpt): Likewise.
16234 * login/tst-utmp.c (main): Likewise.
16235 * malloc/hooks.c (__malloc_check_init): Likewise.
16236 * malloc/malloc.c (__malloc_stats): Likewise.
16237 * malloc/mtrace.c (tr_break): Likewise.
16238 (mtrace): Likewise.
16239 (muntrace): Likewise.
16240 * misc/fstab.c (endfsent): Likewise.
16241 * misc/getclktck.c (__getclktck): Likewise.
16242 * misc/getdtsz.c (__getdtablesize): Likewise.
16243 * misc/gethostid.c (gethostid): Likewise.
16244 * misc/getpagesize.c (__getpagesize): Likewise.
16245 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16246 (__get_nprocs): Likewise.
16247 (__get_phys_pages): Likewise.
16248 (__get_avphys_pages): Likewise.
16249 * misc/getttyent.c (getttyent): Likewise.
16250 (setttyent): Likewise.
16251 (endttyent): Likewise.
16252 * misc/getusershell.c (getusershell): Likewise.
16253 (endusershell): Likewise.
16254 (setusershell): Likewise.
16255 (initshells): Likewise.
16256 * misc/hsearch.c (__hdestroy): Likewise.
16257 * misc/sync.c (sync): Likewise.
16258 * misc/syslog.c (closelog_internal): Likewise.
16259 (closelog): Likewise.
16260 * misc/ttyslot.c (ttyslot): Likewise.
16261 * misc/vhangup.c (vhangup): Likewise.
16262 * posix/fork.c (__fork): Likewise.
16263 * posix/getegid.c (__getegid): Likewise.
16264 * posix/geteuid.c (__geteuid): Likewise.
16265 * posix/getgid.c (__getgid): Likewise.
16266 * posix/getpid.c (__getpid): Likewise.
16267 * posix/getppid.c (__getppid): Likewise.
16268 * posix/getuid.c (__getuid): Likewise.
16269 * posix/pause.c (pause): Likewise.
16270 * posix/setpgrp.c (setpgrp): Likewise.
16271 * posix/setsid.c (__setsid): Likewise.
16272 * posix/test-vfork.c (noop): Likewise.
16273 * resolv/gethnamaddr.c (_endhtent): Likewise.
16274 (_gethtent): Likewise.
16275 (ht_endhostent): Likewise.
16276 (gethostent): Likewise.
16277 (dns_service): Likewise.
16278 * stdlib/drand48.c (drand48): Likewise.
16279 * stdlib/lrand48.c (lrand48): Likewise.
16280 * stdlib/mrand48.c (mrand48): Likewise.
16281 * stdlib/rand.c (rand): Likewise.
16282 * stdlib/random.c (__random): Likewise.
16283 * stdlib/setenv.c (clearenv): Likewise.
16284 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16285 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16286 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16287 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16288 (__get_nprocs): Likewise.
16289 (__get_phys_pages): Likewise.
16290 (__get_avphys_pages): Likewise.
16291 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16292 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16293 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16294 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16295 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16296 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16297 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16298 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16299 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16300 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16301 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16302 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16303 * sysdeps/posix/clock.c (clock): Likewise.
16304 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16305 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16306 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16307 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16308 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16310 (__get_nprocs_conf): Likewise.
16311 (__get_phys_pages): Likewise.
16312 (__get_avphys_pages): Likewise.
16313 * time/clock.c (clock): Likewise.
16314 * time/tzset.c (__tzname_max): Likewise.
16316 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16318 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16319 (__bswap_32): Do not use "register".
16320 * crypt/crypt.c (_ufc_doit_r): Likewise.
16321 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16322 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16323 * gmon/gmon.c (__monstartup): Likewise.
16324 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16325 * hurd/hurdmalloc.c (more_memory): Likewise.
16326 (malloc): Likewise.
16328 (realloc): Likewise.
16329 (malloc_fork_prepare): Likewise.
16330 (malloc_fork_parent): Likewise.
16331 (malloc_fork_child): Likewise.
16332 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16333 (_svcauth_des): Likewise.
16334 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16335 * inet/inet_net.c (inet_network): Likewise.
16336 * inet/inet_netof.c (inet_netof): Likewise.
16337 * inet/rcmd.c (__validuser2_sa): Likewise.
16338 * io/fts.c (fts_open): Likewise.
16339 (fts_load): Likewise.
16340 (fts_close): Likewise.
16341 (fts_read): Likewise.
16342 (fts_children): Likewise.
16343 (fts_build): Likewise.
16344 (fts_stat): Likewise.
16345 (fts_sort): Likewise.
16346 (fts_alloc): Likewise.
16347 (fts_lfree): Likewise.
16348 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16349 (_IO_file_xsgetn): Likewise.
16350 (_IO_file_xsgetn_mmap): Likewise.
16351 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16352 (_IO_cookie_write): Likewise.
16353 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16354 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16355 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16356 * malloc/obstack.c (_obstack_begin): Likewise.
16357 (_obstack_begin_1): Likewise.
16358 (_obstack_newchunk): Likewise.
16359 (_obstack_allocated_p): Likewise.
16360 (obstack_free): Likewise.
16361 (_obstack_memory_used): Likewise.
16362 * misc/getttyent.c (getttynam): Likewise.
16363 (getttyent): Likewise.
16366 * misc/getusershell.c (initshells): Likewise.
16367 * misc/syslog.c (__vsyslog_chk): Likewise.
16368 * misc/ttyslot.c (ttyslot): Likewise.
16369 * nis/nis_hash.c (__nis_hash): Likewise.
16370 * posix/fnmatch_loop.c (FCT): Likewise.
16371 * posix/getconf.c (print_all): Likewise.
16373 * posix/getopt.c (exchange): Likewise.
16374 * posix/glob.c (globfree): Likewise.
16375 (prefix_array): Likewise.
16376 (__glob_pattern_type): Likewise.
16377 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16378 (NS_GET32): Likewise.
16379 (NS_PUT16): Likewise.
16380 (NS_PUT32): Likewise.
16381 * resolv/gethnamaddr.c (getanswer): Likewise.
16382 (gethostbyname2): Likewise.
16383 (gethostbyaddr): Likewise.
16384 (_gethtent): Likewise.
16385 (_gethtbyname2): Likewise.
16386 (_gethtbyaddr): Likewise.
16387 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16388 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16389 * resolv/res_init.c (__res_vinit): Likewise.
16390 (net_mask): Likewise.
16391 * resolv/res_mkquery.c (outchar): Likewise.
16393 * stdio-common/printf_fp.c (outchar): Likewise.
16395 * stdio-common/printf_fphex.c (outchar): Likewise.
16397 * stdio-common/printf_size.c (outchar): Likewise.
16399 * stdio-common/test_rdwr.c (main): Likewise.
16400 * stdio-common/tfformat.c (matches): Likewise.
16401 * stdio-common/vfprintf.c (outchar): Likewise.
16402 (printf_unknown): Likewise.
16403 (buffered_vfprintf): Likewise.
16404 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16405 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16406 (ReadFile): Likewise.
16407 * stdlib/qsort.c (SWAP): Likewise.
16408 (_quicksort): Likewise.
16409 * stdlib/setenv.c (__add_to_environ): Likewise.
16410 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16411 * stdlib/strtol_l.c (__strtol_l): Likewise.
16412 * stdlib/tst-strtod.c (main): Likewise.
16413 * stdlib/tst-strtol.c (main): Likewise.
16414 * stdlib/tst-strtoll.c (main): Likewise.
16415 * string/bits/string2.h (__strcmp_cc): Likewise.
16416 (__strcmp_cg): Likewise.
16417 (__strcspn_c1): Likewise.
16418 (__strcspn_c2): Likewise.
16419 (__strcspn_c3): Likewise.
16420 (__strspn_c1): Likewise.
16421 (__strspn_c2): Likewise.
16422 (__strspn_c3): Likewise.
16423 (__strsep_1c): Likewise.
16424 (__strsep_2c): Likewise.
16425 (__strsep_3c): Likewise.
16426 * string/memccpy.c (__memccpy): Likewise.
16427 * string/stpcpy.c (__stpcpy): Likewise.
16428 * string/strcmp.c (strcmp): Likewise.
16429 * string/strrchr.c (strrchr): Likewise.
16430 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16432 * sysdeps/mach/hurd/getcwd.c
16433 (_hurd_canonicalize_directory_name_internal): Likewise.
16434 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16435 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16436 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16437 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16438 Likewise, in both definitions.
16439 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16441 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16442 64] (__bswap_64): Likewise.
16443 * time/test_time.c (main): Likewise.
16444 * time/tzfile.c (__tzfile_read): Likewise.
16445 (__tzfile_compute): Likewise.
16446 * time/tzset.c (__tzset_parse_tz): Likewise.
16447 (tzset_internal): Likewise.
16448 (compute_change): Likewise.
16449 * wcsmbs/wcscat.c (__wcscat): Likewise.
16450 * wcsmbs/wcschr.c (wcschr): Likewise.
16451 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16452 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16453 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16454 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16455 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16456 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16457 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16458 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16459 * wcsmbs/wmemset.c (wmemset): Likewise.
16461 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16463 * scripts/config.guess: Update to version 2013-05-16.
16464 * scripts/config.sub: Update to version 2013-04-24.
16465 * scripts/install-sh: Update to version 2011-11-20.07.
16466 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16467 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16469 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16471 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16472 * elf/sln.c: Likewise.
16473 * hurd/hurd/ioctl.h: Likewise.
16474 * hurd/hurdmalloc.c: Likewise.
16475 * hurd/xattr.c: Likewise.
16476 * include/shlib-compat.h: Likewise.
16477 * inet/ruserpass.c: Likewise.
16478 * libio/iofgets_u.c: Likewise.
16479 * libio/iofgetws_u.c: Likewise.
16480 * locale/programs/ld-identification.c: Likewise.
16481 * locale/programs/ld-time.c: Likewise.
16482 * mach/msg-destroy.c: Likewise.
16483 * nss/nss_files/files-netgrp.c: Likewise.
16484 * resolv/res_data.c: Likewise.
16485 * soft-fp/op-1.h: Likewise.
16486 * soft-fp/op-2.h: Likewise.
16487 * soft-fp/op-4.h: Likewise.
16488 * soft-fp/op-common.h: Likewise.
16489 * stdio-common/printf_fphex.c: Likewise.
16490 * stdlib/strtod_l.c: Likewise.
16491 * sunrpc/rpc/clnt.h: Likewise.
16492 * sysdeps/generic/framestate.c: Likewise.
16493 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16494 * sysdeps/i386/bsd-setjmp.S: Likewise.
16495 * sysdeps/i386/__longjmp.S: Likewise.
16496 * sysdeps/i386/setjmp.S: Likewise.
16497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16514 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16515 * sysdeps/ieee754/support.c: Likewise.
16516 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16517 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16518 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16519 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16520 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16521 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16522 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16523 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16524 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16525 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16526 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16527 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16528 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16529 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16530 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16531 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16532 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16535 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16537 * posix/transbug.c: Remove executable mode.
16539 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16541 * crypt/speeds.c: Remove trailing whitespace.
16542 * dlfcn/default.c: Likewise.
16543 * elf/ifuncdep2.c: Likewise.
16544 * elf/ifuncmain1.c: Likewise.
16545 * elf/ifuncmain1vis.c: Likewise.
16546 * elf/testobj.h: Likewise.
16547 * elf/tst-stackguard1.c: Likewise.
16548 * gmon/sys/gmon.h: Likewise.
16549 * hurd/hurdmsg.c: Likewise.
16550 * hurd/new-fd.c: Likewise.
16551 * hurd/ports-get.c: Likewise.
16552 * iconvdata/ibm1008_420.c: Likewise.
16553 * inet/tst-getni1.c: Likewise.
16554 * inet/tst-getni2.c: Likewise.
16555 * libio/ioungetc.c: Likewise.
16556 * libio/wfiledoalloc.c: Likewise.
16557 * manual/libm-err-tab.pl: Likewise.
16558 * math/w_dremf.c: Likewise.
16559 * misc/ftruncate.c: Likewise.
16560 * posix/bug-glob2.c: Likewise.
16561 * posix/tst-pcre.c: Likewise.
16562 * posix/wait4.c: Likewise.
16563 * resolv/README: Likewise.
16564 * resolv/res_debug.h: Likewise.
16565 * resolv/tst-inet_ntop.c: Likewise.
16566 * setjmp/bug269-setjmp.c: Likewise.
16567 * soft-fp/extended.h: Likewise.
16568 * soft-fp/op-1.h: Likewise.
16569 * soft-fp/op-2.h: Likewise.
16570 * soft-fp/op-4.h: Likewise.
16571 * soft-fp/op-8.h: Likewise.
16572 * soft-fp/testit.c: Likewise.
16573 * stdio-common/bug16.c: Likewise.
16574 * stdlib/random.c: Likewise.
16575 * sunrpc/rpcsvc/rquota.x: Likewise.
16576 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16577 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16579 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16580 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16581 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16582 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16583 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16584 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16585 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16589 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16590 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16591 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16592 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16594 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16595 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16596 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16597 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16598 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16599 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16600 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16601 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16602 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16603 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16604 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16605 * sysdeps/ieee754/s_lib_version.c: Likewise.
16606 * sysdeps/mach/hurd/check_fds.c: Likewise.
16607 * sysdeps/mach/hurd/getsockname.c: Likewise.
16608 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16609 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16610 * sysdeps/powerpc/bits/link.h: Likewise.
16611 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16612 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16613 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16614 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16615 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16616 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16617 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16618 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16619 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16620 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16621 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16622 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16623 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16624 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16625 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16626 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16628 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16630 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16632 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16634 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16635 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16638 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16643 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16644 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16645 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16646 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16647 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16648 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16649 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16650 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16651 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16652 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16653 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16654 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16655 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16656 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16657 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16658 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16659 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16660 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16661 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16662 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16663 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16665 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16666 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16667 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16668 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16669 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16670 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16671 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16672 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16673 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16674 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16675 * sysdeps/powerpc/sysdep.h: Likewise.
16676 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16677 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16678 * sysdeps/sh/dl-trampoline.S: Likewise.
16679 * sysdeps/sh/memset.S: Likewise.
16680 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16681 * sysdeps/sh/strlen.S: Likewise.
16682 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16683 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16684 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16685 * sysdeps/sparc/sparc32/rem.S: Likewise.
16686 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16687 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16688 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16689 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16690 * sysdeps/sparc/sparc32/urem.S: Likewise.
16691 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16692 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16693 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16694 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16695 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16696 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16697 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16698 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16699 * sysdeps/unix/bsd/times.c: Likewise.
16700 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16701 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16705 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16706 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16707 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16708 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16709 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16710 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16711 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16712 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16713 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16714 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16715 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16716 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16717 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16718 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16719 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16720 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16721 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16722 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16723 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16724 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16725 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16726 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16727 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16728 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16729 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16730 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16731 * sysdeps/x86_64/strcspn.S: Likewise.
16733 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16735 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16736 generated file. Regenerate properly from gen-translit.pl.
16737 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16738 locale/C-translit.h.
16740 2013-06-05 Andreas Schwab <schwab@suse.de>
16743 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16744 week as 6 instead of -1.
16745 * time/tst-strptime.c (day_tests): Add test case.
16747 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16749 * sysdeps/generic/math_private.h
16750 (libc_feholdexcept_setround_53bit): Replace with
16751 libc_feholdsetround_53bit.
16752 (libc_feupdateenv_53bit): Replace with
16753 libc_feresetround_53bit.
16754 (SET_RESTORE_ROUND_53BIT): Adjust.
16756 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16758 * string/test-strchrnul.c: Add copyright header.
16760 * posix/tst-getaddrinfo4.c: Increase test timeout.
16762 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16765 * math/libm-test.inc (MAX_EXP): Remove
16767 (ulp): Use MIN_EXP - MANT_DIG.
16768 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16770 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16772 * po/be.po: Revert last change.
16773 * po/zh_CN.po: Likewise.
16774 * po/header.pot: Likewise.
16776 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16778 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16779 link-libc-deps to empty as target-specific variable.
16780 * Makerules (link-libc-args): New variable.
16781 (libc-for-link): Likewise.
16782 (link-libc-deps): Likewise.
16783 (lib%.so): Depend on $(link-libc-deps). Link with
16785 (build-module): Link with $(link-libc-args).
16786 (build-module-asneeded): Likewise.
16787 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16789 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16790 target-specific variable.
16791 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16792 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16793 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16795 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16797 ($(objpfx)libpcprofile.so): Likewise.
16798 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16800 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16801 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16802 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16804 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16805 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16806 * login/Makefile ($(objpfx)libutil.so): Likewise.
16807 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16808 * math/Makefile ($(objpfx)libm.so): Likewise.
16809 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16810 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16811 variable instead of depending directly on libc.
16812 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16813 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16815 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16817 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16818 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16819 ($(objpfx)libanl.so): Likewise.
16820 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16822 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16824 * sysdeps/i386/fpu/Makefile: Remove file.
16825 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16826 ($(objpfx)libm.so): Remove dependency on ld.so.
16828 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16831 * nis/yp_xdr.c (XDRMAXNAME): Define.
16832 (XDRMAXRECORD): Define.
16833 (xdr_domainname): Use XDRMAXNAME.
16834 (xdr_mapname): Likewise.
16835 (xdr_peername): Likewise.
16836 (xdr_keydat): Use XDRMAXRECORD.
16837 (xdr_valdat): Likewise.
16839 2013-05-30 Jeff Law <law@redhat.com>
16842 * manual/errno.texi (ESTALE): Update to account for more than
16843 just NFS file systems.
16844 * sysdeps/gnu/errlist.c: Regenerated.
16846 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16849 * elf/Makefile (tests): Add tst-null-argv.
16850 (modules-names): Add tst-null-argv-lib.
16851 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16852 (tst-null-argv-ENV): Set environment for tst-null-argv.
16853 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16854 (RTLD_PROGNAME): New macro.
16855 * elf/tst-null-argv.c: New test case.
16856 * elf/tst-null-argv-lib.c: Library for test case.
16857 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16858 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16859 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16860 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16861 * elf/dl-init.c (call_init): Likewise.
16862 (_dl_init): Likewise.
16863 * elf/dl-load.c (print_search_path): Likewise.
16864 (_dl_map_object): Likewise.
16865 * elf/dl-lookup.c (do_lookup_x): Likewise.
16866 (add_dependency): Likewise.
16867 (_dl_lookup_symbol_x): Likewise.
16868 (_dl_debug_bindings): Likewise.
16869 * elf/dl-open.c (_dl_show_scope): Likewise.
16870 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16871 * elf/dl-version.c (match_symbol): Likewise.
16872 (_dl_check_map_versions): Likewise.
16873 * elf/rtld.c (dl_main): Likewise.
16874 (print_unresolved): Use RTLD_PROGNAME.
16875 (print_missing_version): Likewise.
16876 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16877 (elf_machine_rela): Likewise.
16878 * sysdeps/powerpc/powerpc32/dl-machine.c
16879 (__process_machine_rela): Likewise.
16880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16884 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16886 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16893 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16895 * po/be.po: Add descriptive title.
16896 * po/zh_CN.po: Likewise.
16897 * po/header.pot: Likewise.
16899 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16901 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16903 (enlarge_archive): Likewise.
16905 2013-05-28 Ben North <ben@redfrontdoor.org>
16907 * manual/arith.texi (frexp): It is the magnitude of the return
16908 value which lies in [0.5, 1), not the return value itself.
16910 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16914 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16916 * stdio-common/bug26.c (main): Correct fscanf template.
16918 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16919 declare _dl_skip_args.
16921 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16924 * manual/platform.texi: Add missing @end deftypefun.
16926 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16929 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16930 bit of mantissa of 2^16382.
16931 * math/libm-test.inc (hypot_test_data): Add more tests.
16933 * math/libm-test.inc: Add drem and pow10 to list of tested
16935 (pow10_test): New function.
16936 (drem_test): Likewise.
16937 (drem_test_tonearest): Likewise.
16938 (drem_test_towardzero): Likewise.
16939 (drem_test_downward): Likewise.
16940 (drem_test_upward): Likewise.
16941 (main): Call the new functions.
16943 * math/libm-test.inc (finite_test_data): Remove.
16944 (finite_test): Run tests from isfinite_test_data.
16945 (gamma_test_data): Remove.
16946 (gamma_test): Run tests from lgamma_test_data.
16947 * sysdeps/i386/fpu/libm-test-ulps: Update.
16948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16950 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16952 * manual/platform.texi: Add PowerPC PPR function set documentation.
16953 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16956 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16958 * math/libm-test.inc (MAX_EXP): Define.
16960 (ulp): New function.
16961 (check_float_internal): Use ULPDIFF.
16962 (cpow_test): Disable failing test.
16963 (check_ulp): Test ulp() implemetnation.
16964 (main): Call check_ulp before starting tests.
16966 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16968 * math/gen-libm-test.pl (generate_testfile): Do not handle
16969 START_DATA and END_DATA.
16970 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16972 (acos_tonearest_test_data): Likewise.
16973 (acos_towardzero_test_data): Likewise.
16974 (acos_downward_test_data): Likewise.
16975 (acos_upward_test_data): Likewise.
16976 (acosh_test_data): Likewise.
16977 (asin_test_data): Likewise.
16978 (asin_tonearest_test_data): Likewise.
16979 (asin_towardzero_test_data): Likewise.
16980 (asin_downward_test_data): Likewise.
16981 (asin_upward_test_data): Likewise.
16982 (asinh_test_data): Likewise.
16983 (atan_test_data): Likewise.
16984 (atanh_test_data): Likewise.
16985 (atan2_test_data): Likewise.
16986 (cabs_test_data): Likewise.
16987 (cacos_test_data): Likewise.
16988 (cacosh_test_data): Likewise.
16989 (carg_test_data): Likewise.
16990 (casin_test_data): Likewise.
16991 (casinh_test_data): Likewise.
16992 (catan_test_data): Likewise.
16993 (catanh_test_data): Likewise.
16994 (cbrt_test_data): Likewise.
16995 (ccos_test_data): Likewise.
16996 (ccosh_test_data): Likewise.
16997 (ceil_test_data): Likewise.
16998 (cexp_test_data): Likewise.
16999 (cimag_test_data): Likewise.
17000 (clog_test_data): Likewise.
17001 (clog10_test_data): Likewise.
17002 (conj_test_data): Likewise.
17003 (copysign_test_data): Likewise.
17004 (cos_test_data): Likewise.
17005 (cos_tonearest_test_data): Likewise.
17006 (cos_towardzero_test_data): Likewise.
17007 (cos_downward_test_data): Likewise.
17008 (cos_upward_test_data): Likewise.
17009 (cosh_test_data): Likewise.
17010 (cosh_tonearest_test_data): Likewise.
17011 (cosh_towardzero_test_data): Likewise.
17012 (cosh_downward_test_data): Likewise.
17013 (cosh_upward_test_data): Likewise.
17014 (cpow_test_data): Likewise.
17015 (cproj_test_data): Likewise.
17016 (creal_test_data): Likewise.
17017 (csin_test_data): Likewise.
17018 (csinh_test_data): Likewise.
17019 (csqrt_test_data): Likewise.
17020 (ctan_test_data): Likewise.
17021 (ctan_tonearest_test_data): Likewise.
17022 (ctan_towardzero_test_data): Likewise.
17023 (ctan_downward_test_data): Likewise.
17024 (ctan_upward_test_data): Likewise.
17025 (ctanh_test_data): Likewise.
17026 (ctanh_tonearest_test_data): Likewise.
17027 (ctanh_towardzero_test_data): Likewise.
17028 (ctanh_downward_test_data): Likewise.
17029 (ctanh_upward_test_data): Likewise.
17030 (erf_test_data): Likewise.
17031 (erfc_test_data): Likewise.
17032 (exp_test_data): Likewise.
17033 (exp_tonearest_test_data): Likewise.
17034 (exp_towardzero_test_data): Likewise.
17035 (exp_downward_test_data): Likewise.
17036 (exp_upward_test_data): Likewise.
17037 (exp10_test_data): Likewise.
17038 (exp2_test_data): Likewise.
17039 (expm1_test_data): Likewise.
17040 (fabs_test_data): Likewise.
17041 (fdim_test_data): Likewise.
17042 (finite_test_data): Likewise.
17043 (floor_test_data): Likewise.
17044 (fma_test_data): Likewise.
17045 (fma_towardzero_test_data): Likewise.
17046 (fma_downward_test_data): Likewise.
17047 (fma_upward_test_data): Likewise.
17048 (fmax_test_data): Likewise.
17049 (fmin_test_data): Likewise.
17050 (fmod_test_data): Likewise.
17051 (fpclassify_test_data): Likewise.
17052 (frexp_test_data): Likewise.
17053 (gamma_test_data): Likewise.
17054 (hypot_test_data): Likewise.
17055 (ilogb_test_data): Likewise.
17056 (isfinite_test_data): Likewise.
17057 (isgreater_test_data): Likewise.
17058 (isgreaterequal_test_data): Likewise.
17059 (isinf_test_data): Likewise.
17060 (isless_test_data): Likewise.
17061 (islessequal_test_data): Likewise.
17062 (islessgreater_test_data): Likewise.
17063 (isnan_test_data): Likewise.
17064 (isnormal_test_data): Likewise.
17065 (issignaling_test_data): Likewise.
17066 (isunordered_test_data): Likewise.
17067 (j0_test_data): Likewise.
17068 (j1_test_data): Likewise.
17069 (jn_test_data): Likewise.
17070 (ldexp_test_data): Likewise.
17071 (lgamma_test_data): Likewise.
17072 (lrint_test_data): Likewise.
17073 (lrint_tonearest_test_data): Likewise.
17074 (lrint_towardzero_test_data): Likewise.
17075 (lrint_downward_test_data): Likewise.
17076 (lrint_upward_test_data): Likewise.
17077 (llrint_test_data): Likewise.
17078 (llrint_tonearest_test_data): Likewise.
17079 (llrint_towardzero_test_data): Likewise.
17080 (llrint_downward_test_data): Likewise.
17081 (llrint_upward_test_data): Likewise.
17082 (log_test_data): Likewise.
17083 (log10_test_data): Likewise.
17084 (log1p_test_data): Likewise.
17085 (log2_test_data): Likewise.
17086 (logb_test_data): Likewise.
17087 (logb_downward_test_data): Likewise.
17088 (lround_test_data): Likewise.
17089 (llround_test_data): Likewise.
17090 (modf_test_data): Likewise.
17091 (nearbyint_test_data): Likewise.
17092 (nextafter_test_data): Likewise.
17093 (nexttoward_test_data): Likewise.
17094 (pow_test_data): Likewise.
17095 (pow_tonearest_test_data): Likewise.
17096 (pow_towardzero_test_data): Likewise.
17097 (pow_downward_test_data): Likewise.
17098 (pow_upward_test_data): Likewise.
17099 (remainder_test_data): Likewise.
17100 (remainder_tonearest_test_data): Likewise.
17101 (remainder_towardzero_test_data): Likewise.
17102 (remainder_downward_test_data): Likewise.
17103 (remainder_upward_test_data): Likewise.
17104 (remquo_test_data): Likewise.
17105 (rint_test_data): Likewise.
17106 (rint_tonearest_test_data): Likewise.
17107 (rint_towardzero_test_data): Likewise.
17108 (rint_downward_test_data): Likewise.
17109 (rint_upward_test_data): Likewise.
17110 (round_test_data): Likewise.
17111 (scalb_test_data): Likewise.
17112 (scalbn_test_data): Likewise.
17113 (scalbln_test_data): Likewise.
17114 (signbit_test_data): Likewise.
17115 (sin_test_data): Likewise.
17116 (sin_tonearest_test_data): Likewise.
17117 (sin_towardzero_test_data): Likewise.
17118 (sin_downward_test_data): Likewise.
17119 (sin_upward_test_data): Likewise.
17120 (sincos_test_data): Likewise.
17121 (sinh_test_data): Likewise.
17122 (sinh_tonearest_test_data): Likewise.
17123 (sinh_towardzero_test_data): Likewise.
17124 (sinh_downward_test_data): Likewise.
17125 (sinh_upward_test_data): Likewise.
17126 (sqrt_test_data): Likewise.
17127 (tan_test_data): Likewise.
17128 (tan_tonearest_test_data): Likewise.
17129 (tan_towardzero_test_data): Likewise.
17130 (tan_downward_test_data): Likewise.
17131 (tan_upward_test_data): Likewise.
17132 (tanh_test_data): Likewise.
17133 (tgamma_test_data): Likewise.
17134 (trunc_test_data): Likewise.
17135 (y0_test_data): Likewise.
17136 (y1_test_data): Likewise.
17137 (yn_test_data): Likewise.
17138 (significand_test_data): Likewise.
17140 * math/gen-libm-test.pl (@functions): Remove variable.
17141 (generate_testfile): Don't handle START and END lines.
17142 * math/libm-test.inc (START): New macro.
17144 (END_COMPLEX): Likewise.
17145 (acos_test): Use END macro without arguments.
17146 (acos_test_tonearest): Likewise.
17147 (acos_test_towardzero): Likewise.
17148 (acos_test_downward): Likewise.
17149 (acos_test_upward): Likewise.
17150 (acosh_test): Likewise.
17151 (asin_test): Likewise.
17152 (asin_test_tonearest): Likewise.
17153 (asin_test_towardzero): Likewise.
17154 (asin_test_downward): Likewise.
17155 (asin_test_upward): Likewise.
17156 (asinh_test): Likewise.
17157 (atan_test): Likewise.
17158 (atanh_test): Likewise.
17159 (atan2_test): Likewise.
17160 (cabs_test): Likewise.
17161 (cacos_test): Use END_COMPLEX macro without arguments.
17162 (cacosh_test): Likewise.
17163 (carg_test): Use END macro without arguments.
17164 (casin_test): Use END_COMPLEX macro without arguments.
17165 (casinh_test): Likewise.
17166 (catan_test): Likewise.
17167 (catanh_test): Likewise.
17168 (cbrt_test): Use END macro without arguments.
17169 (ccos_test): Use END_COMPLEX macro without arguments.
17170 (ccosh_test): Likewise.
17171 (ceil_test): Use END macro without arguments.
17172 (cexp_test): Use END_COMPLEX macro without arguments.
17173 (cimag_test): Use END macro without arguments.
17174 (clog_test): Use END_COMPLEX macro without arguments.
17175 (clog10_test): Likewise.
17176 (conj_test): Likewise.
17177 (copysign_test): Use END macro without arguments.
17178 (cos_test): Likewise.
17179 (cos_test_tonearest): Likewise.
17180 (cos_test_towardzero): Likewise.
17181 (cos_test_downward): Likewise.
17182 (cos_test_upward): Likewise.
17183 (cosh_test): Likewise.
17184 (cosh_test_tonearest): Likewise.
17185 (cosh_test_towardzero): Likewise.
17186 (cosh_test_downward): Likewise.
17187 (cosh_test_upward): Likewise.
17188 (cpow_test): Use END_COMPLEX macro without arguments.
17189 (cproj_test): Likewise.
17190 (creal_test): Use END macro without arguments.
17191 (csin_test): Use END_COMPLEX macro without arguments.
17192 (csinh_test): Likewise.
17193 (csqrt_test): Likewise.
17194 (ctan_test): Likewise.
17195 (ctan_test_tonearest): Likewise.
17196 (ctan_test_towardzero): Likewise.
17197 (ctan_test_downward): Likewise.
17198 (ctan_test_upward): Likewise.
17199 (ctanh_test): Likewise.
17200 (ctanh_test_tonearest): Likewise.
17201 (ctanh_test_towardzero): Likewise.
17202 (ctanh_test_downward): Likewise.
17203 (ctanh_test_upward): Likewise.
17204 (erf_test): Use END macro without arguments.
17205 (erfc_test): Likewise.
17206 (exp_test): Likewise.
17207 (exp_test_tonearest): Likewise.
17208 (exp_test_towardzero): Likewise.
17209 (exp_test_downward): Likewise.
17210 (exp_test_upward): Likewise.
17211 (exp10_test): Likewise.
17212 (exp2_test): Likewise.
17213 (expm1_test): Likewise.
17214 (fabs_test): Likewise.
17215 (fdim_test): Likewise.
17216 (finite_test): Likewise.
17217 (floor_test): Likewise.
17218 (fma_test): Likewise.
17219 (fma_test_towardzero): Likewise.
17220 (fma_test_downward): Likewise.
17221 (fma_test_upward): Likewise.
17222 (fmax_test): Likewise.
17223 (fmin_test): Likewise.
17224 (fmod_test): Likewise.
17225 (fpclassify_test): Likewise.
17226 (frexp_test): Likewise.
17227 (gamma_test): Likewise.
17228 (hypot_test): Likewise.
17229 (ilogb_test): Likewise.
17230 (isfinite_test): Likewise.
17231 (isgreater_test): Likewise.
17232 (isgreaterequal_test): Likewise.
17233 (isinf_test): Likewise.
17234 (isless_test): Likewise.
17235 (islessequal_test): Likewise.
17236 (islessgreater_test): Likewise.
17237 (isnan_test): Likewise.
17238 (isnormal_test): Likewise.
17239 (issignaling_test): Likewise.
17240 (isunordered_test): Likewise.
17241 (j0_test): Likewise.
17242 (j1_test): Likewise.
17243 (jn_test): Likewise.
17244 (ldexp_test): Likewise.
17245 (lgamma_test): Likewise.
17246 (lrint_test): Likewise.
17247 (lrint_test_tonearest): Likewise.
17248 (lrint_test_towardzero): Likewise.
17249 (lrint_test_downward): Likewise.
17250 (lrint_test_upward): Likewise.
17251 (llrint_test): Likewise.
17252 (llrint_test_tonearest): Likewise.
17253 (llrint_test_towardzero): Likewise.
17254 (llrint_test_downward): Likewise.
17255 (llrint_test_upward): Likewise.
17256 (log_test): Likewise.
17257 (log10_test): Likewise.
17258 (log1p_test): Likewise.
17259 (log2_test): Likewise.
17260 (logb_test): Likewise.
17261 (logb_test_downward): Likewise.
17262 (lround_test): Likewise.
17263 (llround_test): Likewise.
17264 (modf_test): Likewise.
17265 (nearbyint_test): Likewise.
17266 (nextafter_test): Likewise.
17267 (nexttoward_test): Likewise.
17268 (pow_test): Likewise.
17269 (pow_test_tonearest): Likewise.
17270 (pow_test_towardzero): Likewise.
17271 (pow_test_downward): Likewise.
17272 (pow_test_upward): Likewise.
17273 (remainder_test): Likewise.
17274 (remainder_test_tonearest): Likewise.
17275 (remainder_test_towardzero): Likewise.
17276 (remainder_test_downward): Likewise.
17277 (remainder_test_upward): Likewise.
17278 (remquo_test): Likewise.
17279 (rint_test): Likewise.
17280 (rint_test_tonearest): Likewise.
17281 (rint_test_towardzero): Likewise.
17282 (rint_test_downward): Likewise.
17283 (rint_test_upward): Likewise.
17284 (round_test): Likewise.
17285 (scalb_test): Likewise.
17286 (scalbn_test): Likewise.
17287 (scalbln_test): Likewise.
17288 (signbit_test): Likewise.
17289 (sin_test): Likewise.
17290 (sin_test_tonearest): Likewise.
17291 (sin_test_towardzero): Likewise.
17292 (sin_test_downward): Likewise.
17293 (sin_test_upward): Likewise.
17294 (sincos_test): Likewise.
17295 (sinh_test): Likewise.
17296 (sinh_test_tonearest): Likewise.
17297 (sinh_test_towardzero): Likewise.
17298 (sinh_test_downward): Likewise.
17299 (sinh_test_upward): Likewise.
17300 (sqrt_test): Likewise.
17301 (tan_test): Likewise.
17302 (tan_test_tonearest): Likewise.
17303 (tan_test_towardzero): Likewise.
17304 (tan_test_downward): Likewise.
17305 (tan_test_upward): Likewise.
17306 (tanh_test): Likewise.
17307 (tgamma_test): Likewise.
17308 (trunc_test): Likewise.
17309 (y0_test): Likewise.
17310 (y1_test): Likewise.
17311 (yn_test): Likewise.
17312 (significand_test): Likewise.
17314 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17317 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17319 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17322 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17323 __ppc_mdoio and __ppc_mdoom.
17324 * manual/platform.texi: Document new functions __ppc_yield,
17325 __ppc_mdoio and __ppc_mdoom.
17327 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17329 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17330 (main): Mention "tls" pseudo-hwcap is legacy.
17331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17333 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17335 * math/gen-libm-test.pl (parse_args): Output only string of
17336 arguments as text for test name, not full call or descriptions of
17337 tests for extra outputs.
17338 (generate_testfile): Do not pass function name to parse_args.
17339 Generate this_func variable from START.
17340 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17342 (struct test_ff_f_data): Likewise.
17343 (test_ff_f_data_nexttoward): Likewise.
17344 (struct test_fi_f_data): Likewise.
17345 (struct test_fl_f_data): Likewise.
17346 (struct test_if_f_data): Likewise.
17347 (struct test_fff_f_data): Likewise.
17348 (struct test_c_f_data): Likewise.
17349 (struct test_f_f1_data): Likewise. Remove field extra_name.
17350 (struct test_fF_f1_data): Likewise.
17351 (struct test_ffI_f1_data): Likewise.
17352 (struct test_c_c_data): Rename test_name field to arg_str.
17353 (struct test_cc_c_data): Likewise.
17354 (struct test_f_i_data): Likewise.
17355 (struct test_ff_i_data): Likewise.
17356 (struct test_f_l_data): Likewise.
17357 (struct test_f_L_data): Likewise.
17358 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17360 (COMMON_TEST_SETUP): New macro.
17361 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17362 (COMMON_TEST_CLEANUP): Likewise.
17363 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17364 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17366 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17367 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17369 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17370 (RUN_TEST_fff_f): Take argument string. Call new setup and
17372 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17373 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17375 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17376 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17378 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17379 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17381 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17382 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17384 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17385 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17387 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17388 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17390 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17391 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17393 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17394 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17396 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17397 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17399 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17400 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17402 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17403 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17405 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17406 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17408 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17409 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17411 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17412 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17414 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17415 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17417 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17419 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17421 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17422 to _sifields.sigfault.
17423 (si_addr_lsb): Define new macro.
17424 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17426 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17428 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17431 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17433 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17435 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17436 loading the domain.
17438 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17440 * math/gen-libm-test.pl (parse_args): Do not include expected
17441 result in test name.
17442 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17443 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17444 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17445 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17446 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17449 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17451 * benchtests/Makefile: Sort function entries.
17453 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17454 tanh, asinh, acosh, atanh.
17455 * benchtests/acos-inputs: New file.
17456 * benchtests/acosh-inputs: New file.
17457 * benchtests/asin-inputs: New file.
17458 * benchtests/asinh-inputs: New file.
17459 * benchtests/atanh-inputs: New file.
17460 * benchtests/cosh-inputs: New file.
17461 * benchtests/log-inputs: New file.
17462 * benchtests/sinh-inputs: New file.
17463 * benchtests/tanh-inputs: New file.
17465 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17468 * posix/tst-getaddrinfo4.c: New test.
17469 * posix/Makefile (tests): Add it.
17471 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17474 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17475 when no services were used.
17476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17477 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17479 2013-05-21 Andreas Schwab <schwab@suse.de>
17482 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17483 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17485 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17486 redundant variable declarations and reallocation of buffer when
17487 parsing as IPv6 address. Always set NSS status when called from
17488 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17489 buffer too small. Correct computation of needed size.
17490 * nss/Makefile (tests): Add test-digits-dots.
17491 * nss/test-digits-dots.c: New test.
17493 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17495 * benchtests/Makefile: Remove instructions for adding
17497 * benchtests/README: New file to explain how to execute and
17498 enhance the benchmark tests.
17500 2013-05-21 Andreas Schwab <schwab@suse.de>
17503 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17504 * setjmp/tst-sigsetjmp.c: New test.
17506 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17508 * sysdeps/x86_64/memset.S (memset): New implementation.
17509 (__bzero): Likewise.
17510 (__memset_tail): New function.
17512 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17514 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17515 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17516 __memcpy_sse2_unaligned ifunc selection.
17517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17518 Add memcpy-sse2-unaligned.S.
17519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17520 Add: __memcpy_sse2_unaligned.
17522 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17525 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17526 math_force_eval before restoring floating-point envrionment.
17527 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17532 (__nearbyintl): Use math_force_eval before restoring
17533 floating-point environment.
17534 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17536 * math/gen-libm-test.pl (special_functions): Remove.
17537 (parse_args): Don't handle TEST_extra. Handle functions with no
17539 * math/libm-test.inc (struct test_sincos_data): Replace with
17540 struct test_fFF_11_data.
17541 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17542 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17543 (sincos_test_data): Change element type to struct
17544 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17545 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17546 RUN_TEST_LOOP_sincos.
17547 * math/README.libm-test: Don't mention special handling of
17548 individual functions.
17549 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17551 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17552 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17556 * math/gen-libm-test.pl (get_variable): Remove function.
17557 (parse_args): Don't show pointer parameters to call in test
17558 names. Use "extra output N" in test names for extra outputs
17559 rather than naming variables.
17561 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17564 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17565 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17566 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17568 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17570 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17573 * math/gen-libm-test.pl (@tests): Remove variable.
17574 ($count): Likewise.
17575 (new_test): Remove function.
17576 (show_exceptions): New function.
17577 (special_functions): Use show_exceptions instead of new_test.
17578 (parse_args): Likewise.
17579 (generate_testfile): Pass only function name in generated call to
17580 print_max_error or print_complex_max_error.
17581 (get_ulps): Do not handle complex tests specially.
17582 (output_test): Rename to ...
17583 (get_all_ulps_for_test): ... this. Return a string rather than
17584 printing to a file. Require ulps to be present.
17585 (output_ulps): Generate arrays rather than #defines.
17586 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17587 (struct ulp_data): New type.
17588 (BUILD_COMPLEX_ULP): Remove macro.
17589 (compare_ulp_data): New function.
17590 (find_ulps): Likewise.
17591 (find_test_ulps): Likewise.
17592 (find_function_ulps): Likewise.
17593 (find_complex_function_ulps): Likewise.
17594 (print_max_error): Determine allowed ulps using
17595 find_function_ulps.
17596 (print_complex_max_error): Determine allowed ulps using
17597 find_complex_function_ulps.
17598 (check_float_internal): Determine max ulps using find_test_ulps.
17599 (check_float): Do not take max_ulp parameter. Update call to
17600 check_float_internal.
17601 (check_complex): Likewise.
17602 (check_int): Do not take max_ulp parameter.
17603 (check_long): Likewise.
17604 (check_bool): Likewise.
17605 (check_longlong): Likewise.
17606 (struct test_f_f_data): Remove max_ulp field.
17607 (struct test_ff_f_data): Likewise.
17608 (struct test_ff_f_data_nexttoward): Likewise.
17609 (struct test_fi_f_data): Likewise.
17610 (struct test_fl_f_data): Likewise.
17611 (struct test_if_f_data): Likewise.
17612 (struct test_fff_f_data): Likewise.
17613 (struct test_c_f_data): Likewise.
17614 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17615 (struct test_fF_f1_data): Likewise.
17616 (struct test_ffI_f1_data): Likewise.
17617 (struct test_c_c_data): Remove max_ulp field.
17618 (struct test_cc_c_data): Likewise.
17619 (struct test_f_i_data): Likewise.
17620 (struct test_ff_i_data): Likewise.
17621 (struct test_f_l_data): Likewise.
17622 (struct test_f_L_data): Likewise.
17623 (struct test_sincos_data): Likewise.
17624 (RUN_TEST_f_f): Do not handle ulps.
17625 (RUN_TEST_LOOP_f_f): Likewise.
17626 (RUN_TEST_2_f): Likewise.
17627 (RUN_TEST_LOOP_2_f): Likewise.
17628 (RUN_TEST_fff_f): Likewise.
17629 (RUN_TEST_LOOP_fff_f): Likewise.
17630 (RUN_TEST_c_f): Likewise.
17631 (RUN_TEST_LOOP_c_f): Likewise.
17632 (RUN_TEST_f_f1): Likewise.
17633 (RUN_TEST_LOOP_f_f1): Likewise.
17634 (RUN_TEST_fF_f1): Likewise.
17635 (RUN_TEST_LOOP_fF_f1): Likewise.
17636 (RUN_TEST_fI_f1): Likewise.
17637 (RUN_TEST_LOOP_fI_f1): Likewise.
17638 (RUN_TEST_ffI_f1): Likewise.
17639 (RUN_TEST_LOOP_ffI_f1): Likewise.
17640 (RUN_TEST_c_c): Likewise.
17641 (RUN_TEST_LOOP_c_c): Likewise.
17642 (RUN_TEST_cc_c): Likewise.
17643 (RUN_TEST_LOOP_cc_c): Likewise.
17644 (RUN_TEST_f_i): Likewise.
17645 (RUN_TEST_LOOP_f_i): Likewise.
17646 (RUN_TEST_f_i_tg): Likewise.
17647 (RUN_TEST_LOOP_f_i_tg): Likewise.
17648 (RUN_TEST_ff_i_tg): Likewise.
17649 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17650 (RUN_TEST_f_b): Likewise.
17651 (RUN_TEST_LOOP_f_b): Likewise.
17652 (RUN_TEST_f_b_tg): Likewise.
17653 (RUN_TEST_LOOP_f_b_tg): Likewise.
17654 (RUN_TEST_f_l): Likewise.
17655 (RUN_TEST_LOOP_f_l): Likewise.
17656 (RUN_TEST_f_L): Likewise.
17657 (RUN_TEST_LOOP_f_L): Likewise.
17658 (RUN_TEST_sincos): Likewise.
17659 (RUN_TEST_LOOP_sincos): Likewise.
17661 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17665 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17666 main case of finite arguments, set rounding mode to FE_TONEAREST
17667 and discard exceptions.
17668 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17670 (remainder_tonearest_test_data): New variable.
17671 (remainder_test_tonearest): New function.
17672 (remainder_towardzero_test_data): New variable.
17673 (remainder_test_towardzero): New function.
17674 (remainder_downward_test_data): New variable.
17675 (remainder_test_downward): New function.
17676 (remainder_upward_test_data): New variable.
17677 (remainder_test_upward): New function.
17678 (main): Call the new test functions.
17680 * math/libm-test.inc (struct test_f_f1_data): Remove field
17682 (struct test_fF_f1_data): Likewise.
17683 (struct test_ffI_f1_data): Likewise.
17684 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17685 based on value of EXTRA_EXPECTED.
17686 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17687 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17688 EXTRA_VAR based on value of EXTRA_EXPECTED.
17689 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17690 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17691 EXTRA_VAR based on value of EXTRA_EXPECTED.
17692 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17693 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17694 EXTRA_VAR based on value of EXTRA_EXPECTED.
17695 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17696 * math/gen-libm-test.pl (parse_args): Don't output initializers
17697 for extra output values.
17699 * math/libm-test.inc (check_int): Expect result to be exactly
17700 equal to expected value and do not handle ulps.
17701 (check_long): Likewise.
17702 (check_longlong): Likewise.
17704 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17706 (cimag_test_data): Likewise.
17707 (conj_test_data): Likewise.
17708 (copysign_test_data): Likewise.
17709 (cproj_test_data): Likewise.
17710 (creal_test_data): Likewise.
17711 (fabs_test_data): Likewise.
17712 (fdim_test_data): Likewise.
17713 (finite_test_data): Likewise.
17714 (floor_test_data): Likewise.
17715 (fmax_test_data): Likewise.
17716 (fmin_test_data): Likewise.
17717 (fmod_test_data): Likewise.
17718 (fpclassify_test_data): Likewise.
17719 (frexp_test_data): Likewise.
17720 (ilogb_test_data): Likewise.
17721 (isfinite_test_data): Likewise.
17722 (isgreater_test_data): Likewise.
17723 (isgreaterequal_test_data): Likewise.
17724 (isinf_test_data): Likewise.
17725 (isless_test_data): Likewise.
17726 (islessequal_test_data): Likewise.
17727 (islessgreater_test_data): Likewise.
17728 (isnan_test_data): Likewise.
17729 (isnormal_test_data): Likewise.
17730 (issignaling_test_data): Likewise.
17731 (isunordered_test_data): Likewise.
17732 (ldexp_test_data): Likewise.
17733 (lrint_test_data): Likewise.
17734 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17735 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17736 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17737 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17738 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17739 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17741 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17742 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17743 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17744 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17746 (lrint_downward_test_data): Test for "inexact" exceptions.
17747 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17748 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17749 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17751 (lrint_upward_test_data): Test for "inexact" exceptions.
17752 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17754 (llrint_test_data): Test for "inexact" exceptions.
17755 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17756 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17757 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17758 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17759 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17760 (llrint_downward_test_data): Test for "inexact" exceptions.
17761 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17762 (llrint_upward_test_data): Test for "inexact" exceptions.
17763 (logb_test_data): Likewise.
17764 (logb_downward_test_data): Likewise.
17765 (nextafter_test_data): Likewise.
17766 (nexttoward_test_data): Likewise.
17767 (remainder_test_data): Likewise.
17768 (remquo_test_data): Likewise.
17769 (scalbn_test_data): Likewise.
17770 (scalbln_test_data): Likewise.
17771 (signbit_test_data): Likewise.
17772 (sqrt_test_data): Likewise.
17773 (significand_test_data): Likewise.
17775 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17778 * benchtests/bench-modf.c (struct args): Mark arg0 as
17780 * scripts/bench.pl: Mark members of struct args as volatile.
17782 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17785 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17786 negative infinity on POWER6 or lower.
17787 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17789 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17792 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17793 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17794 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17795 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17796 (_FP_SETQNAN): New macro.
17797 (_FP_SETQNAN_SEMIRAW): Likewise.
17798 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17799 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17800 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17801 (FP_EXTEND): Use _FP_FRAC_SNANP.
17802 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17803 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17810 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17812 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17813 with DIVIDE_BY_ZERO_EXCEPTION.
17814 (gamma_test_data): Likewise.
17815 (lgamma_test_data): Likewise.
17816 (log_test_data): Likewise.
17817 (log10_test_data): Likewise.
17818 (log2_test_data): Likewise.
17819 (tgamma_test_data): Likewise.
17821 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17822 (acos_test_tonearest): Likewise.
17823 (acos_test_towardzero): Likewise.
17824 (acos_test_downward): Likewise.
17825 (acos_test_upward): Likewise.
17826 (acosh_test): Likewise.
17827 (asin_test): Likewise.
17828 (asin_test_tonearest): Likewise.
17829 (asin_test_towardzero): Likewise.
17830 (asin_test_downward): Likewise.
17831 (asin_test_upward): Likewise.
17832 (asinh_test): Likewise.
17833 (atan_test): Likewise.
17834 (atanh_test): Likewise.
17835 (atan2_test): Likewise.
17836 (cabs_test): Likewise.
17837 (cacos_test): Likewise.
17838 (cacosh_test): Likewise.
17839 (casin_test): Likewise.
17840 (casinh_test): Likewise.
17841 (catan_test): Likewise.
17842 (catanh_test): Likewise.
17843 (cbrt_test): Likewise.
17844 (ccos_test): Likewise.
17845 (ccosh_test): Likewise.
17846 (cexp_test): Likewise.
17847 (clog_test): Likewise.
17848 (clog10_test): Likewise.
17849 (cos_test): Likewise.
17850 (cos_test_tonearest): Likewise.
17851 (cos_test_towardzero): Likewise.
17852 (cos_test_downward): Likewise.
17853 (cos_test_upward): Likewise.
17854 (cosh_test): Likewise.
17855 (cosh_test_tonearest): Likewise.
17856 (cosh_test_towardzero): Likewise.
17857 (cosh_test_downward): Likewise.
17858 (cosh_test_upward): Likewise.
17859 (cpow_test): Likewise.
17860 (csin_test): Likewise.
17861 (csinh_test): Likewise.
17862 (csqrt_test): Likewise.
17863 (ctan_test): Likewise.
17864 (ctan_test_tonearest): Likewise.
17865 (ctan_test_towardzero): Likewise.
17866 (ctan_test_downward): Likewise.
17867 (ctan_test_upward): Likewise.
17868 (ctanh_test): Likewise.
17869 (ctanh_test_tonearest): Likewise.
17870 (ctanh_test_towardzero): Likewise.
17871 (ctanh_test_downward): Likewise.
17872 (ctanh_test_upward): Likewise.
17873 (erf_test): Likewise.
17874 (erfc_test): Likewise.
17875 (exp_test): Likewise.
17876 (exp_test_tonearest): Likewise.
17877 (exp_test_towardzero): Likewise.
17878 (exp_test_downward): Likewise.
17879 (exp_test_upward): Likewise.
17880 (exp10_test): Likewise.
17881 (exp2_test): Likewise.
17882 (expm1_test): Likewise.
17883 (fmod_test): Likewise.
17884 (gamma_test): Likewise.
17885 (hypot_test): Likewise.
17886 (j0_test): Likewise.
17887 (j1_test): Likewise.
17888 (jn_test): Likewise.
17889 (lgamma_test): Likewise.
17890 (log_test): Likewise.
17891 (log10_test): Likewise.
17892 (log1p_test): Likewise.
17893 (log2_test): Likewise.
17894 (logb_test_downward): Likewise.
17895 (pow_test): Likewise.
17896 (pow_test_tonearest): Likewise.
17897 (pow_test_towardzero): Likewise.
17898 (pow_test_downward): Likewise.
17899 (pow_test_upward): Likewise.
17900 (remainder_test): Likewise.
17901 (remquo_test): Likewise.
17902 (sin_test): Likewise.
17903 (sin_test_tonearest): Likewise.
17904 (sin_test_towardzero): Likewise.
17905 (sin_test_downward): Likewise.
17906 (sin_test_upward): Likewise.
17907 (sincos_test): Likewise.
17908 (sinh_test): Likewise.
17909 (sinh_test_tonearest): Likewise.
17910 (sinh_test_towardzero): Likewise.
17911 (sinh_test_downward): Likewise.
17912 (sinh_test_upward): Likewise.
17913 (sqrt_test): Likewise.
17914 (tan_test): Likewise.
17915 (tan_test_tonearest): Likewise.
17916 (tan_test_towardzero): Likewise.
17917 (tan_test_downward): Likewise.
17918 (tan_test_upward): Likewise.
17919 (tanh_test): Likewise.
17920 (tgamma_test): Likewise.
17921 (y0_test): Likewise.
17922 (y1_test): Likewise.
17923 (yn_test): Likewise.
17925 * math/gen-libm-test.pl (adjust_arg): Remove function.
17926 (special_function): Remove argument $in_func. Only handle
17927 generating output for tables of tests, not inside functions.
17928 (parse_args): Likewise.
17929 (generate_testfile): Remove variable $in_func. Update call to
17931 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17932 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17933 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17934 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17935 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17936 (MAX_VALUE_INIT): Rename macro to max_value.
17937 (MIN_VALUE_INIT): Rename macro to min_value.
17938 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17939 (plus_zero): Remove variable.
17940 (minus_zero): Likewise.
17941 (plus_infty): Likewise.
17942 (minus_infty): Likewise.
17943 (qnan_value): Likewise.
17944 (max_value): Likewise.
17945 (min_value): Likewise.
17946 (min_subnorm_value): Likewise.
17948 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17950 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17951 uint64_t or uint32_t usage.
17952 * crypt/sha256-block.c: Likewise.
17953 * crypt/sha256-crypt.c: Likewise.
17954 * crypt/sha256.c: Likewise.
17955 * crypt/sha512-block.c: Likewise.
17956 * crypt/sha512-crypt.c: Likewise.
17957 * crypt/sha512.c: Likewise.
17958 * debug/backtrace-tst.c: Likewise.
17959 * debug/pcprofiledump.c: Likewise.
17960 * elf/cache.c: Likewise.
17961 * elf/dl-cache.c: Likewise.
17962 * elf/dl-misc.c: Likewise.
17963 * elf/dl-profile.c: Likewise.
17964 * elf/dl-support.c: Likewise.
17965 * elf/ldconfig.c: Likewise.
17966 * elf/sprof.c: Likewise.
17967 * iconv/dummy-repertoire.c: Likewise.
17968 * iconv/iconv_charmap.c: Likewise.
17969 * iconv/skeleton.c: Likewise.
17970 * iconvdata/8bit-generic.c: Likewise.
17971 * iconvdata/cp737.h: Likewise.
17972 * iconvdata/cp775.h: Likewise.
17973 * iconvdata/ibm1008.h: Likewise.
17974 * iconvdata/ibm1025.h: Likewise.
17975 * iconvdata/ibm1046.h: Likewise.
17976 * iconvdata/ibm1097.h: Likewise.
17977 * iconvdata/ibm1112.h: Likewise.
17978 * iconvdata/ibm1122.h: Likewise.
17979 * iconvdata/ibm1123.h: Likewise.
17980 * iconvdata/ibm1124.h: Likewise.
17981 * iconvdata/ibm1129.h: Likewise.
17982 * iconvdata/ibm1130.h: Likewise.
17983 * iconvdata/ibm1132.h: Likewise.
17984 * iconvdata/ibm1133.h: Likewise.
17985 * iconvdata/ibm1137.h: Likewise.
17986 * iconvdata/ibm1140.h: Likewise.
17987 * iconvdata/ibm1141.h: Likewise.
17988 * iconvdata/ibm1142.h: Likewise.
17989 * iconvdata/ibm1143.h: Likewise.
17990 * iconvdata/ibm1144.h: Likewise.
17991 * iconvdata/ibm1145.h: Likewise.
17992 * iconvdata/ibm1146.h: Likewise.
17993 * iconvdata/ibm1147.h: Likewise.
17994 * iconvdata/ibm1148.h: Likewise.
17995 * iconvdata/ibm1149.h: Likewise.
17996 * iconvdata/ibm1153.h: Likewise.
17997 * iconvdata/ibm1154.h: Likewise.
17998 * iconvdata/ibm1155.h: Likewise.
17999 * iconvdata/ibm1156.h: Likewise.
18000 * iconvdata/ibm1157.h: Likewise.
18001 * iconvdata/ibm1158.h: Likewise.
18002 * iconvdata/ibm1160.h: Likewise.
18003 * iconvdata/ibm1161.h: Likewise.
18004 * iconvdata/ibm1162.h: Likewise.
18005 * iconvdata/ibm1163.h: Likewise.
18006 * iconvdata/ibm1164.h: Likewise.
18007 * iconvdata/ibm1166.h: Likewise.
18008 * iconvdata/ibm1167.h: Likewise.
18009 * iconvdata/ibm12712.h: Likewise.
18010 * iconvdata/ibm1390.h: Likewise.
18011 * iconvdata/ibm1399.h: Likewise.
18012 * iconvdata/ibm16804.h: Likewise.
18013 * iconvdata/ibm4517.h: Likewise.
18014 * iconvdata/ibm4899.h: Likewise.
18015 * iconvdata/ibm4909.h: Likewise.
18016 * iconvdata/ibm4971.h: Likewise.
18017 * iconvdata/ibm5347.h: Likewise.
18018 * iconvdata/ibm803.h: Likewise.
18019 * iconvdata/ibm856.h: Likewise.
18020 * iconvdata/ibm901.h: Likewise.
18021 * iconvdata/ibm902.h: Likewise.
18022 * iconvdata/ibm9030.h: Likewise.
18023 * iconvdata/ibm9066.h: Likewise.
18024 * iconvdata/ibm921.h: Likewise.
18025 * iconvdata/ibm922.h: Likewise.
18026 * iconvdata/ibm9448.h: Likewise.
18027 * iconvdata/isiri-3342.h: Likewise.
18028 * iconvdata/jis0201.h: Likewise.
18029 * include/link.h: Likewise.
18030 * include/netdb.h: Likewise.
18031 * inet/check_native.c: Likewise.
18032 * inet/check_pf.c: Likewise.
18033 * inet/getipv4sourcefilter.c: Likewise.
18034 * inet/getnameinfo.c: Likewise.
18035 * inet/getsourcefilter.c: Likewise.
18036 * inet/htonl.c: Likewise.
18037 * inet/setipv4sourcefilter.c: Likewise.
18038 * inet/setsourcefilter.c: Likewise.
18039 * inet/test-inet6_opt.c: Likewise.
18040 * inet/tst-network.c: Likewise.
18041 * locale/C-collate.c: Likewise.
18042 * locale/C-ctype.c: Likewise.
18043 * locale/C-time.c: Likewise.
18044 * locale/C-translit.h: Likewise.
18045 * locale/loadarchive.c: Likewise.
18046 * locale/programs/3level.h: Likewise.
18047 * locale/programs/charmap.c: Likewise.
18048 * locale/programs/charmap.h: Likewise.
18049 * locale/programs/ld-address.c: Likewise.
18050 * locale/programs/ld-collate.c: Likewise.
18051 * locale/programs/ld-ctype.c: Likewise.
18052 * locale/programs/ld-identification.c: Likewise.
18053 * locale/programs/ld-measurement.c: Likewise.
18054 * locale/programs/ld-messages.c: Likewise.
18055 * locale/programs/ld-monetary.c: Likewise.
18056 * locale/programs/ld-name.c: Likewise.
18057 * locale/programs/ld-numeric.c: Likewise.
18058 * locale/programs/ld-paper.c: Likewise.
18059 * locale/programs/ld-telephone.c: Likewise.
18060 * locale/programs/ld-time.c: Likewise.
18061 * locale/programs/linereader.c: Likewise.
18062 * locale/programs/locale.c: Likewise.
18063 * locale/programs/locarchive.c: Likewise.
18064 * locale/programs/locfile.h: Likewise.
18065 * locale/programs/repertoire.c: Likewise.
18066 * locale/programs/simple-hash.c: Likewise.
18067 * locale/programs/simple-hash.h: Likewise.
18068 * malloc/memusage.c: Likewise.
18069 * malloc/memusagestat.c: Likewise.
18070 * nis/nis_defaults.c: Likewise.
18071 * nis/nis_hash.c: Likewise.
18072 * nis/nis_print.c: Likewise.
18073 * nis/nis_xdr.c: Likewise.
18074 * nscd/connections.c: Likewise.
18075 * nscd/hstcache.c: Likewise.
18076 * nscd/nscd_gethst_r.c: Likewise.
18077 * nscd/nscd_getserv_r.c: Likewise.
18078 * nscd/nscd_helper.c: Likewise.
18079 * nscd/servicescache.c: Likewise.
18080 * nss/makedb.c: Likewise.
18081 * nss/nss_db/db-XXX.c: Likewise.
18082 * nss/nss_db/db-initgroups.c: Likewise.
18083 * nss/nss_db/db-netgrp.c: Likewise.
18084 * nss/nss_files/files-network.c: Likewise.
18085 * nss/nss_files/files-parse.c: Likewise.
18086 * posix/bug-regex5.c: Likewise.
18087 * posix/fnmatch_loop.c: Likewise.
18088 * posix/regcomp.c: Likewise.
18089 * posix/regexec.c: Likewise.
18090 * posix/tst-rfc3484-2.c: Likewise.
18091 * posix/tst-rfc3484-3.c: Likewise.
18092 * posix/tst-rfc3484.c: Likewise.
18093 * resolv/nss_dns/dns-canon.c: Likewise.
18094 * resolv/nss_dns/dns-network.c: Likewise.
18095 * resolv/res_init.c: Likewise.
18096 * resolv/res_mkquery.c: Likewise.
18097 * resolv/tst-aton.c: Likewise.
18098 * stdlib/cxa_atexit.c: Likewise.
18099 * stdlib/cxa_finalize.c: Likewise.
18100 * stdlib/gen-fpioconst.c: Likewise.
18101 * stdlib/strtol_l.c: Likewise.
18102 * string/tst-endian.c: Likewise.
18103 * sunrpc/auth_des.c: Likewise.
18104 * sunrpc/clnt_udp.c: Likewise.
18105 * sunrpc/rtime.c: Likewise.
18106 * sunrpc/svcauth_des.c: Likewise.
18107 * sunrpc/xdr.c: Likewise.
18108 * sunrpc/xdr_intXX_t.c: Likewise.
18109 * sunrpc/xdr_rec.c: Likewise.
18110 * sysdeps/generic/ldconfig.h: Likewise.
18111 * sysdeps/generic/ldsodefs.h: Likewise.
18112 * sysdeps/generic/memusage.h: Likewise.
18113 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18116 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18123 * sysdeps/posix/getaddrinfo.c: Likewise.
18124 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18125 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18126 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18127 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18128 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18129 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18130 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18131 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18132 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18134 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18135 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18136 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18137 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18138 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18139 * sysdeps/x86_64/dl-tls.h: Likewise.
18140 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18141 * time/alt_digit.c: Likewise.
18142 * time/era.c: Likewise.
18143 * wcsmbs/tst-c16c32-1.c: Likewise.
18145 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18147 * math/libm-test.inc (struct test_sincos_data): New type.
18148 (RUN_TEST_LOOP_sincos): New macro.
18149 (sincos_test_data): New variable.
18150 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18152 2013-05-16 Richard Henderson <rth@redhat.com>
18154 * math/atest-exp2.c (LIMB64): New macro.
18155 (CONSTSZ): New macro.
18156 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18158 (print_mpn_fp): ... to function scope.
18159 (read_mpn_hex): Remove.
18160 (get_log2): Remove.
18161 (exp2_mpn): Use mp_log2.
18162 (main): Use mp_exp1.
18164 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18166 * math/libm-test.inc: Remove comment about not testing "inexact"
18168 (INEXACT_EXCEPTION): New macro.
18169 (NO_INEXACT_EXCEPTION): Likewise.
18170 (INVALID_EXCEPTION_OK): Update value.
18171 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18172 (OVERFLOW_EXCEPTION_OK): Likewise.
18173 (UNDERFLOW_EXCEPTION_OK): Likewise.
18174 (IGNORE_ZERO_INF_SIGN): Likewise.
18175 (ERRNO_UNCHANGED): Likewise.
18176 (ERRNO_EDOM): Likewise.
18177 (ERRNO_ERANGE): Likewise.
18178 (test_exceptions): Handle testing "inexact" exceptions.
18179 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18180 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18181 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18182 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18184 (rint_towardzero_test_data): Likewise.
18185 (rint_downward_test_data): Likewise.
18186 (rint_upward_test_data): Likewise.
18188 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18189 with OVERFLOW_EXCEPTION.
18190 (exp10_test_data): Likewise.
18191 (exp2_test_data): Likewise.
18192 (expm1_test_data): Likewise.
18193 (lgamma_test_data): Likewise.
18194 (pow_test_data): Likewise.
18195 (tgamma_test_data): Likewise.
18196 (yn_test_data): Remove duplicate test of overflow.
18198 * math/libm-test.inc (struct test_cc_c_data): New type.
18199 (RUN_TEST_LOOP_cc_c): New macro.
18200 (cpow_test_data): New variable.
18201 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18203 * math/libm-test.inc (struct test_f_L_data): New type.
18204 (RUN_TEST_LOOP_f_L): New macro.
18205 (llrint_test_data): New variable.
18206 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18207 (llrint_tonearest_test_data): New variable.
18208 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18209 (llrint_towardzero_test_data): New variable.
18210 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18211 (llrint_downward_test_data): New variable.
18212 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18213 (llrint_upward_test_data): New variable.
18214 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18215 (llround_test_data): New variable.
18216 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18218 2013-05-13 Peter Collingbourne <pcc@google.com>
18220 * math/atest-exp2.c (get_log2): Remove const attribute.
18222 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18224 * math/libm-test.inc (struct test_f_l_data): New type.
18225 (RUN_TEST_LOOP_f_l): New macro.
18226 (lrint_test_data): New variable.
18227 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18228 (lrint_tonearest_test_data): New variable.
18229 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18230 (lrint_towardzero_test_data): New variable.
18231 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18232 (lrint_downward_test_data): New variable.
18233 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18234 (lrint_upward_test_data): New variable.
18235 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18236 (lround_test_data): New variable.
18237 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18239 2013-05-15 Peter Collingbourne <pcc@google.com>
18241 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18242 (EXTRACT_WORDS64) Use where appropriate.
18243 (INSERT_WORDS64) Likewise.
18245 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18246 constraints with x constraints.
18247 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18249 * malloc/obstack.c (_obstack_compat): Add initializer.
18251 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18254 si_trapno and add si_addr_lsb to _sifields.sigfault.
18255 (si_trapno): Remove macro.
18256 (si_addr_lsb): Define new macro.
18257 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18259 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18261 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18262 instead of TEST_f_l.
18263 (llrint_test_tonearest): Likewise.
18264 (llrint_test_towardzero): Likewise.
18265 (llrint_test_downward): Likewise.
18266 (llrint_test_upward): Likewise.
18267 (llround_test): Likewise.
18269 * math/libm-test.inc (struct test_f_i_data): Add comment.
18270 (RUN_TEST_LOOP_f_b): New macro.
18271 (RUN_TEST_LOOP_f_b_tg): Likewise.
18272 (finite_test_data): New variable.
18273 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18274 (isfinite_test_data): New variable.
18275 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18276 (isinf_test_data): New variable.
18277 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18278 (isnan_test_data): New variable.
18279 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18280 (isnormal_test_data): New variable.
18281 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18282 (issignaling_test_data): New variable.
18283 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18284 (signbit_test_data): New variable.
18285 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18287 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18288 with INVALID_EXCEPTION.
18289 (acosh_test_data): Likewise.
18290 (asin_test_data): Likewise.
18291 (atanh_test_data): Likewise.
18292 (fmod_test_data): Likewise.
18293 (log_test_data): Likewise.
18294 (log10_test_data): Likewise.
18295 (log2_test_data): Likewise.
18296 (pow_test_data): Likewise.
18297 (sqrt_test_data): Likewise.
18298 (y0_test_data): Likewise.
18299 (y1_test_data): Likewise.
18300 (yn_test_data): Likewise.
18302 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18305 * math/libm-test.inc (struct test_ff_i_data): New type.
18306 (RUN_TEST_LOOP_ff_i_tg): New macro.
18307 (isgreater_test_data): New variable.
18308 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18309 (isgreaterequal_test_data): New variable.
18310 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18311 (isless_test_data): New variable.
18312 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18313 (islessequal_test_data): New variable.
18314 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18315 (islessgreater_test_data): New variable.
18316 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18317 (isunordered_test_data): New variable.
18318 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18320 2013-05-14 David S. Miller <davem@davemloft.net>
18322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18324 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18326 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18328 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18330 (struct test_f_i_data): Change type of max_ulp to int.
18332 * math/libm-test.inc (test_ffI_f1_data): New type.
18333 (RUN_TEST_LOOP_ffI_f1): New macro.
18334 (remquo_test_data): New variable.
18335 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18337 * setjmp/tst-setjmp-fp.c: New file.
18338 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18339 (link-libm): New variable.
18340 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18342 * math/libm-test.inc (struct test_f_i_data): New type.
18343 (RUN_TEST_LOOP_f_i): New macro.
18344 (RUN_TEST_LOOP_f_i_tg): Likewise.
18345 (fpclassify_test_data): New variable.
18346 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18347 (ilogb_test_data): New variable.
18348 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18350 * math/libm-test.inc (scalbln_test): Correct function name in END
18353 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18354 (RUN_TEST_LOOP_fI_f1): New macro.
18355 (frexp_test_data): New variable.
18356 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18358 * math/libm-test.inc (struct test_fF_f1_data): New type.
18359 (RUN_TEST_LOOP_fF_f1): New macro.
18360 (modf_test_data): New variable.
18361 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18363 * math/libm-test.inc (struct test_f_f1_data): New type.
18364 (RUN_TEST_LOOP_f_f1): New macro.
18365 (gamma_test_data): New variable.
18366 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18367 (lgamma_test_data): New variable.
18368 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18370 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18372 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18373 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18374 (main): Comment "tls" pseudo-hwcap.
18376 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18378 * math/libm-test.inc (struct test_fl_f_data): New type.
18379 (RUN_TEST_LOOP_fl_f): New variable.
18380 (scalbln_test_data): New variable.
18381 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18383 * math/libm-test.inc (struct test_fi_f_data): New type.
18384 (RUN_TEST_LOOP_fi_f): New macro.
18385 (ldexp_test_data): New variable.
18386 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18387 (scalbn_test_data): New variable.
18388 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18390 * math/libm-test.inc (struct test_c_f_data): New type.
18391 (RUN_TEST_LOOP_c_f): New macro.
18392 (cabs_test_data): New variable.
18393 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18394 (carg_test_data): New variable.
18395 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18396 (cimag_test_data): New variable.
18397 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18398 (creal_test_data): New variable.
18399 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18401 * math/libm-test.inc (struct test_if_f_data): New type.
18402 (RUN_TEST_LOOP_if_f): New macro.
18403 (jn_test_data): New variable.
18404 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18405 (yn_test_data): New variable.
18406 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18408 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18410 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18412 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18413 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18415 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18417 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18418 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18419 (bench-deps): Add bench-timing.h.
18420 * benchtests-bench-skeleton.c: Include bench-timing.h.
18421 (main): Use TIMING_* macros instead of clock_gettime.
18422 * benchtests/bench-timing.h: New file.
18425 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18426 Renamed from _LIB_VERSION.
18427 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18429 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18431 * math/libm-test.inc (struct test_fff_f_data): New type.
18432 (RUN_TEST_LOOP_fff_f): New macro.
18433 (fma_test_data): New variable.
18434 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18435 (fma_towardzero_test_data): New variable.
18436 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18437 (fma_downward_test_data): New variable.
18438 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18439 (fma_upward_test_data): New variable.
18440 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18442 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18443 (struct test_c_c_data): New type.
18444 (RUN_TEST_LOOP_c_c): New macro.
18445 (cacos_test_data): New variable.
18446 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18447 (cacosh_test_data): New variable.
18448 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18449 (casin_test_data): New variable.
18450 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18451 (casinh_test_data): New variable.
18452 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18453 (catan_test_data): New variable.
18454 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18455 (catanh_test_data): New variable.
18456 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18457 (ccos_test_data): New variable.
18458 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18459 (ccosh_test_data): New variable.
18460 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18461 (cexp_test_data): New variable.
18462 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18463 (clog_test_data): New variable.
18464 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18465 (clog10_test_data): New variable.
18466 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18467 (conj_test_data): New variable.
18468 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18469 (cproj_test_data): New variable.
18470 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18471 (csin_test_data): New variable.
18472 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18473 (csinh_test_data): New variable.
18474 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18475 (csqrt_test_data): New variable.
18476 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18477 (ctan_test_data): New variable.
18478 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18479 (ctan_tonearest_test_data): New variable.
18480 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18481 (ctan_towardzero_test_data): New variable.
18482 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18483 (ctan_downward_test_data): New variable.
18484 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18485 (ctan_upward_test_data): New variable.
18486 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18487 (ctanh_test_data): New variable.
18488 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18489 (ctanh_tonearest_test_data): New variable.
18490 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18491 (ctanh_towardzero_test_data): New variable.
18492 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18493 (ctanh_downward_test_data): New variable.
18494 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18495 (ctanh_upward_test_data): New variable.
18496 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18497 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18500 * math/libm-test.inc (struct test_ff_f_data): New type.
18501 (struct test_ff_f_data_nexttoward): Likewise.
18502 (RUN_TEST_LOOP_2_f): New macro.
18503 (RUN_TEST_LOOP_ff_f): Likewise.
18504 (atan2_test_data): New variable.
18505 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18506 (copysign_test_data): New variable.
18507 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18508 (fdim_test_data): New variable.
18509 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18510 (fmax_test_data): New variable.
18511 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18512 (fmin_test_data): New variable.
18513 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18514 (fmod_test_data): New variable.
18515 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18516 (hypot_test_data): New variable.
18517 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18518 (nextafter_test_data): New variable.
18519 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18520 (nexttoward_test_data): New variable.
18521 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18522 (pow_test_data): New variable.
18523 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18524 (pow_tonearest_test_data): New variable.
18525 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18526 (pow_towardzero_test_data): New variable.
18527 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18528 (pow_downward_test_data): New variable.
18529 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18530 (pow_upward_test_data): New variable.
18531 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18532 (remainder_test_data): New variable.
18533 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18534 (scalb_test_data): New variable.
18535 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18536 * sysdeps/i386/fpu/libm-test-ulps: Update.
18538 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18540 * math/libm-test.inc (fma_test): Use max_value instead of local
18542 (nextafter_test): Likewise.
18544 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18545 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18546 (acos_downward_test_data): New variable.
18547 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18548 (acos_upward_test_data): New variable.
18549 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18550 (acosh_test_data): New variable.
18551 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18552 (asin_test_data): New variable.
18553 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18554 (asin_tonearest_test_data): New variable.
18555 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18556 (asin_towardzero_test_data): New variable.
18557 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18558 (asin_downward_test_data): New variable.
18559 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18560 (asin_upward_test_data): New variable.
18561 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18562 (asinh_test_data): New variable.
18563 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18564 (atan_test_data): New variable.
18565 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18566 (atanh_test_data): New variable.
18567 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18568 (cbrt_test_data): New variable.
18569 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18570 (ceil_test_data): New variable.
18571 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18572 (cos_test_data): New variable.
18573 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18574 (cos_tonearest_test_data): New variable.
18575 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18576 (cos_towardzero_test_data): New variable.
18577 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18578 (cos_downward_test_data): New variable.
18579 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18580 (cos_upward_test_data): New variable.
18581 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18582 (cosh_test_data): New variable.
18583 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18584 (cosh_tonearest_test_data): New variable.
18585 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18586 (cosh_towardzero_test_data): New variable.
18587 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18588 (cosh_downward_test_data): New variable.
18589 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18590 (cosh_upward_test_data): New variable.
18591 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18592 (erf_test_data): New variable.
18593 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18594 (erfc_test_data): New variable.
18595 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18596 (exp_test_data): New variable.
18597 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18598 (exp_tonearest_test_data): New variable.
18599 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18600 (exp_towardzero_test_data): New variable.
18601 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18602 (exp_downward_test_data): New variable.
18603 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18604 (exp_upward_test_data): New variable.
18605 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18606 (exp10_test_data): New variable.
18607 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18608 (exp2_test_data): New variable.
18609 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18610 (expm1_test_data): New variable.
18611 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18612 (fabs_test_data): New variable.
18613 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18614 (floor_test_data): New variable.
18615 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18616 (j0_test_data): New variable.
18617 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18618 (j1_test_data): New variable.
18619 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18620 (log_test_data): New variable.
18621 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18622 (log10_test_data): New variable.
18623 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18624 (log1p_test_data): New variable.
18625 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18626 (log2_test_data): New variable.
18627 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18628 (logb_test_data): New variable.
18629 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18630 (logb_downward_test_data): New variable.
18631 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18632 (nearbyint_test_data): New variable.
18633 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18634 (rint_test_data): New variable.
18635 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18636 (rint_tonearest_test_data): New variable.
18637 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18638 (rint_towardzero_test_data): New variable.
18639 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18640 (rint_downward_test_data): New variable.
18641 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18642 (rint_upward_test_data): New variable.
18643 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18644 (round_test_data): New variable.
18645 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18646 (sin_test_data): New variable.
18647 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18648 (sin_tonearest_test_data): New variable.
18649 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18650 (sin_towardzero_test_data): New variable.
18651 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18652 (sin_downward_test_data): New variable.
18653 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18654 (sin_upward_test_data): New variable.
18655 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18656 (sinh_test_data): New variable.
18657 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18658 (sinh_tonearest_test_data): New variable.
18659 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18660 (sinh_towardzero_test_data): New variable.
18661 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18662 (sinh_downward_test_data): New variable.
18663 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18664 (sinh_upward_test_data): New variable.
18665 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18666 (sqrt_test_data): New variable.
18667 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18668 (tan_test_data): New variable.
18669 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18670 (tan_tonearest_test_data): New variable.
18671 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18672 (tan_towardzero_test_data): New variable.
18673 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18674 (tan_downward_test_data): New variable.
18675 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18676 (tan_upward_test_data): New variable.
18677 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18678 (tanh_test_data): New variable.
18679 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18680 (tgamma_test_data): New variable.
18681 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18682 (trunc_test_data): New variable.
18683 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18684 (y0_test_data): New variable.
18685 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18686 (y1_test_data): New variable.
18687 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18688 (significand_test_data): New variable.
18689 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18691 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18694 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18696 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18698 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18700 2013-05-10 Andreas Jaeger <aj@suse.de>
18703 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18704 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18706 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18708 * math/gen-libm-test.pl (adjust_arg): New function.
18709 (special_functions): Handle generating output in both functions
18711 (parse_args): Likewise.
18712 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18713 $in_func argument to parse_args.
18714 * math/libm-test.inc (struct test_f_f_data): New type.
18715 (IF_ROUND_INIT_): New macro.
18716 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18717 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18718 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18719 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18720 (ROUND_RESTORE_): Likewise.
18721 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18722 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18723 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18724 (ROUND_RESTORE_FE_UPWARD): Likewise.
18725 (RUN_TEST_LOOP_f_f): New macro.
18726 (acos_test_data): New variable.
18727 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18728 (acos_tonearest_test_data): New variable.
18729 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18731 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18733 * benchtests/bench-skeleton.c (startup): Fix coding style.
18735 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18738 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18739 negative infinity argument.
18740 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18741 negative infinity argument.
18742 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18743 negative infinity argument.
18744 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18747 2013-05-10 Florian Weimer <fweimer@redhat.com>
18749 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18750 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18751 * iconv/iconv_prog.c (main): Likewise.
18752 * locale/programs/charmap-dir.c (charmap_readdir)
18753 (fopen_uncompressed): Likewise.
18754 * locale/programs/locfile.c (siblings_uncached)
18755 (write_locale_data): Use lstat64 instead of lstat.
18756 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18759 2013-05-10 Andreas Jaeger <aj@suse.de>
18762 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18764 Include <locale.h>.
18766 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18768 * elf/dl-close.c (_dl_close_worker): Add comments.
18770 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18773 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18775 (__ieee754_rem_pio2l): Update comments.
18778 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18780 (__ieee754_rem_pio2l): Update comments.
18782 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18783 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18785 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18788 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18789 (M_PI_34_LOG10El): Likewise.
18790 (M_PI2_LOG10El): Likewise.
18791 (M_PI4_LOG10El): Likewise.
18792 (M_PI_LOG10El): Likewise.
18794 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18798 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18800 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18801 (MINUS_ZERO_INIT): Likewise.
18802 (PLUS_INFTY_INIT): Likewise.
18803 (MINUS_INFTY_INIT): Likewise.
18804 (QNAN_VALUE_INIT): Likewise.
18805 (MAX_VALUE_INIT): Likewise.
18806 (MIN_VALUE_INIT): Likewise.
18807 (MIN_SUBNORM_VALUE_INIT): Likewise.
18808 (plus_zero): Initialize with PLUS_ZERO_INIT.
18809 (minus_zero): Initialize with MINUS_ZERO_INIT.
18810 (plus_infty): Initialize with PLUS_INFTY_INIT.
18811 (minus_infty): Initialize with MINUS_INFTY_INIT.
18812 (qnan_value): Initialize with QNAN_VALUE_INIT.
18813 (max_value): Initialize with MAX_VALUE_INIT.
18814 (min_value): Initialize with MIN_VALUE_INIT.
18815 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18817 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18818 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18819 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18820 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18822 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18823 (RUN_TEST_2_f): Likewise.
18824 (RUN_TEST_ff_f): Likewise.
18825 (RUN_TEST_fi_f): Likewise.
18826 (RUN_TEST_fl_f): Likewise.
18827 (RUN_TEST_fff_f): Likewise.
18828 (RUN_TEST_c_f): Likewise.
18829 (RUN_TEST_f_f1): Likewise.
18830 (RUN_TEST_fF_f1): Likewise.
18831 (RUN_TEST_fI_f1): Likewise.
18832 (RUN_TEST_ffI_f1): Likewise.
18833 (RUN_TEST_c_c): Likewise.
18834 (RUN_TEST_cc_c): Likewise.
18835 (RUN_TEST_f_i): Likewise.
18836 (RUN_TEST_f_i_tg): Likewise.
18837 (RUN_TEST_ff_i_tg): Likewise.
18838 (RUN_TEST_f_b): Likewise.
18839 (RUN_TEST_f_b_tg): Likewise.
18840 (RUN_TEST_f_l): Likewise.
18841 (RUN_TEST_f_L): Likewise.
18842 (RUN_TEST_sincos): Likewise.
18843 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18844 whether to show exceptions. Do not include ");\n" in return
18846 (special_functions): Output call to RUN_TEST_sincos instead of
18847 check_float calls. Update calls to new_test.
18848 (parse_args): Output call to single RUN_TEST_* macro instead of
18849 check_* calls and other assignments. Update calls to new_test.
18855 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18856 input to result for tgamma overflow.
18857 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18858 (gamma_coeff): New variable.
18859 (NCOEFF): New macro.
18860 (gamma_positive): New function.
18861 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18862 underflow here. Use gamma_positive instead of exp (lgamma) for
18864 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18865 (gamma_coeff): New variable.
18866 (NCOEFF): New macro.
18867 (gammaf_positive): New function.
18868 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18869 underflow here. Use gamma_positive instead of exp (lgamma) for
18871 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18872 (gamma_coeff): New variable.
18873 (NCOEFF): New macro.
18874 (gammal_positive): New function.
18875 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18876 underflow here. Use gamma_positive instead of exp (lgamma) for
18878 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18879 (gamma_coeff): New variable.
18880 (NCOEFF): New macro.
18881 (gammal_positive): New function.
18882 (__ieee754_gammal_r): Handle positive infinity, overflow and
18883 underflow here. Handle NaN the same as positive infinity. Remove
18884 check x < 0xffffffff for negative integers. Use gamma_positive
18885 instead of exp (lgamma) for other arguments.
18886 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18887 (gamma_coeff): New variable.
18888 (NCOEFF): New macro.
18889 (gammal_positive): New function.
18890 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18891 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18896 * sysdeps/generic/math_private.h (__gamma_productf): New
18898 (__gamma_product): Likewise.
18899 (__gamma_productl): Likewise.
18900 * math/Makefile (libm-calls): Add gamma_product.
18901 * math/libm-test.inc (tgamma_test): Add more tests.
18902 * sysdeps/i386/fpu/libm-test-ulps: Update.
18903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18905 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18907 * benchtests/bench-skeleton.c (main): Preheat CPU.
18909 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18911 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18913 2013-05-07 Roland McGrath <roland@hack.frob.com>
18915 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18916 and _dl_skip_args_internal.
18918 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18920 * manual/message.texi (Message Translation): Talk about users.
18921 Message to key mapping impacts design.
18923 2013-05-06 Roland McGrath <roland@hack.frob.com>
18925 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18927 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18929 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18930 * sysdeps/wordsize-64/glob64.c: ... here.
18932 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18933 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18936 * debug/getlogin_r_chk.c: Moved to ...
18937 * login/getlogin_r_chk.c: ... here.
18938 * debug/Makefile (routines): Move getlogin_r_chk to ...
18939 * login/Makefile (routines): ... here.
18940 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18941 * login/Versions (libc: GLIBC_2.4): ... here.
18943 * io/poll.c (__poll): Renamed from poll.
18944 Add libc_hidden_def.
18945 (poll): Define as weak alias.
18947 * debug/ptsname_r_chk.c: Moved to ...
18948 * login/ptsname_r_chk.c: ... here.
18949 * debug/Makefile (routines): Move ptsname_r_chk to ...
18950 * login/Makefile (routines): ... here.
18951 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18952 * login/Versions (libc: GLIBC_2.4): ... here.
18954 * posix/getlogin.c: Moved to ...
18955 * login/getlogin.c: ... here.
18956 * posix/getlogin_r.c: Moved to ...
18957 * login/getlogin_r.c: ... here.
18958 * posix/getlogin_r.c: Moved to ...
18959 * login/getlogin_r.c: ... here.
18960 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18961 * login/Makefile (routines): ... here.
18962 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18963 * login/Versions (libc: GLIBC_2.0): ... here.
18965 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18966 (setrlimit): Define as weak alias.
18968 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18969 Call __ names for open, ftruncate, and close.
18970 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18971 (truncate): Define as weak alias.
18973 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18975 * math/gen-libm-test.pl (parse_args): Initialize x before each
18976 test of frexp, modf and remquo.
18978 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18979 test signgam value.
18981 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18985 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18987 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18989 2013-05-06 Roland McGrath <roland@hack.frob.com>
18991 * elf/dl-writev.h: New file.
18992 * elf/dl-misc.c: Include it.
18993 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18994 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18996 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18998 * math/libm-test.inc (noXFails): Remove variable.
18999 (noXPasses): Likewise.
19000 (BUILD_COMPLEX_INT): Remove macro.
19001 (print_screen): Remove xfail argument.
19002 (print_screen_max_error): Likewise.
19003 (update_stats): Likewise.
19004 (print_max_error): Likewise. Update calls to other affected
19006 (print_complex_max_error): Likewise.
19007 (test_single_exception): Update calls to print_screen.
19008 (test_single_errno): Likewise.
19009 (check_float_internal): Remove xfail argument. Update calls to
19010 other affected functions.
19011 (check_float): Likewise.
19012 (check_complex): Likewise.
19013 (check_int): Likewise.
19014 (check_long): Likewise.
19015 (check_bool): Likewise.
19016 (check_longlong): Likewise.
19017 (main): Don't print noXFails and noXPasses.
19018 * math/gen-libm-test.pl (top level): Don't mention expected
19019 failure handling in comment.
19020 (new_test): Don't handle expected failures.
19021 (parse_args): Don't mention expected failure handling in comment.
19022 (generate_testfile): Don't handle expected failures.
19023 (parse_ulps): Likewise.
19024 (print_ulps_file): Likewise.
19025 (get_failure): Remove function.
19026 (output_test): Don't handle expected failures.
19027 * make/README.libm-test: Don't mention expected failure handling.
19029 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19030 (minus_zero): Likewise.
19031 (plus_infty): Likewise.
19032 (minus_infty): Likewise.
19033 (qnan_value): Likewise.
19034 (max_value): Likewise.
19035 (min_value): Likewise.
19036 (min_subnorm_value): Likewise.
19037 (initialize): Do not initialize those variables dynamically.
19039 2013-05-03 Roland McGrath <roland@hack.frob.com>
19041 * io/open.c (__open_2): Moved to ...
19042 * io/open_2.c: ... this new file.
19043 * io/open64.c (__open64_2): Moved to ...
19044 * io/open64_2.c: ... this new file.
19045 * io/openat.c (__openat_2): Moved to ...
19046 * io/openat_2.c: ... this new file.
19047 * io/openat64.c (__openat64_2): Moved to ...
19048 * io/openat64_2.c: ... this new file.
19049 * io/Makefile (routines): Add them.
19050 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19051 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19052 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19053 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19054 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19055 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19056 (__openat64): Add hidden_ver.
19057 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19058 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19060 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19061 Separately conditionalize setting of GLRO(dl_sysinfo) so
19062 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19063 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19065 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19067 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19070 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19071 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19072 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19073 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19074 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19076 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19078 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19079 test signgam value.
19081 * math/libm-test.inc (hypot_test): Do not use
19082 IGNORE_ZERO_INF_SIGN.
19084 2013-05-03 Andreas Jaeger <aj@suse.de>
19086 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19089 (PF_MAX): Adjust for VSOCK change.
19091 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19095 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19098 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19099 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19100 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19102 2013-05-02 David S. Miller <davem@davemloft.net>
19104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19106 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19108 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19110 2013-05-01 Roland McGrath <roland@hack.frob.com>
19112 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19114 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19117 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19118 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19119 Use __attribute__ ((__gnu_inline__)).
19120 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19121 Don't use __attribute__ ((__gnu_inline__)).
19123 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19126 * math/s_catan.c (__catan): Handle small real or imaginary part of
19127 input specially to avoid spurious underflow.
19128 * math/s_catanf.c (__catanf): Likewise.
19129 * math/s_catanh.c (__catanh): Likewise.
19130 * math/s_catanhf.c (__catanhf): Likewise.
19131 * math/s_catanhl.c (__catanhl): Likewise.
19132 * math/s_catanl.c (__catanl): Likewise.
19133 * math/libm-test.inc (catan_test): Add more tests.
19134 (catanh_test): Likewise.
19135 * sysdeps/i386/fpu/libm-test-ulps: Update.
19136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19138 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19142 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19145 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19146 accurately for denominator in atan2.
19147 * math/s_catanf.c (__catanf): Likewise.
19148 * math/s_catanh.c (__catanh): Likewise.
19149 * math/s_catanhf.c (__catanhf): Likewise.
19150 * math/s_catanhl.c (__catanhl): Likewise.
19151 * math/s_catanl.c (__catanl): Likewise.
19152 * math/libm-test.inc (catan_test): Add more tests.
19153 (catanh_test): Likewise.
19154 * sysdeps/i386/fpu/libm-test-ulps: Update.
19155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19157 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19159 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19161 * benchtests/Makefile (bench): Remove slow benchmarks.
19162 * benchtests/atan-inputs: Add slow benchmark inputs.
19163 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19164 (BENCH_FUNC): Accept variant offset.
19166 * benchtests/bench-skeleton.c (main): Run benchmark for each
19168 * benchtests/cos-inputs: Add slow benchmark inputs.
19169 * benchtests/exp-inputs: Likewise.
19170 * benchtests/pow-inputs: Likewise.
19171 * benchtests/sin-inputs: Likewise.
19172 * benchtests/slowatan-inputs: Remove.
19173 * benchtests/slowatan.c: Remove.
19174 * benchtests/slowcos-inputs: Remove.
19175 * benchtests/slowcos.c: Remove.
19176 * benchtests/slowexp-inputs: Remove.
19177 * benchtests/slowexp.c: Remove.
19178 * benchtests/slowpow-inputs: Remove.
19179 * benchtests/slowpow.c: Remove.
19180 * benchtests/slowsin-inputs: Remove.
19181 * benchtests/slowsin.c: Remove.
19182 * benchtests/slowtan-inputs: Remove.
19183 * benchtests/slowtan.c: Remove.
19184 * benchtests/tan-inputs: Add slow benchmark inputs.
19185 * scripts/bench.pl: Parse comments and directives.
19187 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19189 ($(objpfx)bench-%.c): Remove *-ITER.
19190 * benchtests/bench-modf.c: Remove definition of ITER.
19191 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19192 (main): Loop for DURATION seconds instead of fixed number of
19194 * scripts/bench.pl: Don't expect iterations in parameters.
19196 2013-04-29 Roland McGrath <roland@hack.frob.com>
19198 * io/fchdir.c (__fchdir): Renamed from fchdir.
19199 (fchdir): Define as weak alias.
19201 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19203 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19204 (ERRNO_EDOM): Likewise.
19205 (ERRNO_ERANGE): Likewise.
19206 (noErrnoTests): New variable.
19207 (init_max_error): Set errno to 0.
19208 (test_single_errno): New function.
19209 (test_errno): Likewise.
19210 (check_float_internal): Call test_errno. Set errno to 0.
19211 (check_complex): Refer to errno tests in comment.
19212 (check_int): Call test_errno. Set errno to 0.
19213 (check_long): Likewise.
19214 (check_bool): Likewise.
19215 (check_longlong): Likewise.
19216 (cos_test): Use ERRNO_* flags for errno tests instead of
19218 (expm1_test): Likewise.
19219 (fmod_test): Likewise.
19220 (ilogb_test): Likewise.
19221 (lgamma_test): Likewise.
19222 (pow_test): Likewise.
19223 (remainder_test): Likewise.
19224 (sin_test): Likewise.
19225 (tan_test): Likewise.
19226 (yn_test): Likewise.
19227 (initialize): Set errno to 0.
19228 (main): Print number of errno tests.
19229 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19231 2013-04-29 Andreas Jaeger <aj@suse.de>
19234 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19238 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19239 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19243 * stdlib/random.c (__initstate): Return NULL if
19247 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19248 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19251 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19255 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19257 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19258 of individual tests.
19259 (casin_test): Likewise.
19260 (casinh_test): Likewise.
19262 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19265 * math/s_catan.c (__catan): Handle arguments with large real or
19266 imaginary part separately without squaring.
19267 * math/s_catanf.c (__catanf): Likewise.
19268 * math/s_catanh.c (__catanh): Likewise.
19269 * math/s_catanhf.c (__catanhf): Likewise.
19270 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19272 (__catanhl): Handle arguments with large real or imaginary part
19273 separately without squaring.
19274 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19276 (__catanl): Handle arguments with large real or imaginary part
19277 separately without squaring.
19278 * math/libm-test.inc (catan_test): Add more tests.
19279 (catanh_test): Likewise.
19280 * sysdeps/i386/fpu/libm-test-ulps: Update.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19283 2013-04-27 Andreas Jaeger <aj@suse.de>
19286 * stdlib/stdlib.h: Update guards for qecvt.
19287 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19290 2013-04-27 Allan McRae <allan@archlinux.org>
19292 * sysdeps/i386/fpu/libm-test-ulps: Update.
19294 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19297 * math/s_catan.c: Include <float.h>.
19298 (__catan): Ensure underflow exception occurs for underflowed
19300 * math/s_catanf.c: Include <float.h>.
19301 (__catanf): Ensure underflow exception occurs for underflowed
19303 * math/s_catanh.c: Include <float.h>.
19304 (__catanh): Ensure underflow exception occurs for underflowed
19306 * math/s_catanhf.c: Include <float.h>.
19307 (__catanhf): Ensure underflow exception occurs for underflowed
19309 * math/s_catanhl.c: Include <float.h>.
19310 (__catanhl): Ensure underflow exception occurs for underflowed
19312 * math/s_catanl.c: Include <float.h>.
19313 (__catanl): Ensure underflow exception occurs for underflowed
19315 * math/libm-test.inc (catan_test): Add more tests.
19316 (catanh_test): Likewise.
19319 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19320 underflowed result.
19321 * math/s_ccoshf.c (__ccoshf): Likewise.
19322 * math/s_ccoshl.c (__ccoshl): Likewise.
19323 * math/s_csin.c (__csin): Likewise.
19324 * math/s_csinf.c (__csinf): Likewise.
19325 * math/s_csinh.c (__csinh): Likewise.
19326 * math/s_csinhf.c (__csinhf): Likewise.
19327 * math/s_csinhl.c (__csinhl): Likewise.
19328 * math/s_csinl.c (__csinl): Likewise.
19329 * math/libm-test.inc (ccos_test): Add more tests.
19330 (ccosh_test): Likewise.
19331 (csin_test): Likewise.
19332 (csinh_test): Likewise.
19334 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19336 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19337 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19338 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19339 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19340 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19341 powerpc/power5+/fpu folders.
19342 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19345 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19349 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19351 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19352 additions to variable.
19353 [$(config-machine) = x86_64] (modules-names): Likewise.
19354 ($(objpfx)tst-audit3): Remove dependency.
19355 ($(objpfx)tst-audit3.out): Likewise.
19356 ($(objpfx)tst-audit4): Likewise.
19357 ($(objpfx)tst-audit4.out): Likewise.
19358 ($(objpfx)tst-audit5): Likewise.
19359 ($(objpfx)tst-audit5.out): Likewise.
19360 ($(objpfx)tst-audit6): Likewise.
19361 ($(objpfx)tst-audit6.out): Likewise.
19362 ($(objpfx)tst-audit7): Likewise.
19363 ($(objpfx)tst-audit7.out): Likewise.
19364 (tst-audit3-ENV): Remove variable.
19365 (tst-audit4-ENV): Likewise.
19366 (tst-audit5-ENV): Likewise.
19367 (tst-audit6-ENV): Likewise.
19368 (tst-audit7-ENV): Likewise.
19369 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19370 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19371 addition to variable.
19372 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19373 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19374 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19375 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19376 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19377 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19378 tst-audit3, tst-audit4 and tst-audit5.
19379 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19380 tst-audit6 and tst-audit7.
19381 [$(subdir) = elf] (modules-names): Add audit modules for those
19383 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19384 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19385 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19386 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19387 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19388 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19389 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19390 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19391 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19392 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19393 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19394 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19395 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19396 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19397 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19398 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19400 [$(subdir) = elf && $(config-cflags-avx) = yes]
19401 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19402 [$(subdir) = elf && $(config-cflags-avx) = yes]
19403 (CFLAGS-tst-auditmod4a.c): Likewise.
19404 [$(subdir) = elf && $(config-cflags-avx) = yes]
19405 (CFLAGS-tst-auditmod4b.c): Likewise.
19406 [$(subdir) = elf && $(config-cflags-avx) = yes]
19407 (CFLAGS-tst-auditmod6b.c): Likewise.
19408 [$(subdir) = elf && $(config-cflags-avx) = yes]
19409 (CFLAGS-tst-auditmod6c.c): Likewise.
19410 [$(subdir) = elf && $(config-cflags-avx) = yes]
19411 (CFLAGS-tst-auditmod7b.c): Likewise.
19412 * elf/tst-audit3.c: Move to ...
19413 * sysdeps/x86_64/tst-audit3.c: ... here.
19414 * elf/tst-audit4.c: Move to ...
19415 * sysdeps/x86_64/tst-audit4.c: ... here.
19416 * elf/tst-audit5.c: Move to ...
19417 * sysdeps/x86_64/tst-audit5.c: ... here.
19418 * elf/tst-audit6.c: Move to ...
19419 * sysdeps/x86_64/tst-audit6.c: ... here.
19420 * elf/tst-audit7.c: Move to ...
19421 * sysdeps/x86_64/tst-audit7.c: ... here.
19422 * elf/tst-auditmod3a.c: Move to ...
19423 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19424 * elf/tst-auditmod3b.c: Move to ...
19425 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19426 * elf/tst-auditmod4a.c: Move to ...
19427 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19428 * elf/tst-auditmod4b.c: Move to ...
19429 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19430 * elf/tst-auditmod5a.c: Move to ...
19431 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19432 * elf/tst-auditmod5b.c: Move to ...
19433 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19434 * elf/tst-auditmod6a.c: Move to ...
19435 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19436 * elf/tst-auditmod6b.c: Move to ...
19437 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19438 * elf/tst-auditmod6c.c: Move to ...
19439 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19440 * elf/tst-auditmod7a.c: Move to ...
19441 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19442 * elf/tst-auditmod7b.c: Move to ...
19443 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19445 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19448 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19449 define unconditionally.
19450 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19451 define unconditionally.
19452 (INT8_C, INT16_C, etc.): Likewise.
19454 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19456 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19457 __ehdr_start with hidden visibility.
19459 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19461 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19463 * math/libm-test.inc (cos_test): Use accurate hex constants.
19464 (sincost_test): Likewise.
19466 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19468 * math/libm-test.inc (catan_test): Add more tests.
19469 (catanh_test): Likewise.
19471 * math/s_catanf.c (__catanf): Use suffixed floating-point
19473 * math/s_catanhf.c (__catanhf): Likewise.
19474 * math/s_catanhl.c (__catanhl): Likewise.
19475 * math/s_catanl.c (__catanl): Likewise.
19478 * math/s_catan.c (__catan): Calculate imaginary part of result
19479 with log1p not log unless computing log of number close to 0.
19480 * math/s_catanf.c (__catanf): Likewise.
19481 * math/s_catanl.c (__catanl): Likewise.
19482 * math/s_catanh.c (__catanh): Calculate real part of result with
19483 log1p not log unless computing log of number close to 0.
19484 * math/s_catanhf.c (__catanhf): Likewise.
19485 * math/s_catanhl.c (__catanhl): Likewise.
19486 * math/libm-test.inc (catan_test): Add more tests.
19487 (catanh_test): Likewise.
19488 * sysdeps/i386/fpu/libm-test-ulps: Update.
19489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19491 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19493 * benchtests/Makefile: Mention files in which fast and slow
19494 paths of math functions are implemented.
19496 2013-04-23 Roland McGrath <roland@hack.frob.com>
19498 * sysdeps/posix/timespec_get.c: New file.
19500 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19502 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19504 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19506 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19507 powerpc/power5/fpu folders.
19508 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19509 * benchtests/Makefile: Add modf testcase.
19510 * benchtests/bench-modf.c: New file: Benchmark test for mo
19512 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19515 * time/Makefile (tests): Add tst-strptime-whitespace.
19516 * time/strptime_l.c (get_number): Use ISSPACE.
19517 (__strptime_internal): Likewise.
19518 * time/tst-strptime-whitespace.c: New test case.
19520 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19522 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19524 (_nss_files_init): Set it here.
19526 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19528 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19529 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19532 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19534 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19536 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19541 2013-04-21 David S. Miller <davem@davemloft.net>
19543 * po/ru.po: Update Russion translation from translation project.
19545 2013-04-17 Adam Conrad <adconrad@0c3.net>
19547 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19550 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19552 * configure.in: Remove i386 configure warning. Remove i386 case.
19553 * configure: Regenerate.
19554 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19555 Add example to error message.
19556 * sysdeps/i386/configure: Regenerate.
19558 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19562 * benchtests/cos-inputs: New file.
19563 * benchtests/slowcos-inputs: New file.
19564 * benchtests/slowcos.c: New file.
19565 * benchtests/slowtan-inputs: New file.
19566 * benchtests/slowtan.c: New file.
19567 * benchtests/tan-inputs: New file.
19569 2013-04-16 Roland McGrath <roland@hack.frob.com>
19571 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19574 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19576 * benchtests/Makefile: Include cppflags-iterator.mk to add
19577 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19579 * Makefile.in (bench-clean): New target.
19580 * benchtests/Makefile (bench-clean): Likewise.
19582 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19584 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19586 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19588 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19590 2013-04-15 Andreas Schwab <schwab@suse.de>
19592 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19593 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19594 * nscd/pwdcache.c (cache_addpw): Likewise.
19595 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19598 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19600 * benchtests/Makefile (bench): Write all output to
19601 bench-out.tmp together.
19603 2013-04-15 Andreas Schwab <schwab@suse.de>
19605 * nscd/nscd.c (main): Don't fork again after closing files.
19607 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19609 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19611 * benchtests/Rules (bench-deps): Collect dependencies into a
19612 single variable. Add Makefile to dependencies.
19613 ($(objpfx)bench-%.c): Depend on bench-deps.
19615 2013-04-12 Roland McGrath <roland@hack.frob.com>
19616 Xavier Roche <roche+kml2@exalead.com>
19619 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19620 just that it's a file descriptor.
19621 * manual/llio.texi (Synchronizing AIO Operations): Update description
19622 for EBADF error from aio_fsync.
19624 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19626 * Rules (bench): Move target definition...
19627 * benchtests/Makefile: ... here.
19629 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19631 * math/libm-test.inc (cos_test): Fix PI/2 test.
19632 (sincos_test): Likewise.
19633 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19634 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19636 2013-04-11 Andreas Schwab <schwab@suse.de>
19639 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19640 accept exponent character only when digits were seen.
19641 * stdio-common/Makefile (tests): Add bug26.
19642 * stdio-common/bug26.c: New file.
19645 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19648 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19650 * Makeconfig (rtld-prefix): Define built linker prefix.
19651 * Rules (run-bench): Use it.
19652 * math/Makefile (run-regen-ulps): Likewise.
19654 * Rules (bench): Remove eval.
19656 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19657 Roland McGrath <roland@hack.frob.com>
19658 Ondrej Bilka <neleai@seznam.cz>
19661 * time/getdate.c: Include ctype.h and alloca.h.
19662 (__getdate_r): Trim leading and trailing spaces of input.
19663 * time/tst-getdate.c (tests): Add tests with leading and
19666 2013-04-08 Roland McGrath <roland@hack.frob.com>
19669 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19670 when computing value.
19672 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19674 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19675 Use testrun.sh to run libm tests.
19678 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19680 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19683 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19685 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19687 * Makefile.in (regen-ulps): New target.
19688 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19689 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19690 [ifneq (no,$(PERL)] (regen-ulps): New target.
19691 [ifeq (no,$(PERL)] (regen-ulps): New target.
19692 * math/libm-test.inc (ulps_file_name): Define.
19693 (output_dir): New variable.
19694 (options): Add "output-dir" option.
19695 (parse_opt): Handle 'o' case.
19696 (main): If output_dir is non-NULL use it as a prefix
19698 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19700 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19702 [BZ #10060, #10062]
19703 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19704 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19705 fail configure if __sync_val_compare_and_swap is not inlined.
19706 * sysdeps/i386/configure: Regenerate.
19707 * configure.in: Build for i686 when configured for i386.
19708 * configure: Regenerate.
19709 * README: Remove i386 reference.
19711 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19713 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19716 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19718 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19719 (lmsnanval): New variables.
19720 (F): Add conversion tests.
19721 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19722 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19724 * stdio-common/tstdiomisc.c (F): Properly collect individual
19727 [BZ #14686, #15336]
19728 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19729 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19730 Instead, use input NaN values or generate a qNaN by arithmetic
19731 operation. Also fix bugs to comply with the standard.
19732 * math/libm-test.inc (remainder_test): Add more tests.
19734 [BZ #15335, #15342]
19735 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19737 input NaN values or generate a qNaN by arithmetic operation.
19739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19742 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19745 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19748 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19749 underflowed result.
19750 * math/s_cexpf.c (__cexpf): Likewise.
19751 * math/s_cexpl.c (__cexpl): Likewise.
19752 * math/libm-test.inc (cexp_test): Add more tests.
19754 2013-04-03 Andreas Schwab <schwab@suse.de>
19757 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19758 order arrays from heap if bigger than alloca cutoff.
19760 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19762 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19763 (SNAN_TESTS_double): Refer to GCC PR56831.
19764 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19767 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19769 * Rules (bench): Move bench.out after the run is complete.
19771 * Rules (bench): Echo currently running benchmark.
19773 * benchtests/Makefile (bench): Add atan and slowatan.
19774 * benchtests/atan-inputs: New file.
19775 * benchtests/slowatan-inputs: New file.
19776 * benchtests/slowatan.c: New file.
19778 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19779 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19783 * sysdeps/unix/sysv/linux/kernel-features.h
19784 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19785 __ASSUME_XFS_RESTRICTED_CHOWN.
19786 * sysdeps/unix/sysv/linux/pathconf.c
19787 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19788 Save and restore errno.
19790 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19793 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19794 arguments using __kernel_casinh.
19795 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19796 arguments using __kernel_casinhf.
19797 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19798 arguments using __kernel_casinhl.
19799 * math/libm-test.inc (cacosh_test): Add more tests.
19800 * sysdeps/i386/fpu/libm-test-ulps: Update.
19801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19803 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19805 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19808 * bench/Makefile (bench): Add sin and slowsin.
19809 * benchtests/sin-inputs: New file.
19810 * benchtests/slowsin-inputs: New file.
19811 * benchtests/slowsin.c: New file.
19813 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19814 (bench): Add slowexp and slowpow.
19815 (exp-ITER): Increase iterations.
19816 (pow-ITER): Likewise.
19817 * benchtests/exp-inputs: Change input.
19818 * benchtests/pow-inputs: Likewise.
19819 * benchtests/slowexp-inputs: New file.
19820 * benchtests/slowexp.c: New file.
19821 * benchtests/slowpow-inputs: New file.
19822 * benchtests/slowpow.c: New file.
19824 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19826 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19828 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19829 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19830 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19831 * benchtests/Makefile: Add rint benchtest.
19832 * benchtests/rint-inputs: Input for rint benchtest.
19834 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19836 * Versions.def (libm): Add GLIBC_2.18.
19837 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19838 hidden libm prototypes.
19839 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19840 * math/Makefile (libm-calls): Add s_issignaling.
19841 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19842 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19843 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19845 * math/math.h [__USE_GNU] (issignaling): New macro.
19846 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19847 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19849 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19852 * manual/arith.texi (issignaling): New section.
19853 * manual/libm-err-tab.pl (@all_functions): Update comment.
19854 * math/gen-libm-test.pl (parse_args): Apply special handling for
19856 * math/libm-test.inc (print_float, issignaling_test): New
19858 (check_float_internal): Add issignaling checks.
19859 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19860 default definition.
19861 * sysdeps/powerpc/math-tests.h: New file.
19862 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19864 * math/test-snan.c (TEST_FUNC): Likewise.
19866 2013-03-30 David S. Miller <davem@davemloft.net>
19868 * po/de.po: Update from translation team.
19870 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19873 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19874 imaginary part less than 1.0 and real part less than 0.5
19876 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19877 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19879 (cacos_test): Add more tests.
19880 (casin_test): Likewise.
19881 (casinh_test): Likewise.
19882 * sysdeps/i386/fpu/libm-test-ulps: Update.
19883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19885 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19887 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19888 ONE with its value.
19890 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19891 (__pow_mp): Replace ONE and MONE with their values.
19892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19893 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19894 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19895 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19896 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19897 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19899 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19901 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19902 (__pow_mp): Replace ZERO and MZERO with their values.
19903 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19905 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19907 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19908 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19911 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19913 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19915 2013-03-28 Roland McGrath <roland@hack.frob.com>
19917 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19918 Declare with __attribute__ ((weak)).
19919 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19920 Call __call_tls_dtors only if it's not NULL.
19922 2013-03-28 Roland McGrath <roland@hack.frob.com>
19924 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19925 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19926 magic __ehdr_start linker symbol if it's defined.
19927 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19928 them up here if it was already done.
19930 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19931 (_dl_aux_init): Use const in cast when setting it.
19932 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19933 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19934 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19936 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19938 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19939 * csu/libc-tls.c: Nor here.
19940 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19942 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19943 (__libc_message): Never call vsyslog.
19945 2013-03-28 Alan Modra <amodra@gmail.com>
19947 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19949 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19952 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19955 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19959 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19962 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19963 Don't add gid passed as argument.
19965 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19967 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19970 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19971 imaginary part between 1.0 and 1.5 and real part less than 0.5
19973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19975 * math/libm-test.inc (cacos_test): Add more tests.
19976 (casin_test): Likewise.
19977 (casinh_test): Likewise.
19978 * sysdeps/i386/fpu/libm-test-ulps: Update.
19979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19981 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19983 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19986 (denorm): Likewise.
19987 (__dbl_mp): Likewise.
19988 (add_magnitudes): Likewise.
19989 (sub_magnitudes): Likewise.
19997 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19999 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20000 (__dubcos): Likewise.
20001 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20002 (__ieee754_acos): Likewise.
20003 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20004 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20005 (__exp1): Likewise.
20006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20009 (my_log2): Likewise.
20010 (checkint): Likewise.
20011 * sysdeps/ieee754/dbl-64/e_remainder.c
20012 (__ieee754_remainder): Likewise.
20013 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20015 (bsloww): Likewise.
20016 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20018 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20019 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20020 MANTISSA_STORE_T to store computations on mantissa. Use
20021 macros for rounding and division.
20022 (denorm): Likewise.
20023 (__dbl_mp): Likewise.
20024 (add_magnitudes): Likewise.
20025 (sub_magnitudes): Likewise.
20028 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20029 powers of two in terms of TWOPOW macro.
20030 (mp_no): Make type of mantissa as MANTISSA_T.
20031 [!RADIXI]: Define RADIXI.
20032 [!TWO52]: Define TWO52.
20033 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20035 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20037 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20038 llroundl symbol when building for PPC32.
20040 2013-03-24 Mark H Weaver <mhw@netris.org>
20042 * manual/arith.texi (Normalization Functions): Fix prototypes for
20043 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20045 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20049 high value to check if expl overflow.
20050 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20051 to check for underflow and overflow.
20052 * math/libm-test.inc: Add exp test.
20054 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20057 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20060 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20062 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20065 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20067 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20068 wrap blocks consisting of several statements.
20070 * sysdeps/generic/math-tests.h: New file.
20071 * sysdeps/i386/fpu/math-tests.h: Likewise.
20072 * math/test-snan.c: Include it.
20073 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20075 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20078 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20079 (__ieee754_j0l): Do not improve calculations using cos of twice
20080 input for inputs above LDBL_MAX / 2.0L.
20081 (__ieee754_y0l): Likewise.
20082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20083 (__ieee754_j1l): Do not improve calculations using cos of twice
20084 input for inputs above LDBL_MAX / 2.0L.
20085 (__ieee754_y1l): Likewise.
20086 * math/libm-test.inc (j0_test): Add another test.
20087 (j1_test): Likewise.
20088 (y0_test): Likewise.
20089 (y1_test): Likewise.
20090 * sysdeps/i386/fpu/libm-test-ulps: Update.
20092 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20094 * Rules ($(objpfx)bench-%.c): Include code from a C source
20097 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20100 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20101 imaginary part 1.0 and real part less than 0.5 specially.
20102 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20103 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20104 * math/libm-test.inc (cacos_test): Add more tests.
20105 (casin_test): Likewise.
20106 (casinh_test): Likewise.
20107 * sysdeps/i386/fpu/libm-test-ulps: Update.
20108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20110 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20112 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20113 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20115 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20117 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20118 * config.make.in (config-cflags-sse4): Remove variable.
20119 (config-cflags-avx): Likewise.
20120 (config-cflags-sse2avx): Likewise.
20121 (config-cflags-novzeroupper): Likewise.
20122 (config-asflags-i686): Likewise.
20123 (have-mfma4): Likewise.
20124 (have-as-vis3): Likewise.
20126 * configure.in (MIG): Do not AC_SUBST.
20127 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20128 (libc_cv_cc_sse4): Do not AC_SUBST.
20129 (libc_cv_cc_avx): Likewise.
20130 (libc_cv_cc_sse2avx): Likewise.
20131 (libc_cv_cc_novzeroupper): Likewise.
20132 (libc_cv_cc_fma4): Likewise.
20133 (libc_cv_as_i686): Likewise.
20134 (libc_cv_sparc_as_vis3): Likewise.
20135 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20137 (config-asflags-i686): Likewise.
20138 (config-cflags-avx): Likewise.
20139 (config-cflags-sse2avx): Likewise.
20140 (have-mfma4): Likewise.
20141 (config-cflags-novzeroupper): Likewise.
20142 * sysdeps/mach/configure.in (MIG): Likewise.
20143 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20144 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20146 (config-cflags-avx): Likewise.
20147 (config-cflags-sse2avx): Likewise.
20148 (have-mfma4): Likewise.
20149 (config-cflags-novzeroupper): Likewise.
20150 * configure: Regenerated.
20151 * sysdeps/i386/configure: Likewise.
20152 * sysdeps/mach/configure: Likewise.
20153 * sysdeps/sparc/configure: Likewise.
20154 * sysdeps/x86_64/configure: Likewise.
20156 2013-03-20 Roland McGrath <roland@hack.frob.com>
20159 * locale/programs/localedef.c (options): Put N_ translation marker
20160 on argument names, not just descriptions.
20162 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20164 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20166 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20169 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20171 2013-03-19 Roland McGrath <roland@hack.frob.com>
20173 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20174 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20175 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20176 [!BEFORE_ABORT] (before_abort): New function.
20177 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20178 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20179 (writev_for_fatal): New function.
20180 (WRITEV_FOR_FATAL): New macro; call that.
20181 (backtrace_and_maps): New function.
20182 (BEFORE_ABORT): New macro; call that.
20183 (struct str_list): Type removed.
20184 (__libc_message, __libc_fatal): Functions removed.
20185 Include <sysdeps/posix/libc_fatal.c> instead.
20187 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20189 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20191 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20194 2013-03-19 Andreas Schwab <schwab@suse.de>
20196 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20197 * sysdeps/gnu/configure: Regenerate.
20199 * configure.in: Substitute libc_cv_rtlddir.
20200 * configure: Regenerate.
20201 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20202 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20203 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20204 * elf/Makefile (install-others, CFLAGS-interp.c)
20205 (ldso_install, common-ldd-rewrite): Likewise.
20206 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20207 $(inst_slibdir)/$(rtld-installed-name).
20208 * scripts/rellns-sh: Add -p option.
20209 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20212 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 * manual/nptl.texi: Renamed to ...
20215 * manual/threads.texi: ... this.
20216 * manual/Makefile (chapters): Update.
20218 2013-03-18 Roland McGrath <roland@hack.frob.com>
20221 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20222 on argument names, not just descriptions.
20223 * malloc/memusagestat.c (options): Likewise.
20224 * nss/getent.c (options): Likewise.
20226 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20229 * iconv/iconv_prog.c (options): Put N_ translation marker
20230 on argument names, not just descriptions.
20231 * iconv/iconvconfig.c (options): Likewise.
20233 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20235 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20236 implementation which is faster on all x86_64 architectures.
20237 Tested on AMD, Intel Nehalem, SNB, IVB.
20238 * sysdeps/x86_64/strnlen.S: Likewise.
20240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20241 Remove all multiarch strlen and strnlen versions.
20242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20243 Remove strlen and strnlen related parts.
20245 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20246 Inline strlen part.
20247 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20249 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20250 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20251 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20252 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20253 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20254 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20256 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20258 * manual/memory.texi (Malloc Tunable Parameters):
20259 Sort parameters alphabetically. Add comments for missing entries.
20261 2013-03-17 David S. Miller <davem@davemloft.net>
20263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20265 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20269 for arguments at most half maximum finite value.
20270 * math/libm-test.inc (j0_test): Add more tests.
20271 (j1_test): Likewise.
20272 (y0_test): Likewise.
20273 (y1_test): Likewise.
20274 * sysdeps/i386/fpu/libm-test-ulps: Update.
20275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20279 1 / x and functions P and Q for arguments above 0x1p256L.
20280 (__ieee754_y0l): Likewise.
20281 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20282 (__ieee754_y1l): Likewise.
20283 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20284 (j1_test): Likewise.
20285 (y0_test): Likewise.
20286 (y1_test): Likewise.
20288 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20290 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20293 2013-03-15 Roland McGrath <roland@hack.frob.com>
20295 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20296 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20297 zero since it's initialized to EXEC_PAGESIZE.
20299 * sysdeps/unix/sysv/linux/ldsodefs.h
20300 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20301 * sysdeps/generic/ldsodefs.h: ... here.
20303 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20305 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20307 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20309 * math/test-snan.c: Renamed from
20310 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20311 * math/Makefile (tests): Add test-snan.
20312 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20315 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20316 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20318 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20319 __builtin_nan family of functions.
20320 * math/libm-test.inc (initialize): Initialize qnan_value with
20321 __builtin_nan family of functions.
20322 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20324 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20326 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20327 storage class. Initialize qNaN_var and sNaN_var with
20328 __builtin_nan and __builtin_nans families of functions,
20331 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20332 (sqrt_test): Remove duplicate test with qNaN input.
20333 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20334 (round_test, signbit_test, significand_test): Note missing +/-Inf
20335 as well as qNaN tests.
20337 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20338 qNaN_var. Fix a few strings, too.
20339 * math/libm-test.inc (nan_value): Rename to qnan_value.
20340 * math/gen-libm-test.pl (%beautify): Adjust to that.
20341 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20342 * math/test-misc.c (main): Likewise.
20343 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20344 to __qnan_bytes, and __qnan_union, respectively.
20345 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20347 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20348 and lqnanval, respectively.
20349 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20350 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20351 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20352 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20354 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20355 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20358 * math/test-misc.c (main): Fix copy'n'pastos.
20359 * misc/tst-efgcvt.c (special): Likewise.
20361 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20362 Remove declarations.
20364 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20366 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20367 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20368 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20369 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20371 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20373 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20374 macro to return vdso values correctly in IFUNC implementations.
20375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20376 Optimization by using IFUNC.
20378 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20379 Richard Henderson <rth@redhat.com>
20380 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20382 * Makefile.in (bench): New target.
20383 * NEWS: Mention the benchmark framework.
20384 * Rules (bench): Likewise.
20385 (binaries-bench): Generate binaries for functions to
20387 * benchtests/Makefile: New makefile for benchmark tests.
20388 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20390 * benchtests/exp-inputs: New input file for EXP function.
20391 * benchtests/pow-inputs: New input file for POW function.
20392 * scripts/bench.pl: New script to generate source files for
20393 benchmark programs.
20395 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20397 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20398 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20399 computations on mantissa. Use macros for rounding and
20401 (denorm): Likewise.
20402 (__dbl_mp): Likewise.
20403 (add_magnitudes): Likewise.
20404 (sub_magnitudes): Likewise.
20407 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20408 powers of two in terms of TWOPOW macro.
20409 (mp_no): Make type of mantissa as MANTISSA_T.
20410 [!RADIXI]: Define RADIXI.
20411 [!TWO52]: Define TWO52.
20412 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20414 * manual/nptl.texi (cindex): Modify threads to pthreads.
20416 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20418 * sysdeps/x86_64/preconfigure: Regenerated.
20420 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20423 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20425 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20426 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20428 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20429 * math/libm-test.inc (j0_test): Do not allow one spurious
20430 underflow exception.
20431 (y1_test): Likewise.
20433 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20435 * manual/Makefile (chapters): Add nptl.
20436 * manual/debug.texi (Debugging Support): Add link to Threads
20438 * manual/nptl.texi: New file.
20440 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20442 2013-03-14 Petr Baudis <pasky@ucw.cz>
20444 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20445 for non-NULL pointer before the memory validity test. Pointed
20446 out by Holger Brunck <holger.brunck@keymile.com>.
20448 2013-03-13 Andreas Schwab <schwab@suse.de>
20450 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20453 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20455 * timezone/zic.c: Update from tzcode 2013b.
20457 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20459 * manual/install.texi (Configuring and compiling):
20460 Mention i686 and i586.
20461 * INSTALL: Regenerate.
20463 2013-03-12 Roland McGrath <roland@hack.frob.com>
20465 * sysdeps/init_array/elf-init.c: New file.
20467 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20468 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20470 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20471 __gmon_start__ as global, but as static with a .preinit_array pointer.
20472 * sysdeps/init_array/gmon-start.c: New file. Use that.
20473 * sysdeps/init_array/crti.S: New file, empty except for comments.
20474 * sysdeps/init_array/crtn.S: Likewise.
20476 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20478 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20481 Remove Prefer_SSE_for_memop.
20482 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20483 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20484 HAS_PREFER_SSE_FOR_MEMOP.
20485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20488 Remove bzero, memset ifunc support.
20489 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20490 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20491 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20492 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20494 2013-03-11 Andreas Schwab <schwab@suse.de>
20497 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20500 (GLIBC_2.16): Remove pthread_atfork.
20502 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20504 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20505 (ptestcases.h): Likewise.
20507 2013-03-08 Roland McGrath <roland@hack.frob.com>
20509 * Makeconfig ($(common-objpfx)config.status): Depend on
20510 sysdeps/*/preconfigure{,.in} too.
20512 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20514 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20515 (__free_hook): Use void * instead of __malloc_ptr_t.
20516 (__malloc_hook): Likewise.
20517 (__realloc_hook): Likewise.
20518 (__memalign_hook): Likewise.
20519 (__after_morecore_hook): Likewise.
20520 * malloc/arena.c (save_malloc_hook): Likewise.
20521 (save_free_hook): Likewise.
20522 * malloc/hooks.c (malloc_hook_ini): Likewise.
20523 (realloc_hook_ini): Likewise.
20524 (memalign_hook_ini): Likewise.
20525 * malloc/malloc.c (malloc_hook_ini): Likewise.
20526 (realloc_hook_ini): Likewise.
20527 (memalign_hook_ini): Likewise.
20528 (__free_hook): Likewise.
20529 (__malloc_hook): Likewise.
20530 (__realloc_hook): Likewise.
20531 (__memalign_hook): Likewise.
20532 (__libc_malloc): Likewise.
20533 (__libc_free): Likewise.
20534 (__libc_realloc): Likewise.
20535 (__libc_memalign): Likewise.
20536 (__libc_valloc): Likewise.
20537 (__libc_pvalloc): Likewise.
20538 (__libc_calloc): Likewise.
20539 (__posix_memalign): Likewise.
20540 * malloc/morecore.c (__sbrk): Likewise.
20541 (__default_morecore): Likewise.
20543 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20545 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20546 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20547 __malloc_ptrdiff_t.
20549 * malloc/malloc.h (__malloc_size_t): Remove macro.
20550 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20552 (old_memalign_hook): Likewise.
20553 (old_realloc_hook): Likewise.
20554 (struct hdr): Likewise.
20556 (mallochook): Likewise.
20557 (memalignhook): Likewise.
20558 (reallochook): Likewise.
20559 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20560 (tr_old_realloc_hook): Likewise.
20561 (tr_old_memalign_hook): Likewise.
20562 (tr_mallochook): Likewise.
20563 (tr_reallochook): Likewise.
20564 (tr_memalignhook): Likewise.
20566 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20569 default_ldbl_pack and using as default implementation.
20570 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20572 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20573 redundant definition.
20574 (ldbl_insert_mantissa): Likewise.
20575 (ldbl_canonicalize): Likewise.
20576 (ldbl_nearbyint): Likewise.
20577 (ldbl_pack): Rename to ldbl_pack_ppc.
20578 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20579 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20580 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20582 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20585 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20586 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20587 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20589 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20590 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20591 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20593 2013-03-07 Andreas Jaeger <aj@suse.de>
20595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20598 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20600 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20601 Include mpa.h and declare __MPEXP.
20602 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20603 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20604 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20605 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20606 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20607 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20610 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20611 (__slowpow): Use long double EXPL and LOGL functions to
20613 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20614 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20615 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20616 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20617 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20618 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20621 intermediate variable to calculate exponent.
20623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20627 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20628 [!NO__SQR]: Define __sqr.
20629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20630 and NO__SQR. Remove all code except __mul and __sqr. Include
20631 sysdeps/ieee754/dbl-64/mpa.c.
20632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20635 * posix/Makefile (tests): Add tst-pathconf.
20636 * posix/tst-pathconf.c: New test case.
20637 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20639 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20641 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20643 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20645 2013-03-06 Andreas Jaeger <aj@suse.de>
20647 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20648 definition via __MAP_ANONYMOUS.
20650 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20651 it's not part of Linux headers.
20653 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20654 (MAP_HUGE_MASK): Define.
20656 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20658 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20661 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20662 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20664 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20667 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20669 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20670 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20671 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20672 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20673 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20674 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20676 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20679 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20680 Handle f2fs and efivarfs.
20682 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20685 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20686 (EFIVARFS_MAGIC): Add.
20687 (F2FS_LINK_MAX): Add.
20689 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20691 * stdio-common/vfprintf.c: Replace __builtin_expect with
20694 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20697 * sysdeps/generic/bp-sym.h: Remove file.
20698 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20699 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20700 <bp-sym.h> and <bp-asm.h>.
20701 (__longjmp): Don't use BP_SYM.
20702 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20704 (memcpy): Don't use BP_SYM.
20705 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20706 <bp-sym.h> and <bp-asm.h>.
20707 (memcpy): Don't use BP_SYM.
20708 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20710 (memcpy): Don't use BP_SYM.
20711 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20713 (memset): Don't use BP_SYM.
20714 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20715 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20716 (__bzero): Don't use BP_SYM.
20717 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20718 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20719 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20720 <bp-sym.h> and <bp-asm.h>.
20721 (memcmp): Don't use BP_SYM. Remove comment about bounded
20723 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20724 <bp-sym.h> and <bp-asm.h>.
20725 (memcpy): Don't use BP_SYM.
20726 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20727 <bp-sym.h> and <bp-asm.h>.
20728 (memset): Don't use BP_SYM.
20729 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20730 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20731 (__bzero): Don't use BP_SYM.
20732 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20733 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20734 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20735 <bp-sym.h> and <bp-asm.h>.
20736 (strncmp): Don't use BP_SYM. Remove comment about bounded
20738 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20739 <bp-sym.h> and <bp-asm.h>.
20740 (memcpy): Don't use BP_SYM.
20741 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20742 <bp-sym.h> and <bp-asm.h>.
20743 (memset): Don't use BP_SYM.
20744 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20745 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20746 (__bzero): Don't use BP_SYM.
20747 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20748 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20749 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20750 <bp-sym.h> and <bp-asm.h>.
20751 (__memchr): Don't use BP_SYM.
20752 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20753 <bp-sym.h> and <bp-asm.h>.
20754 (memcmp): Don't use BP_SYM. Remove comment about bounded
20756 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20757 <bp-sym.h> and <bp-asm.h>.
20758 (memcpy): Don't use BP_SYM.
20759 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20760 <bp-sym.h> and <bp-asm.h>.
20761 (__mempcpy): Don't use BP_SYM.
20762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20763 <bp-sym.h> and <bp-asm.h>.
20764 (__memrchr): Don't use BP_SYM.
20765 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20766 <bp-sym.h> and <bp-asm.h>.
20767 (memset): Don't use BP_SYM.
20768 (__bzero): Likewise.
20769 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20770 <bp-sym.h> and <bp-asm.h>.
20771 (__rawmemchr): Don't use BP_SYM.
20772 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20773 <bp-sym.h> and <bp-asm.h>.
20774 (__STRCMP): Don't use BP_SYM.
20775 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20776 <bp-sym.h> and <bp-asm.h>.
20777 (strchr): Don't use BP_SYM.
20778 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20779 <bp-sym.h> and <bp-asm.h>.
20780 (__strchrnul): Don't use BP_SYM.
20781 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20782 <bp-sym.h> and <bp-asm.h>.
20783 (strlen): Don't use BP_SYM.
20784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20785 <bp-sym.h> and <bp-asm.h>.
20786 (strncmp): Don't use BP_SYM. Remove comment about bounded
20788 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20789 <bp-sym.h> and <bp-asm.h>.
20790 (__strnlen): Don't use BP_SYM.
20791 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20792 <bp-sym.h> and <bp-asm.h>.
20793 (__GI__setjmp): Don't use BP_SYM.
20794 (_setjmp): Likewise.
20795 (__sigsetjmp): Likewise.
20796 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20797 (L(start_addresses)): Don't use BP_SYM.
20798 (_start): Likewise.
20799 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20801 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20802 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20803 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20804 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20805 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20807 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20808 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20809 about bounded pointers.
20810 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20811 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20812 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20814 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20815 about bounded pointers. Remove GKM FIXME comments.
20816 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20817 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20819 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20820 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20821 Remove GKM FIXME comments.
20822 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20823 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20824 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20826 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20827 about bounded pointers. Remove GKM FIXME comment.
20828 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20830 (strncmp): Don't use BP_SYM. Remove comment about bounded
20832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20833 <bp-sym.h> and <bp-asm.h>.
20834 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20836 <bp-sym.h> and <bp-asm.h>.
20837 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20840 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20842 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20845 2013-03-05 David S. Miller <davem@davemloft.net>
20847 * po/es.po: Update from translation team.
20849 2013-03-05 Andreas Jaeger <aj@suse.de>
20851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20852 <bits/mman-linux.h>.
20853 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20856 <bits/mman-linux.h> to end of file.
20857 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20859 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20860 <bits/mman-linux.h> to end of file.
20861 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20863 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20864 <bits/mman-linux.h> to end of file.
20866 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20867 (MCL_CURRENT, MCL_FUTURE): Define here.
20869 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20872 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20874 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20876 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20879 fourth parameter needed for rt_sigprocmask syscall.
20880 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20881 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20882 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20883 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20884 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20885 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20887 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20890 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20891 comment about bounded pointers.
20892 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20893 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20895 2013-03-04 Andreas Jaeger <aj@suse.de>
20897 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20898 common definitions.
20900 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20901 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20902 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20903 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20905 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20907 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20910 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20911 __ieee754_sqrl instead of __sqrl.
20913 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20915 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20916 * sysdeps/powerpc/fpu_control.h: ... here.
20917 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20918 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20919 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20920 * sysdeps/powerpc/bits/mathinline.h: ... here.
20922 2013-03-01 Roland McGrath <roland@hack.frob.com>
20924 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20925 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20926 to just [NEED_DL_SYSINFO_DSO].
20927 * elf/dl-support.c: Likewise.
20928 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20929 * elf/rtld.c (dl_main): Likewise.
20930 * elf/setup-vdso.h (setup_vdso): Likewise.
20931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20932 * sysdeps/unix/sysv/linux/dl-sysdep.c
20933 (_dl_discover_osversion): Likewise.
20935 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20937 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20938 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20940 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20942 * NEWS: Mention libm performance improvements and non-x86 PI
20945 * csu/libc-start.c (__pthread_initialize_minimal): Change
20946 function arguments.
20947 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20949 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20952 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20953 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20954 <bp-sym.h> and <bp-asm.h>.
20955 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20956 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20958 (memcpy): Don't use BP_SYM.
20959 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20961 (__mpn_add_n): Don't use BP_SYM.
20962 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20963 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20965 (__mpn_addmul_1): Don't use BP_SYM.
20966 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20967 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20969 (_setjmp): Don't use BP_SYM.
20970 (__novmx_setjmp): Likewise.
20971 (__GI__setjmp): Likewise.
20972 (__vmx_setjmp): Likewise.
20973 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20975 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20976 (__bzero): Don't use BP_SYM.
20977 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20978 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20979 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20980 <bp-sym.h> and <bp-asm.h>.
20981 (memcpy): Don't use BP_SYM.
20982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20983 <bp-sym.h> and <bp-asm.h>.
20984 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20985 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20986 <bp-sym.h> and <bp-asm.h>.
20987 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20988 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20990 (__mpn_lshift): Don't use BP_SYM.
20991 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20992 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20994 (memset): Don't use BP_SYM.
20995 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20996 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20997 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20999 (__mpn_mul_1): Don't use BP_SYM.
21000 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21002 <bp-sym.h> and <bp-asm.h>.
21003 (memcmp): Don't use BP_SYM.
21004 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21005 <bp-sym.h> and <bp-asm.h>.
21006 (memcpy): Don't use BP_SYM.
21007 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21008 <bp-sym.h> and <bp-asm.h>.
21009 (memset): Don't use BP_SYM.
21010 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21011 <bp-sym.h> and <bp-asm.h>.
21012 (strncmp): Don't use BP_SYM.
21013 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21014 <bp-sym.h> and <bp-asm.h>.
21015 (memcpy): Don't use BP_SYM.
21016 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21017 <bp-sym.h> and <bp-asm.h>.
21018 (memset): Don't use BP_SYM.
21019 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21020 <bp-sym.h> and <bp-asm.h>.
21021 (__memchr): Don't use BP_SYM.
21022 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21023 <bp-sym.h> and <bp-asm.h>.
21024 (memcmp): Don't use BP_SYM.
21025 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21026 <bp-sym.h> and <bp-asm.h>.
21027 (memcpy): Don't use BP_SYM.
21028 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21029 <bp-sym.h> and <bp-asm.h>.
21030 (__mempcpy): Don't use BP_SYM.
21031 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21032 <bp-sym.h> and <bp-asm.h>.
21033 (__memrchr): Don't use BP_SYM.
21034 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21035 <bp-sym.h> and <bp-asm.h>.
21036 (memset): Don't use BP_SYM.
21037 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21038 <bp-sym.h> and <bp-asm.h>.
21039 (__rawmemchr): Don't use BP_SYM.
21040 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21041 <bp-sym.h> and <bp-asm.h>.
21042 (__STRCMP): Don't use BP_SYM.
21043 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21044 <bp-sym.h> and <bp-asm.h>.
21045 (strchr): Don't use BP_SYM.
21046 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21047 <bp-sym.h> and <bp-asm.h>.
21048 (__strchrnul): Don't use BP_SYM.
21049 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21050 <bp-sym.h> and <bp-asm.h>.
21051 (strlen): Don't use BP_SYM.
21052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21053 <bp-sym.h> and <bp-asm.h>.
21054 (strncmp): Don't use BP_SYM.
21055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21056 <bp-sym.h> and <bp-asm.h>.
21057 (__strnlen): Don't use BP_SYM.
21058 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21060 (__mpn_rshift): Don't use BP_SYM.
21061 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21062 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21063 <bp-sym.h> and <bp-asm.h>.
21064 (__sigsetjmp): Don't use BP_SYM.
21065 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21066 (L(start_addresses)): Don't use BP_SYM.
21067 (_start): Likewise.
21068 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21070 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21071 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21072 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21073 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21075 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21076 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21078 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21080 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21082 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21083 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21085 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21087 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21088 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21089 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21091 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21093 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21095 (strncmp): Don't use BP_SYM,
21096 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21098 (__mpn_sub_n): Don't use BP_SYM.
21099 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21100 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21102 (__mpn_submul_1): Don't use BP_SYM.
21103 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21105 <bp-sym.h> and <bp-asm.h>.
21106 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21108 <bp-sym.h> and <bp-asm.h>.
21109 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21112 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21115 Use ZK to minimize writes to Z.
21116 (sub_magnitudes): Simplify code a bit.
21117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21118 Use ZK to minimize writes to Z.
21119 (sub_magnitudes): Simplify code a bit.
21121 2013-02-27 Roland McGrath <roland@hack.frob.com>
21123 * csu/gmon-start.c: Add special exception to license text.
21125 2013-02-27 Richard Henderson <rth@redhat.com>
21127 * scripts/config.guess: Update from config.git.
21128 * scripts/config.sub: Likewise.
21130 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21132 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21134 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21136 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21138 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21140 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21142 2013-02-26 Roland McGrath <roland@hack.frob.com>
21144 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21145 [$(build-shared = yes].
21147 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21149 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21150 (__mul): Reduce iterations for calculating mantissa.
21152 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21154 (__mpranred): Likewise.
21157 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21158 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21160 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21162 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21163 Define __attribute__.
21165 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21167 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21169 * posix/regex_internal.h (__attribute): Remove.
21170 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21171 (re_string_context_at): Likewise.
21172 (bitset_not): Use __attribute__ and mark function as possibly
21174 (bitset_merge): Likewise.
21175 (bitset_mask): Likewise.
21176 (re_string_char_size_at): Likewise.
21177 (re_string_wchar_at): Likewise.
21178 (re_string_elem_size_at): Likewise.
21180 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21182 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21186 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21190 (denorm): Likewise.
21191 (__dbl_mp): Likewise.
21192 (add_magnitudes): Likewise.
21193 (sub_magnitudes): Likewise.
21197 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21200 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21203 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21207 up changes with default code.
21208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21211 2013-02-24 Allan McRae <allan@archlinux.org>
21213 * manual/socket.texi (The Internet Namespace): Order menu items
21214 to match that in the file.
21216 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21217 node listing of the info page menu.
21219 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21222 * sysdeps/i386/bp-asm.h: Remove file.
21223 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21224 (PARMS): Do not use macros from bp-asm.h.
21228 (__mpn_add_n): Do not use BP_SYM
21229 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21231 (PARMS): Do not use macros from bp-asm.h.
21234 (__mpn_addmul_1): Do not use BP_SYM
21235 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21237 (PARMS): Do not use macros from bp-asm.h.
21238 (SIGMSK): Likewise.
21239 (_setjmp): Likewise. Do not use BP_SYM.
21240 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21242 (PARMS): Do not use macros from bp-asm.h.
21243 (SIGMSK): Likewise.
21244 (setjmp): Likewise. Do not use BP_SYM.
21245 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21247 (PARMS): Do not use macros from bp-asm.h.
21248 (__frexp): Do not use BP_SYM.
21250 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21252 (PARMS): Do not use macros from bp-asm.h.
21253 (__frexpf): Do not use BP_SYM.
21254 (frexpf): Likewise.
21255 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21257 (PARMS): Do not use macros from bp-asm.h.
21258 (__frexpl): Do not use BP_SYM.
21259 (frexpl): Likewise.
21260 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21262 (PARMS): Do not use macros from bp-asm.h.
21263 (__remquo): Do not use BP_SYM.
21264 (remquo): Likewise.
21265 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21267 (PARMS): Do not use macros from bp-asm.h.
21268 (__remquof): Do not use BP_SYM.
21269 (remquof): Likewise.
21270 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21272 (PARMS): Do not use macros from bp-asm.h.
21273 (__remquol): Do not use BP_SYM.
21274 (remquol): Likewise.
21275 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21277 (PARMS): Do not use macros from bp-asm.h.
21280 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21281 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21283 (PARMS): Do not use macros from bp-asm.h.
21284 (strlen): Do not use BP_SYM.
21285 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21287 (PARMS): Do not use macros from bp-asm.h.
21291 (__mpn_add_n): Do not use BP_SYM.
21292 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21294 (PARMS): Do not use macros from bp-asm.h.
21297 (__mpn_addmul_1): Do not use BP_SYM.
21298 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21301 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21303 (PARMS): Do not use macros from bp-asm.h.
21306 (__mpn_lshift): Do not use BP_SYM.
21307 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21309 (PARMS): Do not use macros from bp-asm.h.
21313 (memcpy): Likewise. Do not use BP_SYM.
21314 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21315 libc_hidden_def and weak_alias.
21316 (mempcpy): Do not use BP_SYM in weak_alias.
21317 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21319 (PARMS): Do not use macros from bp-asm.h.
21322 [!BZERO_P] (CHR): Likewise.
21323 (memset): Likewise. Do not use BP_SYM.
21324 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21326 (PARMS): Do not use macros from bp-asm.h.
21329 (__mpn_mul_1): Do not use BP_SYM.
21330 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21332 (PARMS): Do not use macros from bp-asm.h.
21335 (__mpn_rshift): Do not use BP_SYM.
21336 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21338 (PARMS): Do not use macros from bp-asm.h.
21341 (strchr): Likewise. Do not use BP_SYM.
21342 (index): Do not use BP_SYM in weak_alias.
21343 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21345 (PARMS): Do not use macros from bp-asm.h.
21348 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21349 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21351 (PARMS): Do not use macros from bp-asm.h.
21352 (strlen): Do not use BP_SYM.
21353 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21355 (PARMS): Do not use macros from bp-asm.h.
21359 (__mpn_sub_n): Do not use BP_SYM.
21360 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21362 (PARMS): Do not use macros from bp-asm.h.
21365 (__mpn_submul_1): Do not use BP_SYM.
21366 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21368 (PARMS): Do not use macros from bp-asm.h.
21372 (__mpn_add_n): Do not use BP_SYM.
21373 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21376 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21378 (PARMS): Do not use macros from bp-asm.h.
21381 (memcmp): Do not use BP_SYM.
21382 (bcmp): Do not use BP_SYM in weak_alias.
21383 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21385 (PARMS): Do not use macros from bp-asm.h.
21389 (memcpy): Likewise. Do not use BP_SYM.
21390 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21392 (PARMS): Do not use macros from bp-asm.h.
21396 (memmove): Likewise. Do not use BP_SYM.
21397 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21399 (PARMS): Do not use macros from bp-asm.h.
21403 (__mempcpy): Likewise. Do not use BP_SYM.
21404 (mempcpy): Do not use BP_SYM in weak_alias.
21405 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21407 (PARMS): Do not use macros from bp-asm.h.
21410 [!BZERO_P] (CHR): Likewise.
21411 (memset): Likewise. Do not use BP_SYM.
21412 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21414 (PARMS): Do not use macros from bp-asm.h.
21416 (strcmp): Do not use BP_SYM.
21417 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21419 (PARMS): Do not use macros from bp-asm.h.
21422 [USE_AS_STRTOK_R] (SAVE): Likewise.
21423 (FUNCTION): Likewise. Do not use BP_SYM.
21424 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21426 (strtok_r): Likewise.
21427 (__GI___strtok_r): Likewise.
21428 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21429 (PARMS): Do not use macros from bp-asm.h.
21432 (__mpn_lshift): Do not use BP_SYM.
21433 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21434 (PARMS): Do not use macros from bp-asm.h.
21437 (__memchr): Do not use BP_SYM.
21438 (memchr): Do not use BP_SYM in weak_alias.
21439 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21440 (PARMS): Do not use macros from bp-asm.h.
21443 (memcmp): Do not use BP_SYM.
21444 (bcmp): Do not use BP_SYM in weak_alias.
21445 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21446 (PARMS): Do not use macros from bp-asm.h.
21449 (__mpn_mul_1): Do not use BP_SYM.
21450 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21452 (PARMS): Do not use macros from bp-asm.h.
21455 (__rawmemchr): Do not use BP_SYM.
21456 (rawmemchr): Do not use BP_SYM in weak_alias.
21457 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21458 (PARMS): Do not use macros from bp-asm.h.
21461 (__mpn_rshift): Do not use BP_SYM.
21462 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21463 (PARMS): Do not use macros from bp-asm.h.
21464 (SIGMSK): Likewise.
21465 (__sigsetjmp): Likewise. Do not use BP_SYM.
21466 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21467 (_start): Do not use BP_SYM.
21468 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21469 (PARMS): Do not use macros from bp-asm.h.
21472 (__stpcpy): Likewise. Do not use BP_SYM.
21473 (stpcpy): Do not use BP_SYM in weak_alias.
21474 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21476 (PARMS): Do not use macros from bp-asm.h.
21480 (__stpncpy): Likewise. Do not use BP_SYM.
21481 (stpncpy): Do not use BP_SYM in weak_alias.
21482 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21483 (PARMS): Do not use macros from bp-asm.h.
21486 (strchr): Likewise. Do not use BP_SYM.
21487 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21489 (PARMS): Do not use macros from bp-asm.h.
21492 (__strchrnul): Likewise. Do not use BP_SYM.
21493 (strchrnul): Do not use BP_SYM in weak_alias.
21494 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21496 (PARMS): Do not use macros from bp-asm.h.
21498 (strcspn): Do not use BP_SYM.
21499 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21501 (PARMS): Do not use macros from bp-asm.h.
21504 (strpbrk): Likewise. Do not use BP_SYM.
21505 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21507 (PARMS): Do not use macros from bp-asm.h.
21510 (strrchr): Likewise. Do not use BP_SYM.
21511 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21512 (PARMS): Do not use macros from bp-asm.h.
21514 (strspn): Do not use BP_SYM.
21515 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21516 (PARMS): Do not use macros from bp-asm.h.
21520 (FUNCTION): Likewise. Do not use BP_SYM.
21521 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21523 (strtok_r): Likewise.
21524 (__GI___strtok_r): Likewise.
21525 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21526 (PARMS): Do not use macros from bp-asm.h.
21530 (__mpn_sub_n): Do not use BP_SYM.
21531 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21533 (PARMS): Do not use macros from bp-asm.h.
21536 (__mpn_submul_1): Do not use BP_SYM.
21537 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21539 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21541 (PARMS): Do not use macros from bp-asm.h.
21546 (__clone): Do not use BP_SYM.
21547 (clone): Do not use BP_SYM in weak_alias.
21548 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21550 (PARMS): Do not use macros from bp-asm.h.
21552 (__mmap64): Do not use BP_SYM.
21553 (mmap64): Do not use BP_SYM in weak_alias.
21554 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21555 <bp-sym.h> and <bp-asm.h>.
21556 (PARMS): Do not use macros from bp-asm.h.
21557 (__posix_fadvise64_l64): Do not use BP_SYM.
21558 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21559 (PARMS): Do not use macros from bp-asm.h.
21561 (semtimedop): Do not use BP_SYM.
21562 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21565 2013-02-21 Allan McRae <allan@archlinux.org>
21567 * manual/message.texi (Charset conversion in gettext):
21568 Move @end statement to beginning of line.
21570 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21577 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21578 (denorm): Likewise.
21579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21582 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21584 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21585 tail-call to the resolved function if pltexit isn't needed.
21587 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21590 or Y being zero as being unlikely.
21591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21594 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21596 * manual/nss.texi (System Databases and Name Service Switch):
21597 Remove frobnicate @pxref.
21599 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21601 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21602 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21604 2013-02-20 Petr Machata <pmachata@redhat.com>
21606 * elf/elf.h (R_ARM_TARGET1): New macro.
21607 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21608 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21609 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21610 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21611 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21612 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21613 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21614 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21615 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21616 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21617 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21618 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21619 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21620 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21621 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21622 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21623 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21624 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21625 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21626 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21627 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21628 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21629 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21630 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21631 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21632 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21633 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21634 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21635 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21636 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21637 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21638 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21639 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21640 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21641 (R_ARM_THM_GOT_BREL12): Likewise.
21642 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21643 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21644 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21645 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21646 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21647 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21648 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21649 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21650 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21652 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21654 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21655 __attribute_used__ to __attribute__ ((unused)).
21657 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21659 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21662 comment formatting.
21663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21665 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21668 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21670 (ENTER): Remove both macro definitions.
21672 (CHECK_BOUNDS_LOW): Likewise.
21673 (CHECK_BOUNDS_HIGH): Likewise.
21674 (CHECK_BOUNDS_BOTH): Likewise.
21675 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21676 (RETURN_BOUNDED_POINTER): Likewise.
21677 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21678 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21679 (POP_ERRNO_LOCATION_RETURN): Likewise.
21680 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21681 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21682 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21684 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21685 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21686 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21687 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21688 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21689 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21690 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21691 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21692 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21693 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21694 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21695 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21696 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21697 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21699 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21700 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21702 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21703 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21704 * sysdeps/i386/i586/memset.S (memset): Likewise.
21705 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21706 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21707 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21709 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21710 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21711 Change uses of L(2) to L(out).
21712 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21713 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21714 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21715 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21716 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21718 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21719 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21721 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21722 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21723 (RETURN): Do not use macro LEAVE.
21724 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21725 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21726 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21727 * sysdeps/i386/i686/memset.S (memset): Likewise.
21728 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21729 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21730 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21731 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21733 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21734 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21735 L(1_2) and L(1_3) into L(1).
21736 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21737 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21738 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21739 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21740 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21741 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21742 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21743 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21744 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21746 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21748 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21749 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21750 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21751 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21752 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21753 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21754 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21755 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21756 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21757 * sysdeps/i386/strspn.S (strspn): Likewise.
21758 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21760 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21761 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21762 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21763 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21764 L(1_3) into L(1_1).
21765 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21766 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21767 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21769 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21771 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21773 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21776 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21778 * math/atest-exp.c (exp_mpn): Remove ROUND.
21779 * math/atest-exp2.c (exp_mpn): Likewise.
21780 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21782 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21783 * stdlib/tst-tls-atexit-lib.c: Likewise.
21784 * stdlib/tst-tls-atexit.c: Likewise.
21786 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21788 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21789 and __attribute_alloc_size__.
21791 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21793 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21794 __attribute_alloc_size__.
21795 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21796 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21798 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21800 * include/programs/xmalloc.h: New file.
21801 * catgets/gencat.c: Include it.
21802 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21803 * elf/pldd.c: Likewise.
21804 * iconv/iconv_charmap.c: Likewise.
21805 * iconv/iconvconfig.c: Likewise.
21806 * iconv/strtab.c: Likewise.
21807 * locale/programs/locale.c: Likewise.
21808 * locale/programs/localedef.h: Likewise.
21809 * locale/programs/simple-hash.c: Likewise.
21810 * nscd/nscd.h: Likewise.
21811 * nss/makedb.c: Likewise.
21812 * sysdeps/generic/ldconfig.h: Likewise.
21814 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21816 * Versions.def: Add GLIBC_2.18.
21817 * include/link.h (struct link_map): New member l_tls_dtor_count.
21818 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21819 (__call_tls_dtors): Likewise.
21820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21821 __cxa_thread_atexit_impl.
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21838 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21839 (tests): Add test case tst-tls-atexit.
21840 (modules-names): Add shared library for tst-tls-atexit.
21841 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21842 (GLIBC_PRIVATE): Add __call_tls_dtors.
21843 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21845 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21846 * stdlib/tst-tls-atexit.c: New test case.
21847 * stdlib/tst-tls-atexit-lib.c: New test case.
21849 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21851 * elf/Versions (ld): Add _dl_find_dso_for_object.
21852 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21853 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21854 (dl_open_worker): Use _dl_find_dso_for_object.
21855 * elf/dl-sym.c (do_sym): Likewise.
21856 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21858 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21860 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21861 Syntactic changes only.
21862 (_dl_runtime_profile): Do a tail-call to the resolved function.
21864 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21867 * sysdeps/x86_64/bp-asm.h: Remove file.
21868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21869 <bp-sym.h> and <bp-asm.h>.
21870 (__clone): Do not use BP_SYM.
21871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21872 <bp-sym.h> and <bp-asm.h>.
21873 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21874 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21876 (_setjmp): Do not use BP_SYM.
21877 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21879 (setjmp): Do not use BP_SYM.
21880 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21882 (mempcpy): Do not use BP_SYM in weak_alias.
21883 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21885 (strchr): Do not use BP_SYM.
21886 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21888 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21889 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21890 (_start): Do not use BP_SYM.
21891 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21893 (strcat): Do not use BP_SYM.
21894 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21896 (STRCMP): Do not use BP_SYM.
21897 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21899 (STRCPY): Do not use BP_SYM.
21900 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21902 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21904 (FUNCTION): Do not use BP_SYM.
21905 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21907 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21909 2013-02-17 Andreas Jaeger <aj@suse.de>
21911 * time/Versions: Sort entries.
21912 * string/Versions: Likewise.
21913 * resolv/Versions: Likewise.
21914 * posix/Versions: Likewise.
21915 * iconv/Versions: Likewise.
21916 * elf/Versions: Likewise.
21917 * wcsmbs/Versions: Likewise.
21919 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21921 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21922 loop termination condition.
21924 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21925 variable to calculate EZ.
21928 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21929 the lower precision input.
21931 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21934 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21935 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21936 (run-via-rtld-prefix): Do not handle %-bp tests.
21937 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21938 (all-object-suffixes): Remove .ob.
21939 (bppfx): Remove variable.
21940 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21941 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21942 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21943 [$(build-bounded) = yes] (libtype.ob): Likewise.
21944 * Makerules (elide-routines.ob): Remove variable.
21945 (do-tests-clean): Do not handle *-bp.out.
21946 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21947 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21948 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21949 (tests): Do not include $(tests-bp.out).
21950 (xtests): Do not include $(xtests-bp.out).
21951 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21952 [$(build-bounded) = yes] ($(addprefix
21953 $(objpfx),$(binaries-bounded))): Remove rule.
21954 ($(objpfx)%-bp.out): Remove rule.
21955 * config.make.in (build-bounded): Remove variable.
21956 * crypt/Makefile [$(build-bounded) = yes]
21957 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21958 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21959 append to variable.
21960 [$(build-bounded) = yes] (install-lib): Likewise.
21961 [$(build-bounded) = yes] (generated): Likewise.
21962 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21964 * intl/Makefile [$(build-bounded) = yes]
21965 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21966 * math/Makefile [$(build-bounded) = yes]
21967 ($(tests:%=$(objpfx)%-bp): Likewise.
21968 * misc/Makefile [$(build-bounded) = yes]
21969 ($(objpfx)tst-tsearch-bp): Likewise.
21970 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21971 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21973 * string/Makefile (o-objects.ob): Remove variable.
21974 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21975 (CFLAGS-.ob): Remove variable.
21976 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21977 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21978 both definitions of variable.
21979 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21980 (ASFLAGS-.ob): Remove variable.
21982 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21985 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21986 Remove __BOUNDED_POINTERS__ from condition.
21987 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21988 * string/bits/string2.h [!__NO_STRING_INLINES &&
21989 !__BOUNDED_POINTERS__]: Likewise.
21990 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21992 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21993 Remove conditional code.
21994 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21995 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21996 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22000 * csu/libc-start.c: Do not include <bp-sym.h>.
22001 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22002 * elf/dl-open.c: Do not include <bp-sym.h>.
22003 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22004 * math/fegetenv.c: Do not include <bp-sym.h>.
22005 (fegetenv): Do not use BP_SYM in versioned symbols.
22006 * nptl/sysdeps/pthread/bits/libc-lockP.h
22007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22010 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22012 (__pthread_mutex_destroy): Likewise.
22013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22014 (__pthread_mutex_lock): Likewise.
22015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22016 (__pthread_mutex_trylock): Likewise.
22017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22018 (__pthread_mutex_unlock): Likewise.
22019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22020 (__pthread_mutexattr_init): Likewise.
22021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22022 (__pthread_mutexattr_destroy): Likewise.
22023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22024 (__pthread_mutexattr_settype): Likewise.
22025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22026 (__pthread_rwlock_init): Likewise.
22027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22028 (__pthread_rwlock_destroy): Likewise.
22029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22030 (__pthread_rwlock_rdlock): Likewise.
22031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22032 (__pthread_rwlock_tryrdlock): Likewise.
22033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22034 (__pthread_rwlock_wrlock): Likewise.
22035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22036 (__pthread_rwlock_trywrlock): Likewise.
22037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22038 (__pthread_rwlock_unlock): Likewise.
22039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22040 (__pthread_key_create): Likewise.
22041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22042 (__pthread_setspecific): Likewise.
22043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22044 (__pthread_getspecific): Likewise.
22045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22048 (_pthread_cleanup_push_defer): Likewise.
22049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22050 (_pthread_cleanup_pop_restore): Likewise.
22051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22052 (pthread_setcancelstate): Likewise.
22053 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22055 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22056 (memchr): Do not use BP_SYM in weak_alias.
22057 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22058 (fegetenv): Do not use BP_SYM in versioned symbols.
22059 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22060 (fesetenv): Do not use BP_SYM in versioned symbols.
22061 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22062 (feupdateenv): Do not use BP_SYM in versioned symbols.
22063 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22064 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22065 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22066 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22067 (open64): Do not use BP_SYM in weak_alias.
22068 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22069 (fegetenv): Do not use BP_SYM in versioned symbols.
22070 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22071 (fesetenv): Do not use BP_SYM in versioned symbols.
22072 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22073 (feupdateenv): Do not use BP_SYM in versioned symbols.
22074 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22075 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22076 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22077 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22078 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22079 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22080 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22082 (__libc_start_main): Do not use BP_SYM.
22084 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22087 redundant return line.
22089 (denorm): Likewise.
22090 (dbl_mp): Likewise.
22091 (sub_magnitudes): Likewise.
22097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22099 (denorm): Likewise.
22100 (dbl_mp): Likewise.
22101 (sub_magnitudes): Likewise.
22108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22110 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22111 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22114 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22115 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22117 of __mul for squares.
22118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22122 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22123 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22125 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22128 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22130 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22131 prototype or function definition. Rename ubp_* variables and
22132 parameters. Remove argv definitions conditional on
22133 [__BOUNDED_POINTERS__].
22134 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22135 * elf/dl-runtime.c (_dl_fixup): Likewise.
22136 * include/set-hooks.h (RUN_HOOK): Likewise.
22137 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22139 * string/strcpy.c (strcpy): Do not use __unbounded.
22140 * sysdeps/generic/frame.h (struct layout): Likewise.
22141 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22142 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22143 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22144 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22145 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22146 (__backtrace): Likewise.
22147 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22149 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22150 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22151 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22153 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22154 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22155 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22156 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22157 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22158 Do not use __unbounded.
22159 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22160 Rename __unboundedrlimits parameter to rlimits in prototype.
22161 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22162 Do not use __unbounded.
22163 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22164 not use __ptrvalue.
22165 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22166 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22167 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22168 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22169 __ptrvalue or __unbounded.
22170 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22171 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22173 (__new_msgctl): Do not use __ptrvalue.
22174 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22176 (__libc_msgrcv): Do not use __ptrvalue.
22177 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22178 startup_info): Do not use __unbounded.
22179 (__libc_start_main): Likewise. Rename ubp_* variables and
22180 parameters. Remove argv definitions conditional on
22181 [__BOUNDED_POINTERS__].
22182 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22184 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22186 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22188 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22190 (__new_shmctl): Do not use __ptrvalue.
22191 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22192 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22194 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22196 (__libc_sigaction): Likewise.
22197 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22198 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22200 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22202 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22204 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22206 * string/mempcpy.c: Implement by calling memcpy.
22208 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22215 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22216 values in the mantissa.
22218 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22219 minimize writes to Z.
22220 (sub_magnitudes): Simplify code a bit.
22222 2013-02-12 Roland McGrath <roland@hack.frob.com>
22224 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22225 from the message. The linker prefixes all warnings with that already.
22227 2013-02-12 Andreas Schwab <schwab@suse.de>
22230 * posix/regexec.c (extend_buffers): Add parameter min_len.
22231 (check_matching): Pass minimum needed length.
22232 (clean_state_log_if_needed): Likewise.
22233 (get_subexp): Likewise.
22234 * posix/Makefile (tests): Add bug-regex34.
22235 (bug-regex34-ENV): Define.
22236 * posix/bug-regex34.c: New file.
22239 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22240 elements compare against the byte sequence of it, not its name.
22241 * posix/Makefile (tests): Add bug-regex35.
22242 (bug-regex35-ENV): Define.
22243 * posix/bug-regex35.c: New file.
22245 2013-02-11 Tom de Vries <tom@codesourcery.com>
22247 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22249 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22250 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22251 (CHECK_EOL): Add undef.
22253 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22255 * bits/stdlib-bsearch.h: New file.
22256 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22257 * stdlib/stdlib.h: Likewise.
22259 2013-02-11 Roland McGrath <roland@hack.frob.com>
22261 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22262 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22264 * manual/search.texi (Array Search Function): Add missing const in
22266 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22267 declaration to use rlim_t.
22268 (Basic Scheduling Functions): Remove erroneous const from
22269 sched_getparam prototype. Remove erroneous * from
22270 sched_get_priority_max and sched_get_priority_min prototypes.
22271 (Resource Usage): Fix summary @comment on vtimes to refer to
22272 sys/vtimes.h rather than vtimes.h.
22273 Add missing *s in vtimes prototype.
22274 (Limits on Resources): Fix ulimit prototype to return long int.
22275 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22276 prototypes to use long int rather than double.
22277 (BSD Random): Fix initstate and setstate to use char *, not void *.
22278 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22279 prototype to make second argument 'struct aiocb64 *const[]'.
22280 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22281 (Status of AIO Operations): Remove erroneous const in aio_return and
22282 aio_return64 prototypes.
22283 (Synchronizing I/O): Fix sync prototype to return void.
22284 * manual/startup.texi (Suboptions): Remove an erroneous const in
22285 getsubopt prototype.
22286 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22287 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22288 use size_t rather than int.
22289 (Scanning All Users): Likewise for getpwent_r.
22290 (Setting Groups): Add missing const to setgroups prototype.
22291 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22292 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22293 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22294 'const void *' rather than 'const char *'.
22295 (Host Address Functions): Likewise for inet_ntop.
22296 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22297 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22298 ssize_t for return value.
22299 (Sending Data): Likewise for send, sendto, sendmsg.
22300 (Socket Option Functions): Add a missing const in setsockopt prototype.
22301 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22302 use wchar_t for the argument.
22303 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22304 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22306 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22307 double/float/long double for second argument.
22308 Fix return types of significand, significandf, significandl.
22309 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22310 argument in fchmod prototype.
22311 (File Owner): Use uid_t and gid_t in fchown prototype.
22312 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22313 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22314 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22315 use 'const struct dirent **' as argument types to CMP function pointer
22317 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22318 (File Times): Fix summary magic @comment for struct utimbuf and utime
22319 to refer to utime.h, not time.h.
22320 * manual/string.texi (Argz Functions): Add missing const in
22321 argz_extract and argz_next prototypes.
22322 (Finding Tokens in a String): Likewise for basename.
22323 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22324 (Copying and Concatenation): Fix typo in wmemmove prototype.
22325 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22326 (Signal Stack): Remove erroneous const in sigstack prototype.
22327 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22329 (Simple Calendar Time): Likewise for stime.
22330 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22332 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22333 say sys/sysctl.h instead.
22334 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22335 and vsyslog prototypes.
22337 2013-02-11 Tom de Vries <tom@codesourcery.com>
22339 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22342 2013-02-11 Roland McGrath <roland@hack.frob.com>
22344 * misc/sys/mman.h: Fix typo in mremap comment.
22346 2013-02-08 Roland McGrath <roland@hack.frob.com>
22348 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22349 the '\0' terminator.
22351 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22354 * debug/segfault.c: Don't include <bp-checks.h>.
22355 * sysdeps/generic/bp-checks.h: Remove file.
22356 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22357 (__GETDENTS): Don't use CHECK_N.
22358 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22359 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22360 (__getgroups): Don't use CHECK_N.
22361 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22362 (setgroups): Don't use CHECK_N.
22363 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22364 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22365 (__libc_msgrcv): Don't use CHECK_N.
22366 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22367 (__libc_msgsnd): Don't use CHECK_N.
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22370 (__libc_pread): Don't use CHECK_N.
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22372 include <bp-checks.h>.
22373 (__libc_pread64): Don't use CHECK_N.
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22375 include <bp-checks.h>.
22376 (__libc_pwrite): Don't use CHECK_N.
22377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22378 include <bp-checks.h>.
22379 (__libc_pwrite64): Don't use CHECK_N.
22380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22382 (__libc_pread): Don't use CHECK_N.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22384 include <bp-checks.h>.
22385 (__libc_pread64): Don't use CHECK_N.
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22387 include <bp-checks.h>.
22388 (__libc_pwrite): Don't use CHECK_N.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22390 include <bp-checks.h>.
22391 (__libc_pwrite64): Don't use CHECK_N.
22392 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22393 (do_pread): Don't use CHECK_N.
22394 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22395 (do_pread64): Don't use CHECK_N.
22396 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22397 (do_pwrite): Don't use CHECK_N.
22398 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22399 (do_pwrite64): Don't use CHECK_N.
22400 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22401 (__libc_readv): Don't use CHECK_N.
22402 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22403 (semop): Don't use CHECK_N.
22404 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22406 (semtimedop): Don't use CHECK_N.
22407 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22408 (__libc_pread): Don't use CHECK_N.
22409 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22411 (__libc_pread64): Don't use CHECK_N.
22412 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22414 (__libc_pwrite): Don't use CHECK_N.
22415 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22417 (__libc_pwrite64): Don't use CHECK_N.
22418 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22420 (__libc_msgrcv): Don't use CHECK_N.
22421 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22422 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22423 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22424 (__libc_writev): Don't use CHECK_N.
22426 2013-02-08 Roland McGrath <roland@hack.frob.com>
22428 * string/strcpy.c: Removed unused variable.
22430 * Makeconfig (+sysdep-includes): Define with := rather than =.
22431 Use an existing include/ subdir of each sysdeps dir before it.
22433 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22435 * nscd/connection.c (register_traced_file): Comment function.
22436 [HAVE_INOTIFY] (union __inev): Define.
22437 [HAVE_INOTIFY] (inotify_check_files): New function.
22438 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22439 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22441 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22443 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22445 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22446 loaded if not already and that a failure is permanent.
22448 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22451 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22452 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22454 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22457 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22458 (CHECK_1_NULL_OK): Likewise.
22459 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22460 (__fxstat): Do not use CHECK_1.
22461 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22463 (___fxstat64): Do not use CHECK_1.
22464 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22466 (__fxstatat): Do not use CHECK_1.
22467 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22469 (__fxstatat64): Do not use CHECK_1.
22470 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22472 (__fxstat): Do not use CHECK_1.
22473 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22475 (__fxstatat): Do not use CHECK_1.
22476 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22478 (__getresgid): Do not use CHECK_1.
22479 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22481 (__getresuid): Do not use CHECK_1.
22482 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22484 (__lxstat): Do not use CHECK_1.
22485 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22487 (__old_msgctl): Do not use CHECK_1.
22488 (__new_msgctl): Likewise.
22489 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22491 (__new_setrlimit): Do not use CHECK_1.
22492 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22494 (__old_shmctl): Do not use CHECK_1.
22495 (__new_shmctl): Likewise.
22496 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22498 (__xstat): Do not use CHECK_1.
22499 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22500 (__lxstat): Do not use CHECK_1.
22501 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22503 (___lxstat64): Do not use CHECK_1.
22504 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22505 (__old_msgctl): Do not use CHECK_1.
22506 (__new_msgctl): Likewise.
22507 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22509 (__gettimeofday): Do not use CHECK_1.
22510 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22511 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22512 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22514 (__gettimeofday): Do not use CHECK_1.
22515 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22516 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22517 (__new_shmctl): Do not use CHECK_1.
22518 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22520 (do_sigtimedwait): Do not use CHECK_1.
22521 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22523 (do_sigwaitinfo): Do not use CHECK_1.
22524 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22526 (msgctl): Do not use CHECK_1.
22527 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22529 (shmctl): Do not use CHECK_1.
22530 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22531 (ustat): Do not use CHECK_1.
22532 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22534 (__fxstat): Do not use CHECK_1.
22535 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22537 (__fxstatat): Do not use CHECK_1.
22538 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22540 (__lxstat): Do not use CHECK_1.
22541 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22543 (__xstat): Do not use CHECK_1.
22544 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22545 (__xstat): Do not use CHECK_1.
22546 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22547 (___xstat64): Do not use CHECK_1.
22550 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22552 (CHECK_BOUNDS_HIGH): Likewise.
22553 * string/strcpy.c: Do not include <bp-checks.h>.
22554 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22556 2013-02-07 Roland McGrath <roland@hack.frob.com>
22558 * nscd/nscd-client.h (__nscd_drop_map_ref):
22559 Add __attribute__ ((unused)).
22560 * nis/nss-nisplus.h (niserr2nss): Likewise.
22562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22563 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22565 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22566 Remove inline keyword.
22567 * include/rounding-mode.h (round_away): Likewise.
22568 * libio/wfileops.c (adjust_wide_data): Likewise.
22569 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22570 (__m128i_strloadu_tolower): Likewise.
22571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22572 (__m128i_strloadu_tolower): Likewise.
22573 * time/mktime.c (ydhms_diff): Likewise.
22574 * locale/elem-hash.h (elem_hash): Likewise.
22575 * locale/setlocale.c (setdata): Likewise.
22576 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22577 (re_string_wchar_at): Likewise.
22578 (bitset_not, bitset_merge, bitset_mask): Likewise.
22579 [!(__GNUC__ > 3)] (inline): Remove macro.
22580 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22581 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22582 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22583 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22584 * string/memcmp.c (memcmp_bytes): Likewise.
22585 * locale/programs/locarchive.c (compute_hashval): Likewise.
22586 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22587 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22588 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22589 * nss/getent.c (print_rpc, print_protocols): Likewise.
22590 (print_passwd, print_group, print_aliases): Likewise.
22591 * nis/nss-nisplus.h (niserr2nss): Likewise.
22592 * nscd/connections.c (restart_p): Likewise.
22593 Change return type to bool.
22595 2013-02-05 Roland McGrath <roland@hack.frob.com>
22597 * Makeconfig (all-Depend-files): Add existing
22598 $(sorted-subdirs:=/Depend) files.
22599 (all-subdirs): Remove nss.
22600 * sysdeps/unix/inet/Subdirs: Add it here instead.
22601 * hesiod/Depend: New file.
22603 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22604 instead of calling alloca.
22606 * io/lseek.c (__lseek): Rename to __libc_lseek.
22607 Define __lseek as an alias.
22609 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22611 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22613 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22614 else clause and remove check for non-standard endianness.
22616 2013-02-04 David S. Miller <davem@davemloft.net>
22618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22620 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22623 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22624 (__ubp_memchr): Remove prototype.
22625 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22626 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22627 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22628 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22629 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22631 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22632 (__ubp_memchr): Likewise.
22633 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22634 (__ubp_memchr): Likewise.
22635 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22636 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22637 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22638 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22640 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22641 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22642 (__getcwd): Do not use CHECK_STRING.
22643 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22645 (__real_chown): Do not use CHECK_STRING.
22646 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22648 (fchownat): Do not use CHECK_STRING.
22649 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22651 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22653 (__lchown): Do not use CHECK_STRING.
22654 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22655 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22656 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22657 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22659 include <bp-checks.h>.
22660 (truncate64): Do not use CHECK_STRING.
22661 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22663 (__real_chown): Do not use CHECK_STRING.
22664 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22666 (__lchown): Do not use CHECK_STRING.
22667 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22669 (__chown): Do not use CHECK_STRING.
22670 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22672 (truncate64): Do not use CHECK_STRING.
22673 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22675 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22676 (__xmknod): Do not use CHECK_STRING.
22677 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22679 (__xmknodat): Do not use CHECK_STRING.
22680 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22681 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22683 2013-02-04 Andreas Schwab <schwab@suse.de>
22686 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22687 * include/netdb.h: Likewise for h_errno.
22688 * elf/tst-stackguard1.c: Include <tls.h>.
22690 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22692 * elf/link.h (struct link_map): Extend the l_addr comment.
22693 * include/link.h (struct link_map): Likewise.
22695 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22698 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22699 (BOUNDED_1): Remove macro.
22700 * debug/backtrace.c: Don't include <bp-checks.h>.
22701 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22702 (__backtrace): Likewise.
22703 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22705 (__backtrace): Don't use BOUNDED_1.
22706 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22708 (__backtrace): Don't use BOUNDED_1.
22709 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22710 (__backtrace): Don't use BOUNDED_1.
22711 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22712 (shmat): Don't use BOUNDED_N.
22714 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22717 * sysdeps/generic/bp-start.h: Remove file.
22718 * csu/libc-start.c: Don't include <bp-start.h>.
22719 (LIBC_START_MAIN): Set up __environ directly instead of using
22720 INIT_ARGV_and_ENVIRON.
22721 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22725 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22727 (CHECK_FCNTL): Likewise.
22728 (CHECK_N_PAGES): Likewise.
22731 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22733 (CHECK_SIGSET_NULL_OK): Likewise.
22734 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22736 (sigpending): Don't use CHECK_SIGSET.
22737 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22739 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22740 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22742 (do_sigsuspend): Don't use CHECK_SIGSET.
22743 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22745 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22746 (do_sigwait): Don't use CHECK_SIGSET.
22747 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22749 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22750 include <bp-checks.h>.
22751 (sigpending): Don't use CHECK_SIGSET.
22752 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22753 include <bp-checks.h>.
22754 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22755 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22757 (sigpending): Don't use CHECK_SIGSET.
22758 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22760 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22763 * sysdeps/generic/bp-semctl.h: Remove file.
22764 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22765 <bp-checks.h> and <bp-semctl.h>.
22766 (__old_semctl): Don't use CHECK_SEMCTL.
22767 (__new_semctl): Likewise.
22768 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22770 (__old_semctl): Don't use CHECK_SEMCTL.
22771 (__new_semctl): Likewise.
22772 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22773 <bp-checks.h> and <bp-semctl.h>.
22774 (__old_semctl): Don't use CHECK_SEMCTL.
22775 (__new_semctl): Likewise.
22776 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22777 <bp-checks.h> and <bp-semctl.h>.
22778 (semctl): Don't use CHECK_SEMCTL.
22781 * Makerules (elide-bp-thunks): Remove variable.
22782 (elide-routines.oS): Don't use $(elide-bp-thunks).
22783 (elide-routines.os): Likewise.
22784 (elide-routines.o): Likewise.
22785 (elide-routines.op): Likewise.
22786 (elide-routines.og): Likewise.
22787 (objects): Don't use $(bp-thunks).
22788 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22790 (common-generated): Do not add s-proto-bp.d.
22791 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22794 Do not generate makefile rules for bounded-pointer thunks.
22795 * sysdeps/generic/bp-thunks.h: Remove file.
22796 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22797 * sysdeps/unix/s-proto-bp.S: Likewise.
22800 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22801 parts of result separately when argument is not close to line from
22802 -i to i and one part of argument is small.
22803 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22804 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22805 * math/libm-test.inc (cacos_test): Add more tests.
22806 (casin_test): Likewise.
22807 (casinh_test): Likewise.
22808 * sysdeps/i386/fpu/libm-test-ulps: Update.
22809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22811 2013-01-31 David S. Miller <davem@davemloft.net>
22813 * po/de.po: Update from translation team.
22815 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22817 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22819 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22821 * configure.in (_AC_PROG_CC_C89): New definition.
22822 * configure: Regenerate.
22824 * configure.in (AC_PROG_CPP): New definition.
22825 * configure: Regenerate.
22827 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22829 * debug/tst-backtrace.h: New file.
22830 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22831 (ret): Remove variable.
22833 (FAIL): Remove macro.
22834 (NO_INLINE): Likewise.
22835 (fn1): Use match function instead of strstr.
22836 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22837 (ret): Remove variable.
22839 (FAIL): Remove macro.
22840 (NO_INLINE): Likewise.
22841 (fn): Use match function instead of strstr.
22842 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22843 (ret): Remove variable.
22845 (FAIL): Remove macro.
22846 (NO_INLINE): Likewise.
22847 (handle_signal): Use match function instead of strstr.
22848 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22849 (ret): Remove variable.
22851 (FAIL): Remove macro.
22852 (NO_INLINE): Likewise.
22853 (handle_signal): Use match function instead of strstr.
22855 2013-01-23 Roland McGrath <roland@hack.frob.com>
22857 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22859 2013-01-23 David S. Miller <davem@davemloft.net>
22861 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22862 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22863 argument of CAS if possible.
22864 * sysdeps/sparc/sparc64/bits/atomic.h
22865 (__arch_compare_and_exchange_val_32_acq): Likewise.
22866 (__arch_compare_and_exchange_val_64_acq): Likewise.
22868 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22870 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22871 * sysdeps/posix/ulimit.c: ... this.
22872 Include <limits.h>.
22873 * sysdeps/unix/bsd/ulimit.c: Remove file.
22875 2013-01-23 Adam Conrad <adconrad@0c3.net>
22877 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22878 (LDFLAGS-tst-array5): Likewise.
22880 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22883 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22884 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22885 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22886 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22888 2013-01-21 David S. Miller <davem@davemloft.net>
22890 * sysdeps/sparc/backtrace.c: New file.
22891 * sysdeps/sparc/sparc32/backtrace.h: New file.
22892 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22893 * sysdeps/sparc/sparc64/backtrace.h: New file.
22894 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22895 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22898 2013-01-21 Andreas Schwab <schwab@suse.de>
22901 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22904 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22910 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22911 Mark Mitchell <mark@codesourcery.com>
22912 Tom de Vries <tom@codesourcery.com>
22913 Paul Pluzhnikov <ppluzhnikov@google.com>
22915 * debug/tst-backtrace2.c: New file.
22916 * debug/tst-backtrace3.c: Likewise.
22917 * debug/tst-backtrace4.c: Likewise.
22918 * debug/tst-backtrace5.c: Likewise.
22919 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22920 (CFLAGS-tst-backtrace3.c): Likewise.
22921 (CFLAGS-tst-backtrace4.c): Likewise.
22922 (CFLAGS-tst-backtrace5.c): Likewise.
22923 (LDFLAGS-tst-backtrace2): Likewise.
22924 (LDFLAGS-tst-backtrace3): Likewise.
22925 (LDFLAGS-tst-backtrace4): Likewise.
22926 (LDFLAGS-tst-backtrace5): Likewise.
22927 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22928 tst-backtrace4 and tst-backtrace5.
22930 2013-01-18 Anton Blanchard <anton@samba.org>
22931 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22933 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22934 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22935 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22936 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22938 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22939 "+r" and remove output regs list as redundant. Add explicit inline
22940 asm to specify register of return val to work around compiler codegen
22941 bug. Remove (int) cast on return value. Add return type parameter to
22942 use in macro so that this macro does not truncate return value for
22944 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22945 pass to INTERNAL_VSYSCALL_NCS.
22946 (INLINE_VSYSCALL): Add 'long int' as return type to
22947 INTERNAL_VSYSCALL_NCS macro invocation.
22948 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22949 INTERNAL_VSYSCALL_NCS macro invocation.
22950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22952 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22955 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22956 Fix application of SIMD FP exception mask.
22958 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22959 mp_no from a power of two.
22960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22961 __mpexp_twomm1. Use __pow_mp.
22963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22966 2013-01-17 David S. Miller <davem@davemloft.net>
22968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22970 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22973 * include/complex.h: Condition contents on [!_COMPLEX_H].
22974 (__kernel_casinhf): New prototype.
22975 (__kernel_casinh): Likewise.
22976 (__kernel_casinhl): Likewise.
22977 * math/Makefile (libm_calls): Add k_casinh.
22978 * math/k_casinh.c: New file.
22979 * math/k_casinhf.c: Likewise.
22980 * math/k_casinhl.c: Likewise.
22981 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22982 finite nonzero arguments.
22983 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22984 finite nonzero arguments.
22985 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22986 finite nonzero arguments.
22987 * math/s_casinh.c: Do not include <float.h>.
22988 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22989 * math/s_casinhf.c: Do not include <float.h>.
22990 (__casinhf): Move code for finite nonzero arguments to
22992 * math/s_casinhl.c: Do not include <float.h>.
22993 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22995 (__casinhl): Move code for finite nonzero arguments to
22997 * math/libm-test.inc (cacos_test): Add more tests.
22998 * sysdeps/i386/fpu/libm-test-ulps: Update.
22999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23001 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23003 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23004 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23005 [!HAVE_MREMAP]: Remove [defined linux] case.
23006 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23008 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23010 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23012 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23014 * elf/elf.h (R_386_SIZE32): New relocation.
23015 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23017 (elf_machine_rela): Likewise.
23018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23019 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23021 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23023 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23024 (FP_FAST_FMA): Do not define.
23025 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23026 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23027 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23028 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23029 !_SOFT_FLOAT]: Likewise.
23030 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23031 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23033 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23034 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23035 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23036 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23037 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23038 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23041 2013-01-16 Andreas Schwab <schwab@suse.de>
23044 * include/stdlib.h (__mktemp): Add declaration.
23045 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23046 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23048 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23050 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23052 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23053 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23054 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23056 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23057 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23059 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23061 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23062 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23063 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23065 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23066 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23068 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23070 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23072 2013-01-15 David S. Miller <davem@davemloft.net>
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23075 trunc{,f} to libm-sysdep_routes.
23076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23087 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23088 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23089 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23090 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23091 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23094 nearbyint{,f} to libm-sysdep_routes.
23095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23106 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23113 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23115 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23116 libc_feholdexcept and libc_fesetenv.
23118 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23120 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23122 2013-01-14 David S. Miller <davem@davemloft.net>
23124 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23125 (SPARC_ASM_VIS2_IFUNC): Likewise.
23126 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23128 use of 'siam' instruction.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23162 routines to libm-sysdep_routines.
23163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23166 fdim/fdimf to libm-sysdep_routines.
23167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23175 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23176 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23177 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23178 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23180 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23183 to optimize copies.
23185 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23190 local variable MPTWO.
23191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23194 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23196 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23199 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23201 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23203 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23205 * manual/pattern.texi (glob_t): Document gl_flags.
23206 (glob64_t): Likewise.
23208 2013-01-11 David S. Miller <davem@davemloft.net>
23210 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23211 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23212 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23213 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23214 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23215 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23216 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23217 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23218 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23219 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23220 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23221 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23222 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23224 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23225 sparc V9 rather than using V8 code.
23226 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23227 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23229 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23231 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23234 2013-01-11 Roland McGrath <roland@hack.frob.com>
23236 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23237 not in the main loop.
23238 * configure: Regenerated.
23240 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23242 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23243 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23245 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23246 [!__GLIBC_HAVE_LONG_LONG] case.
23247 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23248 condition to just #else.
23249 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23250 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23251 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23252 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23254 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23255 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23256 #elif condition to just #else.
23257 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23258 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23259 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23260 #elif condition to just #else.
23262 2013-01-11 Steve Ellcey <sellcey@mips.com>
23264 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23265 (EF_MIPS_ARCH_64): Fix value.
23266 (EF_MIPS_ARCH_32R2): New.
23267 (EF_MIPS_ARCH_64R2): New.
23269 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23271 * Makeconfig (+link-pie-before-libc): New.
23272 (+link-pie-after-libc): Likewise.
23273 (+link-pie-tests): Likewise.
23274 (+link-pie): Rewritten.
23275 (link-before-libc): Remove $(config-LDFLAGS).
23276 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23277 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23278 (config-LDFLAGS): Renamed to ...
23279 (rtld-LDFLAGS): This.
23280 (rtld-tests-LDFLAGS): New macro.
23281 (link-libc-rpath-link): Likewise.
23282 (link-libc-tests-rpath-link): Likewise.
23283 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23284 (link-libc): Prepand $(link-libc-rpath-link).
23285 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23286 (test-program-prefix): New macro.
23287 (test-via-rtld-prefix): Likewise.
23288 (test-program-cmd): Likewise.
23289 (host-test-program-cmd): Likewise.
23290 * Makefile ($(common-objpfx)testrun.sh): Replace
23291 $(run-program-prefix) with $(test-program-prefix).
23292 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23294 ($(common-objpfx)shlib.lds): Likewise.
23295 (build-module-helper): Likewise.
23296 ($(common-objpfx)format.lds): Likewise.
23297 * Rules (binaries-pie-tests): New.
23298 (binaries-pie-notests): Likewise.
23299 (binaries-pie): Rewritten.
23300 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23301 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23302 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23303 (make-test-out): Replace $(host-built-program-cmd) with
23304 $(host-test-program-cmd).
23305 * config.make.in (build-hardcoded-path-in-tests): New variable.
23306 * configure.in (--enable-hardcoded-path-in-tests): New configure
23308 (hardcoded_path_in_tests): New AC_SUBST.
23309 * configure: Regenerated.
23310 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23311 $(built-program-cmd) with $(test-program-cmd).
23312 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23313 (test_program_cmd): This.
23314 * elf/Makefile ($(objpfx)order.out): Run test with
23315 $(test-program-prefix).
23316 ($(objpfx)order2.out): Likewise.
23317 ($(objpfx)tst-initorder.out): Likewise.
23318 ($(objpfx)tst-initorder2.out): Likewise.
23319 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23320 $(test-program-cmd).
23321 ($(objpfx)tst-array1-static.out): Likewise.
23322 ($(objpfx)tst-array2.out): Likewise.
23323 ($(objpfx)tst-array3.out): Likewise.
23324 ($(objpfx)tst-array4.out): Likewise.
23325 ($(objpfx)tst-array5.out): Likewise.
23326 ($(objpfx)tst-array5-static.out): Likewise.
23327 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23328 $(test-program-cmd).
23329 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23330 $(run-program-prefix) with $(test-program-prefix).
23331 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23332 (test_program_prefix): This.
23333 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23334 $(run-program-prefix) with $(test-program-prefix).
23335 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23336 (test_program_prefix): This.
23337 * iconvdata/tst-tables.sh: Likewise.
23338 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23339 $(run-program-prefix) with $(test-program-prefix).
23340 ($(objpfx)tst-translit.out): Likewise.
23341 ($(objpfx)tst-gettext2.out): Likewise.
23342 ($(objpfx)tst-gettext4.out): Likewise.
23343 ($(objpfx)tst-gettext6.out): Likewise.
23344 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23345 (test_program_prefix): This.
23346 * intl/tst-gettext2.sh: Likewise.
23347 * intl/tst-gettext4.sh Likewise.
23348 * intl/tst-gettext6.sh: Likewise.
23349 * intl/tst-translit.sh: Likewise.
23350 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23351 with $(test-program-cmd).
23352 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23353 $(run-program-prefix) with $(test-program-prefix).
23354 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23355 (test_program_prefix): This.
23356 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23357 $(run-program-prefix) with $(test-program-prefix).
23358 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23359 (test_program_prefix): This.
23360 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23361 * posix/Makefile ($(objpfx)globtest.out): Replace
23362 $(run-via-rtld-prefix) and $(test-wrapper) with
23363 $(test-program-prefix) and $(test-via-rtld-prefix).
23364 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23365 $(test-program-prefix).
23366 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23367 $(host-test-program-cmd).
23368 (tst-spawn-ARGS): Likewise.
23369 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23370 $(test-program-prefix).
23371 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23372 (test_via_rtld_prefix): This.
23373 (test_wrapper): Renamed to ...
23374 (test_program_prefix): This.
23375 (run_program_prefix): Replaced by test_program_prefix.
23376 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23377 (test_program_prefix): This.
23378 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23379 with $(host-test-program-cmd).
23380 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23381 $(run-program-prefix) with $(test-program-prefix).
23382 ($(objpfx)tst-printf.out): Likewise.
23383 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23384 $(test-program-cmd).
23385 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23386 (test_program_prefix): This.
23387 * stdio-common/tst-unbputc.sh: Likewise.
23388 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23389 $(run-program-prefix) with $(test-program-prefix).
23390 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23391 (test_program_prefix): This.
23392 * string/Makefile ($(objpfx)tst-svc.out): Replace
23393 $(built-program-cmd) with $(test-program-cmd).
23395 2013-01-11 Andreas Jaeger <aj@suse.de>
23398 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23399 value. Sync with Linux 3.7.
23401 2013-01-10 David S. Miller <davem@davemloft.net>
23403 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23404 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23405 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23407 2013-01-10 Roland McGrath <roland@hack.frob.com>
23409 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23411 * configure: Regenerated.
23413 2013-01-10 David S. Miller <davem@davemloft.net>
23415 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23416 sparc V9 rather than using V8 code.
23417 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23418 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23420 2013-01-10 Roland McGrath <roland@hack.frob.com>
23422 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23423 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23424 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23425 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23426 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23427 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23428 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23429 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23430 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23431 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23432 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23433 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23434 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23435 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23436 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23437 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23438 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23439 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23440 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23441 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23442 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23443 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23444 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23445 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23446 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23447 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23448 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23450 2013-01-10 David S. Miller <davem@davemloft.net>
23452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23454 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23456 * posix/Makefile (tests-static): New variable.
23457 (tests): Add $(tests-static).
23458 (tst-exec-static-ARGS): New variable.
23459 (tst-spawn-static-ARGS): Likewise.
23460 * posix/tst-exec-static.c: New file.
23461 * posix/tst-spawn-static.c: Likewise.
23462 * posix/tst-exec.c: Support run directly.
23463 * posix/tst-spawn.c: Likewise.
23465 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23467 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23469 * math/bits/mathcalls.h (llrint): Likewise.
23470 (llround): Likewise.
23471 * stdlib/stdlib.h (struct drand48_data): Likewise.
23472 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23473 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23474 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23476 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23478 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23479 (elf_greg_t): Likewise.
23480 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23481 (__jmp_buf): Likewise.
23482 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23484 (llrint): Likewise, for all definitions.
23485 (llrintl): Likewise.
23487 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23488 Remove [__GNUC__] condition.
23489 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23490 condition to just [__USE_ISOC99].
23491 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23493 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23496 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23497 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23499 (_POSIX_V6_ILP32_OFF32): Likewise.
23500 (_XBS5_ILP32_OFF32): Likewise.
23501 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23502 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23504 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23506 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23509 doubles __mpexp_twomm1. Adjust usage.
23510 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23513 2013-01-10 Andreas Schwab <schwab@suse.de>
23516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23517 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23519 2013-01-09 David S. Miller <davem@davemloft.net>
23522 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23523 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23524 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23525 (TCP_FASTOPEN): Define.
23526 (tcp_repair_opt): New structure.
23527 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23529 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23530 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23531 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23532 (tcp_cookie_transactions): New structure.
23534 2013-01-09 Anton Blanchard <anton@samba.org>
23536 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23537 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23538 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23539 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23541 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23543 * include/features.h (__USE_ANSI): Remove.
23545 2013-01-09 Roland McGrath <roland@hack.frob.com>
23547 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23549 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23551 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23553 * sysdeps/s390/fpu/libm-test-ulps: Update.
23555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23557 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23561 (denorm): Likewise.
23562 (__mp_dbl): Likewise.
23563 (__dbl_mp): Likewise.
23564 (add_magnitudes): Likewise.
23565 (sub_magnitudes): Likewise.
23571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23575 (denorm): Likewise.
23576 (__mp_dbl): Likewise.
23577 (__dbl_mp): Likewise.
23578 (add_magnitudes): Likewise.
23579 (sub_magnitudes): Likewise.
23585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23589 (denorm): Likewise.
23590 (__mp_dbl): Likewise.
23591 (__dbl_mp): Likewise.
23592 (add_magnitudes): Likewise.
23593 (sub_magnitudes): Likewise.
23600 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23602 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23603 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23604 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23605 2 && __USE_EXTERN_INLINES]: Likewise.
23607 2013-01-08 Andreas Jaeger <aj@suse.de>
23610 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23612 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23613 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23615 2013-01-07 Anton Blanchard <anton@samba.org>
23617 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23618 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23619 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23620 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23621 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23622 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23623 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23624 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23626 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23627 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23628 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23629 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23630 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23631 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23633 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23634 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23635 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23636 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23637 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23638 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23639 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23640 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23641 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23642 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23643 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23644 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23646 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23647 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23649 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23650 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23651 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23653 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23654 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23655 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23657 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23659 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23661 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23663 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23664 (__MALLOC_PMT): Likewise.
23665 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23666 [__GNUC__], only on [_LIBC].
23667 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23668 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23669 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23670 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23671 forward declaration.
23672 (realloc_hook_ini): Likewise.
23673 (memalign_hook_ini): Likewise.
23674 (__libc_memalign): Do not use __MALLOC_PMT in variable
23676 (__libc_valloc): Likewise.
23677 (__libc_pvalloc): Likewise.
23678 (__libc_calloc): Likewise.
23679 (__posix_memalign): Likewise.
23682 * math/s_casinh.c: Include <float.h>.
23683 (__casinh): Do not do computation with squaring and square root
23684 for large arguments.
23685 * math/s_casinhf.c: Include <float.h>.
23686 (__casinhf): Do not do computation with squaring and square root
23687 for large arguments.
23688 * math/s_casinhl.c: Include <float.h>.
23689 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23690 (__casinhl): Do not do computation with squaring and square root
23691 for large arguments.
23692 * math/libm-test.inc (casin_test): Add more tests.
23693 (casinh_test): Likewise.
23694 * sysdeps/i386/fpu/libm-test-ulps: Update.
23695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23697 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23699 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23700 (__x86_64_raw_data_cache_size): Likewise.
23701 (__x86_64_data_cache_size_half): Likewise.
23702 (__x86_64_raw_data_cache_size_half): Likewise.
23703 (__x86_64_shared_cache_size): Likewise.
23704 (__x86_64_raw_shared_cache_size): Likewise.
23705 (__x86_64_shared_cache_size_half): Likewise.
23706 (__x86_64_raw_shared_cache_size_half): Likewise.
23707 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23709 (__x86_data_cache_size): This.
23710 (__x86_64_raw_data_cache_size): Renamed to ...
23711 (__x86_raw_data_cache_size): This.
23712 (__x86_64_data_cache_size_half): Renamed to ...
23713 (__x86_data_cache_size_half): This.
23714 (__x86_64_raw_data_cache_size_half): Renamed to ...
23715 (__x86_raw_data_cache_size_half): This.
23716 (__x86_64_shared_cache_size): Renamed to ...
23717 (__x86_shared_cache_size): This.
23718 (__x86_64_raw_shared_cache_size): Renamed to ...
23719 (__x86_raw_shared_cache_size): This.
23720 (__x86_64_shared_cache_size_half): Renamed to ...
23721 (__x86_shared_cache_size_half): This.
23722 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23723 (__x86_raw_shared_cache_size_half): This.
23724 * sysdeps/x86_64/memcpy.S: Updated.
23725 * sysdeps/x86_64/memset.S: Likewise.
23726 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23727 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23730 2013-01-04 David S. Miller <davem@davemloft.net>
23732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23734 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23736 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23737 1 to avoid redefinition warning.
23738 (__USE_GNU): Don't define.
23739 (init_signaling_nan): Protoize.
23741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23743 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23745 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23747 (__cpymn): Likewise.
23748 (norm): Remove commented code.
23749 (denorm): Likewise.
23750 (__mp_dbl): Likewise.
23752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23753 (__cpymn): Likewise.
23754 (norm): Remove commented code.
23755 (denorm): Likewise.
23756 (__mp_dbl): Likewise.
23759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23760 mp_no value for 1.0 and 2.0.
23761 (norm): Use RADIXI instead of radixi.d.
23762 (denorm): Likewise.
23763 (__mul): Use 0.0 instead of zero.d.
23764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23765 mp_no value for 1.0 and 2.0.
23766 (norm): Use RADIXI instead of radixi.d.
23767 (denorm): Likewise.
23768 (__mul): Use 0.0 instead of zero.d.
23770 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23773 * math/s_casinh.c (__casinh): Reduce finite argument to first
23774 quadrant then set signs of results at the end.
23775 * math/s_casinhf.c (__casinhf): Likewise.
23776 * math/s_casinhl.c (__casinhl): Likewise.
23777 * math/libm-test.inc (casin_test): Add more tests.
23778 (casinh_test): Likewise.
23779 * sysdeps/i386/fpu/libm-test-ulps: Update.
23780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23782 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23784 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23786 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23788 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23790 (denorm): Likewise.
23791 (__mp_dbl): Likewise.
23794 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23795 and adjust the header comment.
23797 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23798 variable name from declaration.
23800 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23803 Initialize COMMON_CPUID_INDEX_7 element.
23804 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23805 (CPUID_RTM): Likewise.
23806 (HAS_RTM): Likewise.
23807 (COMMON_CPUID_INDEX_7): New enum.
23809 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23812 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23813 size is zero, record memory as freed.
23815 2013-01-03 Andreas Jaeger <aj@suse.de>
23817 * po/ia.po: Add new Interlingua translation.
23819 2012-01-03 Allan McRae <allan@archlinux.org>
23821 * locale/programs/localedef.c: Fix description of '--posix' flag.
23823 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23825 * NEWS: Update dates in second copyright notice.
23826 * README: Update copyright dates in example.
23827 * manual/libc.texinfo: Update copyright dates.
23828 * scripts/test-installation.pl: Update copyright date in --version
23831 * hurd/ctty-input.c: Fix copyright notice formatting.
23832 * hurd/ctty-output.c: Likewise.
23833 * hurd/dtable.c: Likewise.
23834 * hurd/hurd-raise.c: Likewise.
23835 * hurd/hurdprio.c: Likewise.
23836 * hurd/msgportdemux.c: Likewise.
23837 * misc/sys/file.h: Likewise.
23838 * misc/sys/ioctl.h: Likewise.
23839 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23840 * sysdeps/mach/hurd/chdir.c: Likewise.
23841 * sysdeps/mach/hurd/fchdir.c: Likewise.
23842 * sysdeps/mach/hurd/rename.c: Likewise.
23843 * sysdeps/mach/hurd/rmdir.c: Likewise.
23844 * sysdeps/mach/hurd/seekdir.c: Likewise.
23845 * sysdeps/mach/hurd/setsid.c: Likewise.
23846 * sysdeps/posix/wait3.c: Likewise.
23848 * All files with FSF copyright notices: Update copyright dates
23849 using scripts/update-copyrights.
23850 * intl/plural.c: Regenerated.
23851 * locale/programs/charmap-kw.h: Likewise.
23852 * locale/programs/locfile-kw.h: Likewise.
23854 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23856 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23859 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23860 calculation loop and add branch prediction.
23862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23863 check access beyond bounds of m1np.
23865 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23867 (__inv): Remove local variable MPTWO to use the global
23869 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23870 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23872 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23873 MP3HALFS static const.
23875 2013-01-01 David S. Miller <davem@davemloft.net>
23877 * po/ca.po: Update from translation team.
23879 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23881 * scripts/update-copyrights: New file.
23882 * Makeconfig: Reformat copyright notice.
23883 * ctype/ctype.h: Likewise.
23884 * debug/swprintf_chk.c: Likewise.
23885 * elf/dl-cache.c: Likewise.
23886 * elf/dl-debug.c: Likewise.
23887 * elf/dl-object.c: Likewise.
23888 * grp/initgroups.c: Likewise.
23889 * hurd/Makefile: Likewise.
23890 * hurd/hurd/signal.h: Likewise.
23891 * hurd/hurdfault.c: Likewise.
23892 * hurd/hurdioctl.c: Likewise.
23893 * hurd/hurdlookup.c: Likewise.
23894 * hurd/intr-msg.c: Likewise.
23895 * iconv/gconv_open.c: Likewise.
23896 * libio/swprintf.c: Likewise.
23897 * locale/lc-ctype.c: Likewise.
23898 * locale/nl_langinfo.c: Likewise.
23899 * mach/Machrules: Likewise.
23900 * mach/Makefile: Likewise.
23901 * malloc/obstack.h: Likewise.
23902 * manual/Makefile: Likewise.
23903 * manual/tsort.awk: Likewise.
23904 * misc/bits/stab.def: Likewise.
23905 * nis/nis_print_group_entry.c: Likewise.
23906 * nis/nis_table.c: Likewise.
23907 * nis/nss_compat/compat-pwd.c: Likewise.
23908 * nis/nss_compat/compat-spwd.c: Likewise.
23909 * po/Makefile: Likewise.
23910 * posix/fnmatch.c: Likewise.
23911 * posix/regex.h: Likewise.
23912 * resolv/Makefile: Likewise.
23913 * resolv/nss_dns/dns-network.c: Likewise.
23914 * resolv/res_hconf.c: Likewise.
23915 * scripts/gen-sorted.awk: Likewise.
23916 * soft-fp/soft-fp.h: Likewise.
23917 * stdio-common/printf.h: Likewise.
23918 * stdlib/monetary.h: Likewise.
23919 * stdlib/random.c: Likewise.
23920 * stdlib/random_r.c: Likewise.
23921 * sysdeps/generic/Makefile: Likewise.
23922 * sysdeps/gnu/Makefile: Likewise.
23923 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23946 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23947 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23951 * sysdeps/mach/hurd/errnos.awk: Likewise.
23952 * sysdeps/mach/hurd/fork.c: Likewise.
23953 * sysdeps/mach/hurd/getcwd.c: Likewise.
23954 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23955 * sysdeps/mach/hurd/mmap.c: Likewise.
23956 * sysdeps/mach/hurd/utimes.c: Likewise.
23957 * sysdeps/mach/hurd/xmknod.c: Likewise.
23958 * sysdeps/posix/profil.c: Likewise.
23959 * sysdeps/posix/readdir_r.c: Likewise.
23960 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23961 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23962 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23963 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23965 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23966 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23967 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23969 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23970 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23971 * sysdeps/pthread/lio_listio.c: Likewise.
23972 * sysdeps/sparc/dl-procinfo.h: Likewise.
23973 * sysdeps/unix/i386/sysdep.S: Likewise.
23974 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23975 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23976 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23977 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23979 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23980 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23981 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23982 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23983 * sysdeps/wordsize-32/divdi3.c: Likewise.
23984 * time/sys/time.h: Likewise.
23985 * wcsmbs/Makefile: Likewise.
23987 2013-01-01 David S. Miller <davem@davemloft.net>
23989 * po/fr.po: Update from translation team.
23991 * catgets/gencat.c: Update copyright year.
23992 * csu/version.c: Likewise.
23993 * debug/catchsegv.sh: Likewise.
23994 * debug/pcprofiledump.c: Likewise.
23995 * debug/xtrace.sh: Likewise.
23996 * elf/ldconfig.c: Likewise.
23997 * elf/ldd.bash.in: Likewise.
23998 * elf/pldd.c: Likewise.
23999 * elf/sotruss.ksh: Likewise.
24000 * elf/sprof.c: Likewise.
24001 * iconv/iconv_prog.c: Likewise.
24002 * iconv/iconvconfig.c: Likewise.
24003 * locale/programs/locale.c: Likewise.
24004 * locale/programs/localedef.c: Likewise.
24005 * login/programs/pt_chown.c: Likewise.
24006 * malloc/memusage.sh: Likewise.
24007 * malloc/memusagestat.c: Likewise.
24008 * malloc/mtrace.pl: Likewise.
24009 * nscd/nscd.c: Likewise.
24010 * nss/getent.c: Likewise.
24011 * nss/makedb.c: Likewise.
24012 * posix/getconf.c: Likewise.
24014 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24016 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24019 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24021 * math/bits/mathcalls.h (modf): Use __nonnull.
24023 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24025 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24026 (split): Use macro CN instead of the bare value.
24027 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24030 instead of the bare value.
24031 (power1): Likewise.
24033 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24035 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24037 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24039 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24041 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24042 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24043 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24044 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24046 2012-12-28 Andreas Jaeger <aj@suse.de>
24048 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24049 values are from Linux 3.7.
24051 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24052 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24054 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24056 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24059 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24061 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24062 variables with preprocessor constants.
24063 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24064 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24067 2012-12-27 Bruno Haible <bruno@clisp.org>
24070 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24073 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24076 and use variable directly.
24077 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24079 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24081 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24082 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24084 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24086 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24087 include directive. Remove local variable MPONE.
24088 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24090 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24092 2012-12-25 David S. Miller <davem@davemloft.net>
24094 * version.h (RELEASE): Set to "development".
24095 (VERSION): Set to "2.17.90".
24096 * NEWS: Add 2.18 section.
24098 2012-12-21 David S. Miller <davem@davemloft.net>
24100 * po/hr.po: Update from translation team.
24102 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24104 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24106 2012-12-19 Steve Ellcey <sellcey@mips.com>
24108 * NEWS: Mention new memcpy for MIPS.
24110 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24112 * manual/contrib.texi (Contributors): Spelling correction.
24114 2012-12-15 David S. Miller <davem@davemloft.net>
24116 * po/ru.po: Update from translation team.
24118 2012-12-13 David S. Miller <davem@davemloft.net>
24120 * NEWS: Mention IFUNC testsuite enhancements.
24122 * po/pl.po: Update from translation team.
24123 * po/bg.po: Likewise.
24125 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24126 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24128 2012-12-11 David S. Miller <davem@davemloft.net>
24130 * po/sv.po: Update from translation team.
24132 * po/vi.po: Update from translation team.
24134 * po/cs.po: Update from translation team.
24136 * po/de.po: Update from translation team.
24137 * po/eo.po: Likewise.
24138 * po/nl.po: Likewise.
24140 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24143 * manual/argp.texi (Argp Helper Functions): Move node to follow
24144 Argp Parsing State.
24147 * manual/conf.texi (Limits on File System Capacity): Mention if
24148 terminating null is included in the max size.
24150 2012-12-10 Andreas Jaeger <aj@suse.de>
24152 * po/cs.po: Update from translation team.
24154 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24156 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24157 void pointer and cast to uintptr_t.
24158 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24160 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24161 * sysdeps/s390/s390-64/memset.S: Likewise.
24163 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24166 * menual/message.texi (Message Translation): Fix typos.
24167 (Helper programs for gettext): Likewise.
24169 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24172 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24175 2012-12-07 David S. Miller <davem@davemloft.net>
24177 * po/libc.pot: Update.
24179 2012-12-07 Richard Henderson <rth@redhat.com>
24182 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24183 normal/normal case to before the switch.
24184 (_FP_DIV): Likewise.
24186 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24187 Mike Frysinger <vapier@gentoo.org>
24189 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24190 check for __NR_fadvise64_64.
24192 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24194 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24195 0, not just to plain "0" as a statement.
24196 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24199 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24201 * NEWS: Use sourceware.org in Bugzilla URL.
24203 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24206 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24208 * stdio-common/tst-put-error.c (do_test): Add newline to the
24209 padded test to ensure flush.
24211 2012-12-05 Jeff Law <law@redhat.com>
24213 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24215 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24217 * README: Don't refer to ports add-on as distributed separately.
24218 Mention AArch64 in list of systems supported in the ports add-on.
24220 * LICENSES: Add more non-FSF copyright and license notices.
24222 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24225 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24227 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24228 10000 as width of padded output.
24230 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24232 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24235 variable LX with __attribute__ ((unused)).
24236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24238 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24241 with __attribute__ ((unused)).
24243 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24245 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24247 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24250 (CFLAGS-nldbl-acos.c): New variable.
24251 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24252 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24253 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24254 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24255 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24256 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24257 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24258 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24259 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24260 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24261 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24262 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24263 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24264 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24265 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24266 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24267 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24268 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24269 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24270 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24271 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24272 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24273 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24274 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24275 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24276 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24277 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24278 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24279 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24280 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24281 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24282 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24283 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24284 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24285 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24286 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24287 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24288 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24289 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24290 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24291 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24292 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24293 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24294 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24295 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24296 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24297 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24298 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24299 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24300 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24301 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24302 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24303 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24304 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24305 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24306 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24307 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24308 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24309 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24310 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24311 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24312 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24313 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24314 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24315 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24316 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24317 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24318 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24319 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24320 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24321 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24322 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24323 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24324 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24325 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24326 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24327 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24328 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24329 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24330 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24331 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24332 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24333 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24334 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24335 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24336 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24337 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24338 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24339 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24340 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24341 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24342 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24343 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24344 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24345 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24346 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24347 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24350 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24354 whole low double instead of just low 47 bits when splitting values
24357 2012-12-03 Allan McRae <allan@archlinux.org>
24359 * manual/stdio.texi (Predefined Printf Handlers): Remove
24360 @hsep and @vsep usage.
24362 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24364 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24365 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24367 2012-12-03 Jeff Law <law@redhat.com>
24369 * time/sys/time.h (settimeofday): Do not mark TV argument
24372 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24374 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24375 when currently writing and seek to current position when not.
24376 * libio/Makefile (tests): Remove bug-fclose1.
24377 * libio/bug-fclose1.c: Delete.
24379 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24381 * manual/arith.texi (feenableexcept): Fix typo.
24382 (fedisableexcept): Likewise.
24384 2012-11-30 Roland McGrath <roland@hack.frob.com>
24386 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24387 second, differently-typed declaration, rather than a cast.
24389 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24391 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24392 * include/rpc/svc.h: ... here.
24394 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24397 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24398 depending n and resplen2 to catch cases where answer
24401 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24403 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24404 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24406 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24410 2012-11-29 Roland McGrath <roland@hack.frob.com>
24412 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24414 2012-11-28 Jeff Law <law@redhat.com>
24417 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24418 dataset_temporary. Track alloca usage into alloca_used.
24419 If dataset is large allocate and release it via malloc/free.
24421 2012-06-04 Florian Weimer <fweimer@redhat.com>
24424 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24426 2012-11-28 David S. Miller <davem@davemloft.net>
24428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24430 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24433 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24434 of pi/2 rounded to nearest to 64 bits.
24435 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24436 nearest to 64 bits.
24437 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24440 2012-11-28 Jeff Law <law@redhat.com>
24441 Martin Osvald <mosvald@redhat.com>
24444 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24445 * sunrpc/svc.c: Include time.h.
24446 (__svc_accept_failed): New function.
24447 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24448 any reason other than EINTR, call __svc_accept_failed.
24449 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24450 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24452 2012-11-28 Andreas Schwab <schwab@suse.de>
24454 * scripts/abilist.awk: Also handle indirect functions in .opd
24457 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24460 * sysdeps/x86/fpu/powl_helper.c: New file.
24461 * sysdeps/x86/fpu/Makefile: Likewise.
24462 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24464 (__ieee754_powl): Use __powl_helper for finite arguments except
24465 integer exponents below 8.
24466 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24468 (__ieee754_powl): Use __powl_helper for finite arguments except
24469 integer exponents below 8.
24470 * math/libm-test.inc (pow_test): Add more tests and enable some
24471 previously disabled tests.
24472 * sysdeps/i386/fpu/libm-test-ulps: Update.
24473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24476 Carlos O'Donell <carlos_odonell@mentor.com>
24478 * nss/makedb.c (is_prime): Assert that input is odd and greater
24479 than 4. Note that fact in a comment too.
24480 (next_prime): Add 4 to input.
24482 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24485 * libio/Makefile (tests): Add test case tst-fwrite-error.
24486 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24487 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24488 * libio/tst-fwrite-error.c: New test case.
24490 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24492 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24493 before casting to void *.
24494 * include/libc-internal.h (__pointer_type): New macro.
24495 (__integer_if_pointer_type_sub): Likewise.
24496 (__integer_if_pointer_type): Likewise.
24497 (cast_to_integer): Likewise.
24498 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24499 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24500 before casting to atomic64_t.
24501 (atomic_exchange_acq): Likewise.
24502 (__arch_exchange_and_add_body): Likewise.
24503 (__arch_add_body): Likewise.
24504 (atomic_add_negative): Likewise.
24505 (atomic_add_zero): Likewise.
24507 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24509 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24510 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24511 (add_fdes): Likewise.
24512 (linear_search_fdes): Likewise.
24513 (binary_search_unencoded_fdes): Likewise.
24515 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24517 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24519 2012-11-24 Adam Conrad <adconrad@0c3.net>
24521 * configure.in: Autodetect C++ header directories.
24522 * configure: Regenerated.
24524 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24526 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24528 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24532 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24534 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24535 LDBL_MANT_DIG == 106]: Disable some tests.
24536 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24538 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24543 input for small inputs. Return +/- pi/2 for large inputs.
24544 * math/libm-test.inc (atan_test): Add more tests.
24546 * sysdeps/generic/unwind-dw2-fde-glibc.c
24547 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24548 __attribute__ ((unused)).
24551 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24552 x * y if x and y are nonzero and z is zero.
24555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24556 nonzero exponents with absolute value below 0x1p-117 to +/-
24560 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24561 up arguments below 2**-450, not just those below 2**-500.
24562 * math/libm-test.inc (hypot_test): Add another test.
24565 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24566 Return a+b for ratio over 2**120, not 2**60.
24567 * math/libm-test.inc (hypot_test): Add another test.
24569 * math/libm-test.inc (clog_test): Use
24570 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24571 (clog10_test): Likewise.
24574 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24576 2012-11-22 Andreas Schwab <schwab@suse.de>
24578 * sysdeps/i386/fpu/libm-test-ulps: Update.
24580 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24582 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24583 printf output with newline.
24585 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24588 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24589 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24590 -z nodlopen, -z initfirst and -z execstack support.
24591 * configure: Regenerated.
24593 * elf/elf.h (DF_1_NODIRECT): New macro.
24594 (DF_1_IGNMULDEF): Likewise.
24595 (DF_1_NOKSYMS): Likewise.
24596 (DF_1_NOHDR): Likewise.
24597 (DF_1_EDITED): Likewise.
24598 (DF_1_NORELOC): Likewise.
24599 (DF_1_SYMINTPOSE): Likewise.
24600 (DF_1_GLOBAUDIT): Likewise.
24601 (DF_1_SINGLETON): Likewise.
24602 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24603 DT_1_SUPPORTED_MASK bits.
24604 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24606 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24608 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24610 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24612 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24615 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24616 (sendmmsg): Move declarations...
24617 * socket/sys/socket.h: ... here.
24618 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24619 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24621 * socket/recvmmsg.c: ... this new file.
24622 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24623 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24624 definition of __sendmmsg hidden.
24625 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24626 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24627 Move ENOSYS stub into and include it from...
24628 * socket/sendmmsg.c: ... this new file.
24629 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24630 (sysdep_routines): Move recvmmsg and sendmmsg...
24631 * socket/Makefile (routines): ... here.
24632 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24633 (GLIBC_PRIVATE): Add __sendmmsg.
24634 * include/sys/socket.h (__sendmmsg): Add declarations.
24635 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24638 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24641 variable I1 with __attribute__ ((unused)).
24642 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24644 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24646 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24647 DUMMY variables with __attribute__ ((unused)).
24649 * bits/byteswap.h: Include <bits/types.h>.
24650 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24652 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24654 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24655 string_t. Do not manually set errno.
24656 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24657 length with __strnlen. Make sure to both set errno and return it on
24660 2012-11-19 David S. Miller <davem@davemloft.net>
24662 With help from Joseph Myers.
24663 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24664 very large arguments properly.
24665 * math/libm-test.inc (atan_test): New tests.
24666 (atan2_test): New tests.
24667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24670 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24673 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24676 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24677 [POSIX] (EADDRNOTAVAIL): Likewise.
24678 [POSIX] (EAFNOSUPPORT): Likewise.
24679 [POSIX] (EALREADY): Likewise.
24680 [POSIX] (ECONNABORTED): Likewise.
24681 [POSIX] (ECONNREFUSED): Likewise.
24682 [POSIX] (ECONNRESET): Likewise.
24683 [POSIX] (EDESTADDRREQ): Likewise.
24684 [POSIX] (EDQUOT): Likewise.
24685 [POSIX] (EHOSTUNREACH): Likewise.
24686 [POSIX] (EIDRM): Likewise.
24687 [POSIX] (EISCONN): Likewise.
24688 [POSIX] (ELOOP): Likewise.
24689 [POSIX] (EMULTIHOP): Likewise.
24690 [POSIX] (ENETDOWN): Likewise.
24691 [POSIX] (ENETUNREACH): Likewise.
24692 [POSIX] (ENOBUFS): Likewise.
24693 [POSIX] (ENODATA): Likewise.
24694 [POSIX] (ENOLINK): Likewise.
24695 [POSIX] (ENOMSG): Likewise.
24696 [POSIX] (ENOPROTOOPT): Likewise.
24697 [POSIX] (ENOSR): Likewise.
24698 [POSIX] (ENOSTR): Likewise.
24699 [POSIX] (ENOTCONN): Likewise.
24700 [POSIX] (ENOTSOCK): Likewise.
24701 [POSIX] (EOPNOTSUPP): Likewise.
24702 [POSIX] (EOVERFLOW): Likewise.
24703 [POSIX] (EPROTO): Likewise.
24704 [POSIX] (EPROTONOSUPPORT): Likewise.
24705 [POSIX] (EPROTOTYPE): Likewise.
24706 [POSIX] (ESTALE): Likewise.
24707 [POSIX] (ETIME): Likewise.
24708 [POSIX] (ETXTBSY): Likewise.
24709 [POSIX] (EWOULDBLOCK): Likewise.
24710 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24711 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24712 [POSIX] (SEEK_CUR): Likewise.
24713 [POSIX] (SEEK_END): Likewise.
24714 [POSIX || UNIX98] (mode_t): Do not require.
24715 [POSIX] (off_t): Likewise.
24716 [POSIX] (pid_t): Likewise.
24717 [POSIX] (sys/stat.h): Do not allow header.
24718 [POSIX] (unistd.h): Likewise.
24719 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24720 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24721 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24722 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24724 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24725 sigevent): Specify elements.
24726 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24728 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24729 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24731 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24732 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24733 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24734 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24735 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24736 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24737 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24738 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24739 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24740 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24741 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24742 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24743 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24744 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24746 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24748 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24750 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24752 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24753 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24754 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24755 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24756 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24757 Specify lower bound on value.
24758 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24759 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24760 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24761 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24762 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24763 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24764 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24765 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24767 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24769 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24770 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24771 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24772 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24773 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24774 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24775 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24776 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24777 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24778 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24779 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24780 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24781 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24782 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24783 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24784 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24786 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24788 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24789 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24790 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24791 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24792 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24793 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24795 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24796 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24797 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24798 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24799 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24800 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24801 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24803 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24804 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24805 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24806 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24807 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24808 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24809 specify as optional.
24810 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24811 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24812 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24813 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24814 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24815 [XPG3] (NL_LANGMAX): Likewise.
24816 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24817 [POSIX || XPG3] (NL_NMAX): Likewise.
24818 [POSIX || XPG3] (NL_SETMAX): Likewise.
24819 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24820 [XPG3] (NZERO): Likewise.
24821 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24822 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24823 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24824 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24825 (REG_ERANGE): Expect.
24826 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24828 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24829 Use (void) in prototype.
24830 [POSIX] (*_t): Allow.
24831 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24832 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24833 (WRDE_BADVAL): Expect.
24835 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24837 [XPG3 || XPG4] (O_RSYNC): Likewise.
24838 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24840 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24841 [XPG3 || XPG4] (sigqueue): Likewise.
24842 [XPG3 || XPG4] (sigtimedwait): Likewise.
24843 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24844 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24845 [XPG3 || XPG4] (vsnprintf): Likewise.
24846 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24848 [XPG3 || XPG4] (blksize_t): Likewise.
24849 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24851 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24852 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24853 [XPG3 || XPG4] (struct itimerspec): Likewise.
24854 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24855 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24856 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24857 [XPG3 || XPG4] (clockid_t): Likewise.
24858 [XPG3 || XPG4] (timer_t): Likewise.
24859 [XPG3 || XPG4] (clock_getres): Likewise.
24860 [XPG3 || XPG4] (clock_gettime): Likewise.
24861 [XPG3 || XPG4] (clock_settime): Likewise.
24862 [XPG3 || XPG4] (nanosleep): Likewise.
24863 [XPG3 || XPG4] (timer_create): Likewise.
24864 [XPG3 || XPG4] (timer_delete): Likewise.
24865 [XPG3 || XPG4] (timer_gettime): Likewise.
24866 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24867 [XPG3 || XPG4] (timer_settime): Likewise.
24868 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24869 [XPG3 || XPG4] (getlogin_r): Likewise.
24870 [XPG3 || XPG4] (pread): Likewise.
24871 [XPG3 || XPG4] (pthread_atfork): Likewise.
24872 [XPG3 || XPG4] (pwrite): Likewise.
24875 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24878 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24880 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24881 finalizing MALLSTREAM.
24883 * sysdeps/mach/hurd/syncfs.c: New file.
24885 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24889 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24890 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24891 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24892 (_nss_dns_gethostbyname4_r): Likewise.
24893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24894 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24896 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24899 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24901 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24903 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24904 * elf/cache.c (print_entry): Print ",AArch64" for
24907 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24908 * elf/cache.c (print_entry): Print ",hard-float" for
24911 2012-11-18 David S. Miller <davem@davemloft.net>
24913 With help from Joseph Myers.
24914 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24916 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24918 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24919 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24921 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24922 * math/libm-test.inc (y0_test): New tests.
24923 (y1_test): New tests.
24924 * sysdeps/i386/fpu/libm-test-ulps: Update.
24925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24928 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24930 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24932 * configure: Regenerated.
24934 2012-11-17 David S. Miller <davem@davemloft.net>
24937 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24938 nonzero exponents with absolute value below 0x1p-128 to +/-
24941 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24943 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24945 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24947 * posix/getconf-speclist.c: New file.
24948 * posix/posix-envs.def: Likewise.
24949 * posix/confstr.c (START_ENV_GROUP): New macro.
24950 (END_ENV_GROUP): Likewise.
24951 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24952 (KNOWN_PRESENT_ENV_STRING): Likewise.
24953 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24954 (UNKNOWN_ENVIRONMENT): Likewise.
24955 (confstr): Include posix-envs.def instead of handling
24956 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24957 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24958 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24959 (END_ENV_GROUP): Likewise.
24960 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24961 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24962 (UNKNOWN_ENVIRONMENT): Likewise.
24963 (__sysconf): Include posix-envs.def instead of handling associated
24964 cases directly here.
24965 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24966 preprocessing getconf-speclist.c rather than running getconf or
24967 generating empty file.
24969 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24971 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24973 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24976 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24978 2012-11-16 David S. Miller <davem@davemloft.net>
24980 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24981 smaller than LDBL_EPSILON/2.0L, just return xm1.
24983 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24985 * elf/tst-array1.c (init): Set constructor priority to 1000.
24986 (fini): Set destructor priority to 1000.
24987 * elf/tst-array2dep.c: Likewise.
24989 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24992 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24993 (_IO_new_file_xsputn): Also return EOF if none of the input
24994 data was written when overflow failed.
24995 * libio/iopadn.c (_IO_padn): Likewise.
24996 * libio/iowpadn.c (_IO_wpadn): Likewise.
24997 * stdio-common/tst-put-error.c: Add copyright notice.
24998 (do_test): Add case for printing padded string.
24999 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25000 _IO_padn returned error.
25001 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25002 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25005 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25007 * libio/libioP.h: Add comment note that the references to C++
25008 bits are now obsolete.
25010 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25012 * math/libm-test.inc (check_complex): Use asprintf.
25014 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25016 * debug/pcprofiledump.c (print_version): Update copyright year.
25017 * malloc/memusagestat.c (print_version): Likewise.
25019 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25022 * elf/Makefile (tests): Add tst-audit8.
25023 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25024 ($(objpfx)tst-audit8.out): New target.
25025 (tst-audit8-ENV): New variable.
25026 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25027 audit if l_reloc_result is NULL.
25028 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25029 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25030 * elf/tst-audit8.c: New file.
25032 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25034 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25035 * misc/Makefile (CFLAGS-select.c): Define.
25036 * posix/Makefile (CFLAGS-pause.c): Define.
25038 2012-11-13 David S. Miller <davem@davemloft.net>
25040 * crypt/Makefile: Move test targets after toplevel Rules
25041 inclusion. Grab any necessary sysdep routines when linking.
25042 * crypt/md5.c (md5_process_block): Remove define, we will always
25043 name it __md5_process_block.
25044 (md5_finish_ctx): Update md5_process_block call.
25045 (md5_stream): Likewise.
25046 (md5_process_bytes): Likewise.
25047 (md5_process_block): Rename to __md5_process_block and move to ...
25048 * crypt/md5-block.c: ... here.
25049 * crypt/sha256.c (sha256_process_block): Move to ...
25050 * crypt/sha256-block.c: ... here.
25051 * crypt/sha512.c (sha512_process_block): Move to ...
25052 * crypt/sha512-block.c: ... here.
25053 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25055 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25056 * sysdeps/sparc/sparc64/multiarch/Makefile
25057 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25059 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25060 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25062 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25063 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25064 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25065 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25066 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25067 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25068 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25069 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25070 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25072 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25073 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25075 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25077 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25079 * timezone/tzselect.ksh: Update from tzcode git revision
25080 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25081 * timezone/zdump.c: Likewise.
25082 * timezone/zic.c: Likewise.
25083 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25084 in TZVERSION setting, not $(PKGVERSION).
25085 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25086 REPORT_BUGS_TO settings.
25089 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25092 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25094 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25095 detection to immediately after _FP_ROUND().
25096 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25099 2012-11-11 David S. Miller <davem@davemloft.net>
25101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25103 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25104 __close rather than their public counterparts.
25106 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25108 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25110 [UNIX98] (sem_timedwait): Do not expect.
25111 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25112 [XPG4 || UNIX98] (sockatmark): Do not expect.
25113 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25114 (clock_getcpuclockid): Do not expect.
25115 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25116 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25118 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25119 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25120 [UNIX98] (vwscanf): Likewise.
25121 [UNIX98] (vswscanf): Likewise.
25123 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25125 * timezone/version.h: Remove file.
25126 * timezone/README: Do not refer to version.h.
25127 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25128 $(objpfx)version.h.
25129 ($(objpfx)zdump.o): Likewise.
25130 ($(objpfx)version.h): New target.
25132 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25134 * timezone/README: Don't mention modification to tzselect.ksh.
25135 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25136 work on unmodified tzselect.ksh. Substitute version numbers in
25139 * Makefile (format-me): Remove.
25140 (INSTALL): Adjust indentation. Use commands directly instead of
25141 using $(format-me).
25143 * aclocal.m4 (ACX_PKGVERSION): New macro.
25144 (ACX_BUGURL): Likewise.
25145 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25146 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25147 (REPORT_BUGS_TO): Likewise.
25148 * configure: Regenerated.
25149 * config.h.in (PKGVERSION): New macro.
25150 (REPORT_BUGS_TO): Likewise.
25151 * config.make.in (PKGVERSION): New variable.
25152 (PKGVERSION_TEXI): Likewise.
25153 (REPORT_BUGS_TO): Likewise.
25154 (REPORT_BUGS_TEXI): Likewise.
25155 * Makefile (format-me): Use -I$(common-objpfx)manual.
25156 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25157 ($(common-objpfx)manual/%): New target.
25158 (manual/%): Remove target.
25159 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25160 (print_version): Use PKGVERSION.
25161 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25162 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25163 and REPORT_BUGS_TO.
25164 ($(objpfx)xtrace): Likewise.
25165 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25166 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25167 (print_version): Use PKGVERSION.
25168 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25169 (do_version): Use PKGVERSION.
25170 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25172 (common-ldd-rewrite): Likewise.
25173 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25174 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25175 (print_version): Use PKGVERSION.
25176 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25177 * elf/pldd.c (argp_program_bug_address): Remove variable.
25178 (more_help): New function.
25179 (argp): Use more_help.
25180 (print_version): Use PKGVERSION.
25181 * elf/sln.c (main): Use PKGVERSION.
25182 (usage): Use REPORT_BUGS_TO.
25183 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25184 (top level): Use PKGVERSION.
25185 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25186 (print_version): Use PKGVERSION.
25187 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25188 (print_version): Use PKGVERSION.
25189 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25190 (print_version): Use PKGVERSION.
25191 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25192 (print_version): Use PKGVERSION.
25193 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25194 (print_version): Use PKGVERSION.
25195 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25196 (print_version): Use PKGVERSION.
25197 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25199 ($(objpfx)memusage): Likewise.
25200 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25201 (do_version): Use PKGVERSION.
25202 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25203 (print_version): Use PKGVERSION.
25204 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25205 ($PKGVERSION): New variable.
25206 ($REPORT_BUGS_TO): Likewise.
25207 (usage): Use $REPORT_BUGS_TO.
25208 (top level): Use $PKGVERSION.
25209 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25210 ($(objpfx)pkgvers.texi): New rule.
25211 ($(objpfx)stamp-pkgvers): Likewise.
25212 * manual/install.texi: Include pkgvers.texi.
25213 (--with-pkgversion): Document new configure option.
25214 (--with-bugurl): Likewise.
25215 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25216 than necessarily for this particular distribution. Use
25217 REPORT_BUGS_TO for where to report bugs.
25218 * INSTALL: Regenerated.
25219 * manual/libc.texinfo: Include pkgvers.texi.
25220 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25221 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25222 (print_version): Use PKGVERSION.
25223 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25224 (print_version): Use PKGVERSION.
25225 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25226 (print_version): Use PKGVERSION.
25227 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25228 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25230 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25231 (print_version): Use PKGVERSION.
25232 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25233 (print_version): Use PKGVERSION.
25234 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25237 * timezone/checktab.awk: Update from tzcode 2012i.
25238 * timezone/ialloc.c: Likewise.
25239 * timezone/private.h: Likewise.
25240 * timezone/scheck.c: Likewise.
25241 * timezone/tzfile.h: Likewise.
25242 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25243 (TZVERSION): Hardcode tzcode version number.
25244 * timezone/zdump.c: Update from tzcode 2012i.
25245 * timezone/zic.c: Likewise.
25246 * timezone/version.h: New file.
25247 * timezone/README: Describe version.h. Update upstream location.
25250 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25251 (mktemp): Enable declaration.
25252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25253 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25255 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25269 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25270 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25271 for copies of such integer values.
25272 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25273 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25275 2012-11-09 Andreas Jaeger <aj@suse.de>
25277 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25278 definitions and declarations that are provided by
25279 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25281 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25283 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25284 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25285 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25288 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25290 * elf/elf.h: Update comment before AArch64 relocations.
25292 2012-11-07 David S. Miller <davem@davemloft.net>
25294 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25295 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25296 (__start_context): Declare.
25297 (__makecontext_ret): Delete.
25298 (__makecontext): Hook up __start_context instead of
25300 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25301 (sysdep_routines): Add __start_context when in stdlib.
25303 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25305 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25306 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25307 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25309 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25310 (READELF): New variable. Use it instead of hardcoded "readelf".
25312 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25314 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25315 * sysdeps/x86/Makefile: Here.
25316 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25317 * sysdeps/x86/tst-xmmymm.sh: This.
25319 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25321 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25323 [UNIX98] (pthread_barrier_t): Do not expect.
25324 [UNIX98] (pthread_barrierattr_t): Likewise.
25325 [UNIX98] (pthread_spinlock_t): Likewise.
25326 [UNIX98] (pthread_barrier_destroy): Likewise.
25327 [UNIX98] (pthread_barrier_init): Likewise.
25328 [UNIX98] (pthread_barrier_wait): Likewise.
25329 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25330 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25331 [UNIX98] (pthread_barrierattr_init): Likewise.
25332 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25333 [UNIX98] (pthread_getcpuclockid): Likewise.
25334 [UNIX98] (pthread_mutex_timedlock): Likewise.
25335 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25336 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25337 [UNIX98] (pthread_sigmask): Likewise.
25338 [UNIX98] (pthread_spin_destroy): Likewise.
25339 [UNIX98] (pthread_spin_init): Likewise.
25340 [UNIX98] (pthread_spin_lock): Likewise.
25341 [UNIX98] (pthread_spin_trylock): Likewise.
25342 [UNIX98] (pthread_spin_unlock): Likewise.
25343 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25345 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25346 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25347 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25348 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25349 [XPG3 || XPG4] (pthread_key_t): Likewise.
25350 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25351 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25352 [XPG3 || XPG4] (pthread_once_t): Likewise.
25353 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25354 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25355 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25356 [XPG3 || XPG4] (pthread_t): Likewise.
25358 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25360 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25362 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25363 Change function return type to int.
25365 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25366 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25367 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25368 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25369 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25370 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25371 [!POSIX] (posix_madvise): Likewise.
25372 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25374 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25375 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25376 (mode_t): Likewise.
25377 (posix_mem_offset): Likewise.
25378 (posix_typed_mem_get_info): Likewise.
25379 (posix_typed_mem_open): Likewise.
25381 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25382 Change condition to [XOPEN2K8].
25384 * conform/conformtest.pl: Preprocess allow-header data with -x c
25385 instead of from stdin.
25386 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25387 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25388 [C99-based standards] (cerfc): Likewise.
25389 [C99-based standards] (cexp2): Likewise.
25390 [C99-based standards] (cexpm1): Likewise.
25391 [C99-based standards] (clog10): Likewise.
25392 [C99-based standards] (clog1p): Likewise.
25393 [C99-based standards] (clog2): Likewise.
25394 [C99-based standards] (clgamma): Likewise.
25395 [C99-based standards] (ctgamma): Likewise.
25396 [C99-based standards] (cerff): Likewise.
25397 [C99-based standards] (cerfcf): Likewise.
25398 [C99-based standards] (cexp2f): Likewise.
25399 [C99-based standards] (cexpm1f): Likewise.
25400 [C99-based standards] (clog10f): Likewise.
25401 [C99-based standards] (clog1pf): Likewise.
25402 [C99-based standards] (clog2f): Likewise.
25403 [C99-based standards] (clgammaf): Likewise.
25404 [C99-based standards] (ctgammaf): Likewise.
25405 [C99-based standards] (cerfl): Likewise.
25406 [C99-based standards] (cerfcl): Likewise.
25407 [C99-based standards] (cexp2l): Likewise.
25408 [C99-based standards] (cexpm1l): Likewise.
25409 [C99-based standards] (clog10l): Likewise.
25410 [C99-based standards] (clog1pl): Likewise.
25411 [C99-based standards] (clog2l): Likewise.
25412 [C99-based standards] (clgammal): Likewise.
25413 [C99-based standards] (ctgammal): Likewise.
25414 * conform/data/inttypes.h-data [C99-based standards]: Include
25415 stdint.h-data. Remove all expectations for stdint.h contents.
25416 [C99-based standards] (PRI*): Do not allow.
25417 [C99-based standards] (SCN*): Likewise.
25418 [C99-based standards] (*_t): Likewise.
25419 [C99-based-standards] (PRId8): Expect macro.
25420 [C99-based-standards] (PRIi8): Likewise.
25421 [C99-based-standards] (PRIo8): Likewise.
25422 [C99-based-standards] (PRIu8): Likewise.
25423 [C99-based-standards] (PRIx8): Likewise.
25424 [C99-based-standards] (PRIX8): Likewise.
25425 [C99-based-standards] (SCNd8): Likewise.
25426 [C99-based-standards] (SCNi8): Likewise.
25427 [C99-based-standards] (SCNo8): Likewise.
25428 [C99-based-standards] (SCNu8): Likewise.
25429 [C99-based-standards] (SCNx8): Likewise.
25430 [C99-based-standards] (PRIdLEAST8): Likewise.
25431 [C99-based-standards] (PRIiLEAST8): Likewise.
25432 [C99-based-standards] (PRIoLEAST8): Likewise.
25433 [C99-based-standards] (PRIuLEAST8): Likewise.
25434 [C99-based-standards] (PRIxLEAST8): Likewise.
25435 [C99-based-standards] (PRIXLEAST8): Likewise.
25436 [C99-based-standards] (SCNdLEAST8): Likewise.
25437 [C99-based-standards] (SCNiLEAST8): Likewise.
25438 [C99-based-standards] (SCNoLEAST8): Likewise.
25439 [C99-based-standards] (SCNuLEAST8): Likewise.
25440 [C99-based-standards] (SCNxLEAST8): Likewise.
25441 [C99-based-standards] (PRIdFAST8): Likewise.
25442 [C99-based-standards] (PRIiFAST8): Likewise.
25443 [C99-based-standards] (PRIoFAST8): Likewise.
25444 [C99-based-standards] (PRIuFAST8): Likewise.
25445 [C99-based-standards] (PRIxFAST8): Likewise.
25446 [C99-based-standards] (PRIXFAST8): Likewise.
25447 [C99-based-standards] (SCNdFAST8): Likewise.
25448 [C99-based-standards] (SCNiFAST8): Likewise.
25449 [C99-based-standards] (SCNoFAST8): Likewise.
25450 [C99-based-standards] (SCNuFAST8): Likewise.
25451 [C99-based-standards] (SCNxFAST8): Likewise.
25452 [C99-based-standards] (PRId16): Likewise.
25453 [C99-based-standards] (PRIi16): Likewise.
25454 [C99-based-standards] (PRIo16): Likewise.
25455 [C99-based-standards] (PRIu16): Likewise.
25456 [C99-based-standards] (PRIx16): Likewise.
25457 [C99-based-standards] (PRIX16): Likewise.
25458 [C99-based-standards] (SCNd16): Likewise.
25459 [C99-based-standards] (SCNi16): Likewise.
25460 [C99-based-standards] (SCNo16): Likewise.
25461 [C99-based-standards] (SCNu16): Likewise.
25462 [C99-based-standards] (SCNx16): Likewise.
25463 [C99-based-standards] (PRIdLEAST16): Likewise.
25464 [C99-based-standards] (PRIiLEAST16): Likewise.
25465 [C99-based-standards] (PRIoLEAST16): Likewise.
25466 [C99-based-standards] (PRIuLEAST16): Likewise.
25467 [C99-based-standards] (PRIxLEAST16): Likewise.
25468 [C99-based-standards] (PRIXLEAST16): Likewise.
25469 [C99-based-standards] (SCNdLEAST16): Likewise.
25470 [C99-based-standards] (SCNiLEAST16): Likewise.
25471 [C99-based-standards] (SCNoLEAST16): Likewise.
25472 [C99-based-standards] (SCNuLEAST16): Likewise.
25473 [C99-based-standards] (SCNxLEAST16): Likewise.
25474 [C99-based-standards] (PRIdFAST16): Likewise.
25475 [C99-based-standards] (PRIiFAST16): Likewise.
25476 [C99-based-standards] (PRIoFAST16): Likewise.
25477 [C99-based-standards] (PRIuFAST16): Likewise.
25478 [C99-based-standards] (PRIxFAST16): Likewise.
25479 [C99-based-standards] (PRIXFAST16): Likewise.
25480 [C99-based-standards] (SCNdFAST16): Likewise.
25481 [C99-based-standards] (SCNiFAST16): Likewise.
25482 [C99-based-standards] (SCNoFAST16): Likewise.
25483 [C99-based-standards] (SCNuFAST16): Likewise.
25484 [C99-based-standards] (SCNxFAST16): Likewise.
25485 [C99-based-standards] (PRId32): Likewise.
25486 [C99-based-standards] (PRIi32): Likewise.
25487 [C99-based-standards] (PRIo32): Likewise.
25488 [C99-based-standards] (PRIu32): Likewise.
25489 [C99-based-standards] (PRIx32): Likewise.
25490 [C99-based-standards] (PRIX32): Likewise.
25491 [C99-based-standards] (SCNd32): Likewise.
25492 [C99-based-standards] (SCNi32): Likewise.
25493 [C99-based-standards] (SCNo32): Likewise.
25494 [C99-based-standards] (SCNu32): Likewise.
25495 [C99-based-standards] (SCNx32): Likewise.
25496 [C99-based-standards] (PRIdLEAST32): Likewise.
25497 [C99-based-standards] (PRIiLEAST32): Likewise.
25498 [C99-based-standards] (PRIoLEAST32): Likewise.
25499 [C99-based-standards] (PRIuLEAST32): Likewise.
25500 [C99-based-standards] (PRIxLEAST32): Likewise.
25501 [C99-based-standards] (PRIXLEAST32): Likewise.
25502 [C99-based-standards] (SCNdLEAST32): Likewise.
25503 [C99-based-standards] (SCNiLEAST32): Likewise.
25504 [C99-based-standards] (SCNoLEAST32): Likewise.
25505 [C99-based-standards] (SCNuLEAST32): Likewise.
25506 [C99-based-standards] (SCNxLEAST32): Likewise.
25507 [C99-based-standards] (PRIdFAST32): Likewise.
25508 [C99-based-standards] (PRIiFAST32): Likewise.
25509 [C99-based-standards] (PRIoFAST32): Likewise.
25510 [C99-based-standards] (PRIuFAST32): Likewise.
25511 [C99-based-standards] (PRIxFAST32): Likewise.
25512 [C99-based-standards] (PRIXFAST32): Likewise.
25513 [C99-based-standards] (SCNdFAST32): Likewise.
25514 [C99-based-standards] (SCNiFAST32): Likewise.
25515 [C99-based-standards] (SCNoFAST32): Likewise.
25516 [C99-based-standards] (SCNuFAST32): Likewise.
25517 [C99-based-standards] (SCNxFAST32): Likewise.
25518 [C99-based-standards] (PRId64): Likewise.
25519 [C99-based-standards] (PRIi64): Likewise.
25520 [C99-based-standards] (PRIo64): Likewise.
25521 [C99-based-standards] (PRIu64): Likewise.
25522 [C99-based-standards] (PRIx64): Likewise.
25523 [C99-based-standards] (PRIX64): Likewise.
25524 [C99-based-standards] (SCNd64): Likewise.
25525 [C99-based-standards] (SCNi64): Likewise.
25526 [C99-based-standards] (SCNo64): Likewise.
25527 [C99-based-standards] (SCNu64): Likewise.
25528 [C99-based-standards] (SCNx64): Likewise.
25529 [C99-based-standards] (PRIdLEAST64): Likewise.
25530 [C99-based-standards] (PRIiLEAST64): Likewise.
25531 [C99-based-standards] (PRIoLEAST64): Likewise.
25532 [C99-based-standards] (PRIuLEAST64): Likewise.
25533 [C99-based-standards] (PRIxLEAST64): Likewise.
25534 [C99-based-standards] (PRIXLEAST64): Likewise.
25535 [C99-based-standards] (SCNdLEAST64): Likewise.
25536 [C99-based-standards] (SCNiLEAST64): Likewise.
25537 [C99-based-standards] (SCNoLEAST64): Likewise.
25538 [C99-based-standards] (SCNuLEAST64): Likewise.
25539 [C99-based-standards] (SCNxLEAST64): Likewise.
25540 [C99-based-standards] (PRIdFAST64): Likewise.
25541 [C99-based-standards] (PRIiFAST64): Likewise.
25542 [C99-based-standards] (PRIoFAST64): Likewise.
25543 [C99-based-standards] (PRIuFAST64): Likewise.
25544 [C99-based-standards] (PRIxFAST64): Likewise.
25545 [C99-based-standards] (PRIXFAST64): Likewise.
25546 [C99-based-standards] (SCNdFAST64): Likewise.
25547 [C99-based-standards] (SCNiFAST64): Likewise.
25548 [C99-based-standards] (SCNoFAST64): Likewise.
25549 [C99-based-standards] (SCNuFAST64): Likewise.
25550 [C99-based-standards] (SCNxFAST64): Likewise.
25551 [C99-based-standards] (PRIdMAX): Likewise.
25552 [C99-based-standards] (PRIiMAX): Likewise.
25553 [C99-based-standards] (PRIoMAX): Likewise.
25554 [C99-based-standards] (PRIuMAX): Likewise.
25555 [C99-based-standards] (PRIxMAX): Likewise.
25556 [C99-based-standards] (PRIXMAX): Likewise.
25557 [C99-based-standards] (SCNdMAX): Likewise.
25558 [C99-based-standards] (SCNiMAX): Likewise.
25559 [C99-based-standards] (SCNoMAX): Likewise.
25560 [C99-based-standards] (SCNuMAX): Likewise.
25561 [C99-based-standards] (SCNxMAX): Likewise.
25562 [C99-based-standards] (PRIdPTR): Likewise.
25563 [C99-based-standards] (PRIiPTR): Likewise.
25564 [C99-based-standards] (PRIoPTR): Likewise.
25565 [C99-based-standards] (PRIuPTR): Likewise.
25566 [C99-based-standards] (PRIxPTR): Likewise.
25567 [C99-based-standards] (PRIXPTR): Likewise.
25568 [C99-based-standards] (SCNdPTR): Likewise.
25569 [C99-based-standards] (SCNiPTR): Likewise.
25570 [C99-based-standards] (SCNoPTR): Likewise.
25571 [C99-based-standards] (SCNuPTR): Likewise.
25572 [C99-based-standards] (SCNxPTR): Likewise.
25573 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25575 * conform/data/stdint.h-data: Update comments to clarify
25577 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25579 [C99-based standards] (INT8_MAX): Likewise.
25580 [C99-based standards] (INT16_MIN): Likewise.
25581 [C99-based standards] (INT16_MAX): Likewise.
25582 [C99-based standards] (INT32_MIN): Likewise.
25583 [C99-based standards] (INT32_MAX): Likewise.
25584 [C99-based standards] (INT64_MIN): Likewise.
25585 [C99-based standards] (INT64_MAX): Likewise.
25586 [C99-based standards] (UINT8_MAX): Likewise.
25587 [C99-based standards] (UINT16_MAX): Likewise.
25588 [C99-based standards] (UINT32_MAX): Likewise.
25589 [C99-based standards] (UINT64_MAX): Likewise.
25590 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25591 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25592 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25593 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25594 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25595 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25596 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25597 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25598 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25599 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25600 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25601 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25602 [C99-based standards] (INT_FAST8_MIN): Likewise.
25603 [C99-based standards] (INT_FAST8_MAX): Likewise.
25604 [C99-based standards] (INT_FAST16_MIN): Likewise.
25605 [C99-based standards] (INT_FAST16_MAX): Likewise.
25606 [C99-based standards] (INT_FAST32_MIN): Likewise.
25607 [C99-based standards] (INT_FAST32_MAX): Likewise.
25608 [C99-based standards] (INT_FAST64_MIN): Likewise.
25609 [C99-based standards] (INT_FAST64_MAX): Likewise.
25610 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25611 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25612 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25613 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25614 [C99-based standards] (INTPTR_MIN): Likewise.
25615 [C99-based standards] (INTPTR_MAX): Likewise.
25616 [C99-based standards] (UINTPTR_MAX): Likewise.
25617 [C99-based standards] (INTMAX_MIN): Likewise.
25618 [C99-based standards] (INTMAX_MAX): Likewise.
25619 [C99-based standards] (UINTMAX_MAX): Likewise.
25620 [C99-based standards] (PTRDIFF_MIN): Likewise.
25621 [C99-based standards] (PTRDIFF_MAX): Likewise.
25622 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25623 [C99-based standards] (SIZE_MAX): Likewise.
25624 [C99-based standards] (WCHAR_MAX): Likewise.
25625 [C99-based standards] (WINT_MAX): Likewise.
25626 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25627 constraint on value.
25628 [C99-based standards] (WCHAR_MIN): Likewise.
25629 [C99-based standards] (WINT_MIN): Likewise.
25630 [C99-based standards] (*_t): Allow.
25631 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25632 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25633 Include math.h-data and complex.h-data. Remove all expectations
25634 of math.h and complex.h contents.
25635 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25637 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25638 (struct tm): Expect tag.
25639 [C99-based-standards] (wcstof): Expect function.
25640 [C99-based-standards] (wcstold): Likewise.
25641 [C99-based-standards] (wcstoll): Likewise.
25642 [C99-based-standards] (wcstoull): Likewise.
25643 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25644 macro-int-constant. Specify type.
25645 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25646 constraint on value.
25647 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25649 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25651 [ISO C standards]: Do not allow headers.
25652 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25653 wcs[abcdefghijklmnopqrstuvwxyz]*.
25654 [ISO C standards] (*_t): Do not allow.
25655 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25657 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25658 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25660 [ISO C standards]: Do not allow headers.
25661 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25662 is[abcdefghijklmnopqrstuvwxyz]*.
25663 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25664 to[abcdefghijklmnopqrstuvwxyz]*.
25665 [ISO C standards] (*_t): Do not allow.
25666 * conform/data/stdalign.h-data: New file.
25667 * conform/data/stdbool.h-data: Likewise.
25668 * conform/data/stdnoreturn.h-data: Likewise.
25670 2012-11-07 Roland McGrath <roland@hack.frob.com>
25673 * manual/filesys.texi (Directory Entries): Typo fix.
25674 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25676 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25678 * elf/elf.h (EM_AARCH64): New macro.
25679 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25680 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25681 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25682 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25683 (R_AARCH64_TLSDESC): Likewise.
25684 (NT_ARM_TLS): Likewise.
25685 (NT_ARM_HW_BREAK): Likewise.
25686 (NT_ARM_HW_WATCH): Likewise.
25688 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25691 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25692 (__ieee754_powl): Saturate nonzero exponents with absolute value
25693 below 0x1p-79 to +/- 0x1p-79.
25694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25695 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25696 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25697 nonzero exponents with absolute value below 0x1p-32 to +/-
25699 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25700 (__ieee754_powl): Saturate nonzero exponents with absolute value
25701 below 0x1p-79 to +/- 0x1p-79.
25702 * math/libm-test.inc (pow_test): Add more tests.
25704 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25706 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25707 _dl_s390_cap_flags with kernel. Increase string length.
25708 (_dl_s390_platforms): Add z196 and zEC12.
25710 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25712 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25713 Change XOPEN21K to XOPEN2K.
25715 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25717 * string/memmove.c: Use memcpy when possible.
25719 2012-11-06 Andreas Jaeger <aj@suse.de>
25721 * po/eo.po: Update from translation team.
25723 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25727 exponent and small x and y exponents, scale x or y up. Increase
25728 by 2 the exponent used in scaling up.
25729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25731 * math/libm-test.inc (fma_test): Add more tests.
25732 (fma_test_towardzero): Likewise.
25733 (fma_test_downward): Likewise.
25734 (fma_test_upward): Likewise.
25736 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25739 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25743 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25744 namespace for names of struct fields.
25745 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25747 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25748 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25750 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25753 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25755 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25757 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25761 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25764 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25768 definitely overflow as x * y not x * y + z.
25769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25771 * math/libm-test.inc (fma_test): Add more tests.
25772 (fma_test_towardzero): Likewise.
25773 (fma_test_downward): Likewise.
25774 (fma_test_upward): Likewise.
25776 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25780 * include/stub-tag.h: Remove file.
25781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25783 * manual/maint.texi (Porting): Don't reference it.
25784 * Makerules ($(objpfx)stubs): Likewise.
25785 * dirent/closedir.c: Don't include <stub-tag.h>.
25786 * dirent/dirfd.c: Likewise.
25787 * dirent/fdopendir.c: Likewise.
25788 * dirent/getdents.c: Likewise.
25789 * dirent/getdents64.c: Likewise.
25790 * dirent/opendir.c: Likewise.
25791 * dirent/readdir.c: Likewise.
25792 * dirent/readdir64.c: Likewise.
25793 * dirent/readdir64_r.c: Likewise.
25794 * dirent/readdir_r.c: Likewise.
25795 * dirent/rewinddir.c: Likewise.
25796 * dirent/seekdir.c: Likewise.
25797 * dirent/telldir.c: Likewise.
25798 * gmon/profil.c: Likewise.
25799 * grp/setgroups.c: Likewise.
25800 * inet/if_index.c: Likewise.
25801 * io/access.c: Likewise.
25802 * io/chdir.c: Likewise.
25803 * io/chmod.c: Likewise.
25804 * io/chown.c: Likewise.
25805 * io/close.c: Likewise.
25806 * io/dup.c: Likewise.
25807 * io/dup2.c: Likewise.
25808 * io/dup3.c: Likewise.
25809 * io/euidaccess.c: Likewise.
25810 * io/faccessat.c: Likewise.
25811 * io/fchdir.c: Likewise.
25812 * io/fchmod.c: Likewise.
25813 * io/fchmodat.c: Likewise.
25814 * io/fchown.c: Likewise.
25815 * io/fchownat.c: Likewise.
25816 * io/fcntl.c: Likewise.
25817 * io/flock.c: Likewise.
25818 * io/fstatfs.c: Likewise.
25819 * io/fstatfs64.c: Likewise.
25820 * io/fstatvfs.c: Likewise.
25821 * io/fstatvfs64.c: Likewise.
25822 * io/futimens.c: Likewise.
25823 * io/fxstat.c: Likewise.
25824 * io/fxstat64.c: Likewise.
25825 * io/fxstatat.c: Likewise.
25826 * io/fxstatat64.c: Likewise.
25827 * io/getcwd.c: Likewise.
25828 * io/isatty.c: Likewise.
25829 * io/lchmod.c: Likewise.
25830 * io/lchown.c: Likewise.
25831 * io/link.c: Likewise.
25832 * io/linkat.c: Likewise.
25833 * io/lseek.c: Likewise.
25834 * io/lseek64.c: Likewise.
25835 * io/lxstat64.c: Likewise.
25836 * io/mkdir.c: Likewise.
25837 * io/mkdirat.c: Likewise.
25838 * io/mkfifo.c: Likewise.
25839 * io/mkfifoat.c: Likewise.
25840 * io/open.c: Likewise.
25841 * io/open64.c: Likewise.
25842 * io/openat.c: Likewise.
25843 * io/openat64.c: Likewise.
25844 * io/pipe.c: Likewise.
25845 * io/pipe2.c: Likewise.
25846 * io/poll.c: Likewise.
25847 * io/posix_fadvise.c: Likewise.
25848 * io/posix_fadvise64.c: Likewise.
25849 * io/posix_fallocate.c: Likewise.
25850 * io/posix_fallocate64.c: Likewise.
25851 * io/read.c: Likewise.
25852 * io/readlink.c: Likewise.
25853 * io/readlinkat.c: Likewise.
25854 * io/rmdir.c: Likewise.
25855 * io/sendfile.c: Likewise.
25856 * io/sendfile64.c: Likewise.
25857 * io/statfs.c: Likewise.
25858 * io/statfs64.c: Likewise.
25859 * io/statvfs.c: Likewise.
25860 * io/statvfs64.c: Likewise.
25861 * io/symlink.c: Likewise.
25862 * io/symlinkat.c: Likewise.
25863 * io/ttyname.c: Likewise.
25864 * io/ttyname_r.c: Likewise.
25865 * io/umask.c: Likewise.
25866 * io/unlink.c: Likewise.
25867 * io/unlinkat.c: Likewise.
25868 * io/utime.c: Likewise.
25869 * io/utimensat.c: Likewise.
25870 * io/write.c: Likewise.
25871 * io/xmknod.c: Likewise.
25872 * io/xmknodat.c: Likewise.
25873 * io/xstat.c: Likewise.
25874 * io/xstat64.c: Likewise.
25875 * login/getpt.c: Likewise.
25876 * login/grantpt.c: Likewise.
25877 * login/unlockpt.c: Likewise.
25878 * math/e_acoshl.c: Likewise.
25879 * math/e_acosl.c: Likewise.
25880 * math/e_asinl.c: Likewise.
25881 * math/e_atan2l.c: Likewise.
25882 * math/e_atanhl.c: Likewise.
25883 * math/e_coshl.c: Likewise.
25884 * math/e_expl.c: Likewise.
25885 * math/e_fmodl.c: Likewise.
25886 * math/e_gammal_r.c: Likewise.
25887 * math/e_hypotl.c: Likewise.
25888 * math/e_j0l.c: Likewise.
25889 * math/e_j1l.c: Likewise.
25890 * math/e_jnl.c: Likewise.
25891 * math/e_lgammal_r.c: Likewise.
25892 * math/e_log10l.c: Likewise.
25893 * math/e_log2l.c: Likewise.
25894 * math/e_logl.c: Likewise.
25895 * math/e_powl.c: Likewise.
25896 * math/e_rem_pio2l.c: Likewise.
25897 * math/e_sinhl.c: Likewise.
25898 * math/e_sqrtl.c: Likewise.
25899 * math/fclrexcpt.c: Likewise.
25900 * math/fedisblxcpt.c: Likewise.
25901 * math/feenablxcpt.c: Likewise.
25902 * math/fegetenv.c: Likewise.
25903 * math/fegetexcept.c: Likewise.
25904 * math/fegetround.c: Likewise.
25905 * math/feholdexcpt.c: Likewise.
25906 * math/fesetenv.c: Likewise.
25907 * math/fesetround.c: Likewise.
25908 * math/feupdateenv.c: Likewise.
25909 * math/fgetexcptflg.c: Likewise.
25910 * math/fraiseexcpt.c: Likewise.
25911 * math/fsetexcptflg.c: Likewise.
25912 * math/ftestexcept.c: Likewise.
25913 * math/k_cosl.c: Likewise.
25914 * math/k_rem_pio2l.c: Likewise.
25915 * math/k_sinl.c: Likewise.
25916 * math/k_tanl.c: Likewise.
25917 * math/s_asinhl.c: Likewise.
25918 * math/s_atanl.c: Likewise.
25919 * math/s_cbrtl.c: Likewise.
25920 * math/s_erfl.c: Likewise.
25921 * math/s_expm1l.c: Likewise.
25922 * math/s_log1pl.c: Likewise.
25923 * math/s_tanhl.c: Likewise.
25924 * misc/acct.c: Likewise.
25925 * misc/brk.c: Likewise.
25926 * misc/chflags.c: Likewise.
25927 * misc/chroot.c: Likewise.
25928 * misc/fchflags.c: Likewise.
25929 * misc/fgetxattr.c: Likewise.
25930 * misc/flistxattr.c: Likewise.
25931 * misc/fremovexattr.c: Likewise.
25932 * misc/fsetxattr.c: Likewise.
25933 * misc/fsync.c: Likewise.
25934 * misc/ftruncate.c: Likewise.
25935 * misc/futimes.c: Likewise.
25936 * misc/futimesat.c: Likewise.
25937 * misc/getdomain.c: Likewise.
25938 * misc/getdtsz.c: Likewise.
25939 * misc/gethostid.c: Likewise.
25940 * misc/gethostname.c: Likewise.
25941 * misc/getloadavg.c: Likewise.
25942 * misc/getpagesize.c: Likewise.
25943 * misc/getsysstats.c: Likewise.
25944 * misc/getxattr.c: Likewise.
25945 * misc/gtty.c: Likewise.
25946 * misc/ioctl.c: Likewise.
25947 * misc/lgetxattr.c: Likewise.
25948 * misc/listxattr.c: Likewise.
25949 * misc/llistxattr.c: Likewise.
25950 * misc/lremovexattr.c: Likewise.
25951 * misc/lsetxattr.c: Likewise.
25952 * misc/lutimes.c: Likewise.
25953 * misc/madvise.c: Likewise.
25954 * misc/mincore.c: Likewise.
25955 * misc/mlock.c: Likewise.
25956 * misc/mlockall.c: Likewise.
25957 * misc/mmap.c: Likewise.
25958 * misc/mprotect.c: Likewise.
25959 * misc/msync.c: Likewise.
25960 * misc/munlock.c: Likewise.
25961 * misc/munlockall.c: Likewise.
25962 * misc/munmap.c: Likewise.
25963 * misc/preadv.c: Likewise.
25964 * misc/preadv64.c: Likewise.
25965 * misc/ptrace.c: Likewise.
25966 * misc/pwritev.c: Likewise.
25967 * misc/pwritev64.c: Likewise.
25968 * misc/readv.c: Likewise.
25969 * misc/reboot.c: Likewise.
25970 * misc/remap_file_pages.c: Likewise.
25971 * misc/removexattr.c: Likewise.
25972 * misc/revoke.c: Likewise.
25973 * misc/select.c: Likewise.
25974 * misc/setdomain.c: Likewise.
25975 * misc/setegid.c: Likewise.
25976 * misc/seteuid.c: Likewise.
25977 * misc/sethostid.c: Likewise.
25978 * misc/sethostname.c: Likewise.
25979 * misc/setregid.c: Likewise.
25980 * misc/setreuid.c: Likewise.
25981 * misc/setxattr.c: Likewise.
25982 * misc/sstk.c: Likewise.
25983 * misc/stty.c: Likewise.
25984 * misc/swapoff.c: Likewise.
25985 * misc/swapon.c: Likewise.
25986 * misc/sync.c: Likewise.
25987 * misc/syncfs.c: Likewise.
25988 * misc/syscall.c: Likewise.
25989 * misc/truncate.c: Likewise.
25990 * misc/ualarm.c: Likewise.
25991 * misc/usleep.c: Likewise.
25992 * misc/ustat.c: Likewise.
25993 * misc/utimes.c: Likewise.
25994 * misc/vhangup.c: Likewise.
25995 * misc/writev.c: Likewise.
25996 * posix/_exit.c: Likewise.
25997 * posix/alarm.c: Likewise.
25998 * posix/execve.c: Likewise.
25999 * posix/fexecve.c: Likewise.
26000 * posix/fork.c: Likewise.
26001 * posix/fpathconf.c: Likewise.
26002 * posix/getaddrinfo.c: Likewise.
26003 * posix/getegid.c: Likewise.
26004 * posix/geteuid.c: Likewise.
26005 * posix/getgid.c: Likewise.
26006 * posix/getgroups.c: Likewise.
26007 * posix/getlogin.c: Likewise.
26008 * posix/getlogin_r.c: Likewise.
26009 * posix/getpgid.c: Likewise.
26010 * posix/getpid.c: Likewise.
26011 * posix/getppid.c: Likewise.
26012 * posix/getresgid.c: Likewise.
26013 * posix/getresuid.c: Likewise.
26014 * posix/getsid.c: Likewise.
26015 * posix/getuid.c: Likewise.
26016 * posix/glob64.c: Likewise.
26017 * posix/nanosleep.c: Likewise.
26018 * posix/pathconf.c: Likewise.
26019 * posix/pause.c: Likewise.
26020 * posix/posix_madvise.c: Likewise.
26021 * posix/pread.c: Likewise.
26022 * posix/pread64.c: Likewise.
26023 * posix/pwrite.c: Likewise.
26024 * posix/pwrite64.c: Likewise.
26025 * posix/sched_getaffinity.c: Likewise.
26026 * posix/sched_getp.c: Likewise.
26027 * posix/sched_gets.c: Likewise.
26028 * posix/sched_primax.c: Likewise.
26029 * posix/sched_primin.c: Likewise.
26030 * posix/sched_rr_gi.c: Likewise.
26031 * posix/sched_setaffinity.c: Likewise.
26032 * posix/sched_setp.c: Likewise.
26033 * posix/sched_sets.c: Likewise.
26034 * posix/sched_yield.c: Likewise.
26035 * posix/setgid.c: Likewise.
26036 * posix/setlogin.c: Likewise.
26037 * posix/setpgid.c: Likewise.
26038 * posix/setresgid.c: Likewise.
26039 * posix/setresuid.c: Likewise.
26040 * posix/setsid.c: Likewise.
26041 * posix/setuid.c: Likewise.
26042 * posix/sleep.c: Likewise.
26043 * posix/spawni.c: Likewise.
26044 * posix/sysconf.c: Likewise.
26045 * posix/times.c: Likewise.
26046 * posix/wait.c: Likewise.
26047 * posix/wait3.c: Likewise.
26048 * posix/wait4.c: Likewise.
26049 * posix/waitpid.c: Likewise.
26050 * resolv/gai_sigqueue.c: Likewise.
26051 * resource/getpriority.c: Likewise.
26052 * resource/getrlimit.c: Likewise.
26053 * resource/getrusage.c: Likewise.
26054 * resource/nice.c: Likewise.
26055 * resource/setpriority.c: Likewise.
26056 * resource/setrlimit.c: Likewise.
26057 * resource/ulimit.c: Likewise.
26058 * rt/aio_cancel.c: Likewise.
26059 * rt/aio_fsync.c: Likewise.
26060 * rt/aio_read.c: Likewise.
26061 * rt/aio_sigqueue.c: Likewise.
26062 * rt/aio_suspend.c: Likewise.
26063 * rt/aio_write.c: Likewise.
26064 * rt/clock_getres.c: Likewise.
26065 * rt/clock_gettime.c: Likewise.
26066 * rt/clock_nanosleep.c: Likewise.
26067 * rt/clock_settime.c: Likewise.
26068 * rt/lio_listio.c: Likewise.
26069 * rt/mq_close.c: Likewise.
26070 * rt/mq_getattr.c: Likewise.
26071 * rt/mq_notify.c: Likewise.
26072 * rt/mq_open.c: Likewise.
26073 * rt/mq_receive.c: Likewise.
26074 * rt/mq_send.c: Likewise.
26075 * rt/mq_setattr.c: Likewise.
26076 * rt/mq_timedreceive.c: Likewise.
26077 * rt/mq_timedsend.c: Likewise.
26078 * rt/mq_unlink.c: Likewise.
26079 * rt/shm_open.c: Likewise.
26080 * rt/shm_unlink.c: Likewise.
26081 * rt/timer_create.c: Likewise.
26082 * rt/timer_delete.c: Likewise.
26083 * rt/timer_getoverr.c: Likewise.
26084 * rt/timer_gettime.c: Likewise.
26085 * rt/timer_settime.c: Likewise.
26086 * setjmp/__longjmp.c: Likewise.
26087 * setjmp/setjmp.c: Likewise.
26088 * signal/kill.c: Likewise.
26089 * signal/killpg.c: Likewise.
26090 * signal/raise.c: Likewise.
26091 * signal/sigaction.c: Likewise.
26092 * signal/sigaltstack.c: Likewise.
26093 * signal/sigblock.c: Likewise.
26094 * signal/sigignore.c: Likewise.
26095 * signal/sigintr.c: Likewise.
26096 * signal/signal.c: Likewise.
26097 * signal/sigpause.c: Likewise.
26098 * signal/sigpending.c: Likewise.
26099 * signal/sigqueue.c: Likewise.
26100 * signal/sigreturn.c: Likewise.
26101 * signal/sigset.c: Likewise.
26102 * signal/sigsetmask.c: Likewise.
26103 * signal/sigstack.c: Likewise.
26104 * signal/sigsuspend.c: Likewise.
26105 * signal/sigtimedwait.c: Likewise.
26106 * signal/sigvec.c: Likewise.
26107 * signal/sigwait.c: Likewise.
26108 * signal/sigwaitinfo.c: Likewise.
26109 * signal/sysv_signal.c: Likewise.
26110 * socket/accept.c: Likewise.
26111 * socket/accept4.c: Likewise.
26112 * socket/bind.c: Likewise.
26113 * socket/connect.c: Likewise.
26114 * socket/getpeername.c: Likewise.
26115 * socket/getsockname.c: Likewise.
26116 * socket/getsockopt.c: Likewise.
26117 * socket/isfdtype.c: Likewise.
26118 * socket/listen.c: Likewise.
26119 * socket/recv.c: Likewise.
26120 * socket/recvfrom.c: Likewise.
26121 * socket/recvmsg.c: Likewise.
26122 * socket/send.c: Likewise.
26123 * socket/sendmsg.c: Likewise.
26124 * socket/sendto.c: Likewise.
26125 * socket/setsockopt.c: Likewise.
26126 * socket/shutdown.c: Likewise.
26127 * socket/sockatmark.c: Likewise.
26128 * socket/socket.c: Likewise.
26129 * socket/socketpair.c: Likewise.
26130 * stdio-common/ctermid.c: Likewise.
26131 * stdio-common/cuserid.c: Likewise.
26132 * stdio-common/remove.c: Likewise.
26133 * stdio-common/rename.c: Likewise.
26134 * stdio-common/renameat.c: Likewise.
26135 * stdio-common/tempname.c: Likewise.
26136 * stdlib/getcontext.c: Likewise.
26137 * stdlib/makecontext.c: Likewise.
26138 * stdlib/setcontext.c: Likewise.
26139 * stdlib/swapcontext.c: Likewise.
26140 * stdlib/system.c: Likewise.
26141 * streams/fattach.c: Likewise.
26142 * streams/fdetach.c: Likewise.
26143 * streams/getmsg.c: Likewise.
26144 * streams/getpmsg.c: Likewise.
26145 * streams/putmsg.c: Likewise.
26146 * streams/putpmsg.c: Likewise.
26147 * sysdeps/unix/bsd/getpt.c: Likewise.
26148 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26149 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26150 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26153 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26154 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26155 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26156 * sysvipc/msgctl.c: Likewise.
26157 * sysvipc/msgget.c: Likewise.
26158 * sysvipc/msgrcv.c: Likewise.
26159 * sysvipc/msgsnd.c: Likewise.
26160 * sysvipc/semctl.c: Likewise.
26161 * sysvipc/semget.c: Likewise.
26162 * sysvipc/semop.c: Likewise.
26163 * sysvipc/semtimedop.c: Likewise.
26164 * sysvipc/shmat.c: Likewise.
26165 * sysvipc/shmctl.c: Likewise.
26166 * sysvipc/shmdt.c: Likewise.
26167 * sysvipc/shmget.c: Likewise.
26168 * termios/tcdrain.c: Likewise.
26169 * termios/tcflow.c: Likewise.
26170 * termios/tcflush.c: Likewise.
26171 * termios/tcgetattr.c: Likewise.
26172 * termios/tcgetpgrp.c: Likewise.
26173 * termios/tcsendbrk.c: Likewise.
26174 * termios/tcsetattr.c: Likewise.
26175 * termios/tcsetpgrp.c: Likewise.
26176 * time/adjtime.c: Likewise.
26177 * time/clock.c: Likewise.
26178 * time/getitimer.c: Likewise.
26179 * time/gettimeofday.c: Likewise.
26180 * time/setitimer.c: Likewise.
26181 * time/settimeofday.c: Likewise.
26182 * time/stime.c: Likewise.
26183 * time/time.c: Likewise.
26185 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26187 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26190 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26192 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26194 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26198 FE_TONEAREST before applying Dekker multiplication and Knuth
26199 addition. Clear inexact exceptions and check for exact zero
26200 results afterwards.
26201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26202 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26203 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26204 * math/libm-test.inc (fma_test): Add more tests.
26205 (fma_test_towardzero): Likewise.
26206 (fma_test_downward): Likewise.
26207 (fma_test_upward): Likewise.
26208 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26210 (libc_fesetround): New macro.
26211 (libc_fesetroundf): Likewise.
26212 (libc_fesetroundl): Likewise.
26213 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26215 (libc_fesetround_387): Likewise.
26216 (libc_fesetroundf): New macro.
26217 (libc_fesetround): Likewise.
26218 (libc_fesetroundl): Likewise.
26219 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26221 (libc_fesetroundf): New macro.
26222 (libc_fesetround): Likewise.
26223 (libc_fesetroundl): Likewise.
26224 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26225 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26226 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26228 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26229 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26231 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26232 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26234 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26238 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26239 integer constant usable in #if and use that to give value to enum
26241 (FE_DIVBYZERO): Likewise.
26242 (FE_UNDERFLOW): Likewise.
26243 (FE_OVERFLOW): Likewise.
26244 (FE_INVALID): Likewise.
26245 (FE_INVALID_SNAN): Likewise.
26246 (FE_INVALID_ISI): Likewise.
26247 (FE_INVALID_IDI): Likewise.
26248 (FE_INVALID_ZDZ): Likewise.
26249 (FE_INVALID_IMZ): Likewise.
26250 (FE_INVALID_COMPARE): Likewise.
26251 (FE_INVALID_SOFTWARE): Likewise.
26252 (FE_INVALID_SQRT): Likewise.
26253 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26254 (FE_TONEAREST): Likewise.
26255 (FE_TOWARDZERO): Likewise.
26256 (FE_UPWARD): Likewise.
26257 (FE_DOWNWARD): Likewise.
26258 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26259 (FE_DIVBYZERO): Likewise.
26260 (FE_OVERFLOW): Likewise.
26261 (FE_UNDERFLOW): Likewise.
26262 (FE_INEXACT): Likewise.
26263 (FE_TONEAREST): Likewise.
26264 (FE_DOWNWARD): Likewise.
26265 (FE_UPWARD): Likewise.
26266 (FE_TOWARDZERO): Likewise.
26267 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26268 (FE_UNDERFLOW): Likewise.
26269 (FE_OVERFLOW): Likewise.
26270 (FE_DIVBYZERO): Likewise.
26271 (FE_INVALID): Likewise.
26272 (FE_TONEAREST): Likewise.
26273 (FE_TOWARDZERO): Likewise.
26274 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26275 (FE_OVERFLOW): Likewise.
26276 (FE_UNDERFLOW): Likewise.
26277 (FE_DIVBYZERO): Likewise.
26278 (FE_INEXACT): Likewise.
26279 (FE_TONEAREST): Likewise.
26280 (FE_TOWARDZERO): Likewise.
26281 (FE_UPWARD): Likewise.
26282 (FE_DOWNWARD): Likewise.
26283 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26284 (FE_DIVBYZERO): Likewise.
26285 (FE_OVERFLOW): Likewise.
26286 (FE_UNDERFLOW): Likewise.
26287 (FE_INEXACT): Likewise.
26288 (FE_TONEAREST): Likewise.
26289 (FE_DOWNWARD): Likewise.
26290 (FE_UPWARD): Likewise.
26291 (FE_TOWARDZERO): Likewise.
26293 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26295 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26297 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26299 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26300 commands. Quote $PWD.
26301 (blacklist_exports): Don't use remove_newlines. Replace "declare
26303 (remove_newlines): Remove.
26305 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26307 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26308 * stdlib/stdlib.h (atof): Moved to ...
26309 * include/bits/stdlib-float.h: Here. New file.
26310 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26311 * stdlib/bits/stdlib-float.h: New file.
26312 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26314 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26317 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26319 * conform/conformtest.pl (@headers): Add fenv.h.
26320 * conform/data/fenv.h-data: New file.
26321 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26322 include of <math/fenv.h>.
26324 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26325 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26326 && !UNIX98]. Enables tests for XOPEN2K8.
26327 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26328 POSIX2008]: Likewise.
26330 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26331 (struct rusage): Do not expect type or its members.
26334 * math/math.h (FP_NAN): Define macro to integer constant usable in
26335 #if and use that to give value to enum constant.
26336 (FP_INFINITE): Likewise.
26337 (FP_ZERO): Likewise.
26338 (FP_SUBNORMAL): Likewise.
26339 (FP_NORMAL): Likewise.
26341 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26343 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26344 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26347 2012-11-02 Roland McGrath <roland@hack.frob.com>
26349 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26350 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26351 autoconf-time if not.
26352 * configure.in: Remove AC_PREREQ.
26354 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26356 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26357 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26358 of the internal implementation.
26360 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26362 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26363 except include of <misc/sys/syslog.h>.
26365 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26368 function returns with a NULL context exit with zero.
26370 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26372 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26374 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26376 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26377 (run_program_cmd): This.
26378 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26379 (tst_langinfo): New variable. Use it.
26381 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26383 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26384 floating point opcodes.
26386 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26388 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26391 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26393 * sysdeps/mach/hurd/powerpc: Remove directory.
26394 * sysdeps/mach/powerpc: Likewise.
26396 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26398 * scripts/check-local-headers.sh: Ignore c++ headers.
26400 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26402 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26403 __libc_cleanup_region_start argument.
26405 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26410 x * y using scaling, not as x * y + z.
26411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26413 * math/libm-test.inc (fma_test): Add more tests.
26414 (fma_test_towardzero): Likewise.
26415 (fma_test_downward): Likewise.
26416 (fma_test_upward): Likewise.
26418 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26420 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26422 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26424 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26427 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26429 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26431 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26438 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26441 Fix the order of the list for glibc 2.17.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26445 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26449 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26452 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26453 for low part of x being zero before using __atanl (y).
26454 * math/libm-test.inc (atan2_test): Add another test.
26456 * manual/install.texi (Configuring and compiling): Document
26457 general use of test-wrapper and test-wrapper-env.
26458 * INSTALL: Regenerated.
26460 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26461 (__fma): Do not extract and scale down low bits on after-rounding
26462 systems when result rounded to normal precision would have normal
26464 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26465 (__fmal): Do not extract and scale down low bits on after-rounding
26466 systems when result rounded to normal precision would have normal
26468 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26469 (__fmal): Do not extract and scale down low bits on after-rounding
26470 systems when result rounded to normal precision would have normal
26472 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26474 (fma_test): Add more tests.
26475 (fma_test_towardzero): Likewise.
26476 (fma_test_downward): Likewise.
26477 (fma_test_upward): Likewise.
26479 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26481 * sysdeps/i386/tininess.h: Renamed to ...
26482 * sysdeps/x86/tininess.h: This.
26483 * sysdeps/x86_64/tininess.h: Removed.
26485 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26487 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26488 input. Use $(build-program-cmd).
26489 ($(objpfx)tst-array1-static.out): Likewise.
26490 ($(objpfx)tst-array2.out): Likewise.
26491 ($(objpfx)tst-array3.out): Likewise.
26492 ($(objpfx)tst-array4.out): Likewise.
26493 ($(objpfx)tst-array5.out): Likewise.
26494 ($(objpfx)tst-array5-static.out): Likewise.
26496 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26498 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26501 * nss/nsswitch.h (nss_interface_function): Provide new
26502 macro for use with NSS functions.
26503 * grp/initgroups.c: Use new macro.
26504 * nss/getXXbyYY.c: Likewise.
26505 * nss/getXXbyYY_r.c: Likewise.
26506 * nss/getXXent.c: Likewise.
26507 * nss/getXXent_r.c: Likewise.
26508 * sysdeps/posix/getaddrinfo.c: Likewise.
26510 2012-10-30 Andreas Jaeger <aj@suse.de>
26512 * po/ru.po: Update Russion translation from translation project.
26514 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26519 result and shift together with sticky bit instead of replicating
26520 round-to-nearest rounding.
26521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26522 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26523 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26524 missing underflow exceptions.
26525 (fma_test_towardzero): Add more tests.
26526 (fma_test_downward): Likewise.
26527 (fma_test_upward): Likewise.
26530 * sysdeps/generic/tininess.h: New file.
26531 * sysdeps/i386/tininess.h: Likewise.
26532 * sysdeps/sh/tininess.h: Likewise.
26533 * sysdeps/x86_64/tininess.h: Likewise.
26534 * stdlib/tst-strtod-underflow.c: Likewise.
26535 * stdlib/tst-tininess.c: Likewise.
26536 * stdlib/strtod_l.c: Include <tininess.h>.
26537 (round_and_return): Do not set errno for exact underflow cases.
26538 Force an underflow exception when setting errno for underflow.
26539 Determine underflow based on rounding to normal precision if
26540 TININESS_AFTER_ROUNDING.
26541 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26542 ERANGE for exact underflow cases.
26543 * stdlib/Makefile (tests): Add tst-tininess and
26544 tst-strtod-underflow.
26545 ($(objpfx)tst-tininess): Use $(link-libm).
26546 ($(objpfx)tst-strtod-underflow): Likewise.
26548 2012-10-30 Andreas Jaeger <aj@suse.de>
26551 * elf/Makefile (tests): Remove conditional for have-initfini-array
26552 since this is now always required and the variable does not exist
26554 (tests-static): Likewise.
26555 (modules-names): Likewise.
26557 * po/eo.po: Add Esperanto translation from translation project.
26559 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26560 merged with constructor/destructor.
26561 (init_array): Likewise.
26562 * elf/tst-array2dep.c (fini_array): Likewise.
26563 (init_array): Likewise.
26565 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26567 * manual/message.texi: Delete @cartouche tags.
26569 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26571 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26573 * sysdeps/mach/hurd/fsync.c: Likewise.
26575 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26576 [_POSIX_REALTIME_SIGNALS]: Change condition to
26577 [_POSIX_REALTIME_SIGNALS > 0].
26579 2012-10-27 Andreas Jaeger <aj@suse.de>
26581 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26582 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26584 [__WORDSIZE != 64]: Likewise.
26586 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26588 * iconvdata/tst-table.sh: Remove ${SHELL}.
26589 * iconvdata/tst-tables.sh: Likewise.
26591 2012-10-25 David S. Miller <davem@davemloft.net>
26593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26594 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26599 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26600 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26601 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26604 2012-10-25 Roland McGrath <roland@hack.frob.com>
26606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26607 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26610 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26611 Jim Blandy <jimb@codesourcery.com>
26613 * scripts/cross-test-ssh.sh: New file.
26614 * manual/install.texi (Configuring and compiling): Document use of
26616 * INSTALL: Regenerated.
26618 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26620 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26623 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26625 * Makeconfig (run-program-prefix): Fix comment.
26627 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26628 Jim Blandy <jimb@codesourcery.com>
26630 * Makeconfig (test-wrapper): New variable,
26631 (test-wrapper-env): Likewise.
26632 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26633 (run-built-tests): Define to yes.
26634 (run-program-prefix): Use $(test-wrapper).
26635 (built-program-cmd): Likewise.
26636 * Rules (make-test-out): Use $(test-wrapper-env) and
26637 $(host-built-program-cmd).
26638 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26639 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26641 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26642 $(test-wrapper-env) to tst-rtld-load-self.sh.
26643 ($(objpfx)order2.out): Use $(test-wrapper).
26644 ($(objpfx)tst-initorder.out): Likewise.
26645 ($(objpfx)tst-initorder2.out): Likewise.
26646 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26647 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26648 (test_wrapper_env): New variable. Use it to run ld.so.
26649 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26650 Use it to run ld.so.
26651 (test_wrapper_env): Likewise.
26652 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26653 $(test-wrapper) to run-iconv-test.sh.
26654 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26655 (ICONV): Use $test_wrapper.
26656 * posix/Makefile ($(objpfx)globtest.out): Pass
26657 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26658 globtest.sh, not $(run-program-prefix).
26659 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26660 (test_wrapper): Likewise.
26661 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26662 set together with run_via_rtld_prefix.
26663 (run_program_prefix): Define in terms of test_wrapper and
26664 run_via_rtld_prefix.
26666 2012-10-24 Roland McGrath <roland@hack.frob.com>
26668 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26669 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26673 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26674 Declare __clock_getres, __clock_gettime, __clock_settime,
26675 __clock_nanosleep, and __clock_getcpuclockid.
26676 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26677 Remove librt_hidden_def (clock_gettime).
26678 * sysdeps/unix/clock_gettime.c: Likewise.
26679 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26680 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26681 * rt/clock_getres.c: Define __clock_getres as an alias.
26682 * sysdeps/posix/clock_getres.c: Likewise.
26683 * rt/clock_settime.c: Define __clock_settime as an alias.
26684 * sysdeps/unix/clock_settime.c: Likewise.
26685 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26686 * sysdeps/unix/clock_nanosleep.c: Likewise.
26687 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26688 * rt/clock-compat.c: New file.
26689 * rt/Makefile (librt-routines): Add clock-compat and move
26690 $(clock-routines) to ...
26691 (routines): ... here, new variable.
26692 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26693 Don't add get_clockfreq here.
26694 * rt/Versions (libc: GLIBC_2.17): New version set.
26695 Add clock_* symbols here.
26696 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26697 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26698 (GLIBC_2.17): Add clock_* symbols.
26699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26710 * NEWS: Mention the move.
26712 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26713 Use __open, __read, __close rather than their public counterparts.
26714 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26715 (__get_clockfreq_via_cpuinfo): Likewise.
26716 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26717 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26719 * config.h.in (HAVE_IFUNC): New #undef.
26720 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26722 * configure: Regenerated.
26724 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26726 * configure.in: Move READELF check to start of file.
26727 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26728 libc_cv_asm_gnu_indirect_function in the process.
26729 * configure: Regenerated.
26731 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26733 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26734 send the output to /dev/null.
26735 (libc_cv_cc_with_libunwind): Likewise.
26736 (libc_cv_as_noexecstack): Likewise.
26737 * configure: Regenerate.
26739 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26741 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26743 * posix/globtest.sh (TMPDIR): Do not set.
26744 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26745 (testout): Likewise.
26747 2012-10-24 Andreas Jaeger <aj@suse.de>
26749 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26750 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26751 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26752 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26753 posix_fadvise64, posix_fallocate64.
26755 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26756 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26757 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26759 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26761 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26764 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26765 <bits/fcntl-linux.h>.
26766 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26769 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26770 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26771 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26772 [__WORDSIZE != 64]: Likewise.
26774 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26776 * Makeconfig (run-built-tests): New variable.
26777 * Rules [$(cross-compiling) = yes]: Change condition to
26778 [$(run-built-tests) = no].
26779 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26780 to [$(run-built-tests) = yes].
26781 * elf/Makefile [$(cross-compiling) = no]: Likewise
26782 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26783 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26784 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26785 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26786 * io/Makefile [$(cross-compiling) = no]: Likewise.
26787 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26788 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26789 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26790 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26791 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26792 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26793 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26794 * string/Makefile [$(cross-compiling) = no]: Likewise.
26796 * posix/Makefile ($(objpfx)globtest.out): Pass
26797 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26798 $(rtld-installed-name).
26799 * posix/globtest.sh (elf_objpfx): Remove variable.
26800 (rtld_installed_name): Likewise.
26801 (library_path): Likewise.
26802 (run_program_prefix): New variable. Use for running globtest
26805 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26806 Joseph Myers <joseph@codesourcery.com>
26808 * Makeconfig (host-built-program-cmd): New variable.
26809 * elf/Makefile (tst-stackguard1-ARGS): Use
26810 $(host-built-program-cmd).
26811 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26812 (tst-spawn-ARGS): Likewise.
26813 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26815 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26816 Jim Blandy <jimb@codesourcery.com>
26818 * Makeconfig (run-via-rtld-prefix): New variable.
26819 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26820 (built-program-cmd): Likewise.
26822 2012-10-22 Andreas Jaeger <aj@suse.de>
26824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26825 __O_RSYNC if it exists, otherwise to O_SYNC.
26827 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26828 Joseph Myers <joseph@codesourcery.com>
26830 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26832 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26834 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26837 2012-10-22 Andreas Jaeger <aj@suse.de>
26839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26844 bits/fcntl-linux.h.
26846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26847 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26854 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26855 Joseph Myers <joseph@codesourcery.com>
26857 * config.make.in (NM): New variable.
26859 2012-10-21 Andreas Jaeger <aj@suse.de>
26861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26862 definitions and declarations that are provided by
26863 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26865 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26868 * elf/Makefile (tests-static): Add tst-leaks1-static.
26869 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26870 ($(objpfx)tst-leaks1-static): New rule.
26871 ($(objpfx)tst-leaks1-static-mem): Likewise.
26872 (tst-leaks1-static-ENV): New macro.
26873 * elf/dl-open.c (dl_open_worker): Check the main application
26874 only if SHARED is defined.
26875 * elf/tst-leaks1-static.c: New file.
26877 2012-10-20 Andreas Jaeger <aj@suse.de>
26879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26880 generic values for Linux.
26881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26882 and declarations that are provided by <bits/fcntl-linux.h> and
26883 include <bits/fcntl-linux.h>.
26884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26887 2012-10-20 Roland McGrath <roland@hack.frob.com>
26889 * io/fcntl.h: Move include of <bits/types.h> to the top and
26890 include it unconditionally.
26892 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26894 * wcsmbs/Makefile (tests-ifunc): New variable.
26895 (tests): Add $(tests-ifunc).
26896 * wcsmbs/test-wcschr-ifunc.c: New file.
26897 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26898 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26899 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26900 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26901 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26903 * string/Makefile (tests-ifunc): New variable.
26904 (tests): Add $(tests-ifunc).
26905 * string/test-memccpy.c (TEST_NAME): New macro.
26906 * string/test-memchr.c (TEST_NAME): Likewise.
26907 * string/test-memcmp.c (TEST_NAME): Likewise.
26908 * string/test-memcpy.c (TEST_NAME): Likewise.
26909 * string/test-memmem.c (TEST_NAME): Likewise.
26910 * string/test-memmove.c (TEST_NAME): Likewise.
26911 * string/test-memset.c (TEST_NAME): Likewise.
26912 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26913 * string/test-stpcpy.c (TEST_NAME): Likewise.
26914 * string/test-stpncpy.c (TEST_NAME): Likewise.
26915 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26916 * string/test-strcasestr.c (TEST_NAME): Likewise.
26917 * string/test-strcat.c (TEST_NAME): Likewise.
26918 * string/test-strchr.c (TEST_NAME): Likewise.
26919 * string/test-strcmp.c(TEST_NAME): Likewise.
26920 * string/test-strcpy.c (TEST_NAME): Likewise.
26921 * string/test-strcspn.c (TEST_NAME): Likewise.
26922 * string/test-strlen.c (TEST_NAME): Likewise.
26923 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26924 * string/test-strncmp.c (TEST_NAME): Likewise.
26925 * string/test-strncpy.c (TEST_NAME): Likewise.
26926 * string/test-strnlen.c (TEST_NAME): Likewise.
26927 * string/test-strpbrk.c (TEST_NAME): Likewise.
26928 * string/test-strrchr.c (TEST_NAME): Likewise.
26929 * string/test-strspn.c (TEST_NAME): Likewise.
26930 * string/test-strstr.c (TEST_NAME): Likewise.
26931 * string/test-bcopy-ifunc.c: New file.
26932 * string/test-bzero-ifunc.c: Likewise.
26933 * string/test-memccpy-ifunc.c: Likewise.
26934 * string/test-memchr-ifunc.c: Likewise.
26935 * string/test-memcmp-ifunc.c: Likewise.
26936 * string/test-memcpy-ifunc.c: Likewise.
26937 * string/test-memmem-ifunc.c: Likewise.
26938 * string/test-memmove-ifunc.c: Likewise.
26939 * string/test-mempcpy-ifunc.c: Likewise.
26940 * string/test-memset-ifunc.c: Likewise.
26941 * string/test-rawmemchr-ifunc.c: Likewise.
26942 * string/test-stpcpy-ifunc.c: Likewise.
26943 * string/test-stpncpy-ifunc.c: Likewise.
26944 * string/test-strcasecmp-ifunc.c: Likewise.
26945 * string/test-strcasestr-ifunc.c: Likewise.
26946 * string/test-strcat-ifunc.c: Likewise.
26947 * string/test-strchr-ifunc.c: Likewise.
26948 * string/test-strchrnul-ifunc.c: Likewise.
26949 * string/test-strcmp-ifunc.c: Likewise.
26950 * string/test-strcpy-ifunc.c: Likewise.
26951 * string/test-strcspn-ifunc.c: Likewise.
26952 * string/test-strlen-ifunc.c: Likewise.
26953 * string/test-strncasecmp-ifunc.c: Likewise.
26954 * string/test-strncat-ifunc.c: Likewise.
26955 * string/test-strncmp-ifunc.c: Likewise.
26956 * string/test-strncpy-ifunc.c: Likewise.
26957 * string/test-strnlen-ifunc.c: Likewise.
26958 * string/test-strpbrk-ifunc.c: Likewise.
26959 * string/test-strrchr-ifunc.c: Likewise.
26960 * string/test-strspn-ifunc.c: Likewise.
26961 * string/test-strstr-ifunc.c: Likewise.
26963 * debug/Makefile (tests-ifunc): New variable.
26964 (tests): Add $(tests-ifunc).
26965 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26966 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26967 * debug/test-stpcpy_chk-ifunc.c: New file.
26968 * debug/test-strcpy_chk-ifunc.c: Likewise.
26970 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26973 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26974 header is not read in.
26976 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26978 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26979 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26980 directly. Pass built executable to script as
26981 $(built-program-cmd).
26982 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26983 $testprogram without using LD_LIBRARY_PATH and $ldso.
26985 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26986 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26987 $(rtld-installed-name).
26988 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26989 (rtld_installed_name): Likewise.
26990 (library_path): Likewise.
26991 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26992 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26993 $(run-program-prefix) to tst-tables.sh.
26994 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26995 it to run tst-table-from and tst-table-to.
26996 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26997 Pass it to tst-table.sh.
26998 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26999 $(run-program-prefix) to tst-gettext.sh.
27000 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27002 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27004 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27005 to run tst-gettext.
27006 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27007 to run tst-gettext2.
27008 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27009 to run tst-translit.
27010 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27011 $(run-program-prefix) to tst-mtrace.sh.
27012 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27014 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27015 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27016 $(rtld-installed-name).
27017 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27018 (rtld_installed_name): Likewise.
27019 (run_program_prefix): New variable. Use it to run wordexp-test.
27021 * Makeconfig (ARCH): Remove all definitions.
27022 (machine): Likewise.
27023 [ARCH]: Remove conditional code.
27024 [!objdir]: Give error.
27025 [!objdir] (objpfx): Remove.
27026 [!objdir] (common-objpfx): Likewise.
27027 [!objdir] (common-objdir): Likewise.
27028 * configure.in (config_makefile): Remove. Hardcode Makefile in
27029 AC_CONFIG_FILES call.
27030 * configure: Regenerated.
27033 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27035 (testout): Likewise.
27037 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27038 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27039 $(rtld-installed-name).
27040 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27041 (rtld_installed_name): Likwise.
27042 (runit): Remove function.
27043 (run_getconf): New variable, Use it for running getconf binary.
27045 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27048 * string/test-memmem.c (check_result): New function.
27049 (do_one_test): Use it.
27050 (check1): New function.
27051 (test_main): Use it.
27053 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27055 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27057 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27059 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27060 (_G_LSEEK64): Likewise.
27061 (_G_MMAP64): Likewise.
27062 (_G_FSTAT64): Likewise.
27063 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27064 (_G_LSEEK64): Likewise.
27065 (_G_MMAP64): Likewise.
27066 (_G_FSTAT64): Likewise.
27067 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27068 unconditional. Call __mmap64 directly.
27069 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27070 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27071 __lseek64 directly.
27072 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27073 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27075 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27076 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27077 __lseek64 directly.
27078 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27079 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27080 __lseek64 directly.
27081 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27082 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27083 __lseek64 directly.
27084 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27085 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27086 __fxstat64 directly.
27087 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27088 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27090 (freopen64) [!_G_OPEN64]: Remove conditional code.
27091 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27093 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27094 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27096 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27097 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27099 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27100 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27102 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27103 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27105 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27106 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27108 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27109 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27111 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27113 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27116 * manual/memory.texi (Malloc Tunable Parameters): Add note
27117 about free list pointers overwriting some perturb bytes.
27118 Wording suggested by Roland McGrath.
27120 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27122 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27123 (lgamma_test): Likewise.
27124 (tgamma_test): Likewise.
27126 2012-10-16 Florian Weimer <fweimer@redhat.com>
27129 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27130 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27132 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27134 * NEWS: Mention BZ #14716.
27135 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27136 when removing AVAILABLE1_USES_J macro.
27138 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27140 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27141 (__bswap_64): __uint64_t for unsigned 64-bit int.
27143 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27145 * include/string.h (memmem): Declare libc hidden alias.
27146 * string/memmem.c (memmem): Define libc hidden alias.
27147 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27148 __read, __close instead of open, read, close.
27150 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27153 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27155 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27156 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27157 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27159 (__rawmemchr_sse2): Likewise.
27160 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27161 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27162 (__strchr_sse2): Likewise.
27163 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27164 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27165 (__strcasecmp_sse2): Likewise.
27166 (__strncasecmp_sse2): Likewise.
27167 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27168 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27169 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27170 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27171 (__strrchr_sse2): Likewise.
27172 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27174 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27175 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27176 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27177 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27178 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27180 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27181 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27182 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27183 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27184 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27185 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27186 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27187 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27188 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27189 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27190 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27191 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27192 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27193 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27194 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27195 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27196 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27197 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27198 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27199 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27200 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27201 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27202 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27203 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27205 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27207 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27208 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27209 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27210 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27212 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27214 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27215 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27216 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27217 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27219 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27220 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27221 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27222 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27223 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27224 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27225 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27226 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27227 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27228 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27229 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27230 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27231 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27232 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27233 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27235 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27236 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27237 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27238 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27240 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27241 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27242 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27244 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27245 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27246 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27247 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27248 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27249 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27250 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27251 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27252 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27253 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27254 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27255 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27256 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27257 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27258 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27259 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27261 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27262 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27263 * include/ifunc-impl-list.h: New file.
27264 * misc/ifunc-impl-list.c: Likewise.
27265 * misc/Makefile (routines): Add ifunc-impl-list.
27266 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27267 * string/test-string.h: Include <ifunc-impl-list.h>.
27268 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27269 TEST_NAME]: New variables.
27270 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27272 (test_init): Call __libc_ifunc_impl_list to initialize
27273 func_list if TEST_IFUNC and TEST_NAME are defined.
27275 * string/Makefile (strop-tests): Add bcopy and bzero.
27276 * string/test-bcopy.c: New file.
27277 * string/test-bzero.c: Likewise.
27278 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27280 * string/test-memset.c: Support bzero test if TEST_BZERO is
27282 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27284 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27286 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27289 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27291 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27292 * configure: Regenerated.
27294 * Makeconfig (+link-static-before-libc): Don't include
27295 $(link-static-libc).
27297 * libio/libio.h (_IO_pos_t): Remove.
27299 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27301 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27304 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27306 * crypt/crypt-entry.c: Include fips-private.h.
27307 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27308 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27309 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27310 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27312 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27314 * crypt/crypt-private.h: Include stdbool.h.
27315 (_ufc_setup_salt_r): Return bool.
27316 * crypt/crypt-entry.c: Include errno.h.
27317 (__crypt_r): Return NULL with EINVAL for bad salt.
27318 * crypt/crypt_util.c (bad_for_salt): New.
27319 (_ufc_setup_salt_r): Check that salt is long enough and within
27320 the specified alphabet.
27321 * crypt/badsalttest.c: New file.
27322 * crypt/Makefile (tests): Add it.
27323 ($(objpfx)badsalttest): New.
27325 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27327 * NEWS: Add entry for BZ #14602.
27329 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27331 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27333 * math/libm-test.inc: Update comment listing what functions and
27335 (isgreater_test): New function.
27336 (isgreaterequal_test): Likewise.
27337 (isless_test): Likewise.
27338 (islessequal_test): Likewise.
27339 (islessgreater_test): Likewise.
27340 (isunordered_test): Likewise.
27341 (main): Call the new functions.
27343 2012-10-09 Roland McGrath <roland@hack.frob.com>
27345 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27346 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27347 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27348 * sysdeps/i386/configure: Regenerated.
27349 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27350 * sysdeps/mach/configure: Regenerated.
27351 * sysdeps/mach/hurd/configure: Regenerated.
27352 * sysdeps/powerpc/configure: Regenerated.
27353 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27354 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27355 * sysdeps/s390/s390-32/configure: Regenerated.
27356 * sysdeps/s390/s390-64/configure: Regenerated.
27357 * sysdeps/sh/configure: Regenerated.
27358 * sysdeps/sparc/configure: Regenerated.
27359 * sysdeps/unix/sysv/linux/configure: Regenerated.
27360 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27361 * sysdeps/x86_64/configure: Regenerated.
27363 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27364 defined. Don't check if MAP is NULL.
27366 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27368 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27369 (_G_stat64): Likewise.
27370 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27371 (_G_stat64): Likewise.
27372 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27373 instead of struct _G_stat64.
27374 * libio/fileops.c (mmap_remap_check): Likewise.
27375 (decide_maybe_mmap): Likewise.
27376 (_IO_new_file_seekoff): Likewise.
27377 (_IO_file_stat): Likewise.
27378 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27380 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27381 instead of struct _G_stat64.
27382 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27384 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27387 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27389 (CHECK_EOL): New macro.
27390 (two_way_short_needle): Check beginning of haystack for EOL. Use
27392 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27393 Replace with CHECK_EOL.
27394 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27395 Replace with CHECK_EOL.
27397 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27399 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27401 * math/libm-test.inc: Update comment listing what functions and
27403 (finite_test): New function.
27404 (isinf_test): Likewise.
27405 (isnan_test): Likewise.
27406 (fpclassify_test): Test subnormal input.
27407 (isfinite_test): Likewise.
27408 (isnormal_test): Likewise.
27409 (main): Call the new functions.
27411 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27414 * Makerules (%.dynsym): Force C locale when running
27415 $(OBJDUMP) --dynamic-syms.
27417 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27419 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27422 2012-10-06 David S. Miller <davem@davemloft.net>
27424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27425 upper 32-bits of the length value in %o2 since we use branch-on-register
27426 tests which consider the entire 64-bit register.
27428 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27430 * string/test-strstr.c (check2): Add a test for page boundary.
27432 2012-10-05 David S. Miller <davem@davemloft.net>
27434 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27435 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27437 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27439 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27440 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27441 and bzero when HWCAP_SPARC_CRYPTO is present.
27443 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27446 * string/test-strstr.c (check2): New function.
27447 (test_main): Call check2.
27449 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27451 * string/bug-strcasestr1.c (do_test): Moved to ...
27452 * string/test-strcasestr.c (check1): Here. New function.
27453 (do_one_test): Break out result checking code into ...
27454 (check_result): This. New function.
27455 (do_one_test): Call check_result.
27456 (test_main): Call check1.
27457 * string/bug-strchr1.c (do_test): Moved to ...
27458 * string/test-strchr.c (check1): Here. New function.
27459 (do_one_test): Break out result checking code into ...
27460 (check_result): This. New function.
27461 (do_one_test): Call check_result.
27462 (test_main): Call check1.
27463 * string/bug-strstr1.c (main): Moved to ...
27464 * string/test-strstr.c (check1): Here. New function.
27465 (do_one_test): Break out result checking code into ...
27466 (check_result): This. New function.
27467 (do_one_test): Call check_result.
27468 (test_main): Call check1.
27469 * string/bug-strcasestr1.c: Removed.
27470 * string/bug-strchr1.c: Likewise.
27471 * string/bug-strstr1.c: Likewise.
27473 * elf/Makefile (dl-routines): Add hwcaps.
27474 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27475 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27476 (_dl_important_hwcaps): Moved to ...
27477 * elf/dl-hwcaps.c: Here. New file.
27478 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27481 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27482 if IS_IN_rtld isn't defined.
27484 * elf/dl-support.c (_dl_sysinfo_map): New.
27485 Include "get-dynamic-info.h" and "setup-vdso.h".
27486 (_dl_non_dynamic_init): Call setup_vdso.
27487 * elf/dynamic-link.h: Don't include <assert.h>.
27488 (elf_get_dynamic_info): Moved to ...
27489 * elf/get-dynamic-info.h: Here. New file.
27490 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27491 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27492 * elf/setup-vdso.h: Here. New file.
27493 * elf/rtld.c: Include "setup-vdso.h".
27494 (dl_main): Call setup_vdso.
27496 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27498 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27499 creal in comment listing functions tested. List finite, isinf,
27500 isnan, isless, islessequal, isgreater, isgreaterequal,
27501 islessgreater, isunordered, lgamma_r and pow10 as functions and
27502 macros not tested. Mention which functions not tested are aliases
27503 for other functions. Fix typo. Note that signs of NaNs are not
27506 * scripts/config.guess: Update from config.git.
27507 * scripts/config.sub: Likewise.
27509 2012-10-04 Roland McGrath <roland@hack.frob.com>
27511 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27512 * misc/madvise.c (madvise): Renamed to __madvise.
27513 Make madvise a weak alias.
27514 * include/sys/mman.h: Declare __madvise.
27515 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27516 * sysdeps/unix/syscalls.list
27517 (madvise): Make __madvise the strong name, and madvise a weak alias.
27518 * sysdeps/unix/sysv/linux/syscalls.list
27519 (madvise, mmap): Remove redundant entries.
27520 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27521 * malloc/malloc.c (mtrim): Likewise.
27522 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27524 2012-10-03 Roland McGrath <roland@hack.frob.com>
27526 * sysdeps/mach/hurd/dl-cache.c: File removed.
27527 * config.h.in (USE_LDCONFIG): New #undef.
27528 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27529 * configure: Regenerated.
27530 * elf/Makefile (dl-routines): Add dl-cache only under
27531 [$(use-ldconfig) = yes].
27532 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27533 cache on [USE_LDCONFIG].
27534 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27536 * elf/rtld.c (dl_main): Likewise.
27538 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27540 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27541 _SC_LEVEL4_CACHE_LINESIZE.
27543 2012-10-03 Roland McGrath <roland@hack.frob.com>
27545 * sysdeps/unix/bsd/confstr.h: File removed.
27547 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27549 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27552 2012-10-02 Roland McGrath <roland@hack.frob.com>
27554 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27555 Make 'mapoff' field ElfW(Off) rather than off_t.
27557 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27559 * nscd/Makefile: Remove nscd-cflags and all its users.
27560 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27561 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27564 * malloc.c (malloc_printerr): Clarify error message.
27566 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27570 Set bit_FMA_Usable if FMA is supported.
27571 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27573 (bit_FMA4_Usable): Updated.
27574 (index_FMA_Usable): New macro.
27575 (CPUID_FMA): Likewise
27576 (HAS_FMA): Defined with bit_FMA_Usable.
27578 2012-10-01 Roland McGrath <roland@hack.frob.com>
27580 * bits/types.h (__swblk_t): Type removed.
27581 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27582 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27584 (__SWBLK_T_TYPE): Likewise.
27585 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27586 (__SWBLK_T_TYPE): Likewise.
27587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27588 (__SWBLK_T_TYPE): Likewise.
27589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27590 (__SWBLK_T_TYPE): Likewise.
27592 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27593 Honza Horak <hhorak@redhat.com>
27595 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27596 (xdr_mapname): Use YPMAXMAP as maxsize.
27597 (xdr_peername): Use YPMAXPEER as maxsize.
27598 (xdr_keydat): Use YPAXRECORD as maxsize.
27599 (xdr_valdat): Use YPMAXRECORD as maxsize.
27601 2012-10-01 Roland McGrath <roland@hack.frob.com>
27603 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27605 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27606 * csu/init-first.c: ... here.
27607 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27608 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27609 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27610 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27611 * sysdeps/i386/init-first.c: File removed.
27612 * sysdeps/sh/init-first.c: File removed.
27614 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27618 if x * y might underflow to zero and z is zero.
27619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27621 * math/libm-test.inc (min_subnorm_value): New variable.
27622 (fma_test): Add more tests.
27623 (fma_test_towardzero): Likewise.
27624 (fma_test_downward): Likewise
27625 (fma_test_upward): Likewise.
27626 (initialize): Set min_subnorm_value.
27628 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27633 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27634 mode for addition resulting in exact zero.
27635 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27638 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27640 * math/libm-test.inc (fma_test): Add more tests.
27641 (fma_test_towardzero): New function.
27642 (fma_test_downward): Likewise.
27643 (fma_test_upward): Likewise.
27644 (main): Call the new functions.
27646 2012-09-28 David S. Miller <davem@davemloft.net>
27648 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27650 2012-09-28 Roland McGrath <roland@hack.frob.com>
27652 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27653 instead of SIGALRM.
27655 * sysdeps/gnu/_G_config.h: Moved to ...
27656 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27657 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27658 * sysdeps/generic/_G_config.h: ... here.
27660 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27662 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27664 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27665 Conditionalize target on [libnss_test1.so-version].
27667 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27669 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27670 (elfobjdir): Move out of conditionals.
27672 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27673 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27674 (__nss_lookup_function): Conditionalize label remove_from_tree on
27675 [!DO_STATIC_NSS || SHARED], matching its only use.
27677 2012-09-28 David S. Miller <davem@davemloft.net>
27679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27680 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27682 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27684 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27686 when HWCAP_SPARC_CRYPTO is present.
27688 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27690 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27692 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27695 * stdio-common/vfprintf.c (process_string_arg): Revert
27698 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27700 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27702 * stdio-common/tst-sprintf.c: Include <locale.h>
27703 (main): Test sprintf's handling of incomplete multibyte
27706 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27708 * elf/dl-runtime.c (VERSYMIDX): Removed.
27709 * elf/dl-version.c (VERSYMIDX): Likewise.
27710 * elf/do-rel.h (VERSYMIDX): Likewise.
27711 (VALIDX): Likewise.
27712 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27713 * elf/rtld.c (VALIDX): Likewise.
27714 (ADDRIDX): Likewise.
27715 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27716 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27717 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27718 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27719 (VALIDX): Likewise.
27720 (ADDRIDX): Likewise.
27722 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27724 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27726 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27729 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27731 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27732 addresses are in the same scope as 192.0.2/24.
27733 * posix/gai.conf: Document new scope table defaults.
27735 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27738 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27739 for ftell. Compute offsets from write pointers instead.
27740 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27742 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27745 * libio/Makefile (tests): New test case tst-fseek.
27746 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27747 combination works in wide mode.
27748 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27749 state when the external buffer state changes.
27751 2012-09-27 David S. Miller <davem@davemloft.net>
27754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27755 pass reloc->r_addend in as the 'high' argument to
27756 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27760 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27762 * rt/tst-aio2.c: Include <pthread.h>.
27763 * rt/tst-aio3.c: Likewise.
27765 2012-09-27 Steve Ellcey <sellcey@mips.com>
27767 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27769 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27771 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27772 contents on [SHARED].
27774 2012-09-26 Marek Polacek <polacek@redhat.com>
27778 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27779 for C++ and GCC <4.3 as well as for non GCC compilers.
27781 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27785 2012-09-25 Roland McGrath <roland@hack.frob.com>
27787 * Makefile.in (all, install): Declare with .PHONY.
27788 Reported by Michael Hope <michael.hope@linaro.org>.
27790 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27792 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27793 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27795 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27797 (sydep_routines): Add the new and the internal functions.
27798 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27799 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27801 (GLIBC_2.17): Add the new function.
27802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27803 (GLIBC_2.17): Likewise.
27804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27805 (GLIBC_2.17): Likewise.
27806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27807 (GLIBC_2.17): Likewise.
27808 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27810 2012-09-25 Alan Modra <amodra@gmail.com>
27812 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27813 Add release barrier before setting once_control to say
27814 initialisation is done. Add hints on lwarx. Use macro in
27816 (clear_once_control): Add release barrier.
27818 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27821 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27823 * math/s_clog10.c (__clog10): Likewise.
27824 * math/s_clog10f.c (__clog10f): Likewise.
27825 * math/s_clog10l.c (__clog10l): Likewise.
27826 * math/s_clogf.c (__clogf): Likewise.
27827 * math/s_clogl.c (__clogl): Likewise.
27828 * math/Makefile (libm-calls): Add x2y2m1.
27829 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27830 (__x2y2m1): Likewise.
27831 (__x2y2m1l): Likewise.
27832 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27833 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27836 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27837 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27838 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27839 * sysdeps/i386/fpu/libm-test-ulps: Update.
27840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27843 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27844 int as type of variable DEPTH.
27845 (glob): Use size_t instead of int as type of variables NEWCOUNT
27848 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27850 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27851 Add s_sincosf-sse2.
27852 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27853 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27854 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27855 macros for using routine as __sincosf_ia32.
27856 Use macro for function declaration and weak_alias.
27857 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27862 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27863 subnormal argument.
27864 * math/s_cexpf.c (__cexpf): Likewise.
27865 * math/s_csinf.c (__csinf): Likewise.
27866 * math/s_csinhf.c (__csinhf): Likewise.
27867 * math/s_ctanf.c (__ctanf): Likewise.
27868 * math/s_ctanhf.c (__ctanhf): Likewise.
27869 * math/s_ccosh.c (__ccoshf): Likewise.
27870 * math/s_cexp.c (__cexpl): Likewise.
27871 * math/s_csin.c (__csin): Likewise.
27872 * math/s_csinh.c (__csinh): Likewise.
27873 * math/s_ctan.c (__ctan): Likewise.
27874 * math/s_ctanh.c (ctanh): Likewise.
27875 * math/s_ccoshl.c (__ccoshl): Likewise.
27876 * math/s_cexpl.c (__cexpl): Likewise.
27877 * math/s_csinl.c (__csinl): Likewise.
27878 * math/s_csinhl.c (__csinhl): Likewise.
27879 * math/s_ctanl.c (__ctanl): Likewise.
27880 * math/s_ctanhl.c (__ctanhl): Likewise.
27882 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27884 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27885 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27886 (_IO_off_t): Define to __off_t, not _G_off_t.
27887 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27888 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27889 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27890 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27891 type of __dummy and __dummy2 fields.
27892 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27893 (_G_ssize_t): Likewise.
27894 (_G_off_t): Likewise.
27895 (_G_pid_t): Likewise.
27896 (_G_uid_t): Likewise.
27897 (_G_wchar_t): Likewise.
27898 (_G_wint_t): Likewise.
27899 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27900 (_G_ssize_t): Likewise.
27901 (_G_off_t): Likewise.
27902 (_G_pid_t): Likewise.
27903 (_G_uid_t): Likewise.
27904 (_G_wchar_t): Likewise.
27905 (_G_wint_t): Likewise.
27906 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27907 (_G_ssize_t): Likewise.
27908 (_G_off_t): Likewise.
27909 (_G_pid_t): Likewise.
27910 (_G_uid_t): Likewise.
27911 (_G_wchar_t): Likewise.
27912 (_G_wint_t): Likewise.
27914 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27916 * malloc/arena.c: Include malloc-sysdep.h.
27917 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27918 is sufficient to shrink the heap or an unmap is needed.
27919 * sysdeps/generic/malloc-sysdep.h: New file. Define
27920 new function check_may_shrink_heap.
27921 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27922 new function check_may_shrink_heap.
27924 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27926 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27929 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27931 * catgets/test-gencat.sh: Add "set -e".
27932 * elf/tst-pathopt.sh: Likewise.
27933 * grp/tst_fgetgrent.sh: Likewise.
27934 * iconvdata/run-iconv-test.sh: Likewise.
27935 * intl/tst-gettext.sh: Likewise.
27936 * intl/tst-gettext2.sh: Likewise.
27937 * intl/tst-gettext4.sh: Likewise.
27938 * intl/tst-gettext6.sh: Likewise.
27939 * intl/tst-translit.sh: Likewise.
27940 * io/ftwtest-sh: Likewise.
27941 * libio/test-freopen.sh: Likewise.
27942 * malloc/tst-mtrace.sh: Likewise.
27943 * posix/globtest.sh: Likewise.
27944 * posix/tst-getconf.sh: Likewise.
27945 * posix/wordexp-tst.sh: Likewise.
27946 * stdio-common/tst-printf.sh: Likewise.
27947 * stdio-common/tst-unbputc.sh: Likewise.
27948 * stdlib/tst-fmtmsg.sh: Likewise.
27949 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27950 * catgets/Makefile: Do not specify -e option when running
27951 testsuite shell scripts.
27952 * elf/Makefile: Likewise.
27953 * grp/Makefile: Likewise.
27954 * iconvdata/Makefile: Likewise.
27955 * intl/Makefile: Likewise.
27956 * io/Makefile: Likewise.
27957 * libio/Makefile: Likewise.
27958 * malloc/Makefile: Likewise.
27959 * posix/Makefile: Likewise.
27960 * stdio-common/Makefile: Likewise.
27961 * stdlib/Makefile: Likewise.
27962 * sysdeps/x86_64/Makefile: Likewise.
27964 * io/ftwtest-sh: Add copyright header.
27965 * posix/globtest.sh: Likewise.
27966 * posix/tst-getconf.sh: Likewise.
27967 * posix/wordexp-tst.sh: Likewise.
27968 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27970 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27973 * Makeconfig (+link): Defined as $(+link-static) if
27974 $(build-shared) isn't yes.
27975 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27977 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27979 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27982 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27983 new chunk size with MALLOC_ALIGN_MASK.
27985 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27988 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27990 (__printf_fphex): Determine rounding using get_rounding_mode and
27992 * stdio-common/tst-printf-round.c (struct hex_test): New
27994 (hex_tests): New variable.
27995 (test_hex_in_one_mode): New function.
27996 (do_test): Also run tests for hex float output.
27998 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28000 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28001 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28002 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28003 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28004 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28005 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28006 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28007 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28009 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28011 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28012 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28013 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28014 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28016 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28019 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28021 * elf/tst-rtld-load-self.sh: New test.
28022 * elf/Makefile: Run it.
28024 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28026 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28027 (tst-writev-ENV): Remove.
28028 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28030 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28032 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28034 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28036 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28038 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28040 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28041 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28042 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28045 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28048 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28049 * config.make.in (have-cpp-asm-debuginfo): Removed.
28050 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28051 * configure: Regenerated.
28053 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28056 * stdio-common/printf_fp.c: Include <stdbool.h> and
28058 (___printf_fp): Determine rounding using get_rounding_mode and
28060 * stdio-common/tst-printf-round.c: New file.
28061 * stdio-common/Makefile (tests): Add tst-printf-round.
28062 (link-libm): New variable.
28063 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28065 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28068 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28069 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28071 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28074 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28076 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28077 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28078 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28079 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28081 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28084 * include/rounding-mode.h: New file.
28085 * sysdeps/generic/get-rounding-mode.h: Likewise.
28086 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28087 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28088 (MAX_VALUE): New macro.
28089 (MIN_VALUE): Likewise.
28090 (overflow_value): New function.
28091 (underflow_value): Likewise.
28092 (round_and_return): Use overflow_value and underflow_value to
28093 determine return values in overflow and underflow cases. Use
28094 round_away to determine rounding depending on rounding mode.
28095 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28096 determine return values in overflow and underflow cases.
28097 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28098 (struct test_results): New structure.
28099 (struct test): Use struct test_results to store expected results
28100 for all rounding modes.
28101 (TEST): Include expected results for all rounding modes.
28102 (test_in_one_mode): New function.
28103 (do_test): Use test_in_one_mode to compute and check results.
28104 Check results for all rounding modes.
28105 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28108 2012-12-09 Allan McRae <allan@archlinux.org>
28110 * sysdeps/i386/fpu/libm-test-ulps: Update
28112 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28114 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28115 (_G_int32_t): Likewise.
28116 (_G_uint16_t): Likewise.
28117 (_G_uint32_t): Likewise.
28118 (_G_HAVE_BOOL): Likewise.
28119 (_G_HAVE_ATEXIT): Likewise.
28120 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28121 (_G_HAVE_IO_FILE_OPEN): Likewise.
28122 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28123 (_G_int32_t): Likewise.
28124 (_G_uint16_t): Likewise.
28125 (_G_uint32_t): Likewise.
28126 (_G_HAVE_BOOL): Likewise.
28127 (_G_HAVE_ATEXIT): Likewise.
28128 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28129 (_G_HAVE_IO_FILE_OPEN): Likewise.
28130 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28131 (_G_int32_t): Likewise.
28132 (_G_uint16_t): Likewise.
28133 (_G_uint32_t): Likewise.
28134 (_G_HAVE_BOOL): Likewise.
28135 (_G_HAVE_ATEXIT): Likewise.
28136 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28137 (_G_HAVE_IO_FILE_OPEN): Likewise.
28139 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28141 * csu/libc-tls.c: Update copyright years.
28143 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28145 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28146 [!_G_USING_THUNKS]: Remove conditional code.
28147 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28148 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28150 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28151 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28152 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28153 (_G_VTABLE_LABEL_PREFIX): Likewise.
28154 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28155 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28156 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28157 (_G_VTABLE_LABEL_PREFIX): Likewise.
28158 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28159 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28160 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28161 (_G_VTABLE_LABEL_PREFIX): Likewise.
28162 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28164 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28166 * libio/Makefile: Include ../Makeconfig before tests.
28167 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28168 only if $(build-shared) is yes.
28170 * iconv/gconv_db.c: Update copyright years.
28172 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28174 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28175 unwind info if defined PIC. Fix special cases description.
28176 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28178 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28180 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28182 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28184 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28186 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28189 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28190 (LDLIBS-tst-chk4): This.
28191 (LDFLAGS-tst-chk5): Renamed to ...
28192 (LDLIBS-tst-chk5): This.
28193 (LDFLAGS-tst-chk6): Renamed to ...
28194 (LDLIBS-tst-chk6): This.
28195 (LDFLAGS-tst-lfschk4): Renamed to ...
28196 (LDLIBS-tst-lfschk4): This.
28197 (LDFLAGS-tst-lfschk5): Renamed to ...
28198 (LDLIBS-tst-lfschk5): This.
28199 (LDFLAGS-tst-lfschk6): Renamed to ...
28200 (LDLIBS-tst-lfschk6): This.
28202 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28203 on $(common-objpfx)soversions.mk.
28205 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28208 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28211 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28213 * malloc/arena.c (arena_get_retry): New function that gets
28214 another arena for the caller to try its request on.
28215 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28216 current arena cannot fulfill the request.
28217 (__libc_memalign): Likewise.
28218 (__libc_memalign): Likewise.
28219 (__libc_pvalloc): Likewise.
28220 (__libc_calloc): Likewise.
28222 2012-09-05 John Tobey <john.tobey@gmail.com>
28225 * manual/arith.texi (Operations on Complex): Fix description
28226 of carg branch cut.
28228 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28231 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28235 * manual/memory.texi (Memory): Make order of menu items match
28238 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28240 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28241 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28242 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28244 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28246 * csu/libc-tls.c (static_dtv): Renamed to ...
28247 (_dl_static_dtv): This. Make it global.
28248 (_dl_initial_dtv): Removed.
28249 (__libc_setup_tls): Updated.
28250 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28251 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28254 2012-09-06 Petr Machata <pmachata@redhat.com>
28256 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28257 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28258 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28259 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28261 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28264 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28265 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28268 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28271 * Makeconfig (link-static-before-libc): Replace $(+prector)
28273 (link-static-after-libc): Replace $(+postctor) with
28275 (link-bounded): Replace $(+prector)/$(+postctor) with
28276 $(+prectorT)/$(+postctorT).
28277 (+prectorT): New macro.
28278 (+postctorT): Likewise.
28280 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28282 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28283 (round_str): Handle values above the maximum for IBM long double
28285 * stdlib/tst-strtod-round.c (tests): Regenerated.
28287 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28289 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28291 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28292 zarch_nohighgprs around the zarch optimized routines.
28293 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28294 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28295 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28298 2012-09-05 David S. Miller <davem@davemloft.net>
28300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28302 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28303 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28304 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28305 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28308 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28310 * malloc/arena.c: Fold copyright years.
28311 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28313 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28315 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28317 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28319 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28321 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28323 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28324 change internal state upon failure.
28326 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28328 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28329 * malloc/memusage.c (mmap): Likewise.
28330 (mmap64, mremap): Likewise. Adjust name in comment.
28332 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28334 * libio/fileops.c: Fix typos in comments.
28335 * libio/oldfileops.c: Likewise.
28336 * libio/wfileops.c: Likewise.
28338 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28341 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28342 (tst-malloc-usable-ENV): Set environment for test case.
28343 * malloc/hooks.c (malloc_check_get_size): New function to get
28345 * malloc/malloc.c (musable): Use malloc_check_get_size.
28346 * malloc/tst-malloc-usable.c: New test case.
28348 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28350 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28352 2012-09-05 Allan McRae <allan@archlinux.org>
28355 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28356 determine header location.
28357 * configure: Regenerated.
28359 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28361 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28363 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28364 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28366 (test): Regenerate.
28368 2012-09-04 David S. Miller <davem@davemloft.net>
28370 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28371 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28372 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28374 2012-09-04 Florian Weimer <fweimer@redhat.com>
28376 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28379 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28381 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28384 * libio/iogetdelim.c: Include <limits.h>.
28385 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28386 + len + 1 would overflow.
28388 2012-09-03 Andreas Jaeger <aj@suse.de>
28390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28391 * sysdeps/i386/fpu/libm-test-ulps: Update.
28393 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28395 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28396 Add s_sinf-sse2, s_conf-sse2.
28398 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28399 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28400 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28401 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28403 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28404 for using routine as __sinf_ia32.
28405 Use macro for function declaration and weak_alias.
28406 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28407 for using routine as __cosf_ia32.
28408 Use macro for function declaration and weak_alias.
28410 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28411 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28413 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28414 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28417 * math/libm-test.inc (cos_test): Add more test cases.
28418 (sin_test): Likewise.
28419 (sincos_test): Likewise.
28421 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28424 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28426 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28428 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28431 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28432 first element of the GOT.
28433 (elf_machine_load_address): Return the difference between
28434 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28436 2012-09-01 Allan McRae <allan@archlinux.org>
28439 * configure.in (AWK): Require gawk version 3.0 or later.
28440 * configure: Regenerated.
28442 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28444 * sysdeps/unix/sysv/linux/kernel-features.h
28445 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28447 [__NR_clock_getres]: Make code unconditional.
28448 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28449 (clock_getcpuclockid): Remove code left unreachable by removal of
28451 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28452 code unconditional.
28453 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28454 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28455 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28456 Make code unconditional.
28457 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28458 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28459 * sysdeps/unix/sysv/linux/clock_settime.c
28460 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28462 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28463 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28465 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28468 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28469 scripts/test-installation.pl.
28471 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28472 and $ld_so_version if it is set.
28474 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28477 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28478 failure if reading from procfs failed.
28479 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28481 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28483 * sysdeps/unix/sysv/linux/kernel-features.h
28484 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28485 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28486 Remove conditional code.
28487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28488 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28489 Remove conditional code.
28490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28491 * sysdeps/unix/sysv/linux/i386/fxstat.c
28492 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28494 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28495 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28497 * sysdeps/unix/sysv/linux/i386/lxstat.c
28498 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28500 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28501 Remove conditional code.
28502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28503 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28504 Remove conditional code.
28505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28506 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28507 <kernel-features.h>.
28508 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28510 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28511 Remove conditional code.
28512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28513 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28514 Remove conditional.
28516 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28519 * NEWS: Add fixed bug number.
28521 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28524 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28525 underflowing exponent in case of negative sign.
28526 * stdlib/tst-strtod-round-data: Add more tests.
28527 * stdlib/tst-strtod-round.c (tests): Regenerated.
28530 * stdlib/strtod_l.c (NDIG): Remove.
28531 (HEXNDIG): Likewise.
28532 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28533 smallest representable value.
28534 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28535 lie within an exact representation of 1/2 ulp of the result.
28536 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28538 (TENS_P9_IDX): Define unconditionally.
28539 (TENS_P9_SIZE): Likewise.
28540 (TENS_P10_IDX): Likewise.
28541 (TENS_P10_SIZE): Likewise.
28542 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28543 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28544 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28545 entries for 10^2^13 and 10^2^14.
28546 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28547 (TENS_P13_IDX): Define.
28548 (TENS_P13_SIZE): Likewise.
28549 (TENS_P14_IDX): Likewise.
28550 (TENS_P14_SIZE): Likewise.
28551 (_fpioconst_pow10): Change array size to
28552 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28554 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28555 1024]: Add entries for 10^2^13 and 10^2^14.
28556 [LAST_POW10 > _LAST_POW10]: Remove #error.
28557 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28558 (_fpioconst_pow10): Change array size to
28559 FPIOCONST_POW10_ARRAY_SIZE.
28560 * stdlib/gen-fpioconst.c: New file.
28561 * stdlib/gen-tst-strtod-round.c: Likewise.
28562 * stdlib/tst-strtod-round-data: Likewise.
28563 * stdlib/tst-strtod-round.c: Likewise.
28564 * stdlib/Makefile (tests): Add tst-strtod-round.
28567 * stdlib/strtod_l.c: Include <stdint.h>.
28568 (NDEBUG): Do not define.
28569 (round_and_return): Change EXPONENT parameter to type intmax_t.
28570 Rearrange calculations to avoid internal overflow possibilities.
28571 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28572 Rearrange calculations to avoid internal overflow possibilities.
28573 Assert that number fits inside MPNSIZE limbs.
28574 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28575 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28576 calculations and add assertions to avoid internal overflow
28577 possibilities. Add casts to avoid signed/unsigned operations.
28578 * stdlib/tst-strtod-overflow.c: New file.
28579 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28581 2012-08-25 Marek Polacek <polacek@redhat.com>
28583 * time/time.h: Fix some typos in comments.
28585 2012-08-23 Roland McGrath <roland@hack.frob.com>
28587 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28588 * posix/tst-rfc3484-2.c: Likewise.
28589 * posix/tst-rfc3484-3.c: Likewise.
28591 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28593 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28594 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28596 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28598 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28599 #include of fxstatat64.c.
28601 2012-08-22 Roland McGrath <roland@hack.frob.com>
28603 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28604 * shadow/getspent_r.c: Likewise.
28605 * shadow/getspnam.c: Likewise.
28606 * shadow/getspnam_r.c: Likewise.
28607 * gshadow/getsgent.c: Likewise.
28608 * gshadow/getsgent_r.c: Likewise.
28609 * gshadow/getsgnam.c: Likewise.
28610 * gshadow/getsgnam_r.c: Likewise.
28611 * inet/getnetbyad.c: Likewise.
28612 * inet/getnetbyad_r.c: Likewise.
28613 * inet/getnetbynm.c: Likewise.
28614 * inet/getnetbynm_r.c: Likewise.
28615 * inet/getnetent.c: Likewise.
28616 * inet/getnetent_r.c: Likewise.
28617 * inet/getproto.c: Likewise.
28618 * inet/getproto_r.c: Likewise.
28619 * inet/getprtent.c: Likewise.
28620 * inet/getprtent_r.c: Likewise.
28621 * inet/getprtname.c: Likewise.
28622 * inet/getprtname_r.c: Likewise.
28623 * inet/getrpcbyname.c: Likewise.
28624 * inet/getrpcbyname_r.c: Likewise.
28625 * inet/getrpcbynumber.c: Likewise.
28626 * inet/getrpcbynumber_r.c: Likewise.
28627 * inet/getrpcent.c: Likewise.
28628 * inet/getrpcent_r.c: Likewise.
28629 * inet/getaliasent.c: Likewise.
28630 * inet/getaliasent_r.c: Likewise.
28631 * inet/getaliasname.c: Likewise.
28632 * inet/getaliasname_r.c: Likewise.
28633 * nscd/getgrgid_r.c: Likewise.
28634 * nscd/getgrnam_r.c: Likewise.
28635 * nscd/gethstbyad_r.c: Likewise.
28636 * nscd/gethstbynm3_r.c: Likewise.
28637 * nscd/getpwnam_r.c: Likewise.
28638 * nscd/getpwuid_r.c: Likewise.
28639 * nscd/getsrvbynm_r.c: Likewise.
28640 * nscd/getsrvbypt_r.c: Likewise.
28641 * nscd/gai.c: Likewise.
28643 * configure.in (build_nscd): New substituted variable, set
28644 by --disable-build-nscd and defaults to $use_nscd.
28645 * configure: Regenerated.
28646 * config.make.in (build-nscd): New substituted variable.
28647 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28648 Change conditional to require [$(build-nscd) = yes] as well.
28649 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28652 * configure.in (use_nscd): New substituted variable, set by
28653 --disable-nscd. If enabled, define USE_NSCD.
28654 * configure: Regenerated.
28655 * config.h.in: Add USE_NSCD.
28656 * config.make.in (use-nscd): New substituted variable.
28657 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28658 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28659 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28660 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28661 (CFLAGS-getgrnam_r.c): Likewise.
28662 (CFLAGS-initgroups.c): Likewise.
28663 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28664 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28666 * inet/getnetgrent_r.c
28667 (nscd_setnetgrent): New function, broken out of ...
28668 (setnetgrent): ... here. Call it.
28669 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28670 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28671 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28672 * nscd/Makefile (routines, aux): Move definitions after include of
28673 Makeconfig. Conditionalize on [$(use-nscd) != no].
28674 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28675 Conditionalize on [USE_NSCD].
28676 (is_nscd, nscd_init_cb): Likewise.
28677 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28678 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28679 * nss/nss_db/db-init.c: Likewise.
28680 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28682 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28683 (make_request): Use it.
28684 (cache_valid_p): New function.
28685 (__check_pf): Use it.
28686 * NEWS: Add item for --disable-nscd.
28688 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28690 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28691 to support sed >= 4.2.1-20-ga9bf076.
28692 * configure: Regenerated.
28694 2012-08-22 Roland McGrath <roland@hack.frob.com>
28696 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28697 Conditionalize whole body on [IREL].
28699 2012-08-22 Jeff Law <law@redhat.com>
28702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28703 if the family is PF_UNSPEC.
28705 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28707 * Makerules (lib-version): Rename from V.
28708 (install-lib-nosubdir): Change V to lib-version.
28710 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28713 * powerpc32/power6/wcschr.c: New file.
28714 * powerpc32/power6/wcscpy.c: New file.
28715 * powerpc32/power6/wcsrchr.c: New file.
28716 * powerpc64/power6/wcschr.c: New file.
28717 * powerpc64/power6/wcscpy.c: New file.
28718 * powerpc64/power6/wcsrchr.c: New file.
28720 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28722 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28723 (two_way_short_needle): Use it.
28724 * string/strstr.c (AVAILABLE1_USES_J): Define.
28725 * string/strcasestr.c: Likewise.
28727 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28729 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28732 * NEWS: Add an entry.
28733 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28734 define their defaults.
28735 (two_way_short_needle): Detect end-of-string on-the-fly.
28736 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28737 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28738 * string/bug-strcasestr1.c: New test.
28739 * string/Makefile: Run it.
28741 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28744 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28745 the first character.
28747 2012-08-21 Roland McGrath <roland@hack.frob.com>
28749 * csu/elf-init.c (__libc_csu_irel): Function removed.
28750 * csu/libc-start.c (apply_irel): New function.
28751 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28753 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/unix/sysv/linux/kernel-features.h
28756 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28757 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28758 <kernel-features.h>.
28759 [__NR_fadvise64_64]: Make code unconditional.
28760 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28761 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28762 !__NR_fadvise64_64)]: Likewise.
28763 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28764 !__NR_fadvise64_64))]: Likewise.
28765 [__NR_fadvise64]: Make code unconditional.
28766 [!__NR_fadvise64]: Remove conditional code.
28767 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28768 <kernel-features.h>.
28769 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28771 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28774 not include <kernel-features.h>.
28775 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28777 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28779 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28780 include <kernel-features.h>.
28781 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28783 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28786 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28788 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28789 slight instruction rearrangements per scrollpipe analysis.
28790 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28792 2012-08-20 Roland McGrath <roland@hack.frob.com>
28794 * manual/syslog.texi (syslog; vsyslog, closelog):
28795 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28796 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28798 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28799 DSOCAPS to match condition on defining it.
28801 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28803 * sysdeps/unix/sysv/linux/kernel-features.h
28804 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28806 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28807 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28809 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28810 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28812 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28813 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28815 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28816 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28818 * sysdeps/unix/sysv/linux/kernel-features.h
28819 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28820 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28822 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28823 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28824 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28825 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28826 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28827 Make code unconditional.
28828 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28829 (__mmap64) [!__NR_mmap2]: Likewise.
28830 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28831 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28832 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28833 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28834 [__NR_mmap2]: Make code unconditional.
28835 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28836 (__mmap64) [!__NR_mmap2]: Likewise.
28838 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28840 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28842 2012-08-18 Andreas Jaeger <aj@suse.de>
28844 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28846 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28848 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28849 * include/unistd.h (__have_sock_cloexec): Likewise.
28850 (__have_pipe2): Likewise.
28851 (__have_dup3): Likewise.
28853 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28856 * include/unistd.h (__have_pipe2): Change define into an extern int.
28857 (__have_dup3): Likewise.
28858 * socket/have_sock_cloexec.c: Include fcntl.h.
28859 (__have_pipe2): New variable.
28860 (__have_dup3): Likewise.
28862 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28864 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28866 2012-08-17 Marek Polacek <polacek@redhat.com>
28868 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28869 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28871 2012-08-17 Roland McGrath <roland@hack.frob.com>
28873 * configure.in: Add AC_SUBST for sysheaders.
28874 * configure: Regenerated.
28875 * config.make.in (sysheaders): New substituted variable.
28877 * sysdeps/unix/mkfifo.c: Moved ...
28878 * sysdeps/posix/mkfifo.c: ... here.
28879 * sysdeps/unix/mkfifoat.c: Moved ...
28880 * sysdeps/posix/mkfifoat.c: ... here.
28882 * sysdeps/unix/utime.c: Moved ...
28883 * sysdeps/posix/utime.c: ... here.
28885 * sysdeps/unix/time.c: Moved ...
28886 * sysdeps/posix/time.c: ... here.
28887 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28888 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28890 * sysdeps/unix/nice.c: Moved ...
28891 * sysdeps/posix/nice.c: ... here.
28893 * sysdeps/unix/alarm.c: Moved ...
28894 * sysdeps/posix/alarm.c: ... here.
28896 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28898 2012-08-17 Jeff Law <law@redhat.com>
28900 * intl/Makefile (codeset_mo): New variable.
28901 ($(codeset_mo)): New target.
28902 (tst-codeset.out): Depend on that. Remove explicit rule.
28903 (tst-gettext3.out, tst-gettext5.out): Likewise.
28904 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28905 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28906 * intl/tst-codeset.sh: Remove.
28907 * intl/tst-gettext3.sh: Likewise.
28908 * intl/tst-gettext5.sh: Likewise.
28910 2012-08-17 Roland McGrath <roland@hack.frob.com>
28912 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28913 * sysdeps/unix/syscalls.list: ... here.
28915 * sysdeps/posix/getaddrinfo.c
28916 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28917 (gaiconf_init, gaiconf_reload): Use them.
28918 [!_STATBUF_ST_NSEC]
28919 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28920 Define using time_t rather than struct timespec.
28922 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28923 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28925 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28927 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28928 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28932 __libc_cleanup_push argument.
28934 * bits/param.h: New file.
28935 * misc/sys/param.h: New file.
28936 * include/sys/param.h: New file.
28937 * misc/Makefile (headers): Add bits/param.h.
28938 * sysdeps/generic/sys/param.h: File removed.
28939 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28940 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28941 * sysdeps/mach/hurd/bits/param.h: New file.
28942 * sysdeps/mach/hurd/sys/param.h: File removed.
28944 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28947 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28949 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28950 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28953 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28954 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28955 rather than -D_IO_MTSAFE_IO conditionally.
28956 * stdio-common/Makefile (CPPFLAGS): Likewise.
28957 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28958 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28959 Use $(libio-mtsafe).
28960 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28961 of -D_IO_MTSAFE_IO.
28962 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28963 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28964 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28965 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28966 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28967 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28968 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28969 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28970 (CFLAGS-fread_u_chk.c): Likewise.
28971 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28972 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28973 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28974 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28975 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28976 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28977 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28978 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28979 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28981 * libio/Makefile: Test [$(libc-reentrant) = yes]
28982 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28985 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28986 * sysdeps/pthread/configure: File removed.
28987 * sysdeps/pthread/Makeconfig: New file.
28988 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28989 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28991 2012-08-16 Gary Benson <gbenson@redhat.com>
28993 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28994 unmapping the first object in a namespace.
28996 2012-08-16 Roland McGrath <roland@hack.frob.com>
28998 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28999 (__internal_setnetgrent): ... this. Add internal_function to
29000 definition. Add libc_hidden_def.
29001 (setnetgrent): Update caller.
29002 (internal_endnetgrent): Renamed to ...
29003 (__internal_endnetgrent): ... this. Add internal_function to
29004 definition. Add libc_hidden_def.
29005 (endnetgrent): Update caller.
29006 (internal_getnetgrent_r): Renamed to ...
29007 (__internal_getnetgrent_r): ... this. Add internal_function to
29008 definition. Add libc_hidden_def.
29009 (__getnetgrent_r): Update caller.
29010 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29012 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29014 * stdlib/longlong.h: Update from GCC.
29016 2012-08-16 Roland McGrath <roland@hack.frob.com>
29018 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29019 on _QL, which is set by umul_ppmm but never used.
29020 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29021 variables, which are set by GMP macros but never used.
29022 * stdio-common/_itowa.c (_itowa): Likewise.
29023 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29024 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29026 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29028 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29029 struct La_sh_regs is not constant.
29030 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29031 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29032 and struct La_sparc64_regs are not constant.
29034 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29036 * sysdeps/unix/sysv/linux/kernel-features.h
29037 (__ASSUME_POSIX_TIMERS): Remove.
29038 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29039 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29041 Make code unconditional.
29042 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29043 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29044 Make code unconditional.
29045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29046 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29047 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29049 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29050 Make code unconditional.
29051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29052 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29053 (__libc_missing_posix_timers): Remove.
29055 2012-08-15 Roland McGrath <roland@hack.frob.com>
29057 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29058 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29060 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29062 * elf/dl-sym.c: Include <stdlib.h>.
29064 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29065 constants, which avoids warnings in 32-bit builds.
29067 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29068 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29070 * misc/lseek.c: File moved to ...
29071 * io/lseek.c: ... here.
29073 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29075 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29076 shifting LEN more than 31 bits at once.
29078 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29081 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29082 segmentation fault for a case of two empty input strings.
29083 * string/test-strncasecmp.c (check1): Renamed to...
29084 (bz12205): ...this.
29085 (bz14195): Add new testcase for two empty input strings and N > 0.
29086 (test_main): Call new testcase, adapt for renamed function.
29088 2012-08-15 Andreas Jaeger <aj@suse.de>
29091 * crypt/md5test2.c: New test, based on test supplied by Serge
29092 Belyshev <belyshev@depni.sinp.msu.ru>.
29093 * crypt/Makefile (xtests): Add md5test-giant..
29094 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29096 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29099 * crypt/md5.c (md5_process_block): Don't assume the buffer
29100 length is less than 2**32.
29101 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29102 length is less than 2**64.
29104 2012-08-15 Roland McGrath <roland@hack.frob.com>
29106 * string/str-two-way.h: Include <sys/param.h>.
29107 (MAX): Macro removed.
29109 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29110 Move #define and #undef of memmove to just before and after
29111 including <string.h>.
29113 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29114 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29115 and after including <string.h>. Move declarations of
29116 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29117 to before #include "string/memmove.c".
29119 * include/dirent.h: Declare __getdirentries.
29121 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29122 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29124 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29126 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29127 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29128 * sysdeps/i386/configure: Regenerated.
29129 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29130 STABS_CURRENT_FILE, and STABS_FUN.
29131 (END): Remove call to STABS_FUN_END.
29132 (STABS_CURRENT_FILE1): Delete.
29133 (STABS_CURRENT_FILE): Likewise.
29134 (STABS_FUN): Likewise.
29135 (STABS_FUN_END): Likewise.
29136 (STABS_FUN2): Likewise.
29137 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29138 * sysdeps/x86_64/configure: Regenerated.
29140 2012-08-14 Roland McGrath <roland@hack.frob.com>
29142 * elf/dl-open.c: Include <atomic.h>.
29143 * elf/dl-lookup.c: Likewise.
29145 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29147 * sysdeps/unix/sysv/linux/kernel-features.h
29148 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29149 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29151 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29153 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29154 condition on __ASSUME_CLONE_THREAD_FLAGS.
29156 2012-08-14 Andreas Jaeger <aj@suse.de>
29158 * sysdeps/i386/fpu/libm-test-ulps: Update.
29160 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29162 * include/atomic.h (atomic_exchange_and_add): Split into ...
29163 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29166 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29170 2012-08-13 Jeff Law <law@redhat.com>
29172 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29173 null byte in the output string.
29175 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29177 * sysdeps/unix/sysv/linux/kernel-features.h
29178 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29179 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29180 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29181 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29182 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29183 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29184 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29186 2012-08-09 Jeff Law <law@redhat.com>
29189 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29190 When avoid_arena is set, don't retry in the that arena. Pick the
29191 next one, whatever it might be.
29192 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29193 (arena_lock): Pass in new parameter to arena_get2.
29194 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29196 (__libc_malloc): Unify retrying after main arena failure with
29197 __libc_memalign version.
29198 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29200 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29203 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29204 to __redirect_strstr.
29205 (__strstr_sse42): Use typeof __redirect_strstr.
29206 (__strstr_ia32): Likewise.
29207 (__libc_strstr): New prototype.
29208 (strstr): Renamed to ...
29209 (__libc_strstr): This.
29210 (strstr): New strong alias of __libc_strstr.
29211 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29215 (__libc_time): New prototype.
29216 (time_ifunc): Replace time with __libc_time.
29217 (time): New strong alias and hidden definition of __libc_time.
29218 (__GI_time): Remove strong alias.
29219 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29220 Include <stddef.h>.
29221 (memmove): Redefined to __redirect_memmove.
29222 (__memmove_sse2): Use typeof __redirect_memmove.
29223 (__memmove_ssse3): Likewise.
29224 (__memmove_ssse3_back): Likewise.
29225 (__libc_memmove): New prototype.
29226 (memmove): Renamed to ...
29227 (__libc_memmove): This.
29228 (memmove): New strong alias of __libc_memmove.
29230 2012-08-08 Mark Salter <msalter@redhat.com>
29233 (R_MN10300_TLS_GD): Define.
29234 (R_MN10300_TLS_LD): Likewise.
29235 (R_MN10300_TLS_LDO): Likewise.
29236 (R_MN10300_TLS_GOTIE): Likewise.
29237 (R_MN10300_TLS_IE): Likewise.
29238 (R_MN10300_TLS_LE): Likewise.
29239 (R_MN10300_TLS_DTPMOD): Likewise.
29240 (R_MN10300_TLS_DTPOFF): Likewise.
29241 (R_MN10300_TLS_TPOFF): Likewise.
29242 (R_MN10300_SYM_DIFF): Likewise.
29243 (R_MN10300_ALIGN): Likewise.
29244 (R_MN10300_NUM): Update.
29246 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29248 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29251 2012-08-08 Roland McGrath <roland@hack.frob.com>
29253 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29255 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29256 sysdeps/unix -> sysdeps/posix move.
29257 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29259 2012-08-07 Allan McRae <allan@archlinux.org>
29262 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29263 (SUNOS_CPP): Likewise.
29264 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29266 (open_input): Call CPP using execvp.
29268 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29270 * sysdeps/unix/sysv/linux/kernel-features.h
29271 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29272 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29273 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29274 (__ASSUME_WAITID_SYSCALL): Likewise.
29275 * sysdeps/unix/sysv/linux/dl-execstack.c
29276 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29277 code unconditional.
29278 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29280 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29281 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29282 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29284 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29286 [__ASSUME_WAITID_SYSCALL]: Likewise.
29287 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29289 2012-08-07 Roland McGrath <roland@hack.frob.com>
29291 * sysdeps/unix/closedir.c: Renamed to ...
29292 * sysdeps/posix/closedir.c: ... here.
29293 * sysdeps/unix/dirfd.c: Renamed to ...
29294 * sysdeps/posix/dirfd.c: ... here.
29295 * sysdeps/unix/dirstream.h: Renamed to ...
29296 * sysdeps/posix/dirstream.h: ... here.
29297 * sysdeps/unix/fdopendir.c: Renamed to ...
29298 * sysdeps/posix/fdopendir.c: ... here.
29299 * sysdeps/unix/opendir.c: Renamed to ...
29300 * sysdeps/posix/opendir.c: ... here.
29301 * sysdeps/unix/readdir.c: Renamed to ...
29302 * sysdeps/posix/readdir.c: ... here.
29303 * sysdeps/unix/readdir_r.c: Renamed to ...
29304 * sysdeps/posix/readdir_r.c: ... here.
29305 * sysdeps/unix/rewinddir.c: Renamed to ...
29306 * sysdeps/posix/rewinddir.c: ... here.
29307 * sysdeps/unix/seekdir.c: Renamed to ...
29308 * sysdeps/posix/seekdir.c: ... here.
29309 * sysdeps/unix/telldir.c: Renamed to ...
29310 * sysdeps/posix/telldir.c: ... here.
29311 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29312 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29313 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29314 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29316 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29317 * bits/fcntl.h: ... here.
29319 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29321 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29322 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29323 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29324 (struct flock): Move l_start, l_len to the beginning.
29325 Use __pid_t for l_pid.
29326 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29327 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29328 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29329 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29330 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29331 [__USE_LARGEFILE64] (struct flock64): New type.
29332 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29334 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29335 * bits/dirent.h: ... here.
29337 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29338 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29340 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29342 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29343 Change from 2.6.0 to 2.6.16.
29344 * sysdeps/unix/sysv/linux/configure: Regenerated.
29345 * sysdeps/unix/sysv/linux/kernel-features.h
29346 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29347 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29349 (__ASSUME_UTIMES): Likewise.
29350 (__ASSUME_CLONE_STOPPED): Remove.
29351 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29352 architectures, not kernel version.
29353 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29354 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29355 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29356 (__ASSUME_WAITID_SYSCALL): Likewise.
29357 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29358 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29359 * README: State 2.6.16 as minimum Linux kernel version. Do not
29360 refer to older versions.
29362 2012-08-06 Roland McGrath <roland@hack.frob.com>
29364 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29365 Define alphasort64 as an alias.
29366 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29367 Define versionsort64 as an alias.
29368 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29369 Define scandir64 as an alias.
29370 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29371 Define scandirat64 as an alias.
29372 * dirent/alphasort64.c (alphasort64):
29373 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29374 * dirent/versionsort64.c: Likewise.
29375 * dirent/scandir64.c: Likewise.
29376 * dirent/scandirat64.c: Likewise.
29377 * sysdeps/wordsize-64/alphasort.c: File removed.
29378 * sysdeps/wordsize-64/alphasort64.c: File removed.
29379 * sysdeps/wordsize-64/scandir.c: File removed.
29380 * sysdeps/wordsize-64/scandir64.c: File removed.
29381 * sysdeps/wordsize-64/scandirat.c: File removed.
29382 * sysdeps/wordsize-64/scandirat64.c: File removed.
29383 * sysdeps/wordsize-64/versionsort.c: File removed.
29384 * sysdeps/wordsize-64/versionsort64.c: File removed.
29385 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29386 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29387 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29388 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29389 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29390 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29391 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29392 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29394 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29396 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29397 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29398 [defined __arch64__ || defined __sparcv9]
29399 (__INO_T_MATCHES_INO64_T): New macro.
29400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29401 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29402 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29403 * sysdeps/unix/sysv/linux/bits/dirent.h
29404 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29405 (_DIRENT_MATCHES_DIRENT64): New macro.
29407 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29408 Define lockf64 as an alias.
29409 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29410 Define fseeko64 as an alias.
29411 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29412 Define ftello64 as an alias.
29413 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29414 Define _IO_fgetpos64 and fgetpos64 as aliases.
29415 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29416 Define _IO_fsetpos64 and fsetpos64 as aliases.
29417 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29418 Conditionalize body on this.
29419 * libio/fseeko64.c: Likewise.
29420 * libio/ftello64.c: Likewise.
29421 * libio/iofgetpos64.c: Likewise.
29422 * libio/iofsetpos64.c: Likewise.
29423 * sysdeps/wordsize-64/lockf.c: File removed.
29424 * sysdeps/wordsize-64/lockf64.c: File removed.
29425 * sysdeps/wordsize-64/fseeko.c: File removed.
29426 * sysdeps/wordsize-64/fseeko64.c: File removed.
29427 * sysdeps/wordsize-64/ftello.c: File removed.
29428 * sysdeps/wordsize-64/ftello64.c: File removed.
29429 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29430 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29431 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29432 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29433 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29434 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29435 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29436 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29437 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29438 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29439 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29440 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29441 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29442 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29444 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29446 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29448 [defined __arch64__ || defined __sparcv9]
29449 (__OFF_T_MATCHES_OFF64_T): New macro.
29450 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29451 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29453 (__OFF_T_MATCHES_OFF64_T): New macro.
29455 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29457 * stdlib/secure-getenv.c (__secure_getenv): Replace
29458 GLIBC_2_16 with GLIBC_2_17.
29460 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29462 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29463 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29465 2012-08-03 David S. Miller <davem@davemloft.net>
29467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29469 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29473 (__ASSUME_CORRECT_SI_PID): Likewise.
29474 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29475 (__ASSUME_TMPFS_NAME): Likewise.
29476 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29477 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29478 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29479 (HAVE_AUX_SECURE): Make definition unconditional.
29480 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29481 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29483 2012-08-03 Roland McGrath <roland@hack.frob.com>
29485 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29486 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29487 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29488 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29489 __eloop_threshold instead of SYMLOOP_MAX.
29491 * sysdeps/generic/eloop-threshold.h: New file.
29492 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29494 * elf/chroot_canon.c (chroot_canon): Likewise.
29496 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29500 Change to 2.6.0 everywhere.
29501 * sysdeps/unix/sysv/linux/configure: Regenerated.
29502 * sysdeps/unix/sysv/linux/kernel-features.h
29503 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29504 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29506 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29507 (__ASSUME_FUTEX_REQUEUE): Remove.
29508 (__ASSUME_STATFS64): Define unconditionally.
29509 (__ASSUME_AT_SECURE): Likewise.
29510 (__ASSUME_CORRECT_SI_PID): Likewise.
29511 (__ASSUME_TGKILL): Define without depending on kernel version for
29513 (__ASSUME_UTIMES): Likewise.
29514 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29516 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29517 (__ASSUME_TMPFS_NAME): Likewise.
29518 * README: Update reference to Linux kernel versions.
29520 2012-08-02 Marek Polacek <polacek@redhat.com>
29523 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29524 libc_cv_asm_type_prefix with %.
29525 * configure: Regenerated.
29526 * include/libc-symbols.h: Remove comment about
29527 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29528 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29529 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29530 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29531 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29532 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29533 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29534 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29535 * elf/tst-unique2mod1.c: Likewise.
29536 * elf/tst-unique1mod2.c: Likewise.
29537 * elf/tst-unique1mod1.c: Likewise.
29538 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29539 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29540 Replace ASM_TYPE_DIRECTIVE with .type.
29541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29542 * sysdeps/i386/sysdep.h: Likewise.
29543 * sysdeps/x86_64/sysdep.h: Likewise.
29544 * sysdeps/sh/sysdep.h: Likewise.
29545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29546 Do not define ASM_TYPE_DIRECTIVE.
29547 * sysdeps/powerpc/sysdep.h: Likewise.
29548 * sysdeps/powerpc/powerpc32/sysdep.h:
29549 Replace ASM_TYPE_DIRECTIVE with .type.
29550 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29551 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29552 * sysdeps/i386/fpu/e_powf.S: Likewise.
29553 * sysdeps/i386/fpu/e_expl.S: Likewise.
29554 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29555 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29556 * sysdeps/i386/fpu/e_pow.S: Likewise.
29557 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29558 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29559 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29560 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29561 * sysdeps/i386/fpu/e_log2.S: Likewise.
29562 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29563 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29564 * sysdeps/i386/fpu/e_powl.S: Likewise.
29565 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29566 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29567 * sysdeps/i386/fpu/e_logl.S: Likewise.
29568 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29569 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29570 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29571 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29572 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29573 * sysdeps/i386/fpu/e_log.S: Likewise.
29574 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29575 * sysdeps/i386/fpu/e_logf.S: Likewise.
29576 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29577 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29578 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29579 * sysdeps/i386/fpu/e_log10.S: Likewise.
29580 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29581 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29582 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29583 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29584 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29585 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29586 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29587 * sysdeps/i386/i686/strtok.S: Likewise.
29588 * sysdeps/i386/i386-mcount.S: Likewise.
29589 * sysdeps/i386/strtok.S: Likewise.
29590 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29591 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29592 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29593 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29594 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29595 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29596 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29597 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29599 * sysdeps/x86_64/_mcount.S: Likewise.
29600 * sysdeps/x86_64/strtok.S: Likewise.
29601 * sysdeps/sh/_mcount.S: Likewise.
29603 2012-08-01 Roland McGrath <roland@hack.frob.com>
29605 * libio/iofopen.c: Include <fcntl.h>.
29606 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29607 (_IO_fopen64, fopen64): Define as aliases.
29608 * libio/iofopen64.c: Include <fcntl.h>.
29609 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29610 Conditionalize body on this.
29611 * sysdeps/wordsize-64/iofopen.c: File removed.
29612 * sysdeps/wordsize-64/iofopen64.c: File removed.
29614 2012-08-01 Marek Polacek <polacek@redhat.com>
29616 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29617 Use dlfcn directly instead of a variable.
29618 (binfmt-subdir): Do not define.
29621 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29623 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29624 Remove all definitions.
29625 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29626 <kernel-features.h>.
29627 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29628 (miss_F_GETOWN_EX): Remove all definitions.
29629 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29631 [!__ASSUME_FCNTL64]: Remove conditional code.
29632 [__ASSUME_FCNTL64]: Make code unconditional.
29633 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29634 <kernel-features.h>.
29635 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29636 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29637 (lockf64) [__NR_fcntl64]: Make code unconditional.
29638 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29640 * sysdeps/unix/sysv/linux/kernel-features.h
29641 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29642 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29643 Make code unconditional.
29644 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29645 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29647 [__NR_vfork]: Make code unconditional.
29648 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29649 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29651 [__NR_vfork]: Make code unconditional.
29652 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29653 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29655 2012-08-01 Roland McGrath <roland@hack.frob.com>
29657 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29658 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29660 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29661 Define mkstemp64 as an alias.
29662 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29663 Define mkstemps64 as an alias.
29664 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29665 Define mkostemp64 as an alias.
29666 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29667 Define mkostemps64 as an alias.
29668 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29669 Conditionalize body on this.
29670 * misc/mkostemp64.c: Likewise.
29671 * misc/mkostemps64.c: Likewise.
29672 * misc/mkstemps64.c: Likewise.
29673 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29674 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29675 * sysdeps/wordsize-64/mkostemp.c: File removed.
29676 * sysdeps/wordsize-64/mkstemp.c: File removed.
29677 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29678 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29679 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29680 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29683 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29684 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29685 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29686 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29688 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29689 compat_symbol macros from <shlib-compat.h> rather than the underlying
29690 default_symbol_version and symbol_version macros, so that DEFAULT
29691 lines in shlib-versions are respected.
29692 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29694 2012-08-01 Florian Weimer <fweimer@redhat.com>
29696 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29697 Declare with warn_unused_result.
29698 (setgid, setregid, setegid, setresgid): Likewise.
29699 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29701 * WUR-REPORT: Remove set*id functions.
29703 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29705 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29707 2012-07-31 Roland McGrath <roland@hack.frob.com>
29710 * include/sys/socket.h (__libc_accept, __libc_accept4):
29711 Add attribute_hidden.
29712 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29714 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29716 * inet/getnetgrent_r.c (setup): Likewise.
29718 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29720 2012-07-31 David S. Miller <davem@davemloft.net>
29722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29724 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29727 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29728 value between 1.0 and 2.0 and smaller part has absolute value less
29730 * math/s_clog10.c (__clog10): Likewise.
29731 * math/s_clog10f.c (__clog10f): Likewise.
29732 * math/s_clog10l.c (__clog10l): Likewise.
29733 * math/s_clogf.c (__clogf): Likewise.
29734 * math/s_clogl.c (__clogl): Likewise.
29735 * math/libm-test.inc (clog_test): Add more tests.
29736 (clog10_test): Likewise.
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29740 2012-07-31 Florian Weimer <fweimer@redhat.com>
29742 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29743 Exit with zero in case no suitable GID is found, and write a
29744 message to standard error.
29746 2012-07-30 Roland McGrath <roland@hack.frob.com>
29748 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29750 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29751 (MAXPATHLEN): Removed.
29752 (NOGROUP, NODEV): New macros.
29753 (setbit, clrbit, isset, isclr): New macros.
29754 (howmany, roundup, powerof2): New macros.
29755 (DEV_BSIZE): New macro.
29757 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29758 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29760 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29761 definition on [!__NO_LONG_DOUBLE_MATH].
29763 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29764 PTR_MANGLE and PTR_DEMANGLE.
29766 * socket/accept4.c (accept4): Rename to __libc_accept4.
29767 Define accept4 as a weak alias.
29769 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29770 on [_DIRENT_HAVE_D_TYPE].
29771 * io/ftw.c (ftw_dir): Likewise.
29773 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29775 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29777 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29778 Use the BSD numbers rather than the arbitrary ones we had.
29779 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29780 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29781 (SIGXCPU, SIGXFSZ): New macros.
29784 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29785 initializer on [_LIBC_REENTRANT].
29787 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29788 definitions inside [_POSIX_MAPPED_FILES].
29790 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29792 * dirent/opendir.c: Include <fcntl.h>.
29794 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29795 (__libc_getspecific): Likewise.
29796 (__libc_key_create): Likewise.
29798 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29799 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29800 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29801 (tmpfile64): Define as alias.
29802 * sysdeps/wordsize-64/tmpfile.c: File removed.
29803 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29804 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29805 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29807 * stdio-common/vfscanf.c: Include <stdbool.h>.
29808 * nss/makedb.c: Likewise.
29809 * stdio-common/_i18n_number.h: Likewise.
29810 * argp/argp-help.c: Likewise.
29811 * posix/wordexp.c: Likewise.
29812 * sysdeps/posix/spawni.c: Likewise.
29813 * nss/nss_files/files-initgroups.c: Likewise.
29814 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29815 * nss/nss_files/files-initgroups.c: Likewise.
29816 * nss/nss_db/db-netgrp.c: Likewise.
29817 * nss/nss_db/db-initgroups.c: Likewise.
29818 * io/fchmodat.c: Include <sys/stat.h>.
29820 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29821 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29823 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29826 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29827 Add multiple inclusion protection.
29829 2012-07-27 David S. Miller <davem@davemloft.net>
29831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29833 2012-07-27 Gary Benson <gbenson@redhat.com>
29836 * elf/rtld.c: Include <stap-probe.h>.
29837 (dl_main): Added static probes "init_start" and "init_complete".
29838 * elf/dl-load.c: Include <stap-probe.h>.
29839 (lose): Take new parameter "nsid".
29840 Added static probe "map_failed".
29841 (_dl_map_object_from_fd): Pass namespace id to lose.
29842 Added static probe "map_start".
29843 (open_verify): Pass namespace id to lose.
29844 * elf/dl-open.c: Include <stap-probe.h>.
29845 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29846 and "reloc_complete".
29847 * elf/dl-close.c: Include <stap-probe.h>.
29848 (_dl_close_worker): Added static probes "unmap_start" and
29850 * elf/rtld-debugger-interface.txt: New file documenting the above.
29852 2012-07-26 Roland McGrath <roland@hack.frob.com>
29854 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29855 rather than a string variable.
29856 * sunrpc/rpc_main.c (h_output): Likewise.
29857 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29859 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29861 * inet/check_native.c: New file.
29863 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29866 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29867 if larger part has absolute value 1.0.
29868 * math/s_clog10.c (__clog10): Likewise.
29869 * math/s_clog10f.c (__clog10f): Likewise.
29870 * math/s_clog10l.c (__clog10l): Likewise.
29871 * math/s_clogf.c (__clogf): Likewise.
29872 * math/s_clogl.c (__clogl): Likewise.
29873 * math/libm-test.inc (clog_test): Add more tests.
29874 (clog10_test): Likewise.
29875 * sysdeps/i386/fpu/libm-test-ulps: Update.
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29878 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29879 (pltexit): Likewise.
29880 (La_regs): Likewise.
29881 (La_retval): Likewise.
29882 (int_retval): Likewise.
29883 Update #error for removed macros to refer only to definitions in
29885 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29887 (pltexit): Likewise.
29888 (La_regs): Likewise.
29889 (La_retval): Likewise.
29890 (int_retval): Likewise.
29891 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29893 (pltexit): Likewise.
29894 (La_regs): Likewise.
29895 (La_retval): Likewise.
29896 (int_retval): Likewise.
29897 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29899 (pltexit): Likewise.
29900 (La_regs): Likewise.
29901 (La_retval): Likewise.
29902 (int_retval): Likewise.
29903 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29905 (pltexit): Likewise.
29906 (La_regs): Likewise.
29907 (La_retval): Likewise.
29908 (int_retval): Likewise.
29909 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29911 (pltexit): Likewise.
29912 (La_regs): Likewise.
29913 (La_retval): Likewise.
29914 (int_retval): Likewise.
29915 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29917 (pltexit): Likewise.
29918 (La_regs): Likewise.
29919 (La_retval): Likewise.
29920 (int_retval): Likewise.
29921 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29922 macro definitions in tst-audit.h.
29923 * sysdeps/i386/tst-audit.h: New file.
29924 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29925 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29926 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29927 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29928 * sysdeps/sh/tst-audit.h: Likewise.
29929 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29930 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29931 * sysdeps/x86_64/tst-audit.h: Likewise.
29933 2012-07-26 Andreas Jaeger <aj@suse.de>
29935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29938 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29939 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29940 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29942 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29943 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29944 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29946 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29949 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29951 (si_call_addr, si_syscall, si_arch): Define new macro.
29952 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29954 (si_call_addr, si_syscall, si_arch): Define new marcro.
29955 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29957 (si_call_addr, si_syscall, si_arch): Define new macro.
29958 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29960 (si_call_addr, si_syscall, si_arch): Define new macro.
29962 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29966 Change to 2.4.21 where previously 2.4.1.
29967 * sysdeps/unix/sysv/linux/configure: Regenerated.
29968 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29969 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29970 Linux kernel version.
29971 (__ASSUME_STD_AUXV): Remove.
29972 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29974 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29975 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29976 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29977 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29978 (__ASSUME_NETLINK_SUPPORT): Likewise.
29979 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29980 (__no_netlink_support): Remove conditional definition.
29981 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29983 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29984 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29985 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29986 (if_nameindex_ioctl): Remove.
29987 (if_nameindex_netlink): Do not handle __no_netlink_support.
29988 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29990 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29991 Remove conditional code.
29992 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29994 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29996 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29997 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29998 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30000 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30001 [!__ASSUME_STD_AUXV]: Remove conditional code.
30002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30003 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30004 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30006 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30007 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30009 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30011 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30012 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30014 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30016 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30019 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30022 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30023 code unconditional.
30024 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30026 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30028 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30031 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30033 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30036 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30037 code unconditional.
30038 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30040 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30042 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30045 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30046 code unconditional.
30047 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30049 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30051 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30054 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30056 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30057 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30058 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30059 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30060 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30061 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30062 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30063 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30064 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30065 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30066 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30067 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30068 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30069 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30070 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30072 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30073 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30074 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30076 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30077 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30080 2012-07-25 Florian Weimer <fweimer@redhat.com>
30082 * Versions.def: Add GLIBC_2.17.
30083 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30084 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30085 Introduce __libc_secure_getenv.
30086 * stdlib/Versions (2.17): Add secure_getenv
30087 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30088 * stdlib/secure-getenv.c: Rename __secure_getenv to
30089 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30090 symbol __secure_getenv for GLIBC_2.0.
30091 * stdlib/tst-secure-getenv.c: New.
30092 * stdlib/Makefile (tests): Add testcase.
30093 * manual/startup.texi (Environment Access): Document
30095 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30096 __libc_secure_getenv.
30097 * inet/ruserpass.c (ruserpass): Likewise.
30098 * malloc/mtrace.c (mtrace): Likewise.
30099 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30100 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30101 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30102 * sysdeps/posix/tempname.c: Likewise. Evaluate
30103 HAVE_SECURE_GETENV.
30104 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30105 __secure_getenv to __libc_secure_getenv.
30106 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30113 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30119 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30121 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30122 (struct La_i86_retval): Likewise.
30123 (struct La_x86_64_regs): Likewise.
30124 (struct La_x86_64_retval): Likewise.
30125 (struct La_x32_regs): Likewise.
30126 (struct La_x32_retval): Likewise.
30127 (struct La_ppc32_regs): Likewise.
30128 (struct La_ppc32_retval): Likewise.
30129 (struct La_ppc64_regs): Likewise.
30130 (struct La_ppc64_retval): Likewise.
30131 (struct La_sh_regs): Likewise.
30132 (struct La_sh_retval): Likewise.
30133 (struct La_s390_32_regs): Likewise.
30134 (struct La_s390_32_retval): Likewise.
30135 (struct La_s390_64_regs): Likewise.
30136 (struct La_s390_64_retval): Likewise.
30137 (struct La_sparc32_regs): Likewise.
30138 (struct La_sparc32_retval): Likewise.
30139 (struct La_sparc64_regs): Likewise.
30140 (struct La_sparc64_retval): Likewise.
30141 (struct audit_ifaces): Remove architecture-specific pltenter and
30143 * sysdeps/i386/ldsodefs.h: New file.
30144 * sysdeps/powerpc/ldsodefs.h: Likewise.
30145 * sysdeps/s390/ldsodefs.h: Likewise.
30146 * sysdeps/sh/ldsodefs.h: Likewise.
30147 * sysdeps/sparc/ldsodefs.h: Likewise.
30148 * sysdeps/x86_64/ldsodefs.h: Likewise.
30150 2012-07-25 Marek Polacek <polacek@redhat.com>
30153 * math/libm-test.inc (yn_test): Add another test.
30154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30155 to ERANGE when the result is +-Inf.
30156 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30157 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30158 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30159 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30161 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30163 * conform/data/time.h-data (NULL): Use macro-constant. Require
30165 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30167 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30169 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30171 * configure.in <sysdeps resolving>: Correct printing
30173 * configure: Regenerate.
30175 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30177 * math/w_ilogb.c: Include <limits.h>.
30178 * math/w_ilogbl.c: Likewise.
30180 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30182 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30183 va_copy. Document allowing for unavailable va_copy only as
30184 pre-C99 compatibility.
30185 * manual/string.texi (Copying and Concatenation): Use va_copy
30186 instead of __va_copy in concat example.
30188 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30190 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30191 (__sendto): Use create_address_port. Initialize APORT and deallocate
30194 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30195 with O_NOLINK passed to __file_name_lookup.
30197 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30198 with O_NOLINK passed to __file_name_lookup.
30200 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30201 negative N or less than NGIDS.
30203 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30204 type to string_t. Set ERANGE as errno and return it if NAME is not big
30205 enough. Use memcpy instead of strncpy.
30207 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30209 * elf/Makefile (check-data): Remove.
30210 (localplt.data): New vpath directive.
30211 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30212 instead of $(check-data).
30213 * scripts/data/localplt-generic.data: Move to ...
30214 * sysdeps/generic/localplt.data: ... here.
30215 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30216 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30217 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30220 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30223 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30226 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30229 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30232 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30236 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30238 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30239 PPC32 and PPC64 files.
30240 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30241 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30243 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30245 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30246 __makecontext_ret to ...
30247 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30248 ... here and call exit if uc_link is NULL. New file.
30249 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30250 __makecontext_ret.S.
30251 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30252 __makecontext_ret to ...
30253 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30254 ... here and call exit if uc_link is NULL. New file.
30255 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30256 __makecontext_ret.S.
30258 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30260 * elf/elf.h (R_390_IRELATIVE): New definition.
30261 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30262 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30263 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30264 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30265 (elf_machine_lazy_rel): Likewise.
30266 * sysdeps/s390/dl-irel.h: New file.
30267 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30268 * sysdeps/s390/s390-64/memset.S: New asm code.
30269 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30270 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30271 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30272 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30273 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30274 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30275 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30276 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30277 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30278 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30279 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30280 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30281 * sysdeps/s390/s390-32/memset.S: New asm code.
30282 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30284 2012-07-17 Marek Polacek <polacek@redhat.com>
30287 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30288 * sysdeps/s390/s390-64/configure.in: Likewise.
30289 * sysdeps/sparc/configure.in: Likewise.
30290 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30291 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30292 * sysdeps/i386/configure.in: Likewise.
30293 * sysdeps/x86_64/configure.in: Likewise.
30294 * sysdeps/sh/configure.in: Likewise.
30295 * sysdeps/s390/s390-32/configure: Regenerated.
30296 * sysdeps/s390/s390-64/configure: Likewise.
30297 * sysdeps/x86_64/configure: Likewise.
30298 * sysdeps/sh/configure: Likewise.
30299 * sysdeps/powerpc/powerpc64/configure: Likewise.
30300 * sysdeps/powerpc/powerpc32/configure: Likewise.
30301 * sysdeps/sparc/configure: Likwise.
30302 * sysdeps/i386/configure: Likewise.
30304 * elf/dl-open.c: Comment fixes.
30306 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30308 * Makefile [CXX] (check-data): Remove.
30309 [CXX] (c++-types.data): New vpath directive.
30310 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30311 vpath. Do not allow for C++ type data being missing.
30312 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30313 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30314 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30315 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30316 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30317 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30318 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30321 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30324 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30327 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30330 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30333 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30336 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30339 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30342 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30343 definitions to architecture-specific files.
30344 (TLS_IE): Likewise.
30345 (TLS_LD): Likewise.
30346 (TLS_GD): Likewise.
30347 * sysdeps/i386/tls-macros.h: New file.
30348 * sysdeps/powerpc/tls-macros.h: Likewise.
30349 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30350 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30351 * sysdeps/sh/tls-macros.h: Likewise.
30352 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30353 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30354 * sysdeps/x86_64/tls-macros.h: Likewise.
30356 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30359 zero value for regular exit case.
30361 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30362 (__start_context): Preserve zero value for regular exit case.
30364 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30365 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30367 * manual/setjmp.texi (setcontext): Clarify normal process
30368 termination when uc_link is the null pointer.
30369 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30372 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30374 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30375 preprocessor. Test for each exception mask separately.
30377 2012-07-16 Andreas Jaeger <aj@suse.de>
30379 * po/ru.po: Update from translation team.
30381 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30383 * conform/data/string.h-data (NULL): Use macro-constant. Require
30385 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30386 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30387 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30388 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30391 2012-07-13 Andreas Jaeger <aj@suse.de>
30393 * po/fr.po: Update from translation team.
30395 2012-07-12 Marek Polacek <polacek@redhat.com>
30398 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30399 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30402 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30405 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30406 Change to 2.4.1 where previously 2.4.0.
30407 * sysdeps/unix/sysv/linux/configure: Regenerated.
30408 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30409 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30411 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30412 (__ASSUME_AT_CLKTCK): Remove.
30413 (__ASSUME_AT_PAGESIZE): Likewise.
30414 (__ASSUME_AT_XID): Likewise.
30415 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30416 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30417 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30419 (HAVE_AUX_PAGESIZE): Likewise.
30420 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30421 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30422 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30424 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30428 the temporary buffer used to invoke __gethostbyname2_r,
30429 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30430 host_data / struct gaih_addrtuple.
30431 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30432 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30433 header file nss/nsswitch.h.
30434 * nss/nsswitch.h (global scope): Add definition of implementation
30435 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30436 resolv/nss_dns/dns-host.c).
30438 2012-07-11 Andreas Jaeger <aj@suse.de>
30440 * po/fr.po: Update from translation team.
30442 * po/sv.po: Update from translation team
30443 * po/fr.po: Another update from translation team.
30445 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30447 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30448 for subnormals or multiply small sinh result by itself.
30449 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30452 2012-07-11 David S. Miller <davem@davemloft.net>
30454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30456 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30459 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30460 (INTERNAL_MARK): Shift it here.
30462 2012-07-10 Marek Polacek <polacek@redhat.com>
30465 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30466 libc_cv_asm_global_directive with .globl.
30467 * configure: Regenerated.
30468 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30470 * sysdeps/i386/configure: Regenerated.
30471 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30473 * sysdeps/x86_64/configure: Regenerated.
30474 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30475 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30476 * elf/tst-unique2mod2.c: Likewise.
30477 * elf/tst-unique2mod1.c: Likewise.
30478 * elf/tst-unique1mod2.c: Likewise.
30479 * elf/tst-unique1mod1.c: Likewise.
30480 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30481 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30482 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30483 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30484 * sysdeps/mach/sysdep.h: Likewise.
30485 * sysdeps/i386/sysdep.h: Likewise.
30486 * sysdeps/i386/i386-mcount.S: Likewise.
30487 * sysdeps/x86_64/_mcount.S: Likewise.
30488 * sysdeps/x86_64/sysdep.h: Likewise.
30489 * sysdeps/sh/_mcount.S: Likewise.
30490 * sysdeps/sh/sysdep.h: Likewise.
30491 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30492 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30493 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30494 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30495 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30496 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30497 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30498 * locale/localeinfo.h: Likewise.
30499 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30500 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30502 2012-07-09 Roland McGrath <roland@hack.frob.com>
30505 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30507 * manual/message.texi (The Uniforum approach): Likewise.
30508 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30509 (glibc iconv Implementation): Likewise.
30511 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30514 * math/s_clog.c (__clog): Avoid scaling a value down where that
30515 could result in underflow.
30516 * math/s_clog10.c (__clog10): Likewise.
30517 * math/s_clog10f.c (__clog10f): Likewise.
30518 * math/s_clog10l.c (__clog10l): Likewise.
30519 * math/s_clogf.c (__clogf): Likewise.
30520 * math/s_clogl.c (__clogl): Likewise.
30521 * math/libm-test.inc (clog_test): Add more tests.
30522 (clog10_test): Likewise.
30523 * sysdeps/i386/fpu/libm-test-ulps: Update.
30524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30526 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30529 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30530 by 7 not 8 to examine high bit of fractional part.
30533 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30534 for call to __mcount_internal.
30535 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30536 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30537 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30539 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30542 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30543 approximation for values within 0x1p-13f of an odd multiple of
30545 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30546 exception. Add more tests.
30547 * sysdeps/i386/fpu/libm-test-ulps: Update.
30550 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30551 inputs and return -1 for them. Do not check for +Inf in case not
30552 reachable for +Inf.
30553 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30554 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30555 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30556 and return -1 for them. Do not check for +Inf in case not
30557 reachable for +Inf.
30558 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30561 and return -1 for them. Do not check for +Inf in case not
30562 reachable for +Inf.
30563 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30564 spurious underflow.
30565 * sysdeps/i386/fpu/libm-test-ulps: Update.
30566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30568 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30570 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30572 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30576 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30577 could result in spurious underflow. Scale down values above
30578 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30579 * math/s_csqrtf.c (__csqrtf): Likewise.
30580 * math/s_csqrtl.c (__csqrtl): Likewise.
30581 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30582 spurious underflow.
30583 * sysdeps/i386/fpu/libm-test-ulps: Update.
30584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30586 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30588 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30590 * catgets/xopen-msg.awk: New file.
30591 * catgets/xopen-msg.sed: Removed.
30593 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30595 * intl/po2test.awk: New file.
30596 * intl/po2test.sed: Removed.
30598 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30601 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30602 or multiply small sinh result by itself.
30603 * math/s_ctanf.c (__ctanf): Likewise.
30604 * math/s_ctanh.c (__ctanh): Likewise.
30605 * math/s_ctanhf.c (__ctanhf): Likewise.
30606 * math/s_ctanhl.c (__ctanhl): Likewise.
30607 * math/s_ctanl.c (__ctanl): Likewise.
30608 * math/libm-test.inc (ctan_test_tonearest): New function.
30609 (ctan_test_towardzero): Likewise.
30610 (ctan_test_downward): Likewise.
30611 (ctan_test_upward): Likewise.
30612 (ctanh_test_tonearest): Likewise.
30613 (ctanh_test_towardzero): Likewise.
30614 (ctanh_test_downward): Likewise.
30615 (ctanh_test_upward): Likewise.
30616 (main): Call these new functions.
30617 * sysdeps/i386/fpu/libm-test-ulps: Update.
30618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30620 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30622 * .gitignore: Delete /ports entry.
30624 2012-07-03 Andreas Jaeger <aj@suse.de>
30626 * po/bg.po: Update from translation team.
30627 * po/cs.po: Likewise.
30628 * po/de.po: Likewise.
30629 * po/hr.po: Likewise.
30630 * po/nl.pl: Likewise.
30631 * po/pl.po: Likewise.
30632 * po/vi.po: Likewise.
30634 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30636 * Makeconfig [!+link] (+link-before-libc): New variable.
30637 [!+link] (+link-after-libc): Likewise.
30638 [!+link] (+link-tests): Likewise.
30639 [!+link] (+link): Define in terms of $(+link-before-libc) and
30640 $(+link-after-libc).
30641 [!+link-static] (+link-static-before-libc): New variable.
30642 [!+link-static] (+link-static-after-libc): Likewise.
30643 [!+link-static] (+link-static-tests): Likewise.
30644 [!+link-static] (+link-static): Define in terms of
30645 $(+link-static-before-libc) and $(+link-static-after-libc).
30646 [build-shared] (link-libc-before-gnulib): New variable.
30647 [build-shared] (link-libc-tests): Likewise.
30648 [build-shared] (link-libc): Define in terms of
30649 $(link-libc-before-gnulib).
30650 [!build-shared] (link-libc-tests): New variable.
30651 (link-libc-static-tests): New variable.
30652 [!gnulib] (gnulib-arch): New variable.
30653 [!gnulib] (gnulib-tests): Likewise.
30654 [!gnulib] (static-gnulib-arch): Likewise.
30655 [!gnulib] (static-gnulib-tests): Likewise.
30656 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30657 Define with "=" instead of ":=".
30658 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30659 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30660 * Rules (binaries-all-notests): New variable.
30661 (binaries-all-tests): Likewise.
30662 (binaries-static-notests): Likewise.
30663 (binaries-static-tests): Likewise.
30664 (binaries-all): Define using $(binaries-all-notests) and
30665 $(binaries-all-tests).
30666 (binaries-static): Define using $(binaries-static-notests) and
30667 $(binaries-static-tests).
30668 (binaries-shared-tests): New variable.
30669 (binaries-shared-notests): Likewise.
30670 (binaries-shared): Remove variable.
30671 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30672 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30673 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30674 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30675 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30676 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30677 * elf/Makefile (sln-modules): New variable.
30678 (extra-objs): Add $(sln-modules:=.o).
30679 (ldconfig-modules): Add static-stubs.
30680 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30681 * elf/static-stubs.c: New file.
30684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30685 by 7 not 8 to examine high bit of fractional part. Use volatile
30686 variables when splitting into final array of floats if
30687 __FLT_EVAL_METHOD__ != 0.
30688 * math/libm-test.inc (cos_test): Add another test.
30689 (sin_test): Likewise.
30690 * sysdeps/i386/fpu/libm-test-ulps: Update.
30693 * math/libm-test.inc (cosh_test): Add more tests.
30695 * version.h (RELEASE): Set to "development".
30696 (VERSION): Set to "2.16.90".
30698 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30700 * NEWS: Update copyright. Remove last-updated date.
30701 Mention math library bug fixes and timezone data changes.
30702 * README: Mention GNU/Hurd, x32, and HPPA support status.
30704 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30706 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30708 2012-06-27 Andreas Jaeger <aj@suse.de>
30710 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30712 2012-06-25 Andreas Jaeger <aj@suse.de>
30714 * sysdeps/s390/fpu/libm-test-ulps: Update.
30716 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30717 Thomas Schwinge <thomas@codesourcery.com>
30719 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30720 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30724 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30726 * sysdeps/mach/start.c: Remove file.
30727 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30728 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30729 * sysdeps/sh/init-first.c: Likewise.
30731 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30732 registers for frame unwinding purposes, add CFI directives.
30733 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30734 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30735 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30738 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30739 __fortify_fail returning.
30740 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30742 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30743 sysdeps/sh/____longjmp_chk.S.
30744 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30745 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30746 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30747 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30749 * sysdeps/sh/abort-instr.h: New file.
30750 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30751 process in case exit returns.
30753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30754 initialize the GOT register before use.
30756 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30757 calculation of ARGC > 4.
30759 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30760 meaningful names to some local labels.
30762 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30763 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30765 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30766 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30767 (__arch_compare_and_exchange_val_16_acq): Likewise.
30768 (__arch_compare_and_exchange_val_32_acq): Likewise.
30769 (atomic_exchange_and_add): Fix gUSA sequence.
30770 (atomic_add): Likewise.
30771 (atomic_add_negative): Likewise.
30772 (atomic_add_zero): Likewise.
30773 (atomic_bit_test_set): Likewise.
30775 2012-06-22 Andreas Schwab <schwab@redhat.com>
30778 * include/link.h (struct link_map): Add l_free_initfini.
30779 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30781 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30782 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30783 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30786 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30788 * configure.in: Use AC_LANG_SOURCE.
30789 * configure: Regenerate.
30791 2012-06-22 Roland McGrath <roland@hack.frob.com>
30793 * configure.in (libc_cv_localstatedir): New substituted variable.
30794 * configure: Regenerated.
30795 * config.make.in (localstatedir): New variable, substituted from
30796 libc_cv_localstatedir.
30797 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30798 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30799 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30800 * sysdeps/gnu/configure: Regenerated.
30802 2012-06-21 Jeff Law <law@redhat.com>
30805 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30806 free. Simplify list management for _LIBC case.
30808 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30811 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30812 Clear sign bit of 64-bit integer value before comparing against
30815 * sysdeps/mach/configure: Regenerated.
30817 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30820 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30822 2012-06-21 Jeff Law <law@redhat.com>
30825 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30826 uint16_t for elements in the "seen" array to avoid char overflows.
30827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30828 * elf/dl-open.c (dl_open_worker): Likewise.
30830 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30832 * scripts/list-sources.sh: Scan PORTS for translations.
30833 * po/libc.pot: Regenerated.
30835 2012-06-21 Andreas Jaeger <aj@suse.de>
30838 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30840 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30841 * bits/byteswap-16.h (__bswap_16): Likewise.
30842 * bits/byteswap.h (__bswap_constant_16): Likewise.
30844 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30847 * sysdeps/i386/fpu_control.h: Removed.
30848 * sysdeps/x86_64/fpu_control.h: Moved to ...
30849 * sysdeps/x86/fpu_control.h: Here.
30851 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30852 (_FPU_SETCW): Likewise.
30854 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30857 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30858 * sysdeps/x86/fpu/bits/mathinline.h: This.
30859 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30863 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30864 functions if __x86_64__ is defined.
30866 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30868 * string/endian.h: Add !__ASSEMBLER__ condition for including
30869 conversion interfaces.
30871 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30875 of ABS(x) in calculating zero to negative powers other than odd
30877 * math/libm-test.inc (pow_test): Add more tests.
30879 2012-06-15 Andreas Jaeger <aj@suse.de>
30881 * manual/contrib.texi (Contributors): Update entry of Liubov
30882 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30885 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30887 * string/string.h: Add __wur to GNU version of strerror_r.
30889 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30892 * string/Makefile (tests): Add tst-strtok_r.
30893 * string/tst-strtok_r.c: New file.
30894 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30895 RAX_LP/RDX_LP on SAVE_PTR.
30897 2012-06-14 Roland McGrath <roland@hack.frob.com>
30899 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30901 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30903 * libm_test.inc (csqrt_test): Allow more spurious underflow
30905 (j0_test): Likewise.
30906 (j1_test): Likewise.
30907 (y0_test): Likewise.
30908 (y1_test): Likewise.
30910 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30912 * po/Makefile (libc.pot): Use UTF-8 charset.
30914 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30917 Suppress sign-conversion warning from FD_SET.
30918 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30919 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30920 not unsigned long int.
30921 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30923 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30927 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30928 __extern_always_inline instead of __extern_inline.
30929 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30930 (__signbit): Likewise.
30931 (__signbitl): Support C++ namespace.
30932 (lrintf): New inline function.
30934 (llrintf): Likewise.
30935 (llrint): Likewise.
30945 (floorf): Likewise.
30946 (nearbyint): Likewise.
30947 (nearbyintf): Likewise.
30949 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30951 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30952 non-default versions.
30954 2012-06-11 Roland McGrath <roland@hack.frob.com>
30957 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30959 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30961 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30962 (FE_UPWARD, FE_DOWNWARD): Don't define.
30963 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30966 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30968 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30969 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30971 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30973 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30975 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30976 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30978 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30981 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30982 * sysdeps/i386/fpu/Implies: New file.
30983 * sysdeps/x86_64/fpu/Implies: Likewise.
30984 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30985 * sysdeps/x86/fpu/bits/fenv.h: This.
30987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30990 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30993 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30994 character 0xffff that matches the last element of the
30997 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30999 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31002 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31005 values higher than 25.6283.
31007 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31009 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31010 subnormal exponent extraction and add some __builtin_expect.
31011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31012 Fix for subnormal mantissa calculation.
31014 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31016 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31017 cpu2 is -1 and errno is not ENOSYS.
31019 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31022 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31023 * sysdeps/x86/bits/string.h: This.
31024 * sysdeps/x86_64/bits/string.h: Removed.
31026 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31027 if not compiling for x86-64, but compiling for >= i486.
31029 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31030 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31032 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31033 New macro from Linux kernel 3.4.0.
31034 (FP_XSTATE_MAGIC2): Likewise.
31035 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31036 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31037 (struct _fpx_sw_bytes): New struct.
31038 (struct _xsave_hdr): Likewise.
31039 (struct _ymmh_state): Likewise.
31040 (struct _xstate): Likewise.
31042 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31043 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31044 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31045 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31046 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31047 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31049 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31050 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31051 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31052 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31053 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31054 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31056 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31059 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31060 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31061 (sysdep_headers): Include sys/platform/ppc.h.
31062 * sysdeps/powerpc/test-gettimebase.c: Test for
31063 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31064 * manual/Makefile (appendices): Include platform.texi.
31065 * manual/contrib.texi (Contributors): Update @node pointers.
31066 * manual/maint.texi (Maintenance): Likewise.
31067 (Platform): New node.
31068 * manual/platform.texi: New file. Document the new features.
31070 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31071 Jakub Jelinek <jakub@redhat.com>
31074 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31075 where __builtin_expect is unavailable.
31077 2012-06-03 David S. Miller <davem@davemloft.net>
31079 * stdlib/longlong.h: Updated from GCC.
31081 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31084 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31085 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31088 (GLIBC_2.16): Likewise.
31090 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31092 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31094 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31097 (default-abi): New variable.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31099 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31101 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31103 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31105 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31108 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31109 definition. Document in comment.
31111 2012-06-01 David S. Miller <davem@davemloft.net>
31113 * stdlib/longlong.h: Updated from GCC.
31115 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31118 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31119 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31120 sys/debugreg.h sys/io.h here.
31121 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31122 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31124 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31125 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31126 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31127 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31128 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31129 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31132 Define only if __x86_64__ is defined.
31134 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31137 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31138 Use int64_t for variable i.
31139 * math/libm-test.inc (fmod_test): Add more tests.
31141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31142 z computation is not scheduled after fetestexcept.
31143 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31144 Use math_force_eval instead of asm to ensure calculation scheduled
31145 before exception test.
31146 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31147 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31149 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31152 computation is not scheduled after fetestexcept.
31154 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31157 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31158 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31160 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31162 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31163 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31165 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31168 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31170 (__WCHAR_MIN): Support __WORDSIZE == 64.
31171 (__WCHAR_MAX): Likewise.
31173 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31174 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31178 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31181 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31182 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31184 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31185 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31187 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31188 Defined to 1 if __x86_64__ isn't defined.
31189 (_STAT_VER_LINUX_OLD): New.
31190 (st_atime): Remove duplicate.
31191 (st_mtime): Likewise.
31192 (st_ctime): Likewise.
31194 2012-05-31 David S. Miller <davem@davemloft.net>
31196 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31199 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31201 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31205 * elf/dl-reloc.c: Include <_itoa.h>.
31206 (_dl_reloc_bad_type): Remove use of INTUSE.
31207 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31208 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31209 * stdio-common/psiginfo.c (psiginfo): Likewise.
31210 * stdio-common/psignal.c (psignal): Likewise.
31211 * string/strsignal.c (strsignal): Likewise.
31212 * include/signal.h (_sys_siglist): Declare hidden proto.
31213 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31214 INTVARDEF with libc_hidden_data_def.
31215 * stdio-common/itoa-udigits.c: Likewise.
31216 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31217 (_itoa_lower_digits_internal): Remove declaration.
31218 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31219 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31220 (_sys_sigabbrev_internal): Remove aliases.
31221 (_sys_siglist): Define hidden alias.
31223 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31228 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31231 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31232 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31234 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31235 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31236 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31237 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31238 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31239 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31241 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31242 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31243 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31245 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31253 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31254 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31255 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31257 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31258 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31259 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31260 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31261 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31262 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31264 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31265 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31267 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31268 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31272 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31274 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31275 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31277 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31279 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31280 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31281 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31283 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31285 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31287 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31289 * math/math.h (M_El): Use two more decimal places.
31290 (M_LOG2El): Likewise.
31291 (M_LOG10El): Likewise.
31292 (M_LN2l): Likewise.
31293 (M_LN10l): Likewise.
31295 (M_PI_2l): Likewise.
31296 (M_PI_4l): Likewise.
31297 (M_1_PIl): Likewise.
31298 (M_2_PIl): Likewise.
31299 (M_2_SQRTPIl): Likewise.
31300 (M_SQRT2l): Likewise.
31301 (M_SQRT1_2l): Likewise.
31303 2012-05-31 David S. Miller <davem@davemloft.net>
31305 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31306 values between float registers.
31307 * sysdeps/sparc/sparc64/memset.S: Likewise.
31308 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31310 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31312 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31313 -D_FORTIFY_SOURCE=1.
31314 (CPPFLAGS-tst-longjmp_chk.c): Define.
31315 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31316 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31317 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31318 CFLAGS-tst-wchar-h.c.
31320 2012-05-31 Marek Polacek <polacek@redhat.com>
31323 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31324 __endmntent_internal): Remove declaration.
31325 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31326 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31327 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31329 2012-05-30 David S. Miller <davem@davemloft.net>
31331 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31332 (___Q_simulate_exceptions): Use real FP ops rather than writing
31334 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31337 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31340 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31341 * sysdeps/x86/bits/xtitypes.h: This.
31343 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31344 * sysdeps/x86/bits/wordsize.h: This.
31346 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31347 * sysdeps/x86/bits/huge_vall.h: This.
31349 * sysdeps/i386/bits/select.h: Removed.
31350 * sysdeps/x86_64/bits/select.h: Renamed to ...
31351 * sysdeps/x86/bits/select.h: This.
31353 * sysdeps/i386/bits/setjmp.h: Removed.
31354 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31355 * sysdeps/x86/bits/setjmp.h: This.
31357 * sysdeps/i386/bits/mathdef.h: Removed.
31358 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31359 * sysdeps/x86/bits/mathdef.h: This.
31361 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31364 * include/sys/socket.h (__connect_internal)
31365 (__libc_sa_len_internal): Remove declaration.
31366 (__connect, __libc_sa_len): Declare hidden_proto.
31367 (SA_LEN): Remove use of INTUSE.
31368 * socket/connect.c: Add libc_hidden_def.
31369 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31370 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31371 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31373 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31374 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31375 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31376 of adding _internal alias.
31378 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31381 * sysdeps/i386/bits/link.h: Removed.
31382 * sysdeps/i386/bits/linkmap.h: Likewise.
31383 * sysdeps/x86_64/bits/link.h: Renamed to ...
31384 * sysdeps/x86/bits/link.h: This.
31385 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31386 * sysdeps/x86/bits/linkmap.h: This.
31388 * sysdeps/i386/bits/endian.h: Removed.
31389 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31390 * sysdeps/x86/bits/endian.h: This.
31392 * sysdeps/i386/bits/byteswap.h: Removed.
31393 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31394 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31395 * sysdeps/x86/bits/byteswap.h: This.
31396 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31397 * sysdeps/x86/bits/byteswap-16.h: This.
31398 * sysdeps/i386/Implies: Add x86.
31399 * sysdeps/x86_64/Implies: Likewise.
31401 2012-05-30 David S. Miller <davem@davemloft.net>
31403 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31404 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31406 (FP_TRAPPING_EXCEPTIONS): Define.
31407 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31408 (FP_TRAPPING_EXCEPTIONS): Define.
31409 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31410 subnormals only when inexact has been signalled or underflow
31411 exceptions are enabled.
31412 (_FP_PACK_CANONICAL): Likewise.
31414 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31417 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31418 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31420 2012-05-30 Richard Henderson <rth@twiddle.net>
31422 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31423 with #ifndef NOT_IN_libc.
31425 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31426 marked to avoid plt entry.
31428 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31431 * Makeconfig (default-abi): New macro.
31432 (abi-includes): Likewise.
31433 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31434 $(abi-$(default-abi)-lib-soname) for soname if defined.
31435 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31437 * Makefile (installed-stubs): Likewise.
31438 * include/stubs-biarch.h: Removed.
31439 * scripts/lib-names.awk: Only handle one library at a time.
31440 * scripts/soversions.awk: Remove WORDSIZE support.
31441 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31443 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31445 (syscall-list-default-condition): Likewise.
31446 (syscall-list-default-condition): Likewise.
31447 (syscall-list-includes): Likewise.
31448 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31449 syscall-list-* with abi-*. Handle undefined abi-variants.
31450 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31451 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31452 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31453 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31454 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31455 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31457 (syscall-list-32-options): Likewise.
31458 (syscall-list-32-condition): Likewise.
31459 (syscall-list-64-options): Likewise.
31460 (syscall-list-64-condition): Likewise.
31461 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31463 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31466 (abi-64-ld-soname): New macro.
31467 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31468 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31471 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31472 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31474 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31476 * sysdeps/unix/sysv/linux/kernel-features.h
31477 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31478 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31479 include <kernel-features.h>.
31480 [!__NR_ftruncate64]: Remove conditional code.
31481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31482 [__NR_ftruncate64]: Make code unconditional.
31483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31484 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31485 include <kernel-features.h>.
31486 [!__NR_ftruncate64]: Remove conditional code.
31487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31488 [__NR_ftruncate64]: Make code unconditional.
31489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31491 include <kernel-features.h>.
31492 [!__NR_ftruncate64]: Remove conditional code.
31493 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31494 [__NR_ftruncate64]: Make code unconditional.
31495 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31497 include <kernel-features.h>.
31498 [!__NR_ftruncate64]: Remove conditional code.
31499 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31500 [__NR_ftruncate64]: Make code unconditional.
31501 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31503 * configure.in (libc_cv_fpie): Weaken to a compile test using
31504 LIBC_TRY_CC_OPTION.
31505 * configure: Regenerated.
31507 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31522 2012-05-27 David S. Miller <davem@davemloft.net>
31524 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31526 (__Q_simulate_exceptions): Return void. Change to simulate
31527 exceptions by writing into the %fsr.
31528 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31529 (__Qp_handle_exceptions): Likewise.
31531 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31532 __Qp_handle_exceptions.
31533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31534 __Qp_handle_exceptions.
31535 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31536 as unused and give dummy FP_RND_NEAREST initializer.
31537 (FP_INHIBIT_RESULTS): Define.
31538 (___Q_simulate_exceptions): Update declaration.
31539 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31542 as unused and give dummy FP_RND_NEAREST initializer.
31543 (__Qp_handle_exceptions): Update declaration.
31544 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31547 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31549 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31550 the temporary FPU control word.
31551 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31552 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31553 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31554 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31555 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31556 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31557 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31558 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31559 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31560 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31561 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31563 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31565 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31568 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31570 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31571 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31572 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31573 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31575 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31576 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31579 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31581 * po/h.po: Update from translation team.
31583 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31585 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31587 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31588 handling of denormals.
31589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31590 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31591 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31592 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31598 2012-05-26 Marek Polacek <polacek@redhat.com>
31601 * math/libm-test.inc (fma_test): Don't always expect underflow
31604 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31607 * elf/tst-execstack.c: Include stackinfo.h.
31608 (do_test): Adjust test case to ensure that pthread_getattr_np
31609 behaviour remains the same after marking stack executable.
31611 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31613 * sysdeps/unix/sysv/linux/kernel-features.h
31614 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31615 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31617 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31618 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31619 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31621 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31622 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31624 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31626 * configure.in: Define the default includes to being none.
31627 * configure: Regenerated.
31629 2012-05-25 Roland McGrath <roland@hack.frob.com>
31631 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31632 * sysdeps/x86_64/setjmp.S: Likewise.
31633 * sysdeps/i386/bsd-setjmp.S: Likewise.
31634 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31635 * sysdeps/i386/setjmp.S: Likewise.
31636 * sysdeps/i386/__longjmp.S: Likewise.
31637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31638 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31640 * include/stap-probe.h: New file.
31641 * configure.in: Handle --enable-systemtap.
31642 * configure: Regenerated.
31643 * config.h.in (USE_STAP_PROBE): New #undef.
31644 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31645 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31646 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31648 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31652 to 2.4.0 where earlier.
31653 * sysdeps/unix/sysv/linux/configure: Regenerated.
31654 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
31663 [__ASSUME_32BITUIDS]: Make code unconditional.
31664 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31665 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31666 <kernel-features.h>.
31667 [__ASSUME_32BITUIDS]: Make code unconditional.
31668 [!__ASSUME_32BITUIDS]: Remove conditional code.
31669 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31670 <kernel-features.h>.
31671 [__ASSUME_32BITUIDS]: Make code unconditional.
31672 [!__ASSUME_32BITUIDS]: Remove conditional code.
31673 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31674 <kernel-features.h>.
31675 [__ASSUME_32BITUIDS]: Make code unconditional.
31676 [!__ASSUME_32BITUIDS]: Remove conditional code.
31677 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31678 <kernel-features.h>.
31679 [__ASSUME_32BITUIDS]: Make code unconditional.
31680 [!__ASSUME_32BITUIDS]: Remove conditional code.
31681 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31682 <kernel-features.h>.
31683 [__ASSUME_32BITUIDS]: Make code unconditional.
31684 [!__ASSUME_32BITUIDS]: Remove conditional code.
31685 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31686 <kernel-features.h>.
31687 [__ASSUME_32BITUIDS]: Make code unconditional.
31688 [!__ASSUME_32BITUIDS]: Remove conditional code.
31689 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31690 <kernel-features.h>.
31691 [__ASSUME_32BITUIDS]: Make code unconditional.
31692 [!__ASSUME_32BITUIDS]: Remove conditional code.
31693 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31694 <kernel-features.h>.
31695 [__ASSUME_32BITUIDS]: Make code unconditional.
31696 [!__ASSUME_32BITUIDS]: Remove conditional code.
31697 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31698 <kernel-features.h>.
31699 [__ASSUME_32BITUIDS]: Make code unconditional.
31700 [!__ASSUME_32BITUIDS]: Remove conditional code.
31701 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31702 <kernel-features.h>.
31703 [__ASSUME_32BITUIDS]: Make code unconditional.
31704 [!__ASSUME_32BITUIDS]: Remove conditional code.
31705 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31706 <kernel-features.h>.
31707 [__NR_setresgid] (__setresgid): Do not declare.
31708 [__ASSUME_32BITUIDS]: Make code unconditional.
31709 [!__ASSUME_32BITUIDS]: Remove conditional code.
31710 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31711 <kernel-features.h>.
31712 [__NR_setresuid] (__setresuid): Do not declare.
31713 [__ASSUME_32BITUIDS]: Make code unconditional.
31714 [!__ASSUME_32BITUIDS]: Remove conditional code.
31715 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31716 <kernel-features.h>.
31717 [__ASSUME_32BITUIDS]: Make code unconditional.
31718 [!__ASSUME_32BITUIDS]: Remove conditional code.
31719 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31720 <kernel-features.h>.
31721 [__ASSUME_32BITUIDS]: Make code unconditional.
31722 [!__ASSUME_32BITUIDS]: Remove conditional code.
31723 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31724 <kernel-features.h>.
31725 [__ASSUME_32BITUIDS]: Make code unconditional.
31726 [!__ASSUME_32BITUIDS]: Remove conditional code.
31727 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31728 <kernel-features.h>.
31729 [__ASSUME_32BITUIDS]: Make code unconditional.
31730 [!__ASSUME_32BITUIDS]: Remove conditional code.
31731 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31732 <kernel-features.h>.
31733 [__ASSUME_32BITUIDS]: Make code unconditional.
31734 [!__ASSUME_32BITUIDS]: Remove conditional code.
31735 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31736 <kernel-features.h>.
31737 [__ASSUME_32BITUIDS]: Make code unconditional.
31738 [!__ASSUME_32BITUIDS]: Remove conditional code.
31739 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31740 <kernel-features.h>.
31741 [__ASSUME_32BITUIDS]: Make code unconditional.
31742 [!__ASSUME_32BITUIDS]: Remove conditional code.
31743 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31744 <kernel-features.h>.
31745 [__ASSUME_32BITUIDS]: Make code unconditional.
31746 [!__ASSUME_32BITUIDS]: Remove conditional code.
31747 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31748 <kernel-features.h>.
31749 [__ASSUME_32BITUIDS]: Make code unconditional.
31750 [!__ASSUME_32BITUIDS]: Remove conditional code.
31751 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31752 <kernel-features.h>.
31753 [__ASSUME_32BITUIDS]: Make code unconditional.
31754 [!__ASSUME_32BITUIDS]: Remove conditional code.
31755 * sysdeps/unix/sysv/linux/kernel-features.h
31756 (__ASSUME_SETRESUID_SYSCALL): Remove.
31757 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31758 (__ASSUME_32BITUIDS): Likewise.
31759 (__ASSUME_LDT_WORKS): Likewise.
31760 (__ASSUME_O_DIRECTORY): Likewise.
31761 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31762 architecture but not kernel version.
31763 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31764 (__ASSUME_MMAP2_SYSCALL): Likewise.
31765 (__ASSUME_STAT64_SYSCALL): Likewise.
31766 (__ASSUME_IPC64): Likewise.
31767 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31768 <kernel-features.h>.
31769 [__ASSUME_32BITUIDS]: Make code unconditional.
31770 [!__ASSUME_32BITUIDS]: Remove conditional code.
31771 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31772 <kernel-features.h>.
31773 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31774 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31775 132096]: Remove conditional code.
31776 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31777 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31778 <kernel-features.h>.
31779 [__ASSUME_32BITUIDS]: Make code unconditional.
31780 [!__ASSUME_32BITUIDS]: Remove conditional code.
31781 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31782 <kernel-features.h>.
31783 [__ASSUME_32BITUIDS]: Make code unconditional.
31784 [!__ASSUME_32BITUIDS]: Remove conditional code.
31785 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31786 <kernel-features.h>.
31787 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31789 (__setresgid): Do not declare.
31790 [__ASSUME_32BITUIDS]: Make code unconditional.
31791 [!__ASSUME_32BITUIDS]: Remove conditional code.
31792 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31793 <kernel-features.h>.
31794 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31796 (__setresuid): Do not declare.
31797 [__ASSUME_32BITUIDS]: Make code unconditional.
31798 [!__ASSUME_32BITUIDS]: Remove conditional code.
31799 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31800 <kernel-features.h>.
31801 [__ASSUME_32BITUIDS]: Make code unconditional.
31802 [!__ASSUME_32BITUIDS]: Remove conditional code.
31803 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31804 <kernel-features.h>.
31805 [__ASSUME_32BITUIDS]: Make code unconditional.
31806 [!__ASSUME_32BITUIDS]: Remove conditional code.
31808 2012-05-25 Richard Henderson <rth@twiddle.net>
31810 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31811 dl_hwcap to ifunc resolver.
31812 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31814 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31815 dl_hwcap to ifunc resolver.
31816 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31818 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31821 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31822 for |x| <= 2**-26, not 2**-57.
31823 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31826 2012-05-24 Jeff Law <law@redhat.com>
31828 * stdio-common/Makefile (tests): Add bug25.
31829 * stdio-common/bug25.c: New test.
31831 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31834 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31835 multiple of MALLOC_ALIGNMENT in size.
31836 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31838 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31840 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31842 (FILENAME_MAX): Use macro-int-constant.
31843 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31844 (_IOFBF): Use macro-int-constant.
31845 (_IOLBF): Likewise.
31846 (_IONBF): Likewise.
31847 (SEEK_CUR): Likewise.
31848 (SEEK_END): Likewise.
31849 (SEEK_SET): Likewise.
31850 (TMP_MAX): Likewise.
31851 (EOF): Use macro-int-constant. Require < 0.
31852 (NULL): Use macro-constant. Require == 0.
31853 (stdin): Require type to be FILE *.
31854 (stdout): Likewise.
31855 (stderr): Likewise.
31856 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31857 macro-int-constant.
31858 (EXIT_SUCCESS): Likewise.
31859 (NULL): Use macro-constant. Require == 0.
31860 (RAND_MAX): Use macro-int-constant.
31861 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31862 [C99-based standards] (strtof): Require function.
31863 [C99-based standards] (strtold): Likewise.
31864 [C99-based standards] (strtoll): Likewise.
31865 [C99-based standards] (strtoull): Likewise.
31866 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31867 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31868 [ISO || ISO99 || ISO11] (math.h): Likewise.
31869 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31870 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31873 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31876 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31877 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31878 * intl/dgettext.c (DCGETTEXT): Likewise.
31879 * intl/gettext.c (DCGETTEXT): Likewise.
31880 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31881 * posix/regex_internal.h (gettext): Likewise.
31882 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31883 Remove declaration.
31884 * include/argz.h (__argz_count_internal)
31885 (__argz_stringify_internal): Remove declaration.
31886 (__argz_count, __argz_stringify): Declare hidden proto.
31887 * intl/dcgettext.c: Remove use of INTDEF.
31888 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31889 * string/argz-stringify.c: Likewise.
31890 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31891 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31892 Declare hidden proto.
31893 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31894 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31895 Declare hidden proto.
31896 * include/stdio.h (__asprintf_internal): Don't declare.
31897 (__asprintf): Don't define as macro. Declare hidden proto.
31898 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31899 (__fsetlocking): Declare hidden proto.
31900 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31901 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31903 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31904 (_IO_setlinebuf): Remove use of INTUSE.
31905 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31906 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31907 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31908 Remove declaration.
31909 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31910 (_IO_do_flush): Remove use of INTUSE.
31911 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31912 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31913 (_IO_adjust_column, _IO_least_wmarker)
31914 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31915 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31916 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31917 (_IO_default_doallocate, _IO_wdefault_doallocate)
31918 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31919 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31920 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31921 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31922 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31923 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31924 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31925 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31926 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31927 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31928 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31929 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31930 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31932 (_IO_flush_all_internal, _IO_adjust_column_internal)
31933 (_IO_default_uflow_internal, _IO_default_finish_internal)
31934 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31935 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31936 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31937 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31938 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31939 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31940 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31941 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31942 (_IO_file_close_internal, _IO_file_close_it_internal)
31943 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31944 (_IO_file_init_internal, _IO_file_attach_internal)
31945 (_IO_file_fopen_internal, _IO_file_read_internal)
31946 (_IO_file_sync_internal, _IO_file_seek_internal)
31947 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31948 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31949 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31950 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31951 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31952 (_IO_list_all_internal, _IO_link_in_internal)
31953 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31954 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31955 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31956 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31957 (_IO_do_write_internal, _IO_padn_internal)
31958 (_IO_getline_info_internal, _IO_getline_internal)
31959 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31960 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31961 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31962 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31963 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31964 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31965 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31966 with libc_hidden_ver, remove use of INTUSE.
31967 * libio/genops.c: Likewise.
31968 * libio/freopen.c: Likewise.
31969 * libio/freopen64.c: Likewise.
31970 * libio/iofclose.c: Likewise.
31971 * libio/iofdopen.c: Likewise.
31972 * libio/iofflush.c: Likewise.
31973 * libio/iofflush_u.c: Likewise.
31974 * libio/iofgets.c: Likewise.
31975 * libio/iofgets_u.c: Likewise.
31976 * libio/iofopen.c: Likewise.
31977 * libio/iofopncook.c: Likewise.
31978 * libio/iofread.c: Likewise.
31979 * libio/iofread_u.c: Likewise.
31980 * libio/ioftell.c: Likewise.
31981 * libio/iofwrite.c: Likewise.
31982 * libio/iogetline.c: Likewise.
31983 * libio/iogets.c: Likewise.
31984 * libio/iogetwline.c: Likewise.
31985 * libio/iopadn.c: Likewise.
31986 * libio/iopopen.c: Likewise.
31987 * libio/ioseekoff.c: Likewise.
31988 * libio/ioseekpos.c: Likewise.
31989 * libio/iosetbuffer.c: Likewise.
31990 * libio/iosetvbuf.c: Likewise.
31991 * libio/ioungetc.c: Likewise.
31992 * libio/ioungetwc.c: Likewise.
31993 * libio/iovdprintf.c: Likewise.
31994 * libio/iovsprintf.c: Likewise.
31995 * libio/iovsscanf.c: Likewise.
31996 * libio/memstream.c: Likewise.
31997 * libio/obprintf.c: Likewise.
31998 * libio/oldfileops.c: Likewise.
31999 * libio/oldiofclose.c: Likewise.
32000 * libio/oldiofdopen.c: Likewise.
32001 * libio/oldiofopen.c: Likewise.
32002 * libio/oldiopopen.c: Likewise.
32003 * libio/oldstdfiles.c: Likewise.
32004 * libio/putc.c: Likewise.
32005 * libio/setbuf.c: Likewise.
32006 * libio/setlinebuf.c: Likewise.
32007 * libio/stdfiles.c: Likewise.
32008 * libio/strops.c: Likewise.
32009 * libio/vasprintf.c: Likewise.
32010 * libio/vscanf.c: Likewise.
32011 * libio/vsnprintf.c: Likewise.
32012 * libio/vswprintf.c: Likewise.
32013 * libio/wfiledoalloc.c: Likewise.
32014 * libio/wfileops.c: Likewise.
32015 * libio/wgenops.c: Likewise.
32016 * libio/wmemstream.c: Likewise.
32017 * libio/wstrops.c: Likewise.
32018 * libio/__fpurge.c: Likewise.
32019 * libio/__fsetlocking.c: Likewise.
32020 * assert/assert.c: Likewise.
32021 * debug/fgets_chk.c: Likewise.
32022 * debug/fgets_u_chk.c: Likewise.
32023 * debug/fread_chk.c: Likewise.
32024 * debug/fread_u_chk.c: Likewise.
32025 * debug/gets_chk.c: Likewise.
32026 * debug/obprintf_chk.c: Likewise.
32027 * debug/vasprintf_chk.c: Likewise.
32028 * debug/vdprintf_chk.c: Likewise.
32029 * debug/vsnprintf_chk.c: Likewise.
32030 * debug/vsprintf_chk.c: Likewise.
32031 * malloc/mtrace.c: Likewise.
32032 * misc/error.c: Likewise.
32033 * misc/syslog.c: Likewise.
32034 * stdio-common/asprintf.c: Likewise.
32035 * stdio-common/fxprintf.c: Likewise.
32036 * stdio-common/getw.c: Likewise.
32037 * stdio-common/isoc99_fscanf.c: Likewise.
32038 * stdio-common/isoc99_scanf.c: Likewise.
32039 * stdio-common/isoc99_vfscanf.c: Likewise.
32040 * stdio-common/isoc99_vscanf.c: Likewise.
32041 * stdio-common/isoc99_vsscanf.c: Likewise.
32042 * stdio-common/printf-prs.c: Likewise.
32043 * stdio-common/printf_fp.c: Likewise.
32044 * stdio-common/printf_fphex.c: Likewise.
32045 * stdio-common/printf_size.c: Likewise.
32046 * stdio-common/putw.c: Likewise.
32047 * stdio-common/scanf.c: Likewise.
32048 * stdio-common/sprintf.c: Likewise.
32049 * stdio-common/tmpfile.c: Likewise.
32050 * stdio-common/vfprintf.c: Likewise.
32051 * stdio-common/vfscanf.c: Likewise.
32052 * stdlib/strfmon_l.c: Likewise.
32053 * sunrpc/openchild.c: Likewise.
32054 * sunrpc/xdr_stdio.c: Likewise.
32055 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32056 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32058 2012-05-24 Roland McGrath <roland@hack.frob.com>
32060 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32062 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32063 in the third column, to generate for the shared library an IFUNC
32064 that uses _dl_vdso_vsym.
32065 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32066 * Makeconfig (object-suffixes-noshared): New variable.
32068 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32069 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32070 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32071 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32074 * include/sys/time.h (__gettimeofday): Remove macro.
32075 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32076 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32078 (__gettimeofday): Add libc_hidden_def.
32079 (gettimeofday): Add libc_hidden_weak.
32080 * sysdeps/mach/gettimeofday.c: Likewise.
32081 * sysdeps/posix/gettimeofday.c: Likewise.
32082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32083 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32085 (__gettimeofday_internal): Remove strong_alias.
32086 (__gettimeofday): Add libc_hidden_def.
32087 (gettimeofday): Add libc_hidden_weak.
32088 * sysdeps/unix/syscalls.list (gettimeofday):
32089 Remove __gettimeofday_internal alias.
32091 2012-05-24 Daniel Jacobowitz <drow@false.org>
32092 H.J. Lu <hongjiu.lu@intel.com>
32095 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32096 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32097 (largebin_index_32_big): New.
32098 (largebin_index): Use it for 16-byte alignment.
32099 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32100 correction with front_misalign.
32102 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32130 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32131 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32133 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32137 * math/libm-test.inc (exp_test): Add test from bug 14036.
32138 (pow_test): Add test from bug 10846.
32140 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32142 (special_function): Do not include flags in test name.
32143 (parse_args): Likewise.
32144 * sysdeps/i386/fpu/libm-test-ulps: Update.
32145 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32146 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32147 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32150 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32152 * math/libm-test.inc ("Philosophy"): Update comment about
32154 (UNDERFLOW_EXCEPTION): New macro.
32155 (UNDERFLOW_EXCEPTION_OK): Likewise.
32156 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32157 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32158 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32159 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32160 (INVALID_EXCEPTION_OK): Update value.
32161 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32162 (OVERFLOW_EXCEPTION_OK): Likewise.
32163 (IGNORE_ZERO_INF_SIGN): Likewise.
32164 (test_exceptions): Handle underflow exceptions.
32165 (acos_test): Update for underflow exception expectations.
32166 (cexp_test): Likewise.
32167 (clog_test): Likewise.
32168 (clog10_test): Likewise.
32169 (csqrt_test): Likewise.
32170 (ctan_test): Likewise.
32171 (ctanh_test): Likewise.
32172 (exp_test): Likewise.
32173 (exp10_test): Likewise.
32174 (exp2_test): Likewise.
32175 (expm1_test): Likewise.
32176 (fma_test): Likewise.
32177 (j0_test): Likewise.
32178 (jn_test): Likewise.
32179 (nexttoward_test): Likewise.
32180 (pow_test): Likewise.
32181 (scalbn_test): Likewise.
32182 (scalbln_test): Likewise.
32183 (tan_test): Likewise.
32184 (y1_test): Likewise.
32185 * sysdeps/i386/fpu/libm-test-ulps: Update.
32186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32188 2012-05-23 David S. Miller <davem@davemloft.net>
32190 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32191 (__libc_sigaction): Remove unused local variables.
32193 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32195 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32197 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32199 mktime: avoid signed integer overflow
32200 * time/mktime.c (__mktime_internal): Do not mishandle the case
32201 where diff == INT_MIN.
32203 mktime: simplify computation of average
32204 * time/mktime.c (ranged_convert): Use new time_t_avg function
32205 instead of rolling our own (probably-slower) code.
32207 mktime: do not assume signed right shift propagates sign bit
32208 * time/mktime.c (isdst_differ): New static function.
32209 (__mktime_internal): No need to normalize tm_isdst now.
32210 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32213 mktime: merge another wrapv change from gnulib
32214 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32215 from some compilers.
32217 mktime: remove incorrect attempt at unusual arithmetics
32218 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32219 The code didn't really work on such machines anyway.
32220 (TYPE_MINIMUM): Assume two's complement.
32221 (twos_complement_arithmetic): Verify that long_int and time_t
32222 are two's complement (or unsigned, in the latter case).
32224 mktime: check signed shifts on long_int and time_t, too
32225 * time/mktime.c (SHR): Check that shifts work as desired
32226 on the types long_int and time_t too, as SHR is used on
32229 mktime: do not assume 'long' is wide enough
32230 * time/mktime.c (verify): Move decl up.
32231 (long_int): New type.
32232 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32233 to remove assumption in the code that 'long' is wide enough to
32234 store year values. This assumption is not true on x32 and on
32235 some non-glibc platforms.
32237 mktime: merge wrapv change from gnulib
32238 * time/mktime.c (WRAPV): New macro.
32239 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32240 (guess_time_tm, __mktime_internal): Do not assume that signed
32241 integer overflow wraps around; modern compilers generate code
32242 where this assumption is no longer valid.
32244 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32246 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32247 Replace "jmp L(pseudo_end)" with "ret".
32248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32251 2012-05-23 Andreas Jaeger <aj@suse.de>
32253 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32254 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32256 2012-05-23 Andreas Jaeger <aj@suse.de>
32257 Maximilian Attems <max@stro.at>
32259 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32262 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32264 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32265 code so that pseudo_end is just ret and the stack pointer is
32266 correct also for static library in error case.
32268 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32270 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32271 move to syscalls.list.
32272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32277 * manual/install.texi (Running make install): Do not mention Linux
32278 kernel version for which pt_chown is not needed.
32279 (Linux): Do not mention problems with nscd with 2.0 kernels.
32280 * INSTALL: Regenerated.
32282 2012-05-23 Andreas Jaeger <aj@suse.de>
32284 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32285 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32287 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32288 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32289 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32290 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32291 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32292 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32295 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32297 * sysdeps/unix/sysv/linux/bits/in.h
32298 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32300 2012-05-22 Roland McGrath <roland@hack.frob.com>
32302 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32303 (PREPARE_VERSION): Just use assert instead, it will be elided
32304 under [NDEBUG] anyway.
32306 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32308 * sysdeps/unix/sysv/linux/Makefile: Include
32309 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32310 (sysdep_routines): Remove sysctl.
32311 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32312 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32313 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32315 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32317 2012-05-22 Andreas Jaeger <aj@suse.de>
32319 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32320 that pseudo_end is just ret and the stack pointer is correct also
32321 for static library in error case.
32323 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32326 * nss/nsswitch.c (defconfig_entries): New variable.
32327 (__nss_database_lookup): Don't leak defconfig entries.
32328 (nss_parse_service_list): Don't leak on error paths.
32329 (free_database_entries): New function.
32330 (free_defconfig): New function.
32331 (free_mem): Move common code to free_database_entries.
32333 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32335 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32337 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32339 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32340 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32343 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32344 (INTERNAL_SYSCALL_TYPES): Likewise.
32345 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32346 (LOAD_REGS_TYPES_[1-6]): Likewise.
32347 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32348 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32350 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32352 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32353 copysignl for GLIBC_2_0.
32354 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32355 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32357 logbl for GLIBC_2_0.
32358 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32359 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32361 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32364 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32366 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32369 * time/mktime.c: Update copyright years.
32371 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32373 mktime: merge comment-quoting-style change from gnulib
32374 * time/mktime.c: Quote 'like this' in comments.
32375 The GNU coding standards suggest that we no longer quote `like this',
32376 as "`" and "'" are typically rendered asymmetrically nowadays.
32377 The typical gnulib style is to quote 'like this' when quoting
32378 code, and "like this" when quoting English.
32380 * time/mktime.c (compile-command): Add "-I.".
32382 mktime: merge mktime-internal.h change from gnulib
32383 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32385 mktime: merge time_r change from gnulib
32386 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32388 mktime: merge DEBUG change from gnulib
32389 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32390 case system <time.h> has a #define.
32392 mktime: merge <sys/types.h> change from gnulib
32393 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32394 since <time.t> is now guaranteed to define time_t.
32396 mktime: merge HAVE_CONFIG_H change from gnulib
32397 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32399 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32404 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32406 (struct rusage): Use anonymous union to pad each field to
32409 2012-05-21 David S. Miller <davem@davemloft.net>
32411 * Makefules (o-iterator): Remove .s cases.
32412 (compile-command.s): Delete.
32413 (COMPILE.s): Delete.
32414 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32416 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32418 * configure.in (libc_cv_predef_stack_protector): Only consider
32419 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32420 * configure: Regenerated.
32422 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32425 New macro. Use R*LP on int and pointer.
32426 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32427 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32428 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32429 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32431 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32432 [__WORDSIZE_TIME64_COMPAT32] instead of
32433 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32434 (struct utmp): Likewise.
32435 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32436 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32438 (__WORDSIZE_TIME64_COMPAT32): This.
32439 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32440 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32441 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32442 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32443 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32444 (__WORDSIZE_TIME64_COMPAT32): New macro.
32446 2012-05-21 Andreas Jaeger <aj@suse.de>
32448 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32449 only if [SHARED]. Add prototype for __wcschr_ia32.
32451 2012-05-21 Roland McGrath <roland@hack.frob.com>
32453 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32454 of %rbp unmolested in the jmp_buf while mangling the low bits.
32455 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32456 unmolested high bits of %rbp while demangling the low bits.
32457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32459 2012-05-21 Andreas Jaeger <aj@suse.de>
32461 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32462 * sunrpc/svc_simple.c: Use it for registerrpc.
32463 * sunrpc/xcrypt.c: Use it for passwd2des.
32465 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32467 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32469 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32470 Don't define if [__SYSCALL_WORDSIZE != 32].
32471 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32474 2012-05-21 Bruno Haible <bruno@clisp.org>
32475 Andreas Jaeger <aj@suse.de>
32477 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32478 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32479 inptr and inend for must_buffer_ch.
32480 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32481 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32482 * stdio-common/Makefile (tests): Remove bug15.
32483 (bug15-ENV): Remove macro.
32484 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32487 2012-05-19 Andreas Jaeger <aj@suse.de>
32488 Roland McGrath <roland@hack.frob.com>
32490 * manual/contrib.texi: Completely rewritten. It contains now an
32491 alphabetical list of contributors and their contributions.
32493 2012-05-21 Richard Henderson <rth@twiddle.net>
32495 * misc/getauxval.c (__getauxval): Use unsigned long int.
32496 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32497 (getauxval): Use unsigned long int.
32499 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32501 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32503 2012-05-21 Roland McGrath <roland@hack.frob.com>
32505 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32506 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32507 __alignof__ (long double).
32509 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32513 2012-05-20 Richard Henderson <rth@twiddle.net>
32515 * misc/getauxval.c: New file.
32516 * misc/sys/auxv.h: New file.
32517 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32518 (routines): Add getauxval.
32519 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32520 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32521 * elf/dl-sysdep.c (_dl_auxv): Remove.
32522 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32523 * elf/dl-support.c (_dl_auxv): New variable.
32524 (_dl_aux_init): Initialize it.
32525 * manual/startup.texi (Auxiliary Vector): New node.
32526 * sysdeps/generic/bits/hwcap.h: New file.
32527 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32528 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32529 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32530 * sysdeps/sparc/sysdep.h: ... here. Include it.
32531 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32532 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32544 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32548 2012-05-19 David S. Miller <davem@davemloft.net>
32550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32552 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32555 * math/s_ccosh.c: Include <float.h>
32556 (__ccosh): Avoid internal overflow calculating sinh and cosh
32557 values before multiplying by sin and cos values.
32558 * math/s_ccoshf.c: Likewise.
32559 * math/s_ccoshl.c: Likewise.
32560 * math/s_csin.c: Likewise.
32561 * math/s_csinf.c: Likewise.
32562 * math/s_csinl.c: Likewise.
32563 * math/s_csinh.c: Likewise.
32564 * math/s_csinhf.c: Likewise.
32565 * math/s_csinhl.c: Likewise.
32566 * math/libm-test.inc (ccos_test): Add more tests.
32567 (ccosh_test): Likewise.
32568 (csin_test): Likewise.
32569 (csinh_test): Likewise.
32570 * sysdeps/i386/fpu/libm-test-ulps: Update.
32571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32573 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32575 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32576 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32578 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32580 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32582 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32583 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32584 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32585 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32586 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32587 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32588 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32589 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32590 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32591 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32592 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32593 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32594 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32595 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32596 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32597 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32598 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32599 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32600 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32601 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32602 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32603 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32604 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32605 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32606 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32607 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32608 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32609 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32610 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32611 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32612 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32614 2012-05-18 Andreas Jaeger <aj@suse.de>
32616 * csu/.gitignore: Delete.
32618 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32621 (timex): Use __syscall_slong_t.
32623 2012-05-18 Andreas Jaeger <aj@suse.de>
32624 Carlos O'Donell <carlos_odonell@mentor.com>
32626 * manual/install.texi (Configuring and compiling): Update
32627 description about files modified in the source directory.
32628 * INSTALL: Regenerated.
32630 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32632 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32633 value. Use "or" to set return value to -1.
32634 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32635 negate return value.
32637 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32639 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32640 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32641 failure if the compiler has Graphite support disabled.
32642 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32644 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32645 (CFLAGS-memmove.c): Likewise.
32646 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32649 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32651 * sysdeps/x86_64/x32/_itoa.h: New file.
32653 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32654 getdents system call only if kernel and user dirents have the
32655 same d_ino and d_off.
32657 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32658 LLONG_MAX != LONG_MAX.
32659 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32660 (_fitoa_word): Likewise.
32662 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32665 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32666 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32668 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32669 include <bits/wordsize.h>. Check __x86_64__ instead of
32671 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32672 if __x86_64__ is defined. Use anonymous union on fpstate.
32674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32677 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32679 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32680 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32681 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32682 Refer to _rtld_local_ro instead of _rtld_global_ro.
32683 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32685 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32687 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32689 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32690 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32691 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32693 * sysdeps/powerpc/powerpc32/dl-machine.c
32694 (__elf_machine_runtime_setup) [PROF]: Don't reference
32697 2012-05-18 Andreas Jaeger <aj@suse.de>
32699 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32700 function only available for GCCs before 3.4 since GCC 3.4
32701 introduced a builtin.
32703 (llrintf): Likewise.
32704 (llrint): Likewise.
32711 (nearbyint): Likewise.
32712 (nearbyintf): Likewise.
32716 (floorf): Likewise.
32718 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32720 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32721 on both fields and cast pointer to __syscall_ulong_t.
32723 * bits/types.h (__fsword_t): New type.
32724 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32725 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32727 (__FSWORD_T_TYPE): Likewise.
32728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32729 (__FSWORD_T_TYPE): Likewise.
32730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32731 (__FSWORD_T_TYPE): Likewise.
32732 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32733 (__FSWORD_T_TYPE): Likewise.
32734 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32735 __SWORD_TYPE with __fsword_t.
32736 (statfs64): Likewise.
32738 2012-05-17 David S. Miller <davem@davemloft.net>
32740 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32742 2012-05-17 Andreas Jaeger <aj@suse.de>
32744 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32747 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32749 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32751 2012-05-17 Andreas Jaeger <aj@suse.de>
32753 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32756 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32758 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32760 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32762 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32763 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32765 2012-05-17 Andreas Jaeger <aj@suse.de>
32766 Carlos O'Donell <carlos_odonell@mentor.com>
32769 * sysdeps/x86_64/multiarch/init-arch.h
32770 (bit_YMM_Usable): Rename to...
32771 (bit_AVX_Usable): ... this.
32772 (bit_FMA4_Usable): New macro.
32773 (bit_XMM_state): New macro.
32774 (bit_YMM_state): New macro.
32775 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32776 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32777 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32778 (CPUID_OSXSAVE): New macro.
32779 (CPUID_AVX): New macro.
32780 (CPUID_FMA4): New macro.
32781 (index_YMM_Usable): Rename to...
32782 (index_AVX_Usable): ... this.
32783 (HAS_AVX): Use HAS_ARCH_FEATURE.
32784 (HAS_FMA4): Likewise.
32785 (HAS_YMM_USABLE): Remove.
32786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32787 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32789 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32790 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32791 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32792 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32793 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32795 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32797 * math/libm-test.c: Support platforms without multiple rounding modes.
32798 * math/bug-nextafter.c: Support platforms without FP exceptions.
32799 * math/bug-nexttoward.c: Likewise.
32800 * math/test-fenv.c: Likewise.
32801 * math/test-misc.c: Likewise.
32802 * stdlib/bug-getcontext.c: Likewise.
32804 2012-05-17 Andreas Jaeger <aj@suse.de>
32806 * manual/examples/search.c (critter_cmp): Change signature to
32808 * manual/string.texi (Collation Functions): Likewise.
32810 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32812 * bits/types.h: Fold copyright years.
32813 * bits/typesizes.h: Likewise.
32814 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32818 * time/time.h: Likewise.
32820 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32823 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32824 in instead of returning them. Return void.
32825 (__libc_mallinfo): Accumulate over all arenas.
32826 (__malloc_stats): Adjust for change in int_mallinfo interface.
32828 2012-05-16 Roland McGrath <roland@hack.frob.com>
32831 * configure.in (NM): Add AC_CHECK_TOOL for it.
32832 (libc_extra_cflags): New substituted variable.
32833 Check for -fstack-protector being used implicitly.
32834 * configure: Regenerated.
32835 * config.make.in (config-extra-cflags): New variable,
32836 gets @libc_extra_cflags@.
32837 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32840 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32841 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32842 * configure: Regenerated.
32843 * config.make.in (CPPUNDEFS): New substituted variable.
32844 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32845 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32846 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32850 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32851 (mq_attr): Use __syscall_slong_t.
32853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32855 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32856 Check __x86_64__ instead of __WORDSIZE.
32857 (_STAT_VER_LINUX): Likewise.
32858 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32859 __syscall_ulong_t and __syscall_slong_t.
32860 (stat64): Likewise.
32862 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32864 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32868 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32870 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32872 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32875 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32876 include <bits/wordsize.h>. Check __x86_64__ instead of
32878 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32880 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32883 include <bits/wordsize.h>. Check __x86_64__ instead of
32885 (user_regs_struct): Use "__extension__ unsigned long long"
32886 instead of "unsigned long" if __x86_64__ is defined.
32887 (user): Likewise. Pad after pointer field if __ILP32__ is
32890 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32892 * configure.in (makeinfo): Require version 4.5 or later. Allow
32894 * configure: Regenerated.
32895 * manual/install.texi (texinfo): Increase version requirement to
32897 * INSTALL: Regenerated.
32899 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32901 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32903 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32905 * sysdeps/x86_64/x32/ffs.c: New file.
32907 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32909 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32910 defined. Use __syscall_ulong_t.
32911 (shminfo): Use __syscall_ulong_t.
32912 (shm_info): Likewise.
32914 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32917 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32919 (msgqnum_t): Use __syscall_ulong_t.
32920 (msglen_t): Likewise.
32921 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32924 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32925 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32927 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32929 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32930 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32932 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32935 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32936 include <bits/wordsize.h>. Check __x86_64__ instead of
32939 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32940 "unsigned long long int" if __x86_64__ is defined.
32941 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32943 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32944 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32945 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32947 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32949 (GET_PC): Cast to uintptr_t first.
32950 (GET_FRAME): Likewise.
32951 (GET_STACK): Likewise.
32953 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32954 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32955 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32956 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32957 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32958 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32959 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32960 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32961 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32962 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32963 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32964 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32965 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32966 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32967 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32968 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32969 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32970 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32971 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32972 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32973 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32974 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32975 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32976 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32977 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32978 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32979 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32980 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32981 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32983 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32985 * Makerules (+depfiles): Also collect depfiles from .oS in
32987 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32988 .oS, $(libnldbl-routines)).
32990 * Makerules (native-compile-mkdep-flags): Define.
32991 * sunrpc/Makefile (extra-objs): Add $(addprefix
32992 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32993 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32994 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32995 calling $(make-target-directory).
32997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32999 * bits/types.h (__snseconds_t): Removed.
33000 * time/time.h (struct timespec): Replace __snseconds_t with
33002 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33003 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33005 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33006 (__SNSECONDS_T_TYPE): Likewise.
33007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33008 (__SNSECONDS_T_TYPE): Likewise.
33009 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33010 (__SNSECONDS_T_TYPE): Likewise.
33012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33014 * sysdeps/mach/hurd/bits/typesizes.h
33015 (__SYSCALL_SLONG_TYPE): New macro.
33016 (__SYSCALL_ULONG_TYPE): Likewise.
33018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33020 * bits/types.h (__syscall_slong_t): New type.
33021 (__syscall_ulong_t): Likewise.
33023 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33024 (__SYSCALL_ULONG_TYPE): Likewise.
33025 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33026 (__SYSCALL_SLONG_TYPE): Likewise.
33027 (__SYSCALL_ULONG_TYPE): Likewise.
33028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33029 (__SYSCALL_SLONG_TYPE): Likewise.
33030 (__SYSCALL_ULONG_TYPE): Likewise.
33031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33032 (__SYSCALL_SLONG_TYPE): Likewise.
33033 (__SYSCALL_ULONG_TYPE): Likewise.
33035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33037 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33038 Add sigaltstack-offsets.sym.
33039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33040 <sigaltstack-offsets.h>.
33041 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33042 longjmp_msg pointer.
33043 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33044 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33046 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33048 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33050 * elf/stackguard-macros.h: Remove file.
33051 * sysdeps/generic/stackguard-macros.h: New file.
33052 * sysdeps/i386/stackguard-macros.h: Likewise.
33053 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33054 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33055 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33056 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33057 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33058 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33059 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33060 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33061 <elf/stackguard-macros.h>.
33064 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33065 __aligned__ in attribute.
33066 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33067 (gregset_t): Likewise.
33069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33071 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33072 * sysdeps/x86_64/64/Implies-after: Here. New file.
33073 * sysdeps/x86_64/x32/Implies-after: New file.
33075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33077 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33078 and access return value for _dl_profile_fixup. Use R10_LP to
33081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33083 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33087 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33088 * sysdeps/x86_64/x32/sysdep.h: New file.
33090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33092 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33093 * sysdeps/x86_64/setjmp.S: Likewise.
33095 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33097 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33098 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33099 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33100 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33101 remove unused global constant.
33103 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33105 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33106 include of <not-cancel.h>.
33108 2012-05-15 Roland McGrath <roland@hack.frob.com>
33110 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33112 2012-05-15 Jeff Law <law@redhat.com>
33113 Andreas Jaeger <aj@suse.de>
33116 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33118 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33119 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33121 code changing __hst_map_handle.map.
33123 2012-05-15 Roland McGrath <roland@hack.frob.com>
33125 * configure.in (sysnames): Look for Implies-before and Implies-after
33127 * configure: Regenerated.
33129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33131 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33132 8-byte data alignment with LP_SIZE alignment.
33134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33136 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33145 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33146 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33149 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33153 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33154 (stackinfo_sub_sp): Likewise.
33156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33173 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33177 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33178 into R11_LP and load __x86_64_shared_cache_size_half into
33181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33183 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33186 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33194 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33195 powerpc32/power7/fpu/s_logb.c via #include.
33196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33197 powerpc32/power7/fpu/s_logbf.c via #include.
33198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33199 powerpc32/power7/fpu/s_logbl.c via #include.
33201 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33203 * README.libm: Remove file.
33205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33207 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33208 count for x32. Use R*_LP and omit operand-size suffix.
33210 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33212 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33213 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33214 * sysdeps/x86_64/x32/shlib-versions: New file.
33216 2012-05-14 Roland McGrath <roland@hack.frob.com>
33218 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33219 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33220 Use _dl_fatal_printf instead.
33222 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33224 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33225 set if not set by the user. Do not allow for being unset.
33226 * sysdeps/unix/sysv/linux/configure: Regenerated.
33228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33230 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33231 the `q' suffix from lea and replace .quad with ASM_ADDR.
33233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33236 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33238 (PTR_DEMANGLE): Likewise.
33240 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33242 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33244 (ASM_ADDR): Likewise.
33245 (RAX_LP): Likewise.
33246 (RBP_LP): Likewise.
33247 (RBX_LP): Likewise.
33248 (RCX_LP): Likewise.
33249 (RDI_LP): Likewise.
33250 (RSI_LP): Likewise.
33251 (RSP_LP): Likewise.
33254 (R10_LP): Likewise.
33255 (R10_LP): Likewise.
33256 (R11_LP): Likewise.
33257 (R12_LP): Likewise.
33258 (R13_LP): Likewise.
33259 (R14_LP): Likewise.
33260 (R15_LP): Likewise.
33262 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33264 * sysdeps/x86_64/x32/dl-machine.h: New file.
33266 2012-05-14 Andreas Jaeger <aj@suse.de>
33268 * manual/Makefile (subdir): Remove export of subdir.
33269 (all): Remove target.
33270 (.PHONY): Remove all from list.
33271 (mkinstalldirs): Remove.
33272 (.PHONY): Remove installdirs from list.
33273 ($(inst_infodir)/libc.info): Use make-target-directory.
33274 (installdirs): Remove.
33275 (subdir_%): Remove.
33276 (glibc-targets): Remove.
33279 ($(objpfx)stubs ../po/manual.pot): Remove.
33280 ($(objpfx)stamp%): Remove.
33281 (make-target-directory): Remove.
33282 (subdir_install): Remove.
33283 (routines): Remove.
33290 * manual/.gitignore: Remove, it's not needed anymore.
33291 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33293 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33295 (texis): Renamed to $(objpfx)texis.
33296 (texis-path): New, contains path to generated files.
33297 (chapters.%): Use texis-path for complete path, add extra argument
33299 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33300 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33301 (summary,texi, stamp-summary): Use complete path of
33302 files. Generate files in build dir.
33303 (dir-add.texi): Build in build dir.
33304 (libm-err.texi,stamp-libm-err): Likewise.
33305 (version.texi, stamp-version): Likewise.
33306 (.%c.texi): Likewise.
33307 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33308 (mostlyclean): Remove target.
33309 (realclean): Remove target.
33310 (generated): Add new variable with contents from mostlyclean and
33311 realclean, remove entries duplicated in common-mostlyclean, add
33312 stamp-libm-err and stamp-version.
33313 (generated-dirs): Add libc directory.
33314 ($(inst_infodir)/libc.info): Install files from build dir.
33316 * manual/install.texi (Configuring and compiling): Adjust since
33317 the info files are not part of the tar ball anymore.
33319 2012-05-14 Andreas Jaeger <aj@suse.de>
33321 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33324 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33328 to 2.2.0 where earlier.
33329 * sysdeps/unix/sysv/linux/configure: Regenerated.
33330 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33331 Remove conditional code.
33332 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33333 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33334 Remove conditional code.
33335 [!__NR_lchown]: Likewise.
33336 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33337 [__NR_lchown]: Likewise.
33338 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33339 comment referencing __ASSUME_LCHOWN_SYSCALL.
33340 * sysdeps/unix/sysv/linux/i386/sigaction.c
33341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33343 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33344 Remove conditional code.
33345 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33346 (__protocol_available): Remove #if 0 code.
33347 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33349 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33350 * sysdeps/unix/sysv/linux/kernel-features.h
33351 (__ASSUME_GETCWD_SYSCALL): Don't define.
33352 (__ASSUME_REALTIME_SIGNALS): Likewise.
33353 (__ASSUME_PREAD_SYSCALL): Likewise.
33354 (__ASSUME_PWRITE_SYSCALL): Likewise.
33355 (__ASSUME_POLL_SYSCALL): Likewise.
33356 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33357 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33359 (__ASSUME_SIOCGIFNAME): Don't define.
33360 (__ASSUME_MSG_NOSIGNAL): Likewise.
33361 (__ASSUME_SENDFILE): Define unconditionally.
33362 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33363 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33365 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33366 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33367 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33368 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33369 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33370 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33371 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33373 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33376 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33379 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33380 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33382 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33385 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33386 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33388 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33389 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33391 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33392 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33394 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33395 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33396 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33397 Remove conditional code.
33398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33399 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33400 Remove conditional code.
33401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33402 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33403 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33404 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33405 Remove conditional code.
33406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33407 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33408 Remove conditional code.
33409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33410 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33411 Remove conditional code.
33412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33413 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33414 Remove conditional code.
33415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33416 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33417 Remove conditional code.
33418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33419 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33420 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33421 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33422 * sysdeps/unix/sysv/linux/sigaction.c
33423 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33424 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33425 * sysdeps/unix/sysv/linux/sigpending.c
33426 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33427 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33428 * sysdeps/unix/sysv/linux/sigprocmask.c
33429 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33430 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33431 * sysdeps/unix/sysv/linux/sigsuspend.c
33432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33434 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33435 (__libc_missing_rt_sigs): Remove.
33436 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33437 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33438 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33439 Remove conditional code.
33440 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33441 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33443 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33444 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33445 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33446 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33448 2012-05-14 Andreas Jaeger <aj@suse.de>
33450 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33451 it's not used in glibc.
33452 (__coshm1): Likewise.
33453 (__acosh1p): Likewise.
33456 * manual/string.texi (Copying and Concatenation): Add missing
33457 variable in concat example.
33458 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33460 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33464 __builtin_clzl with __builtin_clzll.
33466 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33469 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33472 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33474 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33475 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33476 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33479 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33481 * NEWS: Update ia64 info.
33483 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33485 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33488 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33490 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33491 * sysdeps/unix/syscalls.list (dup3): Likewise.
33492 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33493 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33495 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33497 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33498 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33500 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33502 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33504 (TLS_IE): Use mov/add instead of movq/addq to load thread
33506 (TLS_GD_PREFIX): New.
33509 2012-05-11 David S. Miller <davem@davemloft.net>
33511 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33512 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33513 (_FPU_SETCW): Likewise.
33515 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33517 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33518 is 32-byte aligned.
33520 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33523 * iconvdata/gb18030.c: Update tables.
33524 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33525 characters specially.
33526 (BODY for TO_LOOP): Add encoding of missing ranges.
33528 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33531 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33532 * sysdeps/mach/hurd/dup3.c: Likewise.
33533 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33534 * sysdeps/powerpc/memmove.c:: Likewise.
33536 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33538 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33539 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33541 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33543 * elf/elf.h (R_X86_64_RELATIVE64): New.
33544 (R_X86_64_NUM): Updated.
33545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33546 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33547 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33548 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33549 tst-quad1pie tst-quad2pie
33550 (modules-names): Add tst-quadmod1 tst-quadmod2.
33551 ($(objpfx)tst-quad1): New dependency.
33552 ($(objpfx)tst-quad2): Likewise.
33553 ($(objpfx)tst-quad1pie): Likewise.
33554 ($(objpfx)tst-quad2pie): Likewise.
33555 * sysdeps/x86_64/tst-quad1.c: New file.
33556 * sysdeps/x86_64/tst-quad1pie.c: New file.
33557 * sysdeps/x86_64/tst-quad2.c: Likewise.
33558 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33559 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33560 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33561 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33562 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33566 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33567 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33568 * streams/stropts.h (t_scalar_t): Define type.
33570 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33571 (_PATH_PRESERVE): Set to "/var/lib".
33572 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33574 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33577 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33578 if __dir_mkfile succeeded.
33580 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33581 checking for _hurd_dtablesize. Unlock it right after having
33582 finished _hurd_dtable allocation.
33584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33586 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33587 * sysdeps/mach/hurd/configure: Regenerated.
33588 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33589 special-casing to...
33590 * sysdeps/gnu/configure.in: ... this new file.
33591 * sysdeps/unix/sysv/linux/configure: Regenerated.
33592 * sysdeps/gnu/configure: New generated file.
33594 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33595 for Linux: use nsec instead of usec, as well as:
33596 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33597 members of type struct timespec.
33598 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33600 (struct stat64): Likewise.
33601 (_STATBUF_ST_NSEC): New macro.
33602 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33604 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33605 __strtoul_internal rather than strtoul.
33607 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33609 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33612 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33614 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33615 which preserves existing values.
33616 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33620 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33621 TIMEOUT values. Return EINVAL for NFDS values either negative or
33622 greater than FD_SETSIZE.
33624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33626 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33627 allocated, call __vm_protect to finish enabling the existing space, and
33628 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33629 allocate the remainder.
33631 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33633 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33634 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33638 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33639 sysdeps/mach/hurd/readlink.c.
33641 * posix/tst-sysconf.c (posix_options): Only use
33642 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33643 _POSIX_SYNCHRONIZED_IO when they are defined
33644 * sysdeps/mach/hurd/bits/posix_opt.h:
33645 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33646 (_XOPEN_REALTIME): Undefine macro.
33647 (_XOPEN_REALTIME_THREADS): Undefine macro.
33648 (_XOPEN_SHM): Undefine macro.
33649 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33651 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33653 (_POSIX_ASYNC_IO): Undefine macro.
33654 (_POSIX_PRIORITIZED_IO): Undefine macro.
33655 (_POSIX_SPIN_LOCKS): Define macro to -1.
33657 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33658 SA_NODEFER, SA_RESETHAND.
33659 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33660 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33665 * elf/Makefile (pldd-modules): Define unconditionally.
33667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33669 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33673 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33674 Return ENOENT when name is empty.
33675 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33677 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33679 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33681 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33685 Fix mlock in all cases except non-readable pages.
33686 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33687 instead of VM_PROT_ALL as parameter to __vm_wire function.
33689 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33690 (__mkdir): When path is `/', just fail with EEXIST.
33691 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33695 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33696 <sys/uio.h> (for writev).
33697 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33698 and <sys/param.h> (for MIN).
33700 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33702 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33703 REQUESTED_TIME. Properly set the remaining time and return EINTR
33706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33708 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33709 Depend on against $(link-rpcuserlibs).
33711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33713 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33714 (__libc_stack_end): Do not use attribute_relro.
33715 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33716 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33717 to libthread-provided value.
33718 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33724 * bits/libc-lock.h (__libc_once_get): New macro.
33725 * sysdeps/mach/bits/libc-lock.h: Likewise.
33726 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33728 instead of using implementation details.
33730 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33731 * libio/freopen.c: Likewise.
33732 * libio/freopen64.c: Likewise.
33733 * misc/syslog.c: Likewise.
33734 * nscd/connections.c: Likewise.
33735 * nscd/netgroupcache.c: Likewise.
33736 * sysdeps/posix/getcwd.c: Likewise.
33738 2012-05-10 Roland McGrath <roland@hack.frob.com>
33740 * math/w_ilogbf.c: Add #include <limits.h>.
33742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33744 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33745 path instead of returning without unlocking.
33747 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33748 immediate-write ioctls.
33749 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33753 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33754 __builtin_frame_address instead of making assumptions about the
33755 location of the return address relative to DATA. Force early load of
33756 the return address.
33757 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33758 __builtin_frame_address.
33761 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33762 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33763 implement dup3 and do some further code clean-ups.
33764 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33765 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33769 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33771 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33772 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33773 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33774 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33775 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33778 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33779 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33780 when handler == SIG_ERR, not when handler != SIG_ERR.
33782 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33784 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33785 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33788 accept4 for GNU Hurd.
33789 * include/sys/socket.h (__libc_accept4): New prototype.
33790 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33791 to implement __libc_accept4.
33792 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33794 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33796 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33797 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33798 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33799 signal-defines.sym.
33801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33803 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33807 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33808 assertion on O_CLOEXEC flag.
33809 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33810 * hurd/intern-fd.c: Likewise.
33811 * hurd/port2fd.c: Likewise.
33813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33816 * bits/in.h (IPV6_PKTINFO): Define new macro.
33817 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33819 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33824 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33825 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33826 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33830 * math/libm-test.inc (logb_test) : Additional logb tests.
33832 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33833 Andreas Jaeger <aj@suse.de>
33835 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33836 * configure: Regenerated.
33837 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33838 * config.make.in (link-obsolete-rpc): New substituted variable.
33839 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33840 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33841 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33842 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33843 so that libc.a contains the symbols.
33844 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33845 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33846 * sunrpc/auth_none.c: Likewise.
33847 * sunrpc/auth_unix.c: Likewise.
33848 * sunrpc/authdes_prot.c: Likewise.
33849 * sunrpc/authuxprot.c: Likewise.
33850 * sunrpc/clnt_gen.c: Likewise.
33851 * sunrpc/clnt_perr.c: Likewise.
33852 * sunrpc/clnt_raw.c: Likewise.
33853 * sunrpc/clnt_simp.c: Likewise.
33854 * sunrpc/clnt_tcp.c: Likewise.
33855 * sunrpc/clnt_udp.c: Likewise.
33856 * sunrpc/clnt_unix.c: Likewise.
33857 * sunrpc/des_crypt.c: Likewise.
33858 * sunrpc/des_soft.c: Likewise.
33859 * sunrpc/get_myaddr.c: Likewise.
33860 * sunrpc/key_call.c: Likewise.
33861 * sunrpc/key_prot.c: Likewise.
33862 * sunrpc/netname.c: Likewise.
33863 * sunrpc/pm_getmaps.c: Likewise.
33864 * sunrpc/pm_getport.c: Likewise.
33865 * sunrpc/pmap_clnt.c: Likewise.
33866 * sunrpc/pmap_prot.c: Likewise.
33867 * sunrpc/pmap_prot2.c: Likewise.
33868 * sunrpc/pmap_rmt.c: Likewise.
33869 * sunrpc/publickey.c: Likewise.
33870 * sunrpc/rpc_cmsg.c: Likewise.
33871 * sunrpc/rpc_common.c: Likewise.
33872 * sunrpc/rpc_dtable.c: Likewise.
33873 * sunrpc/rpc_prot.c: Likewise.
33874 * sunrpc/rpc_thread.c: Likewise.
33875 * sunrpc/rtime.c: Likewise.
33876 * sunrpc/svc.c: Likewise.
33877 * sunrpc/svc_auth.c: Likewise.
33878 * sunrpc/svc_raw.c: Likewise.
33879 * sunrpc/svc_run.c: Likewise.
33880 * sunrpc/svc_tcp.c: Likewise.
33881 * sunrpc/svc_udp.c: Likewise.
33882 * sunrpc/svc_unix.c: Likewise.
33883 * sunrpc/svcauth_des.c: Likewise.
33884 * sunrpc/xcrypt.c: Likewise.
33885 * sunrpc/xdr.c: Likewise.
33886 * sunrpc/xdr_array.c: Likewise.
33887 * sunrpc/xdr_float.c: Likewise.
33888 * sunrpc/xdr_intXX_t.c: Likewise.
33889 * sunrpc/xdr_mem.c: Likewise.
33890 * sunrpc/xdr_rec.c: Likewise.
33891 * sunrpc/xdr_ref.c: Likewise.
33892 * sunrpc/xdr_sizeof.c: Likewise.
33893 * sunrpc/xdr_stdio.c: Likewise.
33895 2012-05-10 Roland McGrath <roland@hack.frob.com>
33897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33898 change. Update copyright years.
33900 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33902 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33904 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33905 Joseph Myers <joseph@codesourcery.com>
33906 Paul Pluzhnikov <ppluzhnikov@google.com>
33909 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33911 [cross-compiling] (extra-libs): Likewise.
33912 [cross-compiling] (extra-libs-others): Likewise.
33913 [cross-compiling] (librpcsvc-routines): Likewise.
33914 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33915 [cross-compiling] (omit-deps): Likewise.
33916 (sunrpc-CPPFLAGS): New variable.
33917 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33918 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33919 (cross-rpcgen-objs): New variable.
33920 (extra-objs): Append $(cross-rpcgen-objs).
33921 ($(cross-rpcgen-objs)): New rule.
33922 ($(objpfx)cross-rpcgen): Likewise.
33923 (rpcgen-cmd): Define to use $(built-program-file). Expand
33925 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33926 ($(objpfx)x%.stmp): Likewise.
33927 * sunrpc/proto.h [IS_IN_build] (_): Define.
33928 [IS_IN_build] (_libc_intl_domainname): Likewise.
33930 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33933 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33934 and R_X86_64_TPOFF64.
33936 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33938 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33939 sysdeps/unix/sysv/syscalls.list.
33942 * sysdeps/unix/sysv/syscalls.list: Remove file.
33944 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33947 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33948 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33949 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33950 (__LC_IDENTIFICATION): Make these macros useful in #if
33951 expressions, as required by C99.
33953 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33955 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33956 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33959 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33961 * stdlib/longlong.h: Updated from GCC.
33963 2012-05-09 Andreas Jaeger <aj@suse.de>
33965 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33966 default is first entry.
33967 (run_mode): Set type.
33968 (main): Remove informal message about syslog.
33969 (options): Fix typo.
33972 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33975 (llrintf): Likewise.
33976 (llrint): Likewise.
33979 (nearbyint): Likewise.
33980 (nearbyintf): Likewise.
33982 2012-05-09 Andreas Jaeger <aj@suse.de>
33983 Pedro Alves <palves@redhat.com>
33985 * nscd/nscd.c (run_mode): Use enum.
33986 (main): Cleanup coding style issue.
33988 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33989 Andreas Jaeger <aj@suse.de>
33991 * nscd/nscd.c (go_background): Replaced with...
33992 (run_mode): ... this.
33993 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33994 (options): Add -F --foreground.
33995 (main): Implement it.
33996 (parse_opt): Parse it.
33998 2012-05-09 Andreas Jaeger <aj@suse.de>
34001 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34002 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34003 -Wconversion warning.
34004 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34007 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34009 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34011 (LC_ALL): Use macro-int-constant.
34012 (LC_COLLATE): Likewise.
34013 (LC_CTYPE): Likewise.
34014 (LC_MESSAGES): Likewise.
34015 (LC_MONETARY): Likewise.
34016 (LC_NUMERIC): Likewise.
34017 (LC_TIME): Likewise.
34018 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34019 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34021 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34023 [C99-based standards] (float_t): Expect type.
34024 [C99-based standards] (double_t): Expect type.
34025 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34027 [C99-based standards] (HUGE_VALL): Likewise.
34028 [C99-based standards] (INFINITY): Likewise.
34029 [C99-based standards] (NAN): Likewise.
34030 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34031 [C99-based standards] (FP_NAN): Likewise.
34032 [C99-based standards] (FP_NORMAL): Likewise.
34033 [C99-based standards] (FP_SUBNORMAL): Likewise.
34034 [C99-based standards] (FP_ZERO): Likewise.
34035 [C99-based standards] (FP_FAST_FMA): Use
34036 optional-macro-int-constant. Specify type. Require == 1.
34037 [C99-based standards] (FP_FAST_FMAF): Likewise.
34038 [C99-based standards] (FP_FAST_FMAL): Likewise.
34039 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34040 [C99-based standards] (FP_ILOGBNAN): Likewise.
34041 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34043 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34044 [C99-based standards] (math_errhandling): Specify type.
34045 [ISO99 || ISO11] (signgam): Do not allow.
34046 [non-C99-based standards] (copysignf): Do not allow.
34047 [non-C99-based standards] (exp2f): Likewise.
34048 [non-C99-based standards] (log2f): Likewise.
34049 [non-C99-based standards] (modff): Allow.
34050 [non-C99-based standards] (erff): Do not allow.
34051 [non-C99-based standards] (erfcf): Likewise.
34052 [non-C99-based standards] (gammaf): Likewise.
34053 [non-C99-based standards] (hypotf): Likewise.
34054 [non-C99-based standards] (j0f): Likewise.
34055 [non-C99-based standards] (j1f): Likewise.
34056 [non-C99-based standards] (jnf): Likewise.
34057 [non-C99-based standards] (lgammaf): Likewise.
34058 [non-C99-based standards] (tgammaf): Likewise.
34059 [non-C99-based standards] (y0f): Likewise.
34060 [non-C99-based standards] (y1f): Likewise.
34061 [non-C99-based standards] (ynf): Likewise.
34062 [non-C99-based standards] (isnanf): Likewise.
34063 [non-C99-based standards] (acoshf): Likewise.
34064 [non-C99-based standards] (asinhf): Likewise.
34065 [non-C99-based standards] (atanhf): Likewise.
34066 [non-C99-based standards] (cbrtf): Likewise.
34067 [non-C99-based standards] (expm1f): Likewise.
34068 [non-C99-based standards] (ilogbf): Likewise.
34069 [non-C99-based standards] (log1pf): Likewise.
34070 [non-C99-based standards] (logbf): Likewise.
34071 [non-C99-based standards] (nextafterf): Likewise.
34072 [non-C99-based standards] (remainderf): Likewise.
34073 [non-C99-based standards] (rintf): Likewise.
34074 [non-C99-based standards] (scalbf): Likewise.
34075 [non-C99-based standards] (copysignl): Likewise.
34076 [non-C99-based standards] (exp2l): Likewise.
34077 [non-C99-based standards] (log2l): Likewise.
34078 [non-C99-based standards] (modfl): Allow.
34079 [non-C99-based standards] (erfl): Do not allow.
34080 [non-C99-based standards] (erfcl): Likewise.
34081 [non-C99-based standards] (gammal): Likewise.
34082 [non-C99-based standards] (hypotl): Likewise.
34083 [non-C99-based standards] (j0l): Likewise.
34084 [non-C99-based standards] (j1l): Likewise.
34085 [non-C99-based standards] (jnl): Likewise.
34086 [non-C99-based standards] (lgammal): Likewise.
34087 [non-C99-based standards] (tgammal): Likewise.
34088 [non-C99-based standards] (y0l): Likewise.
34089 [non-C99-based standards] (y1l): Likewise.
34090 [non-C99-based standards] (ynl): Likewise.
34091 [non-C99-based standards] (isnanl): Likewise.
34092 [non-C99-based standards] (acoshl): Likewise.
34093 [non-C99-based standards] (asinhl): Likewise.
34094 [non-C99-based standards] (atanhl): Likewise.
34095 [non-C99-based standards] (cbrtl): Likewise.
34096 [non-C99-based standards] (expm1l): Likewise.
34097 [non-C99-based standards] (ilogbl): Likewise.
34098 [non-C99-based standards] (log1pl): Likewise.
34099 [non-C99-based standards] (logbl): Likewise.
34100 [non-C99-based standards] (nextafterl): Likewise.
34101 [non-C99-based standards] (remainderl): Likewise.
34102 [non-C99-based standards] (rintl): Likewise.
34103 [non-C99-based standards] (scalbl): Likewise.
34104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34105 [non-C99-based standards] (FP_*): Do not allow.
34106 [C99-based standards] (FP_*): Change to
34107 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34108 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34110 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34111 (SIG_ERR): Likewise.
34112 [X/Open-based standards] (SIG_HOLD): Likewise.
34113 (SIG_IGN): Likewise.
34114 (SIGABRT): Use macro-int-constant. Specify type. Require
34116 (SIGFPE): Likewise.
34117 (SIGILL): Likewise.
34118 (SIGINT): Likewise.
34119 (SIGSEGV): Likewise.
34120 (SIGTER): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34123 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34124 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34125 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34126 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34129 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34130 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34131 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34132 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34133 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34134 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34135 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34136 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34137 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34138 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34139 [X/Open-based standards] (SIGTRAP): Likewise.
34140 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34141 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34142 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34143 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34144 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34147 2012-05-08 Ian Wienand <ianw@vmware.com>
34150 * time/tzset.c (__tzset_parse_tz): Update default rules for
34151 daylight time changes in the Energy Policy Act of 2005.
34153 2012-05-09 Andreas Jaeger <aj@suse.de>
34156 * elf/ldconfig.c (parse_conf): Change string to make clear that
34157 ldconfig only issued a warning if ld.so.conf does not exist.
34159 2012-05-08 David S. Miller <davem@davemloft.net>
34161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34162 movxtod instead of popping the value on the stack.
34164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34166 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34168 * config.h.in: Add HAVE_ARM_PCS_VFP.
34170 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34173 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34174 checking but the checks are disabled for any reason.
34176 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34178 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34179 and ELF64_R_TYPE with ELFW(R_TYPE).
34181 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34183 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34184 (ulimit): Likewise.
34186 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34187 (settimeofday): Likewise.
34189 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34191 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34192 a struct th_u2 inside the union, and move tu_block/tu_code into
34193 a new th_u3 union of tu_block/tu_code inside of that. Move
34194 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34195 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34196 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34197 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34198 (th_stuff): Change to th_u1.tu_stuff.
34200 (th_msg): Change to th_u1.th_u2.tu_data.
34202 2012-05-07 David S. Miller <davem@davemloft.net>
34204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34207 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34208 (SETUP_PIC_REG): Use it.
34209 (SETUP_PIC_REG_LEAF): Use it.
34211 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34217 (EXPL_FINITE): Likewise.
34218 (FLDLOG): Likewise.
34219 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34220 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34224 (EXPL_FINITE): Likewise.
34225 (FLDLOG): Likewise.
34226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34227 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34229 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34230 test of -max_value argument for long double.
34231 * sysdeps/i386/fpu/libm-test-ulps: Update.
34232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34234 2012-05-06 David S. Miller <davem@davemloft.net>
34236 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34237 quad soft-float symbols whose references which are compiler
34239 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34241 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34245 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34247 (EXPL_FINITE): Likewise.
34248 (FLDLOG): Likewise.
34251 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34252 Adjust comments for base varying.
34253 (__expl_finite): Change alias to EXPL_FINITE.
34254 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34256 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34257 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34258 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34259 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34262 (EXPL_FINITE): Likewise.
34263 (FLDLOG): Likewise.
34266 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34267 Adjust comments for base varying.
34268 (__expl_finite): Change alias to EXPL_FINITE.
34269 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34274 * math/libm-test.inc (check_float_internal): Correct ulp
34275 calculation for subnormal expected results.
34277 2012-05-06 Andreas Jaeger <aj@suse.de>
34279 * Makeconfig (+math-flags): New, set to -frounding-math.
34280 (+cflags): Add +math-flags so that all of glibc gets compiled with
34283 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34285 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34287 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34293 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34294 (__ieee754_expl): Allow for and saturate large arguments.
34295 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34296 (u_threshold): Likewise.
34297 (__exp): Call __ieee754_exp before checking for overflow and
34299 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34300 (u_threshold): Likewise.
34301 (__expf): Call __ieee754_expf before checking for overflow and
34303 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34304 (u_threshold): Likewise.
34305 (__expl): Call __ieee754_expl before checking for overflow and
34307 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34308 (__ieee754_expl): Allow for and saturate large arguments.
34309 * math/libm-test.inc (exp_test): Add another test. Do not allow
34310 missing overflow exception on overflow.
34311 (expm1_test): Do not allow missing overflow exception on overflow.
34313 * sysdeps/i386/fpu/e_expl.c: Move to ...
34314 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34315 rather than using inline asm.
34316 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34317 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34318 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34320 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34323 (signal): Likewise.
34327 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34329 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34330 sysdeps/unix/common/syscalls.list.
34331 (fchmod): Likewise.
34332 (fchown): Likewise.
34333 (ftruncate): Likewise.
34334 (getrusage): Likewise.
34335 (gettimeofday): Likewise.
34336 (setpgid): Likewise.
34337 (setregid): Likewise.
34338 (setreuid): Likewise.
34339 (sigaction): Likewise.
34340 (truncate): Likewise.
34341 (vhangup): Likewise.
34342 * sysdeps/unix/common/syscalls.list: Remove file.
34343 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34344 * sysdeps/unix/sysv/linux/Implies: Likewise.
34346 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34348 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34350 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34354 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34357 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34360 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34363 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34366 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34369 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34372 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34376 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34380 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34383 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34387 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34391 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34393 * sysdeps/unix/common/bits/dirent.h: Remove file.
34394 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34396 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34397 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34398 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34399 * sysdeps/unix/bsd/isatty.c: Likewise.
34400 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34401 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34402 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34404 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34408 long double comparison inaccuracies.
34409 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34412 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34414 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34415 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34417 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34421 nonzero digits before rounding a hex value.
34422 * stdlib/tst-strtod.c (tests): Add another test.
34424 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34426 * sysdeps/s390/fpu/libm-test-ulps: Update.
34428 2012-05-03 Andreas Jaeger <aj@suse.de>
34430 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34431 does not get optimized out.
34432 (malloc_opt_barrier): New.
34434 2012-05-03 Andreas Jaeger <aj@suse.de>
34435 Roland McGrath <roland@hack.frob.com>
34437 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34438 intermediate file deletion.
34439 (generated): Add .symlist files.
34441 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34444 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34445 Redirect under this condition.
34446 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34447 [__USE_GNU] (__dprintf_chk): Not under this condition.
34448 [__USE_GNU] (__vdprintf_chk): Likewise.
34449 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34450 under this condition.
34451 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34452 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34453 [__USE_XOPEN2K8] (vdprintf): Likewise.
34454 [__USE_GNU] (__dprintf_chk): Not under this condition.
34455 [__USE_GNU] (__vdprintf_chk): Likewise.
34456 [__USE_GNU] (dprintf): Likewise.
34457 [__USE_GNU] (vdprintf): Likewise.
34459 2012-05-03 Roland McGrath <roland@hack.frob.com>
34461 * elf/Makefile (common-generated): Set this instead of generated for
34462 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34463 $(all-built-dso)-derived lists.
34465 2012-05-03 Andreas Jaeger <aj@suse.de>
34467 * sysdeps/i386/fpu/libm-test-ulps: Update.
34470 * FAQ.in: Likewise.
34471 * scripts/gen-FAQ.pl: Likewise.
34472 * manual/install.texi (Installation): Point to online location of
34474 * Makefile (files-for-dist): Remove FAQ.
34477 2012-05-02 Allan McRae <allan@archlinux.org>
34479 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34480 (LDFLAGS-reldepmod5.so): Likewise.
34481 (LDFLAGS-reldep6mod1.so): Likewise.
34482 (LDFLAGS-reldep6mod4.so): Likewise.
34483 (LDFLAGS-reldep8mod3.so): Likewise.
34484 (LDFLAGS-unload4mod1.so): Likewise.
34485 (LDFLAGS-unload4mod2.so): Likewise.
34486 (LDFLAGS-tst-initorder): Likewise.
34487 (LDFLAGS-tst-initordera2.so): Likewise.
34488 (LDFLAGS-tst-initordera3.so): Likewise.
34489 (LDFLAGS-tst-initordera4.so): Likewise.
34490 (LDFLAGS-tst-initorderb2.so): Likewise.
34491 (LDFLAGS-noload): Likewise.
34492 (LDFLAGS-next): Likewise.
34493 (LDFLAGS-order2mod1.so): Likewise.
34494 (LDFLAGS-order2mod2.so): Likewise.
34495 (LDFLAGS-tst-initorder2): Likewise.
34496 (LDFLAGS-tst-initorder2a.so): Likewise.
34497 (LDFLAGS-tst-initorder2b.so): Likewise.
34498 (LDFLAGS-tst-initorder2c.so): Likewise.
34499 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34501 2012-05-02 David S. Miller <davem@davemloft.net>
34503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34505 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34508 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34510 2012-05-02 Andreas Jaeger <aj@suse.de>
34512 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34513 since we manipulate rounding mode.
34514 (CPPFLAGS-test-idouble.c): Likewise.
34515 (CPPFLAGS-test-ifloat.c): Likewise.
34516 (CFLAGS-test-ldouble.c): Likewise.
34517 (CFLAGS-test-double.c): Likewise.
34518 (CFLAGS-test-float.c): Likewise.
34519 (CFLAGS-test-misc.c): Likewise.
34520 (CFLAGS-test-test-fenv.c): Likewise.
34522 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34526 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34527 comparisons to determine direction to adjust input.
34529 2012-05-01 Roland McGrath <roland@hack.frob.com>
34531 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34532 output to the target.
34534 * scripts/localplt.awk: New file.
34535 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34536 (check-localplt-CFLAGS): Variable removed.
34537 ($(all-built-dso:=.jmprel)): New static pattern rule.
34538 (generated): Add those targets.
34539 (localplt-built-dso): New variable.
34540 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34542 * elf/check-localplt.c: File removed.
34544 * scripts/check-execstack.awk: New file.
34545 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34546 (check-execstack-CFLAGS): Variable removed.
34547 ($(objpfx)check-execstack.h): Target removed.
34548 ($(objpfx)execstack-default): New target.
34549 (generated): Add that instead of check-execstack.h.
34550 ($(all-built-dso:=.phdr)): New static pattern rule.
34551 (generated): Add those targets.
34552 * elf/check-execstack.c: File removed.
34554 * scripts/check-textrel.awk: New file.
34555 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34556 (check-textrel-CFLAGS): Variable removed.
34557 (all-built-dso): Use := to define.o
34558 ($(all-built-dso:=.dyn)): New static pattern rule.
34559 (generated): Add those targets.
34560 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34561 * config.make.in (READELF): New substituted variable.
34562 * elf/check-textrel.c: File removed.
34564 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34566 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34568 * conform/data/ctype.h-data [C99-based standards] (isblank):
34570 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34571 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34573 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34574 Specify type. Require positive value.
34575 (EILSEQ): Likewise.
34576 (ERANGE): Likewise.
34577 [ISO || POSIX] (EILSEQ): Do not expect.
34578 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34579 Specify type. Require positive value.
34580 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34581 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34582 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34583 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34584 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34585 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34586 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34587 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34588 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34589 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34590 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34591 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34592 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34593 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34594 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34595 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34596 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34597 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34598 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34599 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34601 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34604 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34605 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34606 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34607 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34608 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34609 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34610 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34611 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34612 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34613 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34616 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34617 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34618 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34619 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34620 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34621 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34622 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34623 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34624 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34625 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34626 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34627 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34628 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34629 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34630 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34631 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34632 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34633 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34634 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34635 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34636 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34637 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34638 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34639 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34640 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34641 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34642 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34644 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34645 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34646 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34647 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34648 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34649 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34650 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34651 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34652 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34653 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34654 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34655 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34656 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34658 (FLT_ROUNDS): Expect as macro, not constant.
34659 (FLT_MANT_DIG): Use macro-int-constant.
34660 (DBL_MANT_DIG): Likewise.
34661 (LDBL_MANT_DIG): Likewise.
34662 (FLT_DIG): Likewise.
34663 (DBL_DIG): Likewise.
34664 (LDBL_DIG): Likewise.
34665 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34666 (DBL_MIN_EXP): Likewise.
34667 (LDBL_MIN_EXP): Likewise.
34668 (FLT_MAX_EXP): Use macro-int-constant.
34669 (DBL_MAX_EXP): Likewise.
34670 (LDBL_MAX_EXP): Likewise.
34671 (FLT_MAX_10_EXP): Likewise.
34672 (DBL_MAX_10_EXP): Likewise.
34673 (LDBL_MAX_10_EXP): Likewise.
34674 (FLT_MAX): Use macro-constant.
34675 (DBL_MAX): Likewise.
34676 (LDBL_MAX): Likewise.
34677 (FLT_EPSILON): Use macro-constant. Give upper bound.
34678 (DBL_EPSILON): Likewise.
34679 (LDBL_EPSILON): Likewise.
34680 (FLT_MIN): Likewise.
34681 (DBL_MIN): Likewise.
34682 (LDBL_MIN): Likewise.
34683 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34684 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34685 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34686 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34687 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34688 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34689 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34690 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34691 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34692 [ISO11] (FLT_TRUE_MIN): Likewise.
34693 [ISO11] (LDBL_TRUE_MIN): Likewise.
34694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34695 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34696 (SCHAR_MIN): Use macro-int-constant. Specify type.
34697 (SCHAR_MAX): Likewise.
34698 (UCHAR_MAX): Likewise.
34699 (CHAR_MIN): Likewise.
34700 (CHAR_MAX): Likewise.
34701 (MB_LEN_MAX): Use macro-int-constant.
34702 (SHRT_MIN): Use macro-int-constant. Specify type.
34703 (SHRT_MAX): Likewise.
34704 (USHRT_MAX): Likewise.
34705 (INT_MAX): Likewise.
34706 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34708 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34710 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34712 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34713 bound negative. Suffix upper bound with "L".
34714 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34716 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34718 [C99-based standards] (LLONG_MAX): Likewise.
34719 [C99-based standards] (ULLONG_MAX): Likewise.
34720 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34722 [ISO11] (max_align_t): Require type.
34723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34725 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34726 from $CFLAGS, without defining away __attribute__ calls.
34727 (checknamespace): Use $CFLAGS_namespace.
34729 * conform/conformtest.pl (@keywords): Only include C99 keywords
34730 for standards based on C99 or C11.
34732 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34734 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34737 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34738 usability of symbols in #if.
34740 * conform/conformtest.pl: If macro or constant types start
34741 "promoted:", expect the symbol to be of the following type
34742 promoted by the integer promotions.
34744 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34745 in one place. Also handle "macro-constant".
34747 * conform/conformtest.pl: Only accept expected macro values with
34748 "==". Parse all "macro" lines in one place.
34749 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34751 * conform/conformtest.pl: Handle braced types on "constant" lines
34752 instead of handling "typed-constant".
34753 * conform/data/signal.h-data: Use "constant" instead of
34756 * conform/conformtest.pl: Handle "optional-" at start of lines in
34757 one place rather than duplicating several cases. Handle each
34758 format of "macro" line with initial "optional-".
34760 * conform/conformtest.pl: Only accept expected constant or
34761 optional-constant values with "==". Parse all "constant" lines in
34762 one place. Parse all "optional-constant" lines in one place.
34763 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34764 * conform/data/fmtmsg.h-data: Likewise.
34765 * conform/data/netinet/in.h-data: Likewise.
34766 * conform/data/tar.h-data: Likewise.
34767 * conform/data/limits.h-data: Use "==" form on "constant" and
34768 "optional-constant" lines.
34770 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34771 Use -std=c99 for XOPEN2K.
34772 (@knownproblems): Remove.
34773 (newtoken): Don't check %isknown.
34775 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34776 Do not expect macro.
34777 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34789 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34790 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34807 [XPG3] (acosh): Likewise.
34808 [XPG3] (asinh): Likewise.
34809 [XPG3] (atanh): Likewise.
34810 [XPG3] (cbrt): Likewise.
34811 [XPG3] (expm1): Likewise.
34812 [XPG3] (ilogb): Likewise.
34813 [XPG3] (log1p): Likewise.
34814 [XPG3] (logb): Likewise.
34815 [XPG3] (nextafter): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34818 [XPG3] (remainder): Likewise.
34819 [XPG3] (rint): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34827 [UNIX98 || XOPEN2K] (scalb): Expect.
34828 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34829 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34865 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34866 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34867 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34868 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34869 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34870 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34871 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34872 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34873 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34874 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34875 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34876 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34877 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34878 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34879 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34880 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34881 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34882 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34883 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34884 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34885 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34886 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34887 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34888 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34889 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34890 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34891 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34892 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34893 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34894 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34895 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34896 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34897 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34898 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34899 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34900 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34901 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34902 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34903 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34904 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34905 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34906 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34907 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34908 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34909 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34910 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34911 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34912 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34913 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34914 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34915 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34916 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34917 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34918 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34919 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34920 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34921 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34922 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34923 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34924 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34925 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34926 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34927 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34928 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34929 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34930 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34931 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34932 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34933 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34934 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34935 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34936 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34937 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34938 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34939 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34940 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34941 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34942 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34943 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34944 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34945 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34946 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34947 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34948 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34949 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34950 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34951 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34952 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34953 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34954 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34959 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34960 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34961 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34962 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34963 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34964 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34966 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34967 _XOPEN_SOURCE_EXTENDED for XPG4.
34969 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34971 * Makeconfig (localtime): Remove variable.
34972 (inst_localtime-file): Likewise.
34974 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34995 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34999 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35000 comparisons to determine direction to adjust input.
35001 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35002 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35003 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35005 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35007 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35009 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35010 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35012 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35014 * math/libm-test.inc (nexttoward_test): Add more tests.
35016 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35020 in version GLIBC_2.1, not GLIBC_2.0.
35021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35024 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35027 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35029 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35030 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35031 * math/libm-test.inc (acos_test): Add more tests.
35032 (asin_test): Likewise.
35033 * sysdeps/i386/fpu/libm-test-ulps: Update.
35034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35037 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35039 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35040 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35041 * math/libm-test.inc (acos_test_tonearest): New function.
35042 (acos_test_towardzero): Likewise.
35043 (acos_test_downward): Likewise.
35044 (acos_test_upward): Likewise.
35045 (asin_test_tonearest): Likewise.
35046 (asin_test_towardzero): Likewise.
35047 (asin_test_downward): Likewise.
35048 (asin_test_upward): Likewise.
35049 (main): Call the new functions.
35050 * sysdeps/i386/fpu/libm-test-ulps: Update.
35051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35055 * math/e_exp10.c: Include <float.h>.
35056 (__ieee754_exp10): Handle underflow here rather than multiplying
35057 large negative argument by M_LN10.
35058 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35060 * math/e_exp10l.c: Include <float.h>.
35061 (__ieee754_exp10l): Handle underflow here rather than multiplying
35062 large negative argument by M_LN10l.
35063 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35064 spurious overflow exception on underflow.
35066 2012-04-29 Marek Polacek <polacek@redhat.com>
35068 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35069 (__fortify_function): New macro.
35070 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35071 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35072 __extern_always_inline.
35073 * libio/bits/stdio2.h: Likewise.
35074 * libio/bits/stdio.h: Likewise.
35075 * string/string.h: Likewise.
35076 * string/bits/string3.h: Likewise.
35077 * include/stdio.h: Likewise.
35078 * stdlib/bits/stdlib.h: Likewise.
35079 * stdlib/stdlib.h: Likewise.
35080 * rt/bits/mqueue2.h: Likewise.
35081 * rt/mqueue.h: Likewise.
35082 * posix/bits/unistd.h: Likewise.
35083 * posix/unistd.h: Likewise.
35084 * io/bits/poll2.h: Likewise.
35085 * io/bits/fcntl2.h: Likewise.
35086 * io/fcntl.h: Likewise.
35087 * io/sys/poll.h: Likewise.
35088 * misc/bits/syslog.h: Likewise.
35089 * misc/bits/syslog-ldbl.h: Likewise.
35090 * misc/sys/syslog.h: Likewise.
35091 * socket/bits/socket2.h: Likewise.
35092 * socket/sys/socket.h: Likewise.
35093 * debug/tst-chk1.c: Likewise.
35094 * wcsmbs/bits/wchar2.h: Likewise.
35095 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35096 * wcsmbs/wchar.h: Likewise.
35098 2012-04-29 Andreas Jaeger <aj@suse.de>
35100 * Makerules (tests): Remove enable-check-abi protection.
35101 (check-abi-warn): Remove.
35102 (check-abi-%): Remove check-abi-warn usage.
35104 * configure.in: Remove check-abi configure option.
35105 * configure: Regenerated.
35106 * config.make.in (enable-check-abi): Remove.
35108 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35111 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35112 double functions to double *_finite functions.
35115 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35116 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35118 * stdio-common/Makefile (tests): Add tst-sprintf3.
35119 * stdio-common/tst-sprintf3.c: New file.
35121 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35122 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35124 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35126 * conform/conformtest.pl: Remove duplicate typed-constant
35129 2012-04-28 David S. Miller <davem@davemloft.net>
35131 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35132 (check-abi-%): Remove AWK script prerequisite and explicit
35134 (check-abi): Rewrite to just diff the symlist with the abilist.
35135 (config-tls, config-abi-config): Delete, no longer used.
35136 (update-abi-%): Remove AWK script and explicit abilist directory.
35137 (update-abi): Rewrite to simply compare and conditionally copy the
35138 symlist and the sysdep abilist file. Remove update-abi-config
35140 * abilist/ld.abilist: Remove.
35141 * abilist/libBrokenLocale.abilist: Remove.
35142 * abilist/libanl.abilist: Remove.
35143 * abilist/libcrypt.abilist: Remove.
35144 * abilist/libdl.abilist: Remove.
35145 * abilist/librt.abilist: Remove.
35146 * abilist/libthread_db.abilist: Remove.
35147 * abilist/libutil.abilist: Remove.
35148 * scripts/extract-abilist.awk: Remove.
35149 * scripts/merge-abilist.awk: Remove.
35150 * sysdeps/generic/libcidn.abilist: New file.
35151 * sysdeps/generic/libnss_compat.abilist: New file.
35152 * sysdeps/generic/libnss_db.abilist: New file.
35153 * sysdeps/generic/libnss_dns.abilist: New file.
35154 * sysdeps/generic/libnss_files.abilist: New file.
35155 * sysdeps/generic/libnss_hesiod.abilist: New file.
35156 * sysdeps/generic/libnss_nis.abilist: New file.
35157 * sysdeps/generic/libnss_nisplus.abilist: New file.
35158 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35159 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35160 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35163 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35164 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35165 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35166 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35167 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35168 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35169 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35170 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35172 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35173 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35174 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35175 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35177 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35178 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35179 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35180 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35181 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35182 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35184 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35185 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35186 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35188 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35291 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35292 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35293 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35296 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35297 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35298 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35299 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35300 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35301 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35302 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35303 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35304 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35356 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35358 * conform/conformtest.pl: Fix typo in handling typed-constant from
35361 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35363 * README: Cut down references to pre-2.6 Linux kernels and
35364 Linuxthreads. Update lists of configurations in libc and ports
35365 and sort alphabetically. Say "or newer" with Linux kernel version
35368 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35370 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35373 * math/libm-test.inc (logb_test_downward): New test to expose
35374 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35377 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35380 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35382 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35383 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35385 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35387 * sysdeps/unix/i386/brk.S: Remove file.
35388 * sysdeps/unix/i386/dl-brk.S: Likewise.
35389 * sysdeps/unix/i386/pipe.S: Likewise.
35390 * sysdeps/unix/i386/sigreturn.S: Likewise.
35391 * sysdeps/unix/i386/syscall.S: Likewise.
35392 * sysdeps/unix/i386/vfork.S: Likewise.
35393 * sysdeps/unix/i386/wait.S: Likewise.
35395 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35396 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35398 * configure.in (arm*-none*): Do not allow without
35399 --enable-hacker-mode.
35400 (netbsd*): Remove case setting base_os.
35401 (386bsd*): Likewise.
35402 (freebsd*): Likewise.
35405 (sunos*): Likewise.
35406 (ultrix*): Likewise.
35407 (newsos*): Likewise.
35408 (dynix*): Likewise.
35414 (minix*): Likewise.
35415 (irix4*): Likewise.
35416 (irix6*): Likewise.
35417 (solaris[2-9]*): Likewise.
35419 * configure: Regenerated.
35421 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35424 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35425 overflow or cancellation in calculating denominator.
35426 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35428 down expression to avoid unexpected rounding in newer GCCs.
35429 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35431 2012-04-26 David S. Miller <davem@davemloft.net>
35433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35434 long-double compat symbols.
35435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35449 2012-04-25 David S. Miller <davem@davemloft.net>
35451 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35452 HWCAP_* values only after the memory barriers have been defined.
35453 (atomic_full_barrier): Define.
35454 (atomic_read_barrier): Define.
35455 (atomic_write_barrier): Define.
35457 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35459 * shlib-versions: Add libgcc_s version information.
35460 * sysdeps/generic/libgcc_s.h: Remove.
35461 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35463 * sysdeps/gnu/unwind-resume.c: Likewise.
35464 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35466 2012-04-25 David S. Miller <davem@davemloft.net>
35468 * sysdeps/unix/sparc/brk.S: Delete.
35469 * sysdeps/unix/sparc/dl-brk.S: Delete.
35470 * sysdeps/unix/sparc/pipe.S: Delete.
35471 * sysdeps/unix/sparc/sysdep.S: Delete.
35472 * sysdeps/unix/sparc/sysdep.h: Delete.
35473 * sysdeps/unix/sparc/vfork.S: Delete.
35474 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35475 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35476 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35477 (ret_ERRVAL, r0, r1, MOVE): Define.
35478 (JUMPTARGET): Remove.
35479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35480 sysdeps/unix/sparc/sysdep.h
35481 (ENTRY, END): Remove.
35482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35484 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35486 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35487 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35490 * timezone/README: Update upstream location and email address for
35492 * timezone/zdump.c: Update from tzcode 2012b.
35493 * timezone/zic.c: Likewise.
35495 * configure.in (libc_cv_as_needed): Remove test.
35496 * configure: Regenerated.
35497 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35498 conditional definition.
35499 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35500 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35501 * config.make.in (have-as-needed): Remove variable.
35503 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35504 Paul Pluzhnikov <ppluzhnikov@google.com>
35506 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35509 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35511 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35512 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35513 * sysdeps/sh/strlen.S: Likewise.
35515 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35517 * sysdeps/unix/fork.S: Remove file.
35518 * sysdeps/unix/i386/fork.S: Likewise.
35519 * sysdeps/unix/sparc/fork.S: Likewise.
35521 * sysdeps/unix/system.c: Remove file.
35522 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35524 * sysdeps/unix/getegid.S: Remove file.
35525 * sysdeps/unix/geteuid.S: Likewise.
35527 2012-04-24 Roland McGrath <roland@hack.frob.com>
35529 * scripts/check-localplt.awk: New file.
35530 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35532 * scripts/data/localplt-generic.data: Add a comment.
35534 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35535 NODE when __dir_mkfile failed.
35536 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35537 Reported by Ludovic Courtès <ludo@gnu.org>.
35539 2012-04-24 Andreas Jaeger <aj@suse.de>
35541 * Makerules (common-clean): Also remove gen-as-const-headers
35544 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35546 * Makerules (native-compile): Do not change working directory for
35547 build. Use $(OUTPUT_OPTION) in command.
35548 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35550 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35553 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35554 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35555 * math/libm-test.inc (floor_test): Add more tests.
35556 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35558 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35560 * sysdeps/unix/getdents.c: Remove file.
35561 * sysdeps/unix/sysv/getdents.c: Likewise.
35562 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35564 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35565 sysdeps/unix/mman/syscalls.list.
35567 (mprotect): Likewise.
35569 (munmap): Likewise.
35570 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35571 * sysdeps/unix/mman/syscalls.list: Remove.
35572 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35574 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35575 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35576 * configure: Regenerated.
35577 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35578 $(libgcc_s_suffix).
35579 * config.make.in (libgcc_s_suffix): Remove variable.
35581 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35583 * sysdeps/unix/sysv/gethostname.c: Move to ...
35584 * sysdeps/posix/gethostname.c: ... here.
35586 * sysdeps/unix/execve.S: Remove file.
35588 * sysdeps/unix/_exit.S: Remove file.
35590 2012-04-23 Andreas Jaeger <aj@suse.de>
35593 * manual/Makefile: Remove make dist support, there's no
35594 need for a stand-alone documentation tar ball.
35595 (TEXI2DVI): Define always, it's not in Makeconfig.
35598 (edition): Removed.
35599 (glibc-doc-$(edition).tar): Removed
35603 (ETAGS): Remove, it's in Makeconfig.
35604 (move-if-change): Remove, it's in Makeconfig.
35606 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35609 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35610 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35611 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35612 (strtod_l, strtof_l, strtold_l): Remove __wur.
35613 It is not necessarily an error to ignore strtol's return value.
35614 One can reliably look at the stored endptr to decide whether
35615 the number had valid syntax.
35617 2012-04-21 Andreas Jaeger <aj@suse.de>
35620 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35622 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35624 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35625 * sysdeps/unix/sysv/Versions: Remove file.
35627 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35632 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35635 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35636 version from __vm86.
35638 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35640 * sysdeps/unix/common/lxstat.c: Remove file.
35641 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35643 * sysdeps/unix/sysv/Makefile: Remove file.
35645 * sysdeps/unix/sysv/direct.h: Remove file.
35647 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35648 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35649 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35650 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35651 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35652 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35653 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35655 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35657 * sysdeps/unix/xmknod.c: Remove file.
35658 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35660 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35662 * sysdeps/unix/sysv/i386/time.S: Remove file.
35664 * sysdeps/unix/fxstat.c: Remove file.
35665 * sysdeps/unix/xstat.c: Likewise.
35666 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35668 * sysdeps/unix/sysv/sigaction.c: Remove file.
35670 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35671 (sysdep_headers): Remove variable.
35672 [termio.h not in sysdep_headers] (generated): Likewise.
35673 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35674 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35675 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35676 * sysdeps/unix/sysv/tcflow.c: Likewise.
35677 * sysdeps/unix/sysv/tcflush.c: Likewise.
35678 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35679 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35680 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35681 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35682 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35684 * sysdeps/unix/siglist.c: Remove file.
35686 * sysdeps/unix/getppid.S: Remove file.
35688 * sysdeps/unix/mkdir.c: Remove file.
35689 * sysdeps/unix/rmdir.c: Likewise.
35691 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35693 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35695 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35696 errlist-compat value.
35698 2012-04-18 David S. Miller <davem@davemloft.net>
35700 * sysdeps/generic/memcopy.h (reg_char): Delete.
35701 * debug/strcat_chk.c: Use char, not reg_char.
35702 * debug/strcpy_chk.c: Likewise.
35703 * debug/strncat_chk.c: Likewise.
35704 * debug/strncpy_chk.c: Likewise.
35705 * string/memchr.c: Likewise.
35706 * string/memrchr.c: Likewise.
35707 * string/rawmemchr.c: Likewise.
35708 * string/strcat.c: Likewise.
35709 * string/strchr.c: Likewise.
35710 * string/strchrnul.c: Likewise.
35711 * string/strcmp.c: Likewise.
35712 * string/strcpy.c: Likewise.
35713 * string/strncat.c: Likewise.
35714 * string/strncmp.c: Likewise.
35715 * string/strncpy.c: Likewise.
35717 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35719 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35720 __builtin_memcopy is called when src and dest ranges are known to not
35723 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35725 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35726 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35727 fwd_align_merge macro call.
35728 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35729 bwd_align_merge macro call.
35730 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35732 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35734 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35735 bwd_align_merge macros.
35736 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35737 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35738 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35740 2012-04-18 David S. Miller <davem@davemloft.net>
35742 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35744 2012-04-18 Andreas Jaeger <aj@suse.de>
35747 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35748 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35749 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35752 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35753 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35755 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35756 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35757 Adjust for changed ldbl-128 files.
35759 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35760 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35761 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35763 2012-04-17 David S. Miller <davem@davemloft.net>
35765 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35767 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35769 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35770 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35771 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35772 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35773 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35774 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35776 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35779 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35780 * math/libm-test.inc: Add ilogb errno and exception tests.
35781 * math/w_ilogb.c: New file: ilogb wrapper.
35782 * math/w_ilogbf.c: New file: ilogbf wrapper.
35783 * math/w_ilogbl.c: New file: ilogbl wrapper.
35784 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35785 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35786 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35787 exception being thrown with 0.0 as argument.
35788 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35789 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35790 exception being thrown with 0.0 as argument.
35791 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35792 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35793 exception being thrown with 0.0 as argument.
35794 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35795 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35796 exception being thrown with 0.0 as argument.
35797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35798 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35799 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35800 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35802 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35803 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35804 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35805 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35807 2012-04-17 Petr Baudis <pasky@ucw.cz>
35809 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35812 2012-04-16 Marek Polacek <polacek@redhat.com>
35814 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35816 2012-04-16 Marek Polacek <polacek@redhat.com>
35818 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35819 operands of fdivp instruction.
35821 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35823 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35824 * elf/tst-auditmod3b.c: Likewise.
35825 * elf/tst-auditmod4b.c: Likewise.
35826 * elf/tst-auditmod5b.c: Likewise.
35827 * elf/tst-auditmod6b.c: Likewise.
35828 * elf/tst-auditmod6c.c: Likewise.
35829 * elf/tst-auditmod7b.c: Likewise.
35830 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35831 * sysdeps/x86_64/preconfigure.in: Likewise.
35832 * sysdeps/x86_64/preconfigure: Regenerated.
35834 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35836 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35839 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35842 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35844 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35847 * locale/iso-639.def: Fix gl language name. Spotted by
35850 2012-04-12 Roland McGrath <roland@hack.frob.com>
35853 * libio/libio.h (__io_write_fn): Update comment.
35855 2012-04-12 Petr Baudis <pasky@ucw.cz>
35858 * stdio.texi (Hook Functions): The user provided writer function
35859 is not allowed to return -1.
35861 2012-04-11 David S. Miller <davem@davemloft.net>
35863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35865 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35867 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35868 Add a leading slash to rtkaio.
35870 2012-04-11 Jim Meyering <meyering@redhat.com>
35873 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35874 It is not necessarily an error to ignore fwrite's return
35875 value. One can reliably use ferror to test for errors after
35878 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35880 * bits/types.h (__snseconds_t): New type.
35881 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35883 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35885 (__SNSECONDS_T_TYPE): Likewise.
35886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35887 (__SNSECONDS_T_TYPE): Likewise.
35888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35889 (__SNSECONDS_T_TYPE): Likewise.
35891 2012-04-10 Andreas Jaeger <aj@suse.de>
35894 * manual/time.texi (Processor Time): Return type of times is
35895 elapsed real time since an arbitrary point in the past.
35896 (CPU Time): Move CLK_TCK from here...
35897 (Processor Time): ...to here. Correct description.
35898 * manual/conf.texi (Constants for Sysconf): Correct description of
35901 2012-04-10 David S. Miller <davem@davemloft.net>
35904 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35905 where the is a gap between DT_REL(A) and DT_JMPREL.
35907 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35909 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35910 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35911 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35913 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35915 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35916 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35917 (dl_main): Handle --inhibit-cache.
35918 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35920 * elf/dl-load.c (_dl_map_object): Use it.
35921 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35923 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35926 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35927 (__ieee754_powl): Saturate large exponents rather than testing for
35928 overflow of y*log2(x).
35929 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35930 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35934 * math/s_ctan.c: Include <float.h>.
35935 (__ctan): Avoid internal overflow or cancellation in calculating
35937 * math/s_ctanf.c: Likewise.
35938 * math/s_ctanl.c: Likewise.
35939 * math/s_ctanh.c: Likewise.
35940 * math/s_ctanhf.c: Likewise.
35941 * math/s_ctanhl.c: Likewise.
35942 * math/libm-test.inc (ctan_test): Add more tests.
35943 (ctanh_test): Likewise.
35944 * sysdeps/i386/fpu/libm-test-ulps: Update.
35945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35947 2012-04-09 Andreas Jaeger <aj@suse.de>
35950 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35951 is an optional BSD extension.
35954 * manual/stdio.texi (Opening Streams): Document additional fopen
35957 2012-04-09 Roland McGrath <roland@hack.frob.com>
35959 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35960 %eax without telling the compiler.
35962 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35965 * manual/install.texi: Use sourceware.org.
35967 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35970 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35971 (__ieee754_pow): Generate overflow and underflow using huge*huge
35972 and tiny*tiny rather than just returning constant infinity or zero
35973 for large exponents.
35974 * math/libm-test.inc (pow_test): Require overflow exceptions for
35975 applicable cases of large exponents.
35978 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35979 (__ieee754_pow): Use iterative multiplication algorithm only for
35980 integer exponents with absolute value below 1024. Check for odd
35981 integer exponents when using algorithm for real exponents.
35982 * math/libm-test.inc (pow_test): Add more tests.
35983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35985 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35988 * math/libm-test.inc (exp_test): Do not allow overflow exception
35991 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35994 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35995 instead of __kernel_standard_f.
35997 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35999 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36000 * sysdeps/x86_64/memset_chk.S: Likewise.
36002 2012-04-08 Andreas Jaeger <aj@suse.de>
36005 * manual/startup.texi (Environment Access): Describe return value
36006 for putenv and setenv.
36009 * manual/filesys.texi (Directory Entries): Add description for
36013 * manual/filesys.texi (Directory Entries): Clarify that it's file
36014 system not operating system in the description of DT_UNKNOWN.
36017 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36019 2012-04-08 Stephen Compall <s11@member.fsf.org>
36022 * manual/llio.texi (Opening and Closing Files): Add cross
36023 reference to explain mode argument.
36025 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36027 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36028 * sysdeps/x86_64/memset_chk.S: Likewise.
36030 2012-04-07 David S. Miller <davem@davemloft.net>
36032 * elf/elf.h (R_SPARC_WDISP10): Define.
36033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36035 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36036 R_SPARC_SIZE64 and R_SPARC_H34.
36038 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36040 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36041 conditions and remove no longer applicable assertion.
36043 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36045 * bits/byteswap.h: Include <features.h>.
36046 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36047 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36049 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36051 * bits/byteswap.h (__bswap_16): Removed.
36052 Include <bits/byteswap-16.h> to get __bswap_16.
36053 * sysdeps/i386/bits/byteswap.h: Likewise.
36054 * sysdeps/s390/bits/byteswap.h: Likewise.
36055 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36056 * bits/byteswap-16.h: New file.
36057 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36058 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36059 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36060 * string/Makefile (headers): Add bits/byteswap-16.h.
36062 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36065 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36067 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36068 * nss/tst-nss-static.c: New.
36070 2012-04-06 Robert Millan <rmh@gnu.org>
36073 * manual/llio.texi (File Position Primitive): lseek
36074 refers to WHENCE when it really means OFFSET.
36076 2012-04-06 Andreas Jaeger <aj@suse.de>
36078 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36079 strncmp declarations.
36081 * abilist/libc.abilist: Add __poll and __ppoll.
36083 2012-04-05 David S. Miller <davem@davemloft.net>
36085 * scripts/check-local-headers.sh: Accept a host triplet in the
36086 path matched by the exclude regexp.
36088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36090 * sysdeps/powerpc/powerpc32/dl-machine.h
36091 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36092 * sysdeps/s390/s390-32/dl-machine.h
36093 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36094 * sysdeps/sparc/sparc32/dl-machine.h
36095 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36096 * sysdeps/sparc/sparc64/dl-machine.h
36097 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36099 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36101 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36102 undefined symbol errors.
36104 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36107 2012-04-05 Michael Matz <matz@suse.de>
36110 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36112 2012-04-05 Andreas Jaeger <aj@suse.de>
36115 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36118 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36120 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36121 which ROUND is no valid rounding mode.
36123 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36127 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36129 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36131 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36132 an exception using FPU order intentionally.
36134 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36136 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36137 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36138 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36139 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36141 2012-04-05 Simon Josefsson <simon@josefsson.org>
36144 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36145 EINVAL when BUFLEN is too smal.
36147 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36150 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36151 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36153 2012-04-03 Andreas Jaeger <aj@suse.de>
36156 * manual/setjmp.texi (System V contexts): Fix sentence.
36159 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36160 New macro for this case.
36161 [!__GNUC__] (__bswap_64): New inline function for this case.
36162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36163 * bits/byteswap.h: Likewise.
36164 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36165 ull, guard with __GLIBC_HAVE_LONG_LONG.
36167 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36168 __GLIBC_HAVE_LONG_LONG.
36170 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36171 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36173 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36176 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36177 inptr and inend, rather than using last_ch.
36179 2012-04-02 David S. Miller <davem@davemloft.net>
36181 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36182 * stdio-common/printf-parse.h (read_int): Change return type to
36183 'int', return -1 on INT_MAX overflow.
36184 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36185 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36186 overflows INT_MAX. Check for overflow of in-format-string precision
36187 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36188 SIZE_MAX not INT_MAX for integer overflow test.
36189 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36190 skip the construct in the format string but do not record anything.
36191 * stdio-common/bug22.c: Adjust to test both width/prevision
36192 INT_MAX overflow as well as total length INT_MAX overflow. Check
36193 explicitly for proper errno values.
36195 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36197 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36199 * string/test-strcmp.c [! WIDE]: Likewise.
36200 * time/tst-mktime2.c: Likewise for INT_MAX.
36201 * string/test-string.h: #include <sys/param.h> for MIN.
36203 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36204 * sysdeps/i386/init-first.c (init): Likewise.
36205 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36206 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36207 * sysdeps/sh/init-first.c (init): Likewise.
36209 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36211 * po/ru.po: Update from translation team.
36212 * po/vi.po: Likewise.
36214 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36216 * resolv/nss_dns/dns-host.c: Merge copyright years.
36218 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36221 Optimize memcpy with prefetch if
36222 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36223 src, dst pointers have unequal 16 byte alignments.
36225 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36228 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36229 from a CNAME entry and return the minimum ttl for the query.
36230 (gaih_getanswer_slice): Likewise.
36232 2012-03-30 Jeff Law <law@redhat.com>
36234 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36236 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36237 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36239 * resolv/nss_dns/dns-host.c: Update copyright year.
36241 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36243 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36244 requests to save a system call. Fix check that all bytes are sent.
36246 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36247 comments for sendmmsg.
36249 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36252 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36253 with only 1 character between 0x0041 and 0x01b0.
36254 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36255 * wcsmbs/tst-mbsnrtowcs.c: New file.
36257 2012-03-29 David S. Miller <davem@davemloft.net>
36259 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36260 small copies by hand.
36262 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36265 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36266 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36269 2012-03-28 David S. Miller <davem@davemloft.net>
36271 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36272 that branches into memcpy.
36273 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36276 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36279 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36280 implementation too.
36281 * sysdeps/sparc/mempcpy.S: New file.
36283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36284 the IFUNC routine in the libc case.
36285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36287 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36288 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36289 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36290 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36291 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36292 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36293 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36294 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36296 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36297 loop to 256 bytes instead of 64 bytes and fix test signedness.
36299 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36300 * sysdeps/sparc/sparc32/Makefile: rather than here...
36301 * sysdeps/sparc/sparc64/Makefile: and here.
36303 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36305 * malloc/mallocbug.c: Avoid warnings about unused variables.
36307 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36310 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36311 in the right place. Discard and retry query if response is
36312 larger than input buffer size.
36314 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36319 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36320 x for large integer exponent.
36321 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36322 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36323 sign of result as needed afterwards.
36324 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36325 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36326 result for underflowing pow the same as for overflow.
36327 (__kernel_standard_l): Handle powl overflow and underflow here
36328 rather than calling __kernel_standard.
36329 * math/libm-test.inc (pow_test): Add more tests.
36344 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36345 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36346 (__kernel_standard_l): New function.
36347 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36349 * math/w_acosl.c (__acosl): Likewise.
36350 * math/w_asinl.c (__asinl): Likewise.
36351 * math/w_atan2l.c (__atan2l): Likewise.
36352 * math/w_atanhl.c (__atanhl): Likewise.
36353 * math/w_coshl.c (__coshl): Likewise.
36354 * math/w_exp10l.c (__exp10l): Likewise.
36355 * math/w_exp2l.c (__exp2l): Likewise.
36356 * math/w_fmodl.c (__fmodl): Likewise.
36357 * math/w_hypotl.c (__hypotl): Likewise.
36358 * math/w_j0l.c (__j0l, __y0l): Likewise.
36359 * math/w_j1l.c (__j1l, __y1l): Likewise.
36360 * math/w_jnl.c (__jnl, __ynl): Likewise.
36361 * math/w_lgammal.c (__lgammal): Likewise.
36362 * math/w_log10l.c (__log10l): Likewise.
36363 * math/w_log2l.c (__log2l): Likewise.
36364 * math/w_logl.c (__logl): Likewise.
36365 * math/w_powl.c (__powl): Likewise.
36366 * math/w_remainderl.c (__remainderl): Likewise.
36367 * math/w_scalbl.c (sysv_scalbl): Likewise.
36368 * math/w_sinhl.c (__sinhl): Likewise.
36369 * math/w_sqrtl.c (__sqrtl): Likewise.
36370 * math/w_tgammal.c (__tgammal): Likewise.
36371 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36372 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36373 * math/libm-test.inc (acos_test): Add more tests.
36374 (acosh_test): Likewise.
36375 (asin_test): Likewise.
36376 (atanh_test): Likewise.
36377 (exp_test): Likewise.
36378 (exp10_test): Likewise.
36379 (exp2_test): Likewise.
36380 (expm1_test): Likewise.
36381 (lgamma_test): Likewise.
36382 (log_test): Likewise.
36383 (log10_test): Likewise.
36384 (log1p_test): Likewise.
36385 (log2_test): Likewise.
36386 (pow_test): Do not allow some spurious overflow exceptions.
36387 (sqrt_test): Add more tests.
36388 (tgamma_test): Likewise.
36389 (y0_test): Likewise.
36390 (y1_test): Likewise.
36391 (yn_test): Likewise.
36393 2012-03-27 Anton Blanchard <anton@samba.org>
36395 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36397 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36398 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36401 2012-03-27 David S. Miller <davem@davemloft.net>
36403 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36405 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36406 have-as-vis3 check.
36408 2012-03-27 Andreas Jaeger <aj@suse.de>
36410 * sysdeps/x86_64/elf/configure.in: Moved to ...
36411 * sysdeps/x86_64/configure.in: ... here.
36412 * sysdeps/x86_64/elf/start.S: Moved to ...
36413 * sysdeps/x86_64/start.S: ... here.
36414 * sysdeps/x86_64/elf/configure: Delete.
36416 * sysdeps/x86_64/configure.in: Merge contents from
36417 sysdeps/i386/configure.in (without i686 check).
36419 * sysdeps/i386/elf/Versions: Merge into ...
36420 * sysdeps/i386/Versions: ... this.
36421 * sysdeps/i386/elf/Versions: Delete file.
36422 * sysdeps/i386/elf/start.S: Moved to ...
36423 * sysdeps/i386/start.S: ...here.
36424 * sysdeps/i386/elf/configure.in: Merge into...
36425 * sysdeps/i386/configure.in: ...here.
36426 * sysdeps/i386/elf/configure.in: Delete file.
36427 * sysdeps/i386/elf/configure: Delete file.
36429 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36430 * debug/backtracesyms.c: ... here.
36431 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36432 * debug/backtracesymsfd.c: ... here.
36433 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36434 * sysdeps/generic/ifunc-sel.h: ... here.
36436 * sysdeps/unix/i386/start.c: Delete file.
36437 * sysdeps/unix/sparc/start.c: Delete file.
36438 * sysdeps/unix/start.c: Delete file.
36440 * sysdeps/sh/elf/configure.in: Moved to ...
36441 * sysdeps/sh/configure.in: ... here.
36442 * sysdeps/sh/elf/start.S: Moved to ...
36443 * sysdeps/sh/start.S: ... here.
36444 * sysdeps/sh/elf/configure: Delete file.
36446 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36447 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36448 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36449 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36450 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36451 * sysdeps/powerpc/powerpc64/start.S: here.
36452 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36453 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36454 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36455 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36456 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36458 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36459 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36460 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36461 * sysdeps/powerpc/powerpc32/start.S: ... here.
36462 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36463 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36464 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36466 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36467 * sysdeps/powerpc/ifunc-sel.h: ... here.
36468 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36469 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36471 * sysdeps/sparc/elf/configure.in: Moved to ...
36472 * sysdeps/sparc/configure.in: ... here.
36473 * sysdeps/sparc/elf/configure: Delete file.
36474 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36475 * sysdeps/sparc/sparc32/start.S: ... here.
36476 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36477 * sysdeps/sparc/sparc64/start.S: ... here.
36478 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36479 * sysdeps/sparc/sparc32/Makefile: ... this.
36480 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36481 * sysdeps/sparc/sparc64/Makefile: ... this.
36483 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36484 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36485 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36486 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36487 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36488 * sysdeps/s390/s390-32/setjmp.S: ... here.
36489 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36490 * sysdeps/s390/s390-32/configure.in: ... here.
36491 * sysdeps/s390/s390-32/elf/configure: Delete file.
36492 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36493 * sysdeps/s390/s390-32/start.S: ... here.
36495 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36496 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36497 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36498 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36499 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36500 * sysdeps/s390/s390-64/setjmp.S: ... here.
36501 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36502 * sysdeps/s390/s390-64/configure.in: ... here
36503 * sysdeps/s390/s390-64/elf/configure: Delete file.
36504 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36505 * sysdeps/s390/s390-64/start.S: ... here.
36506 * sysdeps/s390/s390-64/elf/configure: Delete.
36508 * configure.in: Remove support for elf directories in sysdeps.
36510 * configure: Regenerated.
36511 * sysdeps/i386/configure: Regenerated.
36512 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36513 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36514 * sysdeps/s390/s390-32/configure: Regenerated.
36515 * sysdeps/s390/s390-64/configure: Regenerated.
36516 * sysdeps/sh/configure: Regenerated.
36517 * sysdeps/sparc/configure: Regenerated.
36518 * sysdeps/x86_64/configure: Regenerated.
36520 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36525 denormal result into account.
36527 2012-03-25 Roland McGrath <roland@hack.frob.com>
36529 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36530 Reported by Allan McRae <allan@archlinux.org>.
36532 2012-03-23 Jeff Law <law@redhat.com>
36534 * nss/getnssent.c (__nss_getent): Fix typo.
36536 2012-03-23 David S. Miller <davem@davemloft.net>
36538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36540 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36542 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36543 to pad to uint64_t for each field.
36544 (dl_tls_index): Replace unsigned long with uint64_t.
36546 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36547 Paul Pluzhnikov <ppluzhnikov@google.com>
36550 * grp/Makefile (otherlibs): Don't set it.
36551 * inet/Makefile (otherlibs): Likewise.
36552 * login/Makefile (otherlibs): Likewise.
36553 * nscd/Makefile (otherlibs): Likewise.
36554 * posix/Makefile (otherlibs): Likewise.
36555 * pwd/Makefile (otherlibs): Likewise.
36556 * rt/Makefile (otherlibs): Likewise.
36557 * sunrpc/Makefile (otherlibs): Likewise.
36558 * nss/Makefile (otherlibs): Likewise.
36559 Add libnss_files to routines and static-only-routines.
36560 ($(objpfx)getent): Remove rule.
36561 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36562 static-only-routines.
36564 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36567 * math/s_cexp.c: Include <float.h>.
36568 (__cexp): Handle exp result overflowing not necessarily
36569 overflowing both real and imaginary parts of result.
36570 * math/s_cexpf.c: Likewise.
36571 * math/s_cexpl.c: Likewise.
36572 * math/libm-test.inc (cexp_test): Add more tests.
36573 * sysdeps/i386/fpu/libm-test-ulps: Update.
36574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36576 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36578 * include/link.h (ELFW): New macro.
36579 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36580 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36582 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36584 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36587 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36589 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36591 (struct La_x32_retval): Likewise.
36593 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36595 * sysdeps/x86_64/preconfigure.in: New file.
36596 * sysdeps/x86_64/preconfigure: New generated file.
36598 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36601 * math/e_exp2l.c: Include <float.h>.
36602 (__ieee754_exp2l): Handle overflow and underflow cases
36603 separately. Only pass fractional part of argument to
36605 * math/libm-test.inc (exp2_test): Add more tests.
36607 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36608 negating x to take absolute value.
36609 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36611 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36612 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36614 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36615 computing low part if x was negated.
36616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36618 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36620 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36621 la_x32_gnu_pltexit.
36622 (pltexit): Cast int_retval to ptrdiff_t.
36623 * elf/tst-auditmod3b.c: Likewise.
36624 * elf/tst-auditmod4b.c: Likewise.
36625 * elf/tst-auditmod5b.c: Likewise.
36626 * elf/tst-auditmod6b.c: Likewise.
36627 * elf/tst-auditmod6c.c: Likewise.
36628 * elf/tst-auditmod7b.c: Likewise.
36630 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36631 and x32_gnu_pltexit.
36633 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36634 __ELF_NATIVE_CLASS.
36635 (La_x32_regs): New macro.
36636 (La_x32_retval): Likewise.
36637 (la_x32_gnu_pltenter): New function prototype.
36638 (la_x32_gnu_pltexit): Likewise.
36640 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36647 * configure.in (libc_cv_cc_nofma): Check for option to disable
36648 generation of FMA instructions.
36649 * configure: Regenerate.
36650 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36651 * sysdeps/ieee754/dbl-64/Makefile: New file.
36652 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36653 Remove brandred-fma4.
36654 (CFLAGS-brandred-fma4.c): Remove.
36655 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36656 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36658 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36661 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36663 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36664 LLONG_MAX != LONG_MAX.
36665 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36666 (_fitoa_word): Likewise.
36667 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36668 LLONG_MAX != LONG_MAX.
36669 * stdio-common/_itowa.h: Include <_itoa.h>.
36670 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36671 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36672 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36673 only if not defined.
36674 (_ITOA_WORD_TYPE): Likewise.
36675 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36676 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36678 2012-03-21 David S. Miller <davem@davemloft.net>
36680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36682 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36684 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36685 of x86_64 when setting libc_cv_slibdir, libdir and
36687 * sysdeps/unix/sysv/linux/configure: Regenerated.
36689 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36691 * manual/lang.texi (Old Varargs): Remove section.
36692 (How Variadic): Update menu.
36693 (va_start): Do not mention varargs.h.
36695 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36696 Joseph Myers <joseph@codesourcery.com>
36698 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36700 * configure: Regenerated.
36702 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36704 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36705 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36708 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36711 * Makefile (files-for-dist): Remove NOTES.
36712 (NOTES): Remove rule.
36713 * README: Don't refer to NOTES.
36714 * manual/creature.texi: Don't include macros.texi.
36715 * manual/intro.texi (creature.texi): Remove comment referring to
36718 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36719 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36720 * configure: Regenerated.
36721 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36722 LIBC_TRY_CC_OPTION.
36723 (libc_cv_as_i686): Likewise.
36724 (libc_cv_cc_avx): Likewise.
36725 (libc_cv_cc_sse2avx): Likewise.
36726 (libc_cv_cc_fma4): Likewise.
36727 (libc_cv_cc_novzeroupper): Likewise.
36728 * sysdeps/i386/configure: Regenerated.
36731 * sysdeps/i386/fpu/s_cexp.S: Remove.
36732 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36733 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36734 * math/libm-test.inc (cexp_test): Add more tests.
36735 * sysdeps/i386/fpu/libm-test-ulps: Update.
36736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36738 2012-03-21 Allan McRae <allan@archlinux.org>
36740 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36742 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36745 * math/w_exp2.c: Do not include <float.h>.
36746 (o_threshold, u_threshold): Remove.
36747 (__exp2): Calculate result before checking finiteness and calling
36749 * math/w_exp2f.c: Likewise.
36750 * math/w_exp2l.c: Likewise.
36751 * math/libm-test.inc (exp2_test): Require overflow exception for
36755 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36756 range of signed 64-bit integers before using fistpll. Remove
36757 checks for whether integers fit in mantissa bits.
36758 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36759 the range of signed 32-bit integers before using fistpl. Remove
36760 checks for whether integers fit in mantissa bits.
36761 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36762 (__ieee754_powl): Test for y outside the range of signed 64-bit
36763 integers before using fistpll. Reduce 64-bit values to 63-bit
36765 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36766 divide-by-zero is raised for zero to large negative powers.
36767 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36768 (__ieee754_powl): Test for y outside the range of signed 64-bit
36769 integers before using fistpll. Reduce 64-bit values to 63-bit
36771 * math/libm-test.inc (pow_test): Add more tests.
36773 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36775 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36776 <stdio-common/_itoa.h>.
36777 * debug/segfault.c: Likewise.
36778 * elf/dl-cache.c: Likewise.
36779 * elf/dl-minimal.c: Likewise.
36780 * elf/dl-misc.c: Likewise.
36781 * elf/dl-sysdep.c: Likewise.
36782 * elf/dl-version.c: Likewise.
36783 * elf/rtld.c: Likewise.
36784 * hurd/hurdsock.c: Likewise.
36785 * hurd/lookup-retry.c: Likewise.
36786 * malloc/malloc.c: Likewise.
36787 * malloc/mtrace.c: Likewise.
36788 * nscd/nscd_getgr_r.c: Likewise.
36789 * nscd/nscd_getpw_r.c: Likewise.
36790 * nscd/nscd_getserv_r.c: Likewise.
36791 * posix/getopt_init.c: Likewise.
36792 * posix/wordexp.c: Likewise.
36793 * stdio-common/_itoa.c: Likewise.
36794 * stdio-common/printf_fphex.c: Likewise.
36795 * stdio-common/vfprintf.c: Likewise.
36796 * string/_strerror.c: Likewise.
36797 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36798 * sysdeps/i386/i686/hp-timing.h: Likewise.
36799 * sysdeps/mach/_strerror.c: Likewise.
36800 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36801 * sysdeps/mach/hurd/sethostid.c: Likewise.
36802 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36803 * sysdeps/mach/xpg-strerror.c: Likewise.
36804 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36805 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36806 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36807 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36808 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36809 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36810 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36811 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36812 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36813 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36814 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36815 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36816 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36817 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36818 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36819 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36820 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36821 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36822 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36823 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36824 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36826 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36828 * stdio-common/_itoa.h: Moved to ...
36829 * sysdeps/generic/_itoa.h: Here.
36831 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36833 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36834 instead of "_itoa.h" and "_itowa.h".
36835 * stdio-common/vfprintf.: Likewise.
36837 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36839 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36841 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36842 (__signbit): Likwise.
36843 (llrintf): Likwise.
36846 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36848 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36851 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36853 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36854 OVERFLOW_EXCEPTION_OK.
36855 * math/libm-test.inc ("Philosophy"): Update comment about
36857 (OVERFLOW_EXCEPTION): Define.
36858 (OVERFLOW_EXCEPTION_OK): Likewise.
36859 (INVALID_EXCEPTION_OK): Renumber.
36860 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36861 (IGNORE_ZERO_INF_SIGN): Likewise.
36862 (test_exceptions): Handle FE_OVERFLOW.
36863 (exp10_test): Expect overflow exceptions.
36864 (exp2_test): Likewise.
36865 (expm1_test): Likewise.
36866 (nextafter_test): Likewise.
36867 (pow_test): Likewise.
36868 (scalbn_test): Likewise.
36869 (scalbln_test): Likewise.
36871 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36873 * sysdeps/x86_64/bits/atomic.h
36874 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36876 (atomic_exchange_acq): Likewise.
36877 (__arch_exchange_and_add_body): Likewise.
36878 (__arch_add_body): Likewise.
36879 (atomic_add_negative): Likewise.
36880 (atomic_add_zero): Likewise.
36882 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36884 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36885 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36887 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36889 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36890 Check __x86_64__ instead of __WORDSIZE.
36892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36894 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36896 2012-03-19 David S. Miller <davem@davemloft.net>
36898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36900 * sysdeps/sparc/fpu/fenv_private.h: New file.
36901 * sysdeps/sparc/fpu/math_private.h: Use it.
36902 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36904 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36905 (libc_feholdexcept_setroundl): Remove.
36906 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36908 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36909 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36911 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36913 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36914 int64_t instead of long int.
36915 (INSERT_WORDS64): Likwise.
36917 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36919 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36920 _Unwind_GetCFA return to _Unwind_Ptr first.
36922 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36925 * math/s_clog.c: Include <float.h>.
36926 (__clog): Scale large or subnormal inputs.
36927 * math/s_clogf.c: Likewise.
36928 * math/s_clogl.c: Likewise.
36929 * math/s_clog10.c: Include <float.h>.
36930 (M_LOG10_2): Define.
36931 (__clog10): Scale large or subnormal inputs.
36932 * math/s_clog10f.c: Likewise.
36933 * math/s_clog10l.c: Likewise.
36934 * math/libm-test.inc (clog_test): Add more tests.
36935 (clog10_test): Likewise.
36936 * sysdeps/i386/fpu/libm-test-ulps: Update.
36937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36940 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36942 * math/libm-test.inc (atan2_test): Add another test.
36944 * Makerules (common-objdir-compile): Remove.
36945 * sysdeps/unix/Makefile (config-generated): Do not add
36946 $(unix-generated) to variable.
36947 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36948 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36950 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36952 [generic bits/local_lim.h] (before-compile): Do not append to
36954 [generic bits/local_lim.h] (common-generated): Likewise.
36955 [generic sys/param.h] (before-compile): Do not append to variable.
36956 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36957 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36958 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36959 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36961 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36962 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36963 [generic sys/param.h] ($(addprefix
36964 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36965 [generic sys/param.h] (common-generated): Do not append to
36967 [generic sys/param.h] (sysdep_headers): Likewise.
36968 [generic bits/errno.h] (before-compile): Do not append to
36970 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36972 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36973 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36974 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36975 [generic bits/errno.h] (common-generated): Do not append to
36977 [generic bits/ioctls.h] (before-compile): Do not append to
36979 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36981 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36982 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36983 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36985 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36986 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36987 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36988 [generic bits/ioctls.h] (common-generated): Do not append to
36990 [generic sys/syscall.h] (syscall.h): Remove variable.
36991 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36993 [generic sys/syscall.h] (before-compile): Do not append to
36995 [generic sys/syscall.h] (common-generated): Likewise.
36996 * sysdeps/unix/errnos-tmpl.c: Remove file.
36997 * sysdeps/unix/errnos.awk: Likewise.
36998 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36999 * sysdeps/unix/ioctls.awk: Likewise.
37000 * sysdeps/unix/mk-local_lim.c: Likewise.
37001 * sysdeps/unix/snarf-ioctls: Likewise.
37003 2012-03-19 Richard Henderson <rth@twiddle.net>
37005 * sysdeps/i386/fpu/fenv_private.h: New file.
37006 * sysdeps/i386/fpu/math_private.h: Use it.
37007 (math_opt_barrier, math_force_eval): Remove.
37008 (libc_feholdexcept_setround_53bit): Remove.
37009 (libc_feupdateenv_53bit): Remove.
37010 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37011 (math_opt_barrier, math_force_eval): Remove.
37012 (libc_feholdexcept): Remove.
37013 (libc_feholdexcept_setround): Remove.
37014 (libc_fetestexcept, libc_fesetenv): Remove.
37015 (libc_feupdateenv_test): Remove.
37016 (libc_feupdateenv, libc_feholdsetround): Remove.
37017 (libc_feresetround): Remove.
37019 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37020 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37022 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37023 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37024 (libc_feupdateenv_testl): New.
37025 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37026 (libc_feupdateenv_testf): New.
37027 (libc_feupdateenv): Use libc_feupdateenv_test.
37028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37031 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37032 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37033 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37034 (libc_feresetround_noex): New.
37035 (libc_feresetround_noexf): New.
37036 (libc_feresetround_noexl): New.
37037 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37038 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37039 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37040 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37045 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37047 SET_RESTORE_ROUND_NOEX.
37048 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37049 SET_RESTORE_ROUND_NOEXF.
37050 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37051 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37052 (libc_feholdsetroundf): New.
37053 (libc_feresetround, libc_feresetroundf): New.
37055 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37056 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37057 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37059 * sysdeps/generic/math_private.h: Include <fenv.h>.
37060 (default_libc_feholdexcept): New.
37061 (default_libc_feholdexcept_setround): New.
37062 (default_libc_fesetenv, default_libc_feupdateenv): New.
37063 (libc_feholdexcept): Only define if undefined.
37064 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37065 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37066 (libc_feholdexcept_setroundl): Likewise.
37067 (libc_feholdexcept_setround_53bit): Likewise.
37068 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37069 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37070 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37071 (libc_feupdateenv_53bit): Likewise.
37072 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37073 (libc_feholdexcept): Convert from macro to inline function.
37074 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37075 (libc_fesetenv, libc_feupdateenv): Likewise.
37077 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37078 not previously defined.
37079 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37080 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37081 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37082 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37083 * sysdeps/ieee754/flt-32/math_private.h: New file.
37084 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37085 math_private.h below SET_FLOAT_WORD.
37086 (__isnan, __isinf_ns, __finite): Remove.
37087 (__isnanf, __isinf_nsf, __finitef): Remove.
37089 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37093 2012-03-17 David S. Miller <davem@davemloft.net>
37096 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37099 2012-03-16 David S. Miller <davem@davemloft.net>
37101 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37105 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37107 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37108 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37109 sysdep_routines when subdir is sysvipc.
37110 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37111 __getshmlba helper.
37113 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37115 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37117 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37120 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37122 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37123 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37124 (__lround): Renamed to ...
37125 (__llround): This. Replace long int with long long int.
37126 Define lround functions as aliases of llround functions.
37127 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37129 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37131 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37132 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37133 adresses to uintptr_t. Replace "long int" and "unsigned long
37134 int" with "greg_t" on va_arg.
37136 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37138 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37139 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37141 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37142 Move e_machine check before EI_CLASS check. Handle x32
37143 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37144 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37145 SKIP_EM_IA_64 and include
37146 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37148 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37149 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37150 (add_system_dir): New macro.
37152 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37153 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37155 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37166 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37168 * math/w_j0f.c (j0f): Likewise.
37170 * math/w_j0l.c (__j0l): Likewise.
37172 * math/w_j1.c (j1): Likewise.
37174 * math/w_j1f.c (j1f): Likewise.
37176 * math/w_j1l.c (__j1l): Likewise.
37178 * math/w_jn.c (jn): Likewise.
37180 * math/w_jnf.c (jnf): Likewise.
37182 * math/w_jnl.c (__jnl): Likewise.
37184 * math/libm-test.inc (j0_test): Add more tests.
37185 (j1_test): Likewise.
37186 (jn_test): Likewise. Add trailing semicolon to existing test.
37187 (y0_test): Likewise.
37188 (y1_test): Likewise.
37189 * sysdeps/i386/fpu/libm-test-ulps: Update.
37190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37194 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37195 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37196 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37197 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37198 (__tanl): Set errno for infinite argument.
37199 * sysdeps/i386/fpu/mptan.c: Remove.
37200 * sysdeps/i386/fpu/s_tan.S: Likewise.
37201 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37202 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37203 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37204 * math/libm-test.inc (tan_test): Add more tests and enable more
37205 tests for double and long double.
37206 * sysdeps/i386/fpu/libm-test-ulps: Update.
37207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37209 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37211 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37212 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37214 2012-03-16 Roland McGrath <roland@hack.frob.com>
37216 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37217 * configure.in: Use it for both main tree and add-ons.
37218 * configure: Regenerated.
37220 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37222 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37224 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37226 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37230 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37231 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37236 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37238 != 0 for prec == 2.
37239 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37240 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37241 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37242 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37243 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37244 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37245 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37246 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37247 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37248 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37249 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37250 * math/libm-test.inc (cos_test): Add more tests and enable more
37251 tests for long double.
37252 (sin_test): Likewise.
37253 (sincos_test): Likewise.
37254 * sysdeps/i386/fpu/libm-test-ulps: Update.
37255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37257 2012-03-16 David S. Miller <davem@davemloft.net>
37259 * sysdeps/sparc/fpu/math_private.h: New file.
37261 2012-03-15 David S. Miller <davem@davemloft.net>
37263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37277 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37278 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37280 * sysdeps/sparc/sparc-ifunc.h: New file.
37281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37326 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37328 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37332 2012-03-15 Andreas Jaeger <aj@suse.de>
37335 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37336 ieee754/flt-32 implementation for sin, cos and sincos.
37337 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37338 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37339 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37340 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37341 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37342 ieee754/flt-32 implementation for tan.
37344 * math/libm-test.inc (cos_test): Enable some large input tests for
37346 (sin_test): Likewise.
37347 (sincos_test): Likewise.
37348 (tan_test): Add tests for large input.
37350 * sysdeps/i386/fpu/libm-test-ulps: Update.
37352 2012-03-15 Andreas Jaeger <aj@suse.de>
37355 * math/libm-test.inc (cos_test): Add more test cases.
37356 (sin_test): Likewise.
37357 (sincos_test): Likewise.
37359 2012-03-15 Andreas Jaeger <aj@suse.de>
37362 * math/libm-test.inc (cos_test): Add a test case for large input
37364 (sin_test): Likewise.
37365 (sincos_test): Likewise.
37367 2012-03-15 Andreas Jaeger <aj@suse.de>
37368 Joseph Myers <joseph@codesourcery.com>
37371 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37372 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37373 * sysdeps/i386/fpu/branred.c: Likewise.
37374 * sysdeps/i386/fpu/dosincos.c: Likewise.
37375 * sysdeps/i386/fpu/mpa.c: Likewise.
37376 * sysdeps/i386/fpu/s_cos.S: Likewise.
37377 * sysdeps/i386/fpu/s_sin.S: Likewise.
37378 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37379 * sysdeps/i386/fpu/sincos32.c: Likewise.
37381 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37383 (libc_feupdateenv_53bit): Define.
37384 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37386 (libc_feupdateenv_53bit): Define.
37388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37389 53 bit (without extend i386 double precision).
37391 * math/libm-test.inc (sincos_test): Add tests for large input.
37395 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37397 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37401 2012-03-15 David S. Miller <davem@davemloft.net>
37403 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37404 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37405 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37406 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37431 fmin/fmax sysdep routines.
37432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37434 2012-03-14 David S. Miller <davem@davemloft.net>
37436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37508 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37513 * sysdeps/sparc/configure.in: New file.
37514 * sysdeps/sparc/configure: Generate.
37515 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37516 * configure: Regenerate.
37517 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37518 * config.make.in (have-as-vis3): New.
37519 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37520 available use -Av9d instead of -Av9a.
37521 * sysdeps/sparc/sparc64/Makefile: Likewise.
37522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37533 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37534 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37535 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37537 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37538 fzeros/fnegs to load 0x80000000 into a float register instead of
37540 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37542 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37546 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37547 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37548 ($(inst_includedir)/bits/syscall.h): Remove rule.
37549 ($(objpfx)bits/syscall.d): Include instead of
37550 $(objpfx)syscall-list.d.
37551 (generated): Change syscall-list.h and syscall-list.d to
37552 bits/syscall.h and bits/syscall.d.
37554 2012-03-14 Roland McGrath <roland@hack.frob.com>
37557 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37559 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37562 * math/s_csqrt.c: Include <float.h>.
37563 (__csqrt): Scale large or subnormal inputs.
37564 * math/s_csqrtf.c: Likewise.
37565 * math/s_csqrtl.c: Likewise.
37566 * math/libm-test.inc (csqrt_test): Add more tests.
37567 * sysdeps/i386/fpu/libm-test-ulps: Update.
37568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37571 * math/libm-test.inc (hypot_test): Add more tests.
37573 2012-03-13 David S. Miller <davem@davemloft.net>
37576 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37577 double-precision for the calculation instead of scaling.
37579 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37581 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37582 manipulate bits before adding and subtracting TWO52[sx].
37583 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37584 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37586 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37588 2012-03-13 David S. Miller <davem@davemloft.net>
37590 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37591 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37593 rtld-global-offsets.h
37594 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37596 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37599 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37601 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37602 'err' in the ifdef scope in which it is actually used.
37604 * nss/nss_db/db-init.c: Include string.h
37606 2012-03-12 David S. Miller <davem@davemloft.net>
37608 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37609 masking out of the most significant byte of random value used.
37610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37611 Fix coding style in previous change.
37613 * sysdeps/unix/sysv/linux/kernel-features.h
37614 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37615 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37617 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37620 2012-03-11 David S. Miller <davem@davemloft.net>
37622 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37623 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37624 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37625 for 'resultvar' otherwise things get truncated on 64-bit.
37627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37628 Fix masking out of the most significant byte of random value used.
37630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37632 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37636 2012-03-09 David S. Miller <davem@davemloft.net>
37638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37639 variables with appropriate CPP guards.
37640 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37641 from the frame pointer, not the stack pointer. Correct layout
37642 comments. Fix test on resulting framesize and the management of
37643 the outregs buffer for pltexit. Preserve floating point return
37644 values across _dl_call_pltexit call.
37645 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37646 framesize and the management of the outregs buffer for pltexit.
37647 Preserve floating point return values across _dl_call_pltexit
37649 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37650 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37651 (la_sparc64_gnu_pltexit): New functions.
37652 (print_exit): Fix format string for return register value.
37654 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37656 * sunrpc/Makefile (others): Add rpcgen.
37657 ($(objpfx)rpcgen): Remove special build rule and dependency on
37659 * sunrpc/rpcgen.c: New file.
37661 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37664 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37665 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37666 * sysdeps/i386/crti.S: Likewise.
37667 * sysdeps/i386/crtn.S: Likewise.
37668 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37669 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37670 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37671 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37672 * sysdeps/sh/crti.S: Likewise.
37673 * sysdeps/sh/crtn.S: Likewise.
37674 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37677 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37679 * locale/programs/locfile-kw.gperf: Likewise.
37680 * locale/programs/charmap-kw.h: Regenerated.
37681 * locale/programs/locfile-kw.h: Likewise.
37684 * intl/plural.y: Replace FSF snail mail address with URL.
37685 * intl/plural.c: Regenerated.
37687 2012-03-09 Richard Henderson <rth@twiddle.net>
37689 * include/math_private.h: Remove file.
37690 * math/math_private.h: Move file ...
37691 * sysdeps/generic/math_private.h: ... here.
37693 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37694 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37695 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37697 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37698 and <math_private.h>.
37699 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37700 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37701 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37702 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37703 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37763 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37764 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37765 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37787 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37790 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37793 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37794 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37799 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37800 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37801 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37802 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37804 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37805 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37806 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37810 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37811 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37812 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37813 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37816 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37817 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37818 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37819 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37820 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37822 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37823 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37824 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37825 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37826 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37827 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37828 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37829 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37830 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37831 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37832 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37833 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37835 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37836 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37838 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37840 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37841 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37842 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37843 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37844 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37845 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37846 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37847 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37848 * sysdeps/ieee754/k_standard.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37861 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37862 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37863 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37876 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37880 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37953 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37967 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37968 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37970 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37971 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37973 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37974 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37976 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37982 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37983 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37984 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37985 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37986 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37987 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37988 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37989 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37990 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37991 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37992 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37993 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37998 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37999 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38000 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38001 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38002 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38003 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38004 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38005 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38006 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38007 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38008 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38009 * sysdeps/ieee754/s_lib_version.c: Likewise.
38010 * sysdeps/ieee754/s_matherr.c: Likewise.
38011 * sysdeps/ieee754/s_signgam.c: Likewise.
38012 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38013 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38014 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38015 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38016 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38017 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38018 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38019 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38020 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38021 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38023 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38024 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38025 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38026 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38027 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38028 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38034 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38036 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38037 * sunrpc/rpc_main.c: Likewise.
38038 * sunrpc/rpc_svcout.c: Likewise.
38040 2012-03-09 David S. Miller <davem@davemloft.net>
38042 * include/math_private.h: New file.
38044 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38046 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38047 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38048 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38049 from <bits/socket_type.h>.
38050 (enum __socket_type): Don't define here.
38051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38053 bits/socket_type.h.
38056 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38057 checking __USE_GNU.
38059 * Makerules ($(inst_includedir)/%.h): New rule.
38060 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38061 (install-others): Remove variable setting.
38062 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38064 2012-03-08 Richard Henderson <rth@twiddle.net>
38066 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38067 from macro to inline function; merge with the
38068 !__LIBC_INTERNAL_MATH_INLINES version.
38069 (__ieee754_sqrtf): Likewise.
38071 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38072 to inline function.
38073 (__rintf, __floor, __floorf): Likewise.
38075 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38076 macro to inline function.
38077 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38080 not <math/math_private.h>.
38082 2012-03-08 David S. Miller <davem@davemloft.net>
38084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38086 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38088 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38090 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38092 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38093 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38095 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38097 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38098 be defined individually, they must be defined as a block. Define
38099 S for printing a string instead of hidint the different by using a
38100 macro for adding the 'l'.
38101 * stdio-common/tst-fphex-wide.c: Adjust.
38103 2012-03-07 Marek Polacek <polacek@redhat.com>
38105 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38107 2012-03-08 Marek Polacek <polacek@redhat.com>
38110 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38111 * stdio-common/tst-fphex.c: Define a few macros to make the
38112 test reusable. Use them.
38113 * stdio-common/tst-fphex-wide.c: New file.
38115 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38118 * manual/macros.texi (gnusystems): New macro.
38119 (nongnusystems): Likewise.
38120 (gnulinuxhurdsystems): Likewise.
38121 (gnuhurdsystems): Likewise..
38122 (gnulinuxsystems): Likewise.
38123 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38124 variants of the GNU system, not "GNU system".
38125 * manual/conf.texi: Likewise.
38126 * manual/errno.texi: Likewise. Update example of errno macro
38128 * manual/filesys.texi: Likewise.
38129 (getumask): Document as specific to GNU/Hurd.
38130 * manual/install.texi: Likewise. Reword some references to
38132 * manual/intro.texi: Likewise.
38133 * manual/io.texi: Likewise.
38134 (File Name Portability): Detail which constraints are inapplicable
38135 to all GNU systems and which are only inapplicable to GNU/Hurd.
38136 * manual/job.texi: Likewise.
38137 * manual/llio.texi: Likewise.
38138 (O_NOCTTY): Document as present on GNU/Linux.
38139 * manual/maint.texi: Likewise.
38140 * manual/memory.texi: Likewise.
38141 * manual/pattern.texi: Likewise.
38142 * manual/pipe.texi: Likewise.
38143 * manual/process.texi: Likewise.
38144 * manual/resource.texi: Likewise.
38145 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38147 * manual/setjmp.texi: Likewise.
38148 * manual/signal.texi: Likewise.
38149 * manual/startup.texi: Likewise.
38150 * manual/stdio.texi: Likewise.
38151 * manual/terminal.texi: Likewise.
38152 (ONLCR): Document as POSIX.
38153 (OXTABS): Document availability on GNU/Linux as XTABS.
38154 (ONOEOT): Document availability separately from other bits.
38155 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38156 * manual/time.texi: Likewise.
38157 * manual/users.texi: Likewise.
38158 * INSTALL: Regenerated.
38159 * sysdeps/gnu/errlist.c: Regenerated.
38161 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38162 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38163 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38165 * configure: Regenerated.
38167 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38169 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38170 default includes instead of AC_HEADER_CHECK.
38171 * sysdeps/i386/configure: Regenerated.
38174 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38175 * math/s_cacoshf.c (__cacoshf): Likewise.
38176 * math/s_cacoshl.c (__cacoshl): Likewise.
38177 * math/s_casinh.c (__casinh): Set signs of result from argument.
38178 * math/s_casinhf.c (__casinhf): Likewise.
38179 * math/s_casinhl.c (__casinhl): Likewise.
38180 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38181 (casinh_test): Add more tests.
38182 * sysdeps/i386/fpu/libm-test-ulps: Update.
38183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38185 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38187 * po/zh_TW.po: Update from translation team.
38189 * login/Makefile (distribute): Remove variable.
38190 * catgets/Makefile: Likewise.
38191 * mach/Makefile: Likewise.
38192 * malloc/Makefile: Likewise.
38193 * misc/Makefile: Likewise.
38194 * iconv/Makefile: Likewise.
38195 * nscd/Makefile: Likewise.
38196 * hurd/Makefile: Likewise.
38197 * manual/Makefile: Likewise.
38198 * locale/Makefile: Likewise.
38199 * intl/Makefile: Likewise.
38200 * conform/Makefile: Likewise.
38201 * nss/Makefile: Likewise.
38202 * time/Makefile: Likewise.
38203 * soft-fp/Makefile: Likewise.
38204 * dirent/Makefile: Likewise.
38205 * gmon/Makefile: Likewise.
38206 * po/Makefile: Likewise.
38207 * rt/Makefile: Likewise.
38208 * socket/Makefile: Likewise.
38209 * math/Makefile: Likewise.
38210 * signal/Makefile: Likewise.
38211 * debug/Makefile: Likewise.
38212 * elf/Makefile: Likewise.
38213 * timezone/Makefile: Likewise.
38214 * stdlib/Makefile: Likewise.
38215 * iconvdata/Makefile: Likewise.
38216 * sunrpc/Makefile: Likewise.
38217 * io/Makefile: Likewise.
38218 * argp/Makefile: Likewise.
38219 * inet/Makefile: Likewise.
38220 * hesiod/Makefile: Likewise.
38221 * grp/Makefile: Likewise.
38222 * csu/Makefile: Likewise.
38223 * wctype/Makefile: Likewise.
38224 * crypt/Makefile: Likewise.
38225 * libio/Makefile: Likewise.
38226 * string/Makefile: Likewise.
38227 * nis/Makefile: Likewise.
38228 * resolv/Makefile: Likewise.
38229 * stdio-common/Makefile: Likewise.
38230 * wcsmbs/Makefile: Likewise.
38231 * dlfcn/Makefile: Likewise.
38232 * posix/Makefile: Likewise.
38235 * timezone/Makefile: Don't install timezone files, just the programs
38238 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38240 * nss/databases.def: Add missing gshadow entry.
38242 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38244 2012-03-06 Marek Polacek <polacek@redhat.com>
38247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38249 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38250 * stdio-common/tst-long-dbl-fphex.c: New file.
38252 2012-03-06 David S. Miller <davem@davemloft.net>
38254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38255 (set_obp_int): New function.
38256 (get_obp_int): New function.
38257 (__get_clockfreq_via_dev_openprom): Likewise.
38258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38259 Avoid unused variable warnings on 'val' and use builtin_expect.
38260 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38262 (INLINE_CLONE_SYSCALL): Likewise.
38264 2012-03-05 David S. Miller <davem@davemloft.net>
38266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38268 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38273 only for |x| >= 40.
38274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38276 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38279 Replace gettimeofday with __vdso_gettimeofday.
38281 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38282 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38283 __vdso_clock_gettime and __vdso_getcpu.
38285 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38286 time with __vdso_time.
38288 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38290 * manual/lang.texi (size_t): Note types to which size_t may be
38291 equivalent with the GNU C Library, but do not describe when
38292 differences between them are significant.
38294 2012-03-05 Andreas Jaeger <aj@suse.de>
38296 * sysdeps/i386/fpu/libm-test-ulps: Update.
38298 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38301 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38302 (__ieee754_pow): Save and restore rounding mode and use
38303 round-to-nearest for main computations.
38304 * math/libm-test.inc (pow_test_tonearest): New function.
38305 (pow_test_towardzero): Likewise.
38306 (pow_test_downward): Likewise.
38307 (pow_test_upward): Likewise.
38308 (main): Call the new functions.
38309 * sysdeps/i386/fpu/libm-test-ulps: Update.
38310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38313 * math/libm-test.inc (cosh_test_tonearest): New function.
38314 (cosh_test_towardzero): Likewise.
38315 (cosh_test_downward): Likewise.
38316 (cosh_test_upward): Likewise.
38317 (sinh_test_tonearest): Likewise.
38318 (sinh_test_towardzero): Likewise.
38319 (sinh_test_downward): Likewise.
38320 (sinh_test_upward): Likewise.
38321 (main): Call the new functions.
38322 * sysdeps/i386/fpu/libm-test-ulps: Update.
38323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38325 2012-03-05 Tom de Vries <tom@codesourcery.com>
38327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38328 default stack guard is set in last bytes.
38329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38331 2012-03-05 Kees Cook <keescook@chromium.org>
38333 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38336 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38337 possibly allocate from heap instead of stack.
38338 * stdio-common/bug-vfprintf-nargs.c: New file.
38339 * stdio-common/Makefile (tests): Add nargs overflow test.
38341 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38345 2012-03-03 Marek Polacek <polacek@redhat.com>
38347 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38348 * math/math_private.h: Likewise.
38349 * stdlib/tst-strtod.c: Likewise.
38350 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38351 * sysdeps/x86_64/bits/atomic.h: Likewise.
38353 2012-03-02 David S. Miller <davem@davemloft.net>
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38359 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38360 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38361 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38362 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38364 2012-03-02 Roland McGrath <roland@hack.frob.com>
38367 * manual/examples/README: New file, says the example source files
38368 can be used under GPL>=2.
38369 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38370 line containing just "*/".
38371 * manual/examples/add.c: Add copyright header (GPL>=2).
38372 * manual/examples/argp-ex1.c: Likewise.
38373 * manual/examples/argp-ex2.c: Likewise.
38374 * manual/examples/argp-ex3.c: Likewise.
38375 * manual/examples/argp-ex4.c: Likewise.
38376 * manual/examples/atexit.c: Likewise.
38377 * manual/examples/db.c: Likewise.
38378 * manual/examples/dir.c: Likewise.
38379 * manual/examples/dir2.c: Likewise.
38380 * manual/examples/execinfo.c: Likewise.
38381 * manual/examples/filecli.c: Likewise.
38382 * manual/examples/filesrv.c: Likewise.
38383 * manual/examples/fmtmsgexpl.c: Likewise.
38384 * manual/examples/genpass.c: Likewise.
38385 * manual/examples/inetcli.c: Likewise.
38386 * manual/examples/inetsrv.c: Likewise.
38387 * manual/examples/isockad.c: Likewise.
38388 * manual/examples/longopt.c: Likewise.
38389 * manual/examples/memopen.c: Likewise.
38390 * manual/examples/memstrm.c: Likewise.
38391 * manual/examples/mkfsock.c: Likewise.
38392 * manual/examples/mkisock.c: Likewise.
38393 * manual/examples/mygetpass.c: Likewise.
38394 * manual/examples/pipe.c: Likewise.
38395 * manual/examples/popen.c: Likewise.
38396 * manual/examples/rprintf.c: Likewise.
38397 * manual/examples/search.c: Likewise.
38398 * manual/examples/select.c: Likewise.
38399 * manual/examples/setjmp.c: Likewise.
38400 * manual/examples/sigh1.c: Likewise.
38401 * manual/examples/sigusr.c: Likewise.
38402 * manual/examples/stpcpy.c: Likewise.
38403 * manual/examples/strdupa.c: Likewise.
38404 * manual/examples/strftim.c: Likewise.
38405 * manual/examples/strncat.c: Likewise.
38406 * manual/examples/subopt.c: Likewise.
38407 * manual/examples/swapcontext.c: Likewise.
38408 * manual/examples/termios.c: Likewise.
38409 * manual/examples/testopt.c: Likewise.
38410 * manual/examples/testpass.c: Likewise.
38411 * manual/examples/timeval_subtract.c: Likewise.
38414 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38416 * manual/timeval_subtract.c.texi: ... here, new file.
38418 2012-03-02 David S. Miller <davem@davemloft.net>
38420 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38422 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38425 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38426 (__sin): Save and restore rounding mode and use round-to-nearest
38427 for all computations.
38428 (__cos): Save and restore rounding mode and use round-to-nearest
38429 for all computations.
38430 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38432 (tan): Save and restore rounding mode and use round-to-nearest for
38434 * math/libm-test.inc (cos_test_tonearest): New function.
38435 (cos_test_towardzero): Likewise.
38436 (cos_test_downward): Likewise.
38437 (cos_test_upward): Likewise.
38438 (sin_test_tonearest): Likewise.
38439 (sin_test_towardzero): Likewise.
38440 (sin_test_downward): Likewise.
38441 (sin_test_upward): Likewise.
38442 (tan_test_tonearest): Likewise.
38443 (tan_test_towardzero): Likewise.
38444 (tan_test_downward): Likewise.
38445 (tan_test_upward): Likewise.
38446 (main): Call the new functions.
38447 * sysdeps/i386/fpu/libm-test-ulps: Update.
38448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38451 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38452 small n, then large n, before computing and testing k+n.
38453 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38458 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38459 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38466 * math/libm-test.inc (scalbn_test): Add more tests.
38467 (scalbln_test): Likewise.
38469 * manual/filesys.texi (mode_t): Describe constraints on size and
38470 signedness, not exact equivalence to a particular type.
38472 (ino64_t): Likewise.
38474 (nlink_t): Likewise.
38475 (blkcnt_t): Likewise.
38476 (blkcnt64_t): Likewise.
38477 * manual/llio.texi (off_t): Likewise.
38480 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38481 (__ieee754_exp): Save and restore rounding mode and use
38482 round-to-nearest for all computations.
38483 * math/libm-test.inc (exp_test_tonearest): New function.
38484 (exp_test_towardzero): Likewise.
38485 (exp_test_downward): Likewise.
38486 (exp_test_upward): Likewise.
38487 (main): Call the new functions.
38488 * sysdeps/i386/fpu/libm-test-ulps: Update.
38489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38491 2012-03-01 Chris Demetriou <cgd@google.com>
38493 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38494 have predictable order.
38496 2012-03-01 David S. Miller <davem@davemloft.net>
38498 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38500 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38501 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38502 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38503 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38505 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38506 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38507 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38509 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38510 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38511 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38512 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38513 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38517 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38518 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38519 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38521 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38522 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38523 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38524 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38525 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38528 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38529 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38530 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38531 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38532 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38534 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38535 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38537 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38538 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38539 * sysdeps/sparc/elf/configure: Regenerated.
38541 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38543 * configure.in (AS, LD): Require binutils 2.20 or later.
38544 * configure: Regenerated.
38545 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38546 as required minimum version.
38547 * INSTALL: Regenerated.
38551 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38552 before squaring exponent.
38553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38554 bottom long double and 27 bits of top long double before squaring
38556 * math/libm-test.inc (erfc_test): Add more tests.
38557 * sysdeps/i386/fpu/libm-test-ulps: Update.
38558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38561 2012-03-01 Kai Tietz <ktietz@redhat.com>
38563 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38564 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38565 containing bit-fields.
38566 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38567 * soft-fp/single.h (_FP_UNION_S): Likewise.
38568 * soft-fp/double.h (_FP_UNION_D): Likewise.
38570 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38573 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38574 not include ../strcmp.S.
38575 [USE_AS_STRNCASECMP_L]: Likewise.
38576 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38577 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38578 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38579 (__strncasecmp_l_ia32): Define as alias to
38580 __strncasecmp_l_nonascii.
38583 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38584 * sysdeps/i386/fpu/libm-test-ulps: Update.
38585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38587 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38590 2012-02-29 Jeff Law <law@redhat.com>
38592 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38593 out of bounds read.
38595 2012-02-29 Marek Polacek <polacek@redhat.com>
38598 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38599 * elf/Makefile: Add rules to run tst-unused-dep.out.
38601 2012-02-28 David S. Miller <davem@davemloft.net>
38603 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38604 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38605 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38607 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38608 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38610 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38612 * math/libm-test.inc (llround_test): Move one test from
38613 lround_test. Use TEST_f_L in moved test.
38614 (lround_test): Move misplaced test to llround_test. Add testcase
38617 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38619 * sysdeps/x86_64/fpu/e_expf.S: New file.
38620 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38622 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38625 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38626 of remain_len that may cause incomplete multi-byte character and
38628 * posix/bug-regex33.c: New file.
38629 * posix/Makefile (tests): Add bug-regex33.
38631 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38633 * manual/macros.texi: New file.
38634 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38635 * manual/libc.texinfo: Include macros.texi.
38636 * manual/creatute.texi: Likewise.
38637 * manual/install.texi: Likewise.
38638 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38639 @glibcadj{} in references to the GNU C Library.
38640 * manual/charset.texi: Likewise.
38641 * manual/conf.texi: Likewise.
38642 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38643 when not using those macros.
38644 * manual/creature.texi: Likewise.
38645 * manual/crypt.texi: Likewise.
38646 * manual/errno.texi: Likewise.
38647 * manual/filesys.texi: Likewise.
38648 * manual/header.texi: Likewise.
38649 * manual/install.texi: Likewise.
38650 * manual/intro.texi: Likewise.
38651 * manual/io.texi: Likewise.
38652 * manual/job.texi: Likewise.
38653 * manual/lang.texi: Likewise.
38654 * manual/libc.texiinfo: Likewise.
38655 * manual/llio.texi: Likewise.
38656 * manual/locale.texi: Likewise.
38657 * manual/maint.texi: Likewise.
38658 * manual/math.texi: Likewise.
38659 * manual/memory.texi: Likewise.
38660 * manual/message.texi: Likewise.
38661 * manual/nss.texi: Likewise.
38662 * manual/pattern.texi: Likewise.
38663 * manual/process.texi: Likewise.
38664 * manual/resource.texi: Likewise.
38665 * manual/search.texi: Likewise.
38666 * manual/setjmp.texi: Likewise.
38667 * manual/signal.texi: Likewise.
38668 * manual/socket.texi: Likewise.
38669 * manual/startup.texi: Likewise.
38670 * manual/stdio.texi: Likewise.
38671 * manual/string.texi: Likewise.
38672 * manual/sysinfo.texi: Likewise.
38673 * manual/syslog.texi: Likewise.
38674 * manual/terminal.texi: Likewise.
38675 * manual/time.texi: Likewise.
38676 * manual/users.texi: Likewise.
38677 * INSTALL: Regenerated.
38678 * NOTES: Regenerated.
38679 * sysdeps/gnu/errlist.c: Regenerated.
38681 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38683 * include/dirent.h: Include <dirstream.h> before
38686 2012-02-28 David S. Miller <davem@davemloft.net>
38688 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38689 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38690 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38693 2012-02-27 David S. Miller <davem@davemloft.net>
38695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38697 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38698 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38701 frame pointer instead of stack pointer relative arg slot.
38702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38706 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38709 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38711 2012-02-27 David S. Miller <davem@davemloft.net>
38713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38717 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38718 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38719 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38720 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38722 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38724 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38725 later. Allow versions 5-9.
38726 * configure: Regenerated.
38727 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38728 required minimum version and 4.6 as recommended version. Do not
38729 mention bugs in GCC 2.7 and 2.8.
38730 * INSTALL: Regenerated.
38732 2012-02-27 David S. Miller <davem@davemloft.net>
38734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38740 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38741 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38744 manipulate bits before adding and subtracting TWO112[sx].
38745 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38747 2012-02-27 Roland McGrath <roland@hack.frob.com>
38750 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38751 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38752 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38753 being in POSIX, because they are in 1003.1-2008.
38755 * rt/tst-aio.c: Include <fcntl.h>.
38756 * rt/tst-aio7.c: Likewise.
38757 * rt/tst-aio64.c: Likewise.
38759 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38761 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38763 * manual/install.texi (--with-headers): Describe headers as
38764 interface headers, not private headers.
38765 (Specific advice for GNU/Linux systems): Describe use of headers
38766 from "make headers_install", not private headers from older
38768 * INSTALL: Regenerated.
38769 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38771 * sysdeps/unix/sysv/linux/configure: Regenerated.
38773 * manual/llio.texi (fclean): Remove documentation.
38775 * manual/Makefile (libc-texi-generated): New variable. Include
38777 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38778 $(libc-texi-generated), not duplicated list of files.
38779 (version.texi, stamp-version): New rules.
38780 (realclean): Remove $(libc-texi-generated), not individual files
38781 from that list. Do not remove dir-add.texinfo.
38782 * manual/libc.texinfo: Comment out uses of edition numbers and
38783 references to printed manual. Remove last-updated dates.
38784 (EDITION): Comment out.
38786 (VERSION, UPDATED): Remove.
38787 (version.texi): Include.
38789 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38791 * sysdeps/posix/spawni.c: Include <signal.h>.
38792 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38793 * sysdeps/pthread/aio_fsync.c: Likewise.
38795 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38797 * conform/Makefile (tests): Run only when not cross-compiling and
38798 when fast-check is not defined.
38800 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38801 * conform/data/limits.h-data: Fixes for POSIX2008.
38802 * conform/run-conformtest.sh: Run all tests.
38803 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38805 * include/bits/dlfcn.h: Likewise.
38806 * include/langinfo.h: Likewise.
38807 * include/monetary.h: Likewise.
38808 * include/sys/poll.h: Likewise.
38810 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38812 * posix/spawn.h: Define __need_sigset_t.
38813 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38814 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38815 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38816 to get sigevent_t only.
38817 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38818 only for __USE_GNU.
38819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38820 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38821 process_vm_writev only for __USE_GNU.
38822 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38824 * conform/Makefile: For now ignore errors from run-conformtest.
38825 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38826 POSIX to avoid namespace pollution. Don't prepend headers.
38827 * conform/data/aio.h-data: Fixes for POSIX testing.
38828 * conform/data/fcntl.h-data: Likewise.
38829 * conform/data/glob.h-data: Likewise.
38830 * conform/data/grp.h-data: Likewise.
38831 * conform/data/pthread.h-data: Likewise.
38832 * conform/data/pwd.h-data: Likewise.
38833 * conform/data/signal.h-data: Likewise.
38834 * conform/data/spawn.h-data: Likewise.
38835 * conform/data/stdio.h-data: Likewise.
38836 * conform/data/stdlib.h-data: Likewise.
38837 * conform/data/stropts.h-data: Likewise.
38838 * conform/data/sys/mman.h-data: Likewise.
38839 * conform/data/sys/stat.h-data: Likewise.
38840 * conform/data/sys/types.h-data: Likewise.
38841 * conform/data/sys/wait.h-data: Likewise.
38842 * conform/data/time.h-data: Likewise.
38843 * conform/data/unistd.h-data: Likewise.
38844 * conform/data/utime.h-data: Likewise.
38846 * io/sys/stat.h: fchmod was always in POSIX.
38847 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38848 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38849 * rt/aio.h: Define __need_timespec before including <time.h>.
38850 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38851 struct. Add forward declaration of pthread_attr_t and use it in
38853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38855 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38856 always remove CLK_TCK definition.
38858 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38860 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38862 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38864 * conform/run-conformtest.sh: New file.
38865 * conform/Makefile: Run run-conformtest for tests.
38866 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38869 * conform/data/uchar.h-data: New file.
38870 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38871 * conform/data/arpa/inet.h-data: Likewise.
38872 * conform/data/assert.h-data: Likewise.
38873 * conform/data/complex.h-data: Likewise.
38874 * conform/data/cpio.h-data: Likewise.
38875 * conform/data/ctype.h-data: Likewise.
38876 * conform/data/dirent.h-data: Likewise.
38877 * conform/data/dlfcn.h-data: Likewise.
38878 * conform/data/errno.h-data: Likewise.
38879 * conform/data/fcntl.h-data: Likewise.
38880 * conform/data/float.h-data: Likewise.
38881 * conform/data/fmtmsg.h-data: Likewise.
38882 * conform/data/fnmatch.h-data: Likewise.
38883 * conform/data/ftw.h-data: Likewise.
38884 * conform/data/glob.h-data: Likewise.
38885 * conform/data/grp.h-data: Likewise.
38886 * conform/data/iconv.h-data: Likewise.
38887 * conform/data/inttypes.h-data: Likewise.
38888 * conform/data/langinfo.h-data: Likewise.
38889 * conform/data/libgen.h-data: Likewise.
38890 * conform/data/limits.h-data: Likewise.
38891 * conform/data/locale.h-data: Likewise.
38892 * conform/data/math.h-data: Likewise.
38893 * conform/data/monetary.h-data: Likewise.
38894 * conform/data/mqueue.h-data: Likewise.
38895 * conform/data/ndbm.h-data: Likewise.
38896 * conform/data/net/if.h-data: Likewise.
38897 * conform/data/netdb.h-data: Likewise.
38898 * conform/data/netinet/in.h-data: Likewise.
38899 * conform/data/nl_types.h-data: Likewise.
38900 * conform/data/poll.h-data: Likewise.
38901 * conform/data/pthread.h-data: Likewise.
38902 * conform/data/pwd.h-data: Likewise.
38903 * conform/data/regex.h-data: Likewise.
38904 * conform/data/sched.h-data: Likewise.
38905 * conform/data/search.h-data: Likewise.
38906 * conform/data/semaphore.h-data: Likewise.
38907 * conform/data/setjmp.h-data: Likewise.
38908 * conform/data/signal.h-data: Likewise.
38909 * conform/data/spawn.h-data: Likewise.
38910 * conform/data/stdarg.h-data: Likewise.
38911 * conform/data/stdio.h-data: Likewise.
38912 * conform/data/stdlib.h-data: Likewise.
38913 * conform/data/string.h-data: Likewise.
38914 * conform/data/strings.h-data: Likewise.
38915 * conform/data/stropts.h-data: Likewise.
38916 * conform/data/sys/ipc.h-data: Likewise.
38917 * conform/data/sys/mman.h-data: Likewise.
38918 * conform/data/sys/msg.h-data: Likewise.
38919 * conform/data/sys/resource.h-data: Likewise.
38920 * conform/data/sys/select.h-data: Likewise.
38921 * conform/data/sys/sem.h-data: Likewise.
38922 * conform/data/sys/shm.h-data: Likewise.
38923 * conform/data/sys/socket.h-data: Likewise.
38924 * conform/data/sys/stat.h-data: Likewise.
38925 * conform/data/sys/statvfs.h-data: Likewise.
38926 * conform/data/sys/time.h-data: Likewise.
38927 * conform/data/sys/timeb.h-data: Likewise.
38928 * conform/data/sys/times.h-data: Likewise.
38929 * conform/data/sys/types.h-data: Likewise.
38930 * conform/data/sys/uio.h-data: Likewise.
38931 * conform/data/sys/un.h-data: Likewise.
38932 * conform/data/sys/utsname.h-data: Likewise.
38933 * conform/data/sys/wait.h-data: Likewise.
38934 * conform/data/syslog.h-data: Likewise.
38935 * conform/data/tar.h-data: Likewise.
38936 * conform/data/termios.h-data: Likewise.
38937 * conform/data/utime.h-data: Likewise.
38938 * conform/data/utmpx.h-data: Likewise.
38939 * conform/data/varargs.h-data: Likewise.
38940 * conform/data/wchar.h-data: Likewise.
38941 * conform/data/wctype.h-data: Likewise.
38942 * conform/data/wordexp.h-data: Likewise.
38944 * include/stropts.h: New file.
38945 * include/uchar.h: New file.
38946 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38947 * include/assert.h: Likewise.
38948 * include/ctype.h: Likewise.
38949 * include/dirent.h: Likewise.
38950 * include/dlfcn.h: Likewise.
38951 * include/fcntl.h: Likewise.
38952 * include/fnmatch.h: Likewise.
38953 * include/glob.h: Likewise.
38954 * include/grp.h: Likewise.
38955 * include/libio.h: Likewise.
38956 * include/locale.h: Likewise.
38957 * include/math.h: Likewise.
38958 * include/net/if.h: Likewise.
38959 * include/netdb.h: Likewise.
38960 * include/netinet/in.h: Likewise.
38961 * include/pthread.h: Likewise.
38962 * include/pwd.h: Likewise.
38963 * include/regex.h: Likewise.
38964 * include/sched.h: Likewise.
38965 * include/search.h: Likewise.
38966 * include/setjmp.h: Likewise.
38967 * include/signal.h: Likewise.
38968 * include/stdio.h: Likewise.
38969 * include/stdlib.h: Likewise.
38970 * include/string.h: Likewise.
38971 * include/sys/cdefs.h: Likewise.
38972 * include/sys/mman.h: Likewise.
38973 * include/sys/msg.h: Likewise.
38974 * include/sys/resource.h: Likewise.
38975 * include/sys/select.h: Likewise.
38976 * include/sys/socket.h: Likewise.
38977 * include/sys/stat.h: Likewise.
38978 * include/sys/statvfs.h: Likewise.
38979 * include/sys/time.h: Likewise.
38980 * include/sys/times.h: Likewise.
38981 * include/sys/uio.h: Likewise.
38982 * include/sys/utsname.h: Likewise.
38983 * include/sys/wait.h: Likewise.
38984 * include/termios.h: Likewise.
38985 * include/time.h: Likewise.
38986 * include/ulimit.h: Likewise.
38987 * include/unistd.h: Likewise.
38988 * include/utime.h: Likewise.
38989 * include/wchar.h: Likewise.
38990 * include/wctype.h: Likewise.
38991 * include/wordexp.h: Likewise.
38993 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38995 * time/time.h: TIME_UTC must be a macro.
38996 Make timespec_get available for ISO C11 only as well.
38998 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39000 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39001 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39003 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39005 * configure.in: Use -o not -a in test for unsupported multi-arch.
39007 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39009 * manual/texinfo.tex: Update to version 2012-01-19.16.
39011 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39013 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39015 2012-02-24 Roland McGrath <roland@hack.frob.com>
39018 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39019 * manual/fdl-1.3.texi: New file.
39020 * manual/fdl-1.1.texi: File removed.
39023 * manual/libc.texinfo (FDL_VERSION): New @set.
39024 Use it for mention of FDL in cover text.
39025 (Documentation License): Use it in @include file name.
39027 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39028 Roland McGrath <roland@hack.frob.com>
39031 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39032 (not LONG_LONG_MAX and LONG_LONG_MIN.
39033 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39034 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39036 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39042 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39043 manipulate bits before adding and subtracting TWO23[sx].
39044 * math/libm-test.inc (nearbyint_test): Add more tests.
39046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39049 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39050 bits before adding and subtracting TWO23[sx].
39051 * math/libm-test.inc (rint_test): Add more tests.
39052 (rint_test_tonearest): Likewise.
39053 (rint_test_towardzero): Likewise.
39054 (rint_test_downward): Likewise.
39055 (rint_test_upward: Likewise.
39057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39060 * include/stdc-predef.h: New file. Extracted from features.h.
39061 * include/features.h: Include stdc-predef.h.
39062 * Makefile (headers): Add stdc-predef.h.
39063 * CONFORMANCE (Compiler limitations): Update.
39065 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39067 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39069 2012-02-21 David S. Miller <davem@davemloft.net>
39071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39074 2012-02-20 David S. Miller <davem@davemloft.net>
39076 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39077 using a normal save/restore sequence, rather than allocating a
39078 dummy stack frame just to store a frame pointer and restore.
39079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39081 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39083 * manual/install.texi: Fix stray word in line-wrapped comment.
39085 2012-02-20 David S. Miller <davem@davemloft.net>
39087 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39088 both binutils and gcc support GOTDATA.
39090 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39091 "rd %pc" in the PIC register setup sequences.
39093 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39094 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39095 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39096 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39097 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39100 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39102 (SYSCALL_ERROR_HANDLER): Likewise.
39103 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39104 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39106 (SYSCALL_ERROR_HANDLER): Likewise.
39108 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39109 (HAVE_GCC_GOTDATA): New.
39110 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39111 relocation support in both binutils and gcc.
39112 * sysdeps/sparc/elf/configure: Regenerate.
39114 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39115 * sysdeps/sparc/sparc32/elf/configure: Delete.
39116 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39117 * sysdeps/sparc/sparc64/elf/configure: Delete.
39118 * sysdeps/sparc/elf/configure.in: New file.
39119 * sysdeps/sparc/elf/configure: Generate.
39121 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39122 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39123 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39124 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39125 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39127 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39129 * manual/install.texi: Do not mention specific glibc version
39131 * manual/libc.texinfo (VERSION, UPDATED): Update.
39132 (@copying): Use @copyright{} and range of years.
39134 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39137 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39138 [crti.S not in sysdirs] (generated): Do not append.
39139 [crti.S not in sysdirs] (omit-deps): Likewise.
39140 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39141 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39142 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39143 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39144 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39146 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39147 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39148 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39149 * csu/defs.awk: Remove file.
39150 * sysdeps/generic/initfini.c: Likewise.
39151 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39153 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39156 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39158 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39159 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39160 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39161 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39162 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39163 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39165 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39166 (__EPOLL_PACKED): Define to empty if not defined by
39168 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39172 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39174 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39175 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39176 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39177 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39179 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39183 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39185 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39188 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39189 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39192 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39197 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39199 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39200 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39202 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39204 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39207 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39209 * math/w_acos.c: Use non-signaling floating-point comparisons.
39210 * math/w_acosf.c: Likewise.
39211 * math/w_acosh.c: Likewise.
39212 * math/w_acoshf.c: Likewise.
39213 * math/w_acoshl.c: Likewise.
39214 * math/w_acosl.c: Likewise.
39215 * math/w_asin.c: Likewise.
39216 * math/w_asinf.c: Likewise.
39217 * math/w_asinl.c: Likewise.
39218 * math/w_atanh.c: Likewise.
39219 * math/w_atanhf.c: Likewise.
39220 * math/w_atanhl.c: Likewise.
39221 * math/w_exp2.c: Likewise.
39222 * math/w_exp2f.c: Likewise.
39223 * math/w_exp2l.c: Likewise.
39224 * math/w_j0.c: Likewise.
39225 * math/w_j0f.c: Likewise.
39226 * math/w_j0l.c: Likewise.
39227 * math/w_j1.c: Likewise.
39228 * math/w_j1f.c: Likewise.
39229 * math/w_j1l.c: Likewise.
39230 * math/w_jn.c: Likewise.
39231 * math/w_jnf.c: Likewise.
39232 * math/w_log.c: Likewise.
39233 * math/w_log10.c: Likewise.
39234 * math/w_log10f.c: Likewise.
39235 * math/w_log10l.c: Likewise.
39236 * math/w_log2.c: Likewise.
39237 * math/w_log2f.c: Likewise.
39238 * math/w_log2l.c: Likewise.
39239 * math/w_logf.c: Likewise.
39240 * math/w_logl.c: Likewise.
39241 * math/w_sqrt.c: Likewise.
39242 * math/w_sqrtf.c: Likewise.
39243 * math/w_sqrtl.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39247 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39250 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39253 * manual/string.texi (strnlen): Use correct parameter name in
39254 equivalent expression.
39256 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39259 * manual/users.texi (seteuid): Consistently use neweuid for
39262 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39265 * manual/nss.texi (Services in the NSS configuration): Correct
39266 list of services in example configuration file.
39268 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39271 * manual/arith.texi: Remove statements about negative zero
39272 behaving identically to zero.
39274 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39277 * manual/install.texi: Do not document upgrading from libc5.
39279 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39282 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39284 2012-02-18 David S. Miller <davem@davemloft.net>
39286 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39287 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39288 %o7 across the call.
39289 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39292 SETUP_PIC_REG_LEAF.
39293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39294 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39295 * sysdeps/sparc/crtn.S: Likewise.
39297 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39299 * aout/Makefile: Remove.
39301 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39304 * manual/examples/argp-ex1.c (main): Format definition in GNU
39306 * manual/examples/argp-ex2.c (main): Likewise.
39307 * manual/examples/argp-ex3.c (main): Likewise.
39308 * manual/examples/argp-ex4.c (main): Likewise.
39309 * manual/examples/longopt.c (main): Use new-style prototype
39311 * manual/examples/strncat.c (main): Specify return type and use
39312 (void) for arguments.
39313 * manual/examples/subopt.c (main): Use char **argv argument.
39315 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39318 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39321 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39324 * manual/string.texi (strchr): Change when strchrnul is
39327 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39330 * manual/locale.texi (setlocale): Document LOCPATH.
39332 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39335 * manual/process.texi (execle): Move @dots{} before last argument.
39337 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39340 * manual/charset.texi (Generic Charset Conversion): Fix typo
39341 (LC_TYPE -> LC_CTYPE).
39343 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39346 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39347 (scalbnf): Likewise.
39348 (scalbnl): Likewise.
39349 (scalbln): Likewise.
39350 (scalblnf): Likewise.
39351 (scalblnl): Likewise.
39352 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39353 (vwarnx): Likewise.
39356 * manual/filesys.texi (telldir): Use braces around return type.
39357 * manual/llio.texi (mmap): Add space after comma.
39358 (mmap64): Likewise.
39359 * manual/math.texi (jn): Use @var{} on parameter names.
39365 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39367 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39369 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39370 (sched_get_priority_max): Likewise.
39371 * manual/signal.texi (sigvec): Add space after comma.
39372 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39374 (if_indextoname): Likewise.
39375 (if_freenameindex): Likewise.
39376 (sendto): Use ',' instead of '.' in prototype.
39377 * manual/startup.texi (syscall): Use @dots{} instead of literal
39379 * manual/stdio.texi (__fpending): Separate initial words of
39380 paragraph from @deftypefun line.
39381 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39383 (vsyslog): Use @var{} on parameter names.
39384 * manual/terminal.texi (stty): Use @var{} on parameter names.
39385 * manual/users.texi (getutmp): Use @var{} on parameter names.
39386 (getutmpx): Likewise.
39388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39391 * manual/stdio.texi (fopen): Fix typos in description of
39394 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39397 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39398 get clock_id definition.
39400 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39403 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39404 (madvise): Cast every argument to void on its own.
39406 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39409 * manual/startup.texi (Exit Status): Fix typo.
39411 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39414 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39415 * manual/examples/argp-ex2.c: Likewise.
39416 * manual/examples/argp-ex3.c: Likewise.
39418 2012-02-16 Richard Henderson <rth@redhat.com>
39420 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39421 * sysdeps/s390/s390-32/initfini.c: Remove.
39422 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39423 * sysdeps/s390/s390-64/initfini.c: Remove.
39425 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39427 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39428 compiler output for sysdeps/generic/initfini.c.
39429 * sysdeps/sh/elf/initfini.c: Remove file.
39431 2012-02-16 David S. Miller <davem@davemloft.net>
39434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39436 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39437 * sysdeps/sparc/crti.S: New file.
39438 * sysdeps/sparc/crtn.S: New file.
39439 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39440 * sysdeps/sparc/sparc64/Makefile: Likewise.
39442 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39445 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39447 2012-02-15 Roland McGrath <roland@hack.frob.com>
39450 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39452 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39453 (write, read, close): Likewise.
39454 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39456 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39458 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39459 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39460 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39461 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39463 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39467 2012-02-14 Marek Polacek <polacek@redhat.com>
39469 * sysdeps/x86_64/crti.S: New file.
39470 * sysdeps/x86_64/crtn.S: New file.
39471 * sysdeps/x86_64/elf/initfini.c: Remove file.
39473 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39475 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39476 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39477 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39478 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39480 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39484 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39486 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39487 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39488 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39489 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39491 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39495 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39497 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39498 __feraiseexcept instead of feraiseexcept.
39500 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39501 nanosleep invocations.
39502 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39503 strings, and add error checking for a nanosleep invocations.
39505 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39507 Replace FSF snail mail address with URLs, as per GNU coding standards.
39508 Most of the snail mail addresses were wrong anyway, and omitting
39509 them makes the source code easier to maintain. Almost all of the
39510 changes are to license notices and to locale LC_IDENTIFICATION
39511 addresses, except for this one:
39512 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39513 not its snail mail address.
39515 2012-02-09 Richard Henderson <rth@twiddle.net>
39517 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39518 of kernel-features.h.
39520 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39522 2012-02-08 Marek Polacek <polacek@redhat.com>
39524 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39525 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39526 * sysdeps/gnu/_G_config.h: Likewise.
39527 * sysdeps/generic/_G_config.h: Likewise.
39529 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39531 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39535 * sysdeps/powerpc/powerpc32/crti.S: New file.
39536 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39537 * sysdeps/powerpc/powerpc64/crti.S: New file.
39538 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39540 * Makeconfig (have-initfini): Don't set.
39541 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39542 * configure.in (nopic_initfini): Don't substitute.
39543 * config.h.in (HAVE_INITFINI): Don't #undef.
39544 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39545 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39547 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39549 Support crti.S and crtn.S provided directly by architectures.
39550 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39551 [crti.S in sysdirs] (omit-deps): Likewise.
39552 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39553 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39554 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39555 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39556 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39557 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39558 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39559 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39560 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39561 compiler output for sysdeps/generic/initfini.c.
39562 * sysdeps/i386/elf/Makefile: Remove file.
39563 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39565 2012-02-07 Marek Polacek <polacek@redhat.com>
39567 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39568 * sysdeps/gnu/_G_config.h: Likewise.
39569 * sysdeps/mach/hurd/_G_config.h: Likewise.
39571 2012-02-07 Marek Polacek <polacek@redhat.com>
39573 * math/Makefile (tests): Add tst-CMPLX2.
39574 * math/tst-CMPLX2.c: New file.
39576 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39578 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39580 * math/libm-test.inc (jn_test): Add missing L suffix.
39582 2012-02-06 Marek Polacek <polacek@redhat.com>
39584 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39585 * sysdeps/i386/fpu/e_powf.S: Likewise.
39586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39587 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39588 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39589 * sysdeps/i386/fpu/e_pow.S: Likewise.
39590 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39591 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39592 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39593 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39594 * sysdeps/i386/fpu/e_log2.S: Likewise.
39595 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39596 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39597 * sysdeps/i386/fpu/e_powl.S: Likewise.
39598 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39599 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39600 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39601 * sysdeps/i386/fpu/e_logl.S: Likewise.
39602 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39603 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39608 * sysdeps/i386/fpu/e_log.S: Likewise.
39609 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39610 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39611 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39612 * sysdeps/i386/fpu/e_logf.S: Likewise.
39613 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39614 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39615 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39616 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39617 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39618 * sysdeps/i386/fpu/e_log10.S: Likewise.
39619 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39621 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39622 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39624 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39625 * sysdeps/i386/asm-syntax.h: Likewise.
39626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39629 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39630 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39631 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39632 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39633 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39634 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39635 * sysdeps/powerpc/sysdep.h: Likewise.
39636 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39637 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39639 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39642 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39644 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39646 * sysdeps/i386/sysdep.h: Include <features.h>.
39647 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39650 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39654 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39657 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39659 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39660 (SETUP_PIC_REG): Use GET_PC_THUNK.
39661 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39664 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39666 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39667 for non-PIC compilation.
39668 (SETUP_PIC_REG): Add .p2align directive.
39669 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39670 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39671 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39672 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39674 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39676 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39677 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39678 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39679 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39680 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39681 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39682 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39683 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39684 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39685 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39686 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39687 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39688 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39689 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39690 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39691 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39695 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39697 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39698 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39699 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39700 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39701 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39702 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39703 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39704 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39705 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39706 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39707 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39708 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39709 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39711 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39713 * math/tst-CMPLX.c: Include <stdio.h>.
39715 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39717 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39719 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39720 * sysdeps/sparc/bits/mathdef.h: Likewise.
39722 2012-01-31 Marek Polacek <polacek@redhat.com>
39724 * libio/libio.h: Don't define _PARAMS.
39725 * locale/programs/config.h: Don't define PARAMS.
39726 * stdlib/strtol_l.c: Likewise.
39727 (__strtol_l): Remove PARAMS from the prototype.
39729 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39731 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39732 names. Just use the correct names. Remove unnecessary wrapper
39734 * malloc/arena.c: Likewise.
39735 * malloc/hooks.c: Likewise.
39737 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39738 ARENA_TEST says not to. Simplify test for creation of a new arena.
39739 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39741 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39743 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39745 (update_get_addr): New function.
39746 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39747 GET_ADDR_MODULE parameter.
39749 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39751 * crypt/cert.c: Remove __STDC__ conditionals.
39752 * crypt/crypt-entry.c: Likewise.
39753 * crypt/crypt_util.c: Likewise.
39754 * libio/filedoalloc.c: Likewise.
39755 * libio/fileops.c: Likewise.
39756 * libio/genops.c: Likewise.
39757 * libio/iofclose.c: Likewise.
39758 * libio/iofdopen.c: Likewise.
39759 * libio/iofopen.c: Likewise.
39760 * libio/iofopen64.c: Likewise.
39761 * libio/iogetdelim.c: Likewise.
39762 * libio/iopopen.c: Likewise.
39763 * libio/obprintf.c: Likewise.
39764 * libio/oldfileops.c: Likewise.
39765 * libio/oldiofclose.c: Likewise.
39766 * libio/oldiofdopen.c: Likewise.
39767 * libio/oldiofopen.c: Likewise.
39768 * libio/oldiopopen.c: Likewise.
39769 * libio/wfiledoalloc.c: Likewise.
39770 * libio/wgenops.c: Likewise.
39771 * locale/programs/xmalloc.c: Likewise.
39772 * misc/syslog.c: Likewise.
39773 * stdio-common/xbug.c: Likewise.
39774 * string/memchr.c: Likewise.
39775 * string/memcmp.c: Likewise.
39776 * string/memrchr.c: Likewise.
39777 * string/rawmemchr.c: Likewise.
39778 * sysdeps/posix/getcwd.c: Likewise.
39779 * time/strftime_l.c: Likewise.
39781 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39783 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39784 * config.make.in (config-cflags-sse2avx): Define.
39785 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39788 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39790 * scripts/config.guess: Update from upstream config git repository.
39791 * scripts/config.sub: Likewise.
39793 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39795 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39797 (R_TILEPRO_*, R_TILEGX_*): New macros.
39799 * scripts/firstversions.awk: Fix bug in version range handling.
39801 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39803 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39805 * include/sys/epoll.h: New file.
39806 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39809 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39811 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39812 Avoid unnecessary __WORDSIZE == 64 test.
39813 (fmaxf): Use VEX format if possible.
39818 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39819 * math/math_private.h: Remove libc_fegetround* and
39821 * sysdeps/i386/configure.in: Check for -msse2avx.
39822 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39823 also if SSE2AVX is defined.
39824 Remove libc_fegetround* and libc_fesetround*.
39825 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39826 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39829 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39830 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39832 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39835 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39837 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39839 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39841 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39843 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39846 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39848 * Makeconfig (libm): Define.
39849 * elf/Makefile: Add rules to build and run tst-relsort1.
39850 * elf/tst-relsort1.c: New file.
39851 * elf/tst-relsort1mod1.c: New file.
39852 * elf/tst-relsort1mod2.c: New file.
39854 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39856 * math/s_ldexp.c: Remove __STDC__ conditionals.
39857 * math/s_ldexpf.c: Likewise.
39858 * math/s_ldexpl.c: Likewise.
39859 * math/s_nextafter.c: Likewise.
39860 * math/s_nexttowardf.c: Likewise.
39861 * math/s_significand.c: Likewise.
39862 * math/s_significandf.c: Likewise.
39863 * math/s_significandl.c: Likewise.
39864 * math/w_jnl.c: Likewise.
39865 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39866 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39867 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39868 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39869 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39884 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39885 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39886 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39887 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39888 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39889 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39890 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39891 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39893 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39896 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39897 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39898 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39899 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39900 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39901 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39902 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39903 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39904 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39905 * sysdeps/ieee754/k_standard.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39945 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39949 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39955 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39959 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39961 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39967 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39972 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39975 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39978 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39979 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39980 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39983 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39985 * sysdeps/ieee754/s_matherr.c: Likewise.
39986 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39991 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39993 * crypt/md5.h: Remove __STDC__ conditionals.
39994 * libio/libioP.h: Likewise.
39995 * locale/programs/config.h: Likewise.
39996 * sysdeps/generic/sysdep.h: Likewise.
39997 * sysdeps/i386/asm-syntax.h: Likewise.
39998 * sysdeps/s390/asm-syntax.h: Likewise.
39999 * sysdeps/unix/sysdep.h: Likewise.
40000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40003 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40005 * libio/libio.h: Remove __STDC__ conditionals.
40006 * malloc/obstack.h: Likewise.
40007 * math/complex.h: Likewise.
40008 * math/math.h: Likewise.
40009 * sysdeps/generic/_G_config.h: Likewise.
40010 * sysdeps/gnu/_G_config.h: Likewise.
40011 * sysdeps/mach/hurd/_G_config.h: Likewise.
40012 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40013 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40014 * sysdeps/sparc/bits/mathdef.h: Likewise.
40016 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40019 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40020 Clean up HAS_* macros.
40021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40022 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40024 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40026 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40027 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40029 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40030 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40032 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40034 * elf/tst-unique3.cc (gets): Remove declaration.
40035 * elf/tst-unique3lib.cc (gets): Likewise.
40036 * elf/tst-unique3lib2.cc (gets): Likewise.
40037 * elf/tst-unique4.cc (gets): Likewise.
40039 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40041 * include/stdio.h: Add C++ protection. Add gets declarations and
40043 * debug/tst-chk1.c: Don't declare gets here.
40044 * stdio-common/tst-gets.c: Likewise.
40046 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40048 * posix/glob: Remove directory.
40050 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40052 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40054 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40056 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40057 of the non-standard EPFNOSUPPORT.
40059 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40061 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40062 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40063 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40065 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40067 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40069 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40071 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40073 * nscd/grpcache.c (cache_addgr): Likewise.
40074 * nscd/hstcache.c (cache_addhst): Likewise.
40075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40076 * nscd/pwdcache.c (cache_addpw): Likewise.
40077 * nscd/servicescache.c (cache_addserv): Likewise.
40079 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40081 * malloc/malloc.c: Various cleanups.
40082 * malloc/hooks.c: Likewise.
40084 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40085 * stdlib/bug-fmtmsg1.c: New file.
40087 * stdlib/fmtmsg.c (init): Add missing unlock.
40088 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40090 2012-01-12 Marek Polacek <polacek@redhat.com>
40092 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40095 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40097 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40098 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40099 macro to ensure uniqueness of label name.
40100 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40101 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40103 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40105 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40107 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40108 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40112 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40114 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40116 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40117 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40120 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40122 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40123 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40127 * math/bits/math-finite.h: Add ldexp support.
40129 2012-01-10 Marek Polacek <polacek@redhat.com>
40131 * locale/programs/localedef.h (show_archive_content): Add noreturn
40134 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40136 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40140 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40142 * io/Makefile (headers): Add bits/poll2.h.
40144 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40147 typo #include statement.
40149 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40151 * include/sys/cdefs.h: Define __attribute_alloc_size.
40152 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40153 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40154 * elf/pldd.c: Likewise.
40155 * iconv/iconv_charmap.c: Likewise.
40156 * iconv/iconvconfig.c: Likewise.
40157 * iconv/strtab.c: Likewise.
40158 * locale/programs/locale.c: Likewise.
40159 * locale/programs/localedef.h: Likewise.
40160 * locale/programs/simple-hash.c: Likewise.
40161 * nscd/nscd.h: Likewise.
40162 * nss/makedb.c: Likewise.
40163 * sysdeps/generic/ldconfig.h: Likewise.
40164 * locale/programs/localedef.c: Remove xmalloc prototype.
40165 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40167 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40169 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40172 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40174 * math/Makefile (tests): Add tst-CMPLX.
40175 * math/tst-CMPLX.c: New file.
40177 * math/complex.h (CMPLXL): Fix typo.
40179 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40180 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40182 * debug/tst-chk1.c: Add poll and ppoll tests.
40183 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40184 * include/sys/poll.h: Add hidden proto for ppoll.
40185 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40186 * sysdeps/mach/hurd/ppoll.c: Likewise.
40187 * io/ppoll.c: Likewise.
40188 * debug/poll_chk.c: New file.
40189 * debug/ppoll_chk.c: New file.
40190 * include/bits/poll2.h: New file.
40191 * io/bits/poll2.h: New file.
40194 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40196 * configure.in: static is always set to yes. Remove.
40197 * config.make.in: Don't set build-static.
40198 * Makeconfig: Remove use of build-static.
40199 * dlfcn/Makefile: Likewise.
40200 * elf/Makefile: Likewise.
40201 * math/Makefile: Likewise.
40202 * misc/Makefile: Likewise.
40203 * nptl/Makefile: Likewise.
40204 * sysdeps/mach/hurd/Makefile: Likewise.
40206 * configure.in: PWD_P is not used anymore.
40207 * config.make.in: Remove PWD_P entry.
40209 * configure.in: Remove last remnants of RANLIB.
40210 No need to check for signed size_t anymore.
40211 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40213 Remove __builtin_expect test because we require at least gcc 3.4.
40214 * aclocal.m4: Likewise.
40216 * wcsmbs/mbrtoc16.c: Implement using towc function.
40217 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40218 * wcsmbs/wcsmbsload.c: Likewise.
40219 * iconv/gconv_simple.c: Likewise.
40220 * iconv/gconv_int.h: Likewise.
40221 * iconv/gconv_builtin.h: Likewise.
40222 * iconv/iconv_prog.c: Remove CHAR16 handling.
40224 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40226 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40228 * configure.in: Remove --with-elf and --enable-bounded options.
40229 Dont set base_machine for ia64. More non-ELF conditions removed.
40230 Remove testing and setting of leading underscore information.
40231 * config.make.in (build-bounded): Set to no.
40232 * config.h.in: Remove NO_UNDERSCORES entry.
40233 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40235 * csu/start.c: Remove !NO_UNDERSCORE code.
40236 * locale/localeinfo.h: Likewise.
40237 * sysdeps/generic/machine-gmon.h: Likewise.
40238 * sysdeps/generic/sysdep.h: Likewise.
40239 * sysdeps/i386/sysdep.h: Likewise.
40240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40241 * sysdeps/mach/sysdep.h: Likewise.
40242 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40244 * sysdeps/sh/sysdep.h: Likewise.
40245 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40246 * sysdeps/unix/i386/sysdep.S: Likewise.
40247 * sysdeps/unix/sparc/start.c: Likewise.
40248 * sysdeps/unix/sparc/sysdep.S: Likewise.
40249 * sysdeps/unix/sparc/sysdep.h: Likewise.
40250 * sysdeps/unix/start.c: Likewise.
40251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40252 * sysdeps/x86_64/sysdep.h: Likewise.
40254 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40257 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40259 * argp/argp-fmtstream.h: Use const instead __const.
40260 * argp/argp.h: Likewise.
40261 * assert/assert.h: Likewise.
40262 * bits/fenv.h: Likewise.
40263 * bits/sched.h: Likewise.
40264 * bits/sigset.h: Likewise.
40265 * bits/sigthread.h: Likewise.
40266 * catgets/nl_types.h: Likewise.
40267 * conform/data/pthread.h-data: Likewise.
40268 * crypt/crypt-private.h: Likewise.
40269 * crypt/crypt.h: Likewise.
40270 * crypt/crypt_util.c: Likewise.
40271 * ctype/ctype.h: Likewise.
40272 * debug/execinfo.h: Likewise.
40273 * debug/mbsnrtowcs_chk.c: Likewise.
40274 * debug/mbsrtowcs_chk.c: Likewise.
40275 * debug/wcsnrtombs_chk.c: Likewise.
40276 * debug/wcsrtombs_chk.c: Likewise.
40277 * debug/wcstombs_chk.c: Likewise.
40278 * dirent/dirent.h: Likewise.
40279 * dlfcn/dlfcn.h: Likewise.
40280 * elf/neededtest4.c: Likewise.
40281 * grp/grp.h: Likewise.
40282 * gshadow/gshadow.h: Likewise.
40283 * iconv/gconv.h: Likewise.
40284 * iconv/gconv_int.h: Likewise.
40285 * iconv/gconv_simple.c: Likewise.
40286 * iconv/iconv.h: Likewise.
40287 * iconv/loop.c: Likewise.
40288 * iconv/skeleton.c: Likewise.
40289 * include/aio.h: Likewise.
40290 * include/aliases.h: Likewise.
40291 * include/argz.h: Likewise.
40292 * include/arpa/inet.h: Likewise.
40293 * include/assert.h: Likewise.
40294 * include/dirent.h: Likewise.
40295 * include/dlfcn.h: Likewise.
40296 * include/execinfo.h: Likewise.
40297 * include/fcntl.h: Likewise.
40298 * include/fenv.h: Likewise.
40299 * include/glob.h: Likewise.
40300 * include/grp.h: Likewise.
40301 * include/libintl.h: Likewise.
40302 * include/mntent.h: Likewise.
40303 * include/netdb.h: Likewise.
40304 * include/pwd.h: Likewise.
40305 * include/rpc/netdb.h: Likewise.
40306 * include/sched.h: Likewise.
40307 * include/search.h: Likewise.
40308 * include/shadow.h: Likewise.
40309 * include/signal.h: Likewise.
40310 * include/stdio.h: Likewise.
40311 * include/stdlib.h: Likewise.
40312 * include/string.h: Likewise.
40313 * include/sys/socket.h: Likewise.
40314 * include/sys/stat.h: Likewise.
40315 * include/sys/statfs.h: Likewise.
40316 * include/sys/statvfs.h: Likewise.
40317 * include/sys/syslog.h: Likewise.
40318 * include/sys/time.h: Likewise.
40319 * include/sys/uio.h: Likewise.
40320 * include/time.h: Likewise.
40321 * include/unistd.h: Likewise.
40322 * include/utmp.h: Likewise.
40323 * include/wchar.h: Likewise.
40324 * include/wctype.h: Likewise.
40325 * inet/aliases.h: Likewise.
40326 * inet/arpa/inet.h: Likewise.
40327 * inet/netinet/ether.h: Likewise.
40328 * inet/netinet/in.h: Likewise.
40329 * intl/libintl.h: Likewise.
40330 * io/bits/fcntl2.h: Likewise.
40331 * io/fcntl.h: Likewise.
40332 * io/ftw.h: Likewise.
40333 * io/sys/poll.h: Likewise.
40334 * io/sys/stat.h: Likewise.
40335 * io/sys/statfs.h: Likewise.
40336 * io/sys/statvfs.h: Likewise.
40337 * io/utime.h: Likewise.
40338 * libio/bits/stdio.h: Likewise.
40339 * libio/bits/stdio2.h: Likewise.
40340 * libio/libio.h: Likewise.
40341 * libio/libioP.h: Likewise.
40342 * libio/stdio.h: Likewise.
40343 * locale/lc-ctype.c: Likewise.
40344 * locale/locale.h: Likewise.
40345 * login/utmp.h: Likewise.
40346 * malloc/arena.c: Likewise.
40347 * malloc/malloc.c: Likewise.
40348 * malloc/malloc.h: Likewise.
40349 * malloc/mcheck.c: Likewise.
40350 * malloc/mtrace.c: Likewise.
40351 * math/bits/mathcalls.h: Likewise.
40352 * math/fenv.h: Likewise.
40353 * math/math_private.h: Likewise.
40354 * misc/bits/error.h: Likewise.
40355 * misc/bits/syslog.h: Likewise.
40356 * misc/err.h: Likewise.
40357 * misc/error.h: Likewise.
40358 * misc/fstab.h: Likewise.
40359 * misc/mntent.h: Likewise.
40360 * misc/regexp.h: Likewise.
40361 * misc/search.h: Likewise.
40362 * misc/sgtty.h: Likewise.
40363 * misc/sys/mman.h: Likewise.
40364 * misc/sys/syslog.h: Likewise.
40365 * misc/sys/uio.h: Likewise.
40366 * misc/sys/xattr.h: Likewise.
40367 * misc/ttyent.h: Likewise.
40368 * nis/rpcsvc/ypclnt.h: Likewise.
40369 * nss/nss.h: Likewise.
40370 * posix/bits/unistd.h: Likewise.
40371 * posix/fnmatch.h: Likewise.
40372 * posix/glob.h: Likewise.
40373 * posix/sched.h: Likewise.
40374 * posix/spawn.h: Likewise.
40375 * posix/sys/wait.h: Likewise.
40376 * posix/unistd.h: Likewise.
40377 * posix/wordexp.h: Likewise.
40378 * pwd/pwd.h: Likewise.
40379 * resolv/netdb.h: Likewise.
40380 * resource/sys/resource.h: Likewise.
40381 * rt/aio.h: Likewise.
40382 * rt/bits/mqueue2.h: Likewise.
40383 * rt/mqueue.h: Likewise.
40384 * shadow/shadow.h: Likewise.
40385 * signal/signal.h: Likewise.
40386 * socket/send.c: Likewise.
40387 * socket/sendto.c: Likewise.
40388 * socket/sys/socket.h: Likewise.
40389 * stdio-common/printf.h: Likewise.
40390 * stdlib/bits/stdlib.h: Likewise.
40391 * stdlib/fmtmsg.h: Likewise.
40392 * stdlib/monetary.h: Likewise.
40393 * stdlib/stdlib.h: Likewise.
40394 * stdlib/ucontext.h: Likewise.
40395 * streams/stropts.h: Likewise.
40396 * string/argz.h: Likewise.
40397 * string/bits/string2.h: Likewise.
40398 * string/string.h: Likewise.
40399 * string/strings.h: Likewise.
40400 * sunrpc/rpc/auth.h: Likewise.
40401 * sunrpc/rpc/auth_des.h: Likewise.
40402 * sunrpc/rpc/clnt.h: Likewise.
40403 * sunrpc/rpc/netdb.h: Likewise.
40404 * sunrpc/rpc/pmap_clnt.h: Likewise.
40405 * sunrpc/rpc/xdr.h: Likewise.
40406 * sysdeps/generic/inttypes.h: Likewise.
40407 * sysdeps/generic/net/if.h: Likewise.
40408 * sysdeps/generic/sys/swap.h: Likewise.
40409 * sysdeps/gnu/net/if.h: Likewise.
40410 * sysdeps/gnu/utmpx.h: Likewise.
40411 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40412 * sysdeps/i386/i486/bits/string.h: Likewise.
40413 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40414 * sysdeps/s390/bits/string.h: Likewise.
40415 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40416 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40417 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40418 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40419 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40420 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40421 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40422 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40423 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40424 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40425 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40426 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40427 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40428 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40429 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40430 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40431 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40435 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40436 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40437 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40438 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40439 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40440 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40441 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40442 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40443 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40444 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40445 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40446 * sysvipc/sys/ipc.h: Likewise.
40447 * sysvipc/sys/msg.h: Likewise.
40448 * sysvipc/sys/sem.h: Likewise.
40449 * sysvipc/sys/shm.h: Likewise.
40450 * termios/termios.h: Likewise.
40451 * time/sys/time.h: Likewise.
40452 * time/time.h: Likewise.
40453 * wcsmbs/bits/wchar2.h: Likewise.
40454 * wcsmbs/uchar.h: Likewise.
40455 * wcsmbs/wchar.h: Likewise.
40456 * wctype/wctype.h: Likewise.
40459 * Makeconfig: Remove all but ELF support including AIX support.
40460 * Makerules: Likewise.
40461 * config.h.in: Likewise.
40462 * config.make.in: Likewise.
40463 * configure: Likewise.
40464 * configure.in: Likewise.
40465 * csu/Makefile: Likewise.
40466 * csu/version.c: Likewise.
40467 * debug/Makefile: Likewise.
40468 * dlfcn/Makefile: Likewise.
40469 * elf/Makefile: Likewise.
40470 * extra-lib.mk: Likewise.
40471 * iconv/Makefile: Likewise.
40472 * include/libc-symbols.h: Likewise.
40473 * include/shlib-compat.h: Likewise.
40474 * resolv/Makefile: Likewise.
40475 * resolv/res_libc.c: Likewise.
40476 * rt/Makefile: Likewise.
40477 * sysdeps/i386/asm-syntax.h: Likewise.
40478 * sysdeps/i386/sysdep.h: Likewise.
40479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40480 * sysdeps/mach/sysdep.h: Likewise.
40481 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40482 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40483 * sysdeps/s390/asm-syntax.h: Likewise.
40484 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40486 * sysdeps/sh/sysdep.h: Likewise.
40487 * sysdeps/unix/sparc/sysdep.h: Likewise.
40488 * sysdeps/wordsize-32/divdi3.c: Likewise.
40489 * sysdeps/x86_64/sysdep.h: Likewise.
40491 * argp/Versions: Remove _argp_unlock_xxx.
40494 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40495 * abilist/libBrokenLocale.abilist: Likewise.
40496 * abilist/libanl.abilist: Likewise.
40497 * abilist/libc.abilist: Likewise.
40498 * abilist/libcrypt.abilist: Likewise.
40499 * abilist/libdl.abilist: Likewise.
40500 * abilist/libm.abilist: Likewise.
40501 * abilist/libnsl.abilist: Likewise.
40502 * abilist/libpthread.abilist: Likewise.
40503 * abilist/libresolv.abilist: Likewise.
40504 * abilist/librt.abilist: Likewise.
40505 * abilist/libthread_db.abilist: Likewise.
40506 * abilist/libutil.abilist: Likewise.
40507 * abilist/libnss_db.abilist: New file.
40509 * scripts/abilist.awk: Add support for indirect functions.
40511 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40513 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40515 * shlib-versions: Remove entries for ports architectures.
40517 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40519 * elf/stackguard-macros.h: Remove support for IA-64.
40520 * elf/tst-auditmod1.c: Likewise.
40521 * sysdeps/generic/ldsodefs.h: Likewise.
40523 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40524 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40528 * configure.in: Remove --enable-omitfp support.
40530 * config.make.in: Likewise.
40531 * Makeconfig: Likewise.
40532 * manual/install.texi: Likewise.
40534 In case anyone cares, the IA-64 architecture could move to ports.
40535 * sysdeps/ia64/*: Removed.
40536 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40537 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40540 * configure.in: Remove entries for unsupported architectures.
40543 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40544 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40546 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40547 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40548 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40549 fall back to using wcrtomb.
40550 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40551 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40553 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40554 * wcsmbs/tst-c16c32-1.c: New file.
40556 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40559 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40561 * elf/tst-unique3.cc: Add explicit declaration of gets.
40562 * elf/tst-unique3lib.cc: Likewise.
40563 * elf/tst-unique3lib2.cc: Likewise.
40564 * elf/tst-unique4.cc: Likewise.
40566 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40568 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40571 * assert/assert.h (static_assert): Don't define for C++.
40572 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40573 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40575 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40577 * iconv/loop.c (single loop): Fix assertion in storing of
40580 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40582 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40584 * posix/getconf.c: Update copyright year.
40585 * nss/getent.c: Likewise.
40586 * nss/makedb.c: Likewise.
40587 * iconv/iconvconfig.c: Likewise.
40588 * iconv/iconv_prog.c: Likewise.
40589 * elf/ldconfig.c: Likewise.
40590 * elf/pldd.c: Likewise.
40591 * elf/sotruss.ksh: Likewise.
40592 * catgets/gencat.c: Likewise.
40593 * csu/version.c: Likewise.
40594 * elf/ldd.bash.in: Likewise.
40595 * elf/sprof.c (print_version): Likewise.
40596 * locale/programs/locale.c: Likewise.
40597 * locale/programs/localedef.c: Likewise.
40598 * login/programs/pt_chown.c: Likewise.
40599 * nscd/nscd.c (print_version): Likewise.
40600 * debug/xtrace.sh: Likewise.
40601 * malloc/memusage.sh: Likewise.
40602 * malloc/mtrace.pl: Likewise.
40603 * debug/catchsegv.sh: Likewise.
40605 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40607 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40610 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40613 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40614 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40616 * iconv/gconv_int.h: Likewise.
40617 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40618 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40619 from libc for GLIBC_2.16.
40620 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40621 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40622 * wcsmbs/uchar.h: Really define mbstate_t.
40623 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40624 * wcsmbs/c16rtomb.c: New file.
40625 * wcsmbs/mbrtoc16.c: New file.
40626 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40627 for C/POSIX locale.
40628 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40629 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40631 * wcsmbs/wchar.h: Add missing __restrict.
40633 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40636 * time/Makefile (routines): Add timespec_get.
40637 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40638 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40639 timespec for ISO C11.
40640 * time/timespec_get.c: New file.
40641 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40642 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40645 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40646 * stdlib/stdlib.h: Declare aligned_alloc.
40647 * Versions.def: Add GLIBC_2.16 for libc.
40648 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40651 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40654 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40658 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40661 * assert/assert.h (static_assert): Define.
40663 * version.h: Update for 2.16 development version.
40666 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40669 * version.h (RELEASE): Bump for 2.15 release.
40670 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40672 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40673 Patch by Marek Polacek <mpolacek@redhat.com>.
40675 * bits/byteswap.h: Protect long long constants with __extension__.
40676 * sysdeps/i386/bits/byteswap.h: Likewise.
40677 * sysdeps/ia64/bits/byteswap.h: Likewise.
40678 * sysdeps/s390/bits/byteswap.h: Likewise.
40679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40681 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40685 destination buffer.
40686 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40688 2011-12-23 Marek Polacek <polacek@redhat.com>
40690 * elf/dl-addr.c (determine_info): Add inline keyword.
40691 * elf/tst-auditmod4b.c (check_avx): Likewise.
40692 * elf/tst-auditmod6b.c (check_avx): Likewise.
40693 * elf/tst-auditmod6c.c (check_avx): Likewise.
40694 * elf/tst-auditmod7b.c (check_avx): Likewise.
40696 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40698 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40701 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40704 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40705 processing for last bytes.
40707 2011-08-06 Bruno Haible <bruno@clisp.org>
40710 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40711 U+0385, not to U+1FEE.
40714 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40715 entry for U+00A5 U+0301.
40717 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40720 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40721 buffer for the output is too small.
40723 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40727 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40728 SSE flags if possible.
40730 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40734 processing for last bytes.
40736 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40738 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40739 (syscall-list-default-options, syscall-list-default-condition)
40740 (syscall-list-includes): Define.
40741 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40742 list of ABIs and options and #if conditions for each ABI. Do not
40743 handle common syscalls between ABIs specially.
40744 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40746 (syscall-list-variants, syscall-list-32bit-options)
40747 (syscall-list-32bit-condition, syscall-list-64bit-options)
40748 (syscall-list-64bit-condition): Define.
40749 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40750 (syscall-list-variants, syscall-list-32bit-options)
40751 (syscall-list-32bit-condition, syscall-list-64bit-options)
40752 (syscall-list-64bit-condition): Define.
40753 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40755 (syscall-list-variants, syscall-list-32bit-options)
40756 (syscall-list-32bit-condition, syscall-list-64bit-options)
40757 (syscall-list-64bit-condition): Define.
40758 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40760 (syscall-list-variants, syscall-list-32bit-options)
40761 (syscall-list-32bit-condition, syscall-list-64bit-options)
40762 (syscall-list-64bit-condition): Define.
40764 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40766 * locale/iso-639.def: Add brx entry.
40769 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40770 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40772 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40773 __feraiseexcept_renamed.
40775 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40778 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40779 EPOLLET with unsigned values.
40780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40783 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40784 to large cancellation.
40785 * math/s_cacoshf.c: Likewise.
40786 * math/s_cacoshl.c: Likewise.
40788 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40792 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40793 * math/s_cacoshf.c: Likewise.
40794 * math/s_cacoshl.c: Likewise.
40796 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40799 * iconv/gconv.h: Define __GCONV_SWAP.
40800 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40801 * iconvdata/utf-16.c: Likewise.
40802 * iconvdata/utf-32.c: Likewise.
40804 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40808 numerator after shifting it by one limb.
40810 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40813 under [__USE_EXTERN_INLINES].
40815 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40818 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40820 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40822 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40823 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40825 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40827 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40828 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40829 for strncasecmp/strncasecmp_l compilation.
40830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40831 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40833 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40836 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40839 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40842 * time/tzfile.c (__tzfile_read): Check values from file header.
40844 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40846 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40847 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40848 * powerpc/powerpc32/dl-start.S: Likewise.
40849 * powerpc/powerpc32/elf/start.S: Likewise.
40850 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40851 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40852 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40853 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40854 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40855 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40856 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40857 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40858 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40859 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40860 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40861 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40862 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40863 * powerpc/powerpc32/memset.S: Likewise.
40864 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40865 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40866 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40867 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40868 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40869 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40870 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40871 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40872 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40873 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40875 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40876 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40878 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40880 * math/libm-test.inc: Added more nearbyint tests.
40881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40886 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40888 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40891 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40893 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40894 Add wcscpy-ssse3 wcscpy-c.
40895 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40896 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40897 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40898 * sysdeps/x86_64/wcschr.S: New file.
40899 * sysdeps/x86_64/wcsrchr.S: New file.
40900 * string/test-strcmp.c: Remove checking of wcscmp function for
40902 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40903 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40904 wcsrchr-sse2 wcsrchr-c.
40905 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40906 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40907 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40908 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40909 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40910 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40911 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40912 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40913 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40914 * wcsmbc/wcschr.c (WCSCHR): New macro.
40916 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40918 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40919 * wcsmbs/test-wcsrchr.c: New file.
40920 * string/test-strrchr.c: Add wcsrchr support.
40922 * wcsmbs/test-wcscpy.c: New file.
40923 * string/test-strcpy.c: Add wcscpy support.
40926 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40931 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40934 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40936 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40938 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40939 Minor optimizations.
40941 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40942 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40943 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40945 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40947 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40948 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40949 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40950 for gcc to avoid warnings.
40951 * inet/Makefile (tests): Add tst-checks.
40952 * inet/tst-checks.c: New file.
40954 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40957 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40960 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40961 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40963 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40965 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40967 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40970 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40972 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40974 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40975 conditional on GCC version.
40976 (__arch_compare_and_exchange_val_8_acq)
40977 (__arch_compare_and_exchange_val_16_acq)
40978 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40979 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40980 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40982 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40984 * sysdeps/sh/backtrace.c: New file.
40986 2011-12-02 Andreas Schwab <schwab@redhat.com>
40988 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40991 2011-12-01 Andreas Schwab <schwab@redhat.com>
40993 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40994 falling back to utime.
40996 2011-11-30 Andreas Schwab <schwab@redhat.com>
40998 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40999 expectations for float.
41001 2011-11-29 Andreas Schwab <schwab@redhat.com>
41003 * locale/weight.h (findidx): Add parameter len.
41004 * locale/weightwc.h (findidx): Likewise.
41005 * posix/fnmatch_loop.c (FCT): Adjust caller.
41006 * posix/regcomp.c (build_equiv_class): Likewise.
41007 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41008 * posix/regexec.c (check_node_accept_bytes): Likewise.
41009 * string/strcoll_l.c (STRCOLL): Likewise.
41010 * string/strxfrm_l.c (STRXFRM): Likewise.
41012 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41014 * Makefile.in: Remove CVSOPT handling.
41015 * configure.in: Remove use of AC_REVISION.
41016 * iconvdata/Makefile (distribute): No need to filter out CVS.
41017 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41020 2011-11-16 Andreas Schwab <schwab@redhat.com>
41022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41023 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41024 [USE_AS_STRNCASECMP_L]: Likewise.
41025 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41026 NO_TLS_DIRECT_SEG_REFS.
41027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41028 Fix argument offsets for non-PIC.
41029 [USE_AS_STRNCASECMP_L]: Likewise.
41030 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41031 NO_TLS_DIRECT_SEG_REFS.
41033 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41035 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41037 * locale/loadlocale.c (_nl_load_locale): Likewise.
41039 2011-11-15 Andreas Schwab <schwab@redhat.com>
41041 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41042 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41043 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41044 (SYSCALL_GETTIME): Set errno on error.
41046 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41047 count references to noai6ai_cached.
41049 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41051 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41053 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41054 FD_CLOEXEC for /proc/self/maps.
41056 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41057 FD_CLOEXEC for /proc/meminfo.
41059 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41062 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41063 FD_CLOEXEC for given file.
41065 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41067 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41068 FD_CLOEXEC for /etc/hosts.
41069 (_gethtent): Likewise.
41071 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41073 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41074 cancellation and set FD_CLOEXEC for /etc/netgroup.
41076 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41077 reading /etc/publickey.
41079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41080 allow cancellation when reading /etc/group.
41082 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41084 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41086 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41087 when using data file.
41089 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41091 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41092 (write_nis_obj): Use "c" and "e" in fopen.
41094 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41096 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41098 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41100 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41102 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41105 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41107 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41109 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41111 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41112 file parsing and set FD_CLOEXEC.
41114 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41116 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41118 2011-11-14 Andreas Schwab <schwab@redhat.com>
41120 * malloc/arena.c (arena_get2): Don't call reused_arena when
41121 _int_new_arena failed.
41123 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41126 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41127 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41131 to compile strcasecmp and strncasecmp.
41132 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41133 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41137 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41139 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41140 locale-defines.sym to gen-as-const-headers.
41141 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41142 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41144 to compile strcasecmp and strncasecmp.
41145 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41146 strcasecmp_l and strncasecmp_l.
41147 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41148 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41149 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41150 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41151 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41153 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41154 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41155 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41156 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41157 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41159 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41161 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41162 result of SYSDEP_GETTIME_CPU to retval.
41163 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41164 parameter list to macro. Remove trailing semicolon. Adjust users.
41166 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41169 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41171 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41173 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41174 from unused variable.
41176 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41178 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41181 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41184 * sunrpc/rpc_prot.c (rejected): Fix case value.
41186 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41187 unsigned long long int to avoid warnings in shift.
41189 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41191 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41194 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41195 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41198 * nis/nis_table.c (nis_list): Use variable of correct type for
41199 result of __follow_path call.
41201 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41203 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41204 of math functions ceil, trunc, floor, round, and sqrt, when
41205 avaliable on the platform.
41206 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41212 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41214 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41215 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41217 2011-11-11 Roland McGrath <roland@hack.frob.com>
41219 * include/unistd.h: Fix __readlink return type.
41220 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41222 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41224 * stdlib/ucontext.h: Undo last change for makecontext.
41226 2011-11-11 Andreas Schwab <schwab@redhat.com>
41228 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41230 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41231 * setjmp/setjmp.h: Mark functions as non-leaf.
41232 * setjmp/bits/setjmp2.h: Likewise.
41233 * stdlib/ucontext.h: Likewise.
41235 2011-11-10 Andreas Schwab <schwab@redhat.com>
41237 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41238 (reused_arena): Don't check arena limit.
41239 (arena_get2): Atomically check arena limit.
41241 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41243 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41244 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41249 2011-11-07 Andreas Schwab <schwab@redhat.com>
41251 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41252 handler when locking.
41254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41255 Fix size of allocated buffer.
41257 2011-11-04 Andreas Schwab <schwab@redhat.com>
41260 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41261 declarations for long double functions.
41262 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41264 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41266 2011-11-03 Andreas Schwab <schwab@redhat.com>
41268 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41271 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41274 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41276 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41278 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41280 * include/alloca.h (stackinfo_alloca_round): Define.
41281 (extend_alloca): Use it.
41282 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41283 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41286 * scripts/check-local-headers.sh: Ignore libaudit.h.
41288 * nscd/Makefile (extra-objs): Make recursively expanded.
41290 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41292 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41295 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41296 * posix/tst-rfc3484-2.c: Likewise.
41297 * posix/tst-rfc3484-3.c: Likewise.
41299 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41301 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41303 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41304 process_vm_writev from libc using GLIBC_2.15 version.
41306 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41308 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41310 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41313 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41316 * nss/getent.c (initgroups_keys): Show error message in case no group
41319 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41320 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41321 __bump_nl_timestamp.
41322 * nscd/connections (nscd_init): When host database is served open
41323 netlink socket and request notification about configuration changes.
41324 (main_loop_poll): Track netlink file descriptor and bump timestamp
41325 in case data becomes available.
41326 (main_loop_epoll): Likewise.
41327 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41328 (database_pers_head): Add extra_data fileds.
41329 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41330 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41331 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41334 in6ai data, call __free_in6ai.
41335 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41336 Add -DHAVE_NETLINK.
41337 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41338 interface information. Reuse previous data if netlink timestamp
41340 (__bump_nl_timestamp): New function.
41341 (__free_in6ai): New function.
41343 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41346 close_not_cancel_no_status here.
41347 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41349 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41352 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41355 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41356 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41357 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41359 2011-07-03 Andreas Jaeger <aj@suse.de>
41362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41363 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41364 * math/libm-test.inc (sin_test): Add test case.
41366 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41369 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41370 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41372 * elf/chroot_canon.c (chroot_canon): Cleanups.
41374 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41377 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41378 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41380 * string/test-strchr.c: Make usable for strchrnul testing.
41381 * string/test-strchrnul.c: New file.
41382 * string/Makefile (strop-tests): Add strchrnul.
41384 * po/it.po: Update from translation team.
41385 * po/es.po: Likewise.
41387 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41390 the three constants needed as parameters. Drop the others.
41391 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41392 __m128i_strloadu_tolower.
41393 Create and initialize variable zero and use it in all the places
41394 where _mm_setzero_si128 was used.
41396 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41397 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41398 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41399 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41401 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41402 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41403 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41404 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41405 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41406 __mpranred, __mptan.
41407 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41408 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41409 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41410 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41411 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41412 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41414 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41415 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41417 2011-10-28 Andreas Schwab <schwab@redhat.com>
41419 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41420 redefine if SHARED.
41421 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41424 wide char related routines to wcsmbs subdir.
41426 2011-10-27 Andreas Schwab <schwab@redhat.com>
41429 * misc/sys/cdefs.h (__THROWNL): Define.
41430 * posix/unistd.h: Use __THREADNL instead of __THREAD
41431 for memory synchronization functions.
41433 2011-10-26 Roland McGrath <roland@hack.frob.com>
41436 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41438 * manual/stdio.texi (Obstack Streams): Node removed.
41440 2011-10-26 Andreas Schwab <schwab@redhat.com>
41442 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41443 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41444 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41446 * math/math_private.h (math_force_eval): Allow non-addressable
41448 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41450 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41453 file is not needed.
41455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41458 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41462 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41464 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41465 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41466 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41467 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41469 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41470 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41471 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41472 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41473 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41474 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41475 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41477 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41478 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41479 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41480 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41481 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41482 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41484 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41485 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41488 place. Use VEX encoding when compiling for AVX.
41490 2011-10-25 Andreas Schwab <schwab@redhat.com>
41492 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41493 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41495 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41497 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41499 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41500 useless if() expression.
41501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41511 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41512 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41514 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41515 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41517 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41519 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41521 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41523 2011-10-25 Andreas Schwab <schwab@redhat.com>
41525 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41529 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41531 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41532 .text section. Avoid duplicate constants.
41533 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41535 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41542 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41543 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41544 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41545 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41550 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41556 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41557 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41558 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41559 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41560 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41561 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41562 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41563 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41564 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41565 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41566 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41567 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41568 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41569 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41571 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41572 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41573 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41574 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41575 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41576 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41577 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41579 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41581 * sysdeps/x86_64/dla.h: Move to ...
41582 * sysdeps/x86_64/fpu/dla.h: ...here.
41583 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41584 situations. Use __builtin_fma only for gcc 4.6 and up.
41586 * config.make.in: Add have-mfma4 entry.
41587 * configure.in: Substitute libc_cv_cc_fma4.
41588 * math/Makefile (dbl-only-routines): Add sincostab.
41589 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41590 Use __sincostab not sincos.
41591 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41598 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41599 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41600 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41601 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41603 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41604 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41606 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41607 define aliases when function name is a macro.
41608 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41609 sysdeps/ieee754/dbl-64/sincos.tbl.
41610 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41611 fma4-enabled routines.
41612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41617 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41620 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41621 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41622 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41623 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41624 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41625 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41626 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41627 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41628 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41629 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41630 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41632 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41633 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41635 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41639 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41640 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41643 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41654 2011-10-24 Andreas Schwab <schwab@redhat.com>
41656 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41658 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41662 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41664 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41666 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41667 Remove unused variable magic_bits.
41668 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41670 * string/strnlen.c: Define and use STRNLEN macro.
41671 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41672 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41674 * wcsmbs/wcslen.c: Define and use WCSLEN.
41675 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41676 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41677 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41678 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41679 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41680 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41681 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41683 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41686 strnlen-sse2-no-bsf.
41687 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41689 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41690 Add strnlen support.
41691 (USE_AS_STRNLEN): New macro.
41692 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41693 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41694 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41695 * sysdeps/x86_64/wcslen.S: New file.
41697 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41699 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41700 XMM-moves are used for copying on small sizes.
41702 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41704 * wcsmbs/Makefile (strop-tests): Add wcschr.
41705 * wcsmbs/test-wcschr.c: New file.
41706 * string/test-strchr.c: Update.
41707 Add wcschr support.
41710 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41712 * wcsmbs/Makefile (strop-tests): Add wcslen.
41713 * wcsmbs/test-wcslen.c: New file.
41714 * string/test-strlen.c: Update.
41715 Add wcslen support.
41718 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41720 * po/it.po: Update from translation team.
41722 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41724 * sysdeps/x86_64/wcscmp.S: Update.
41725 Fix wrong comparison semantics.
41726 wcscmp shall use signed comparison not unsigned.
41727 Don't use substraction to avoid overflow bug.
41728 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41729 * wcsmbc/wcscmp.c: Likewise.
41730 * string/test-strcmp.c: Likewise.
41731 Add new tests to check cases with negative values.
41733 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41735 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41736 * sysdeps/x86_64/dla.h: ...here. New file.
41737 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41747 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41750 __ynl_finite aliases.
41752 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41756 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41758 [DLA_FMA] (EMULV): Use DLA_FMA.
41759 [DLA_FMA] (MUL12): Use EMULV.
41760 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41761 that are not needed.
41762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41770 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41772 * math/s_nan.c: Undef __nan.
41773 * math/s_nanf.c: Undef __nanf.
41774 * math/s_nanl.c: Undef __nanl.
41775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41778 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41780 * math/s_catan.c: Add branch predictions.
41781 * math/s_catanf.c: Likewise.
41782 * math/s_catanh.c: Likewise.
41783 * math/s_catanhf.c: Likewise.
41784 * math/s_catanhl.c: Likewise.
41785 * math/s_catanl.c: Likewise.
41786 * math/s_cexp.c: Likewise.
41787 * math/s_cexpf.c: Likewise.
41788 * math/s_cexpl.c: Likewise.
41789 * math/s_clog.c: Likewise.
41790 * math/s_clog10.c: Likewise.
41791 * math/s_clog10f.c: Likewise.
41792 * math/s_clog10l.c: Likewise.
41793 * math/s_clogf.c: Likewise.
41794 * math/s_clogl.c: Likewise.
41795 * math/s_csqrt.c: Likewise.
41796 * math/s_csqrtf.c: Likewise.
41797 * math/s_csqrtl.c: Likewise.
41798 * math/s_ctanf.c: Likewise.
41799 * math/s_ctanh.c: Likewise.
41800 * math/s_ctanhf.c: Likewise.
41801 * math/s_ctanhl.c: Likewise.
41802 * math/s_ctanl.c: Likewise.
41804 * math/math_private.h: Define __nan, __nanf, __nanl.
41805 * math/s_cacosh.c: Include <math_private.h>.
41806 * math/s_cacoshl.c: Likewise.
41807 * math/s_casinh.c: Likewise.
41808 * math/s_casinhf.c: Likewise.
41809 * math/s_casinhl.c: Likewise.
41810 * math/s_ccos.c: Rely entire on ccosh.
41811 * math/s_ccosf.c: Rely entire on ccoshf.
41812 * math/s_ccosl.c: Rely entirely on ccoshl.
41813 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41814 Remove tests for FE_INVALID.
41815 * math/s_ccoshf.c: Likewise.
41816 * math/s_ccoshl.c: Likewise.
41817 * math/s_csin.c: Likewise.
41818 * math/s_csinf.c: Likewise.
41819 * math/s_csinh.c Likewise.
41820 * math/s_csinhf.c: Likewise.
41821 * math/s_csinhl.c: Likewise.
41822 * math/s_csinl.c: Likewise.
41823 * math/s_ctan.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41825 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41828 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41831 compilation problems.
41833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41836 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41838 * sysdeps/i386/configure.in: Test for -mfma4 option.
41839 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41840 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41841 COMMON_CPUID_INDEX_80000001.
41842 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41843 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41844 use it if FMA3 is not supported.
41845 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41847 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41848 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41850 2011-10-20 Andreas Schwab <schwab@redhat.com>
41853 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41854 it would create a cycle with a link time dependency.
41856 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41858 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41860 * string/Makefile (strop-tests): Add rawmemchr.
41861 * string/test-rawmemchr.c: New file.
41863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41865 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41866 when compiling str{,n}casecmp and when AVX is available. Hook up
41867 new optimized code in initializers.
41869 2011-10-19 Andreas Schwab <schwab@redhat.com>
41871 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41872 __feraiseexcept instead of feraiseexcept.
41874 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41876 * math/math_private.h: Define defaults for libc_fetestexcept and
41878 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41879 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41880 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41882 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41883 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41884 libc_fetestexcept and libc_feupdateenv.
41886 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41887 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41888 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41889 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41890 libc_feholdexcept_setround.
41892 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41893 Add s_nearbyint-c and s_nearbyintf-c.
41894 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41895 nearbyintf inlines.
41896 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41898 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41899 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41901 * math/math_private.h: Define defaults for libc_fegetround,
41902 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41903 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41904 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41906 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41907 standard functions.
41908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41909 Remove comments and hacks for old compiler versions.
41910 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41911 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41912 libc_feholdexceptl.
41914 2011-10-18 Andreas Schwab <schwab@redhat.com>
41916 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41917 (__feraiseexcept_renamed): Add __NTH.
41918 (feraiseexcept): Add __NTH. Rename local variables to fix
41919 namespace violations.
41921 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41923 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41925 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41927 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41928 recently added interfaces.
41929 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41931 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41932 about macro parameter expansion.
41934 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41935 __NO_MATH_INLINES is defined. Cleanups.
41937 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41938 and __floorf is target has SSE4.1.
41939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41940 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41941 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41942 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41944 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41946 (floorf): Likewise.
41948 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41950 2011-10-17 Andreas Schwab <schwab@redhat.com>
41952 * misc/sys/cdefs.h: Fix last change.
41954 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41957 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41959 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41961 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41963 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41966 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41968 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41969 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41970 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41971 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41972 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41973 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41974 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41975 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41976 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41977 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41978 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41979 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41980 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41981 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41982 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41984 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41985 ceil, ceilf, floor, floorf.
41987 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41988 Perform IRELATIVE relocations last.
41990 * elf/do-rel.h: Add another parameter nrelative, replacing the
41991 local variable with the same name. Change name of the function
41992 to end in Rel or Rela (uppercase).
41993 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41994 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41995 elf_dynamic_do_##reloc function.
41997 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41999 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42000 is sufficient, at least on modern CPUs.
42002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42004 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42005 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42007 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42009 * math/bits/math-finite.h: Add entries for exp.
42010 * math/e_expl.c: Add __*_finite alias.
42011 * sysdeps/i386/fpu/e_exp.S: Likewise.
42012 * sysdeps/i386/fpu/e_expf.S: Likewise.
42013 * sysdeps/i386/fpu/e_expl.c: Likewise.
42014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42015 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42016 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42018 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42019 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42020 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42022 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42023 is sufficient, at least on modern CPUs.
42025 * ctype/ctype-info.c (__ctype_init): Define.
42026 * include/ctype.h (__ctype_init): Declare.
42027 (__ctype_b_loc): The variable is always initialized.
42028 (__ctype_toupper_loc): Likewise.
42029 (__ctype_tolower_loc): Likewise.
42030 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42031 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42033 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42035 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42037 * configure.in: Also look in $cxxmachine/include for C++ system
42040 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42042 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42043 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42044 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42045 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42047 (USE_AS_WMEMCMP): New macro.
42049 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42050 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42051 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42052 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42054 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42055 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42056 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42057 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42058 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42060 (USE_AS_WMEMCMP): New macro.
42061 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42062 * sysdeps/string/test-memcmp.c: Update.
42063 Fix simple_wmemcmp.
42065 * wcsmbs/wmemcmp.c: Update.
42066 (WMEMCMP): New macro.
42069 2011-10-12 Andreas Jaeger <aj@suse.de>
42072 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42074 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42076 * libio/iofwide.c (do_length): Avoid warning.
42078 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42080 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42082 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42084 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42085 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42086 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42087 * sysdeps/i386/i686/fpu/e_log.S: New file.
42088 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42089 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42091 * ctype/ctype.h: Add support for inlined isXXX functions when
42092 compiling C++ code.
42094 2011-10-14 Andreas Schwab <schwab@redhat.com>
42096 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42098 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42100 2011-10-13 Roland McGrath <roland@hack.frob.com>
42103 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42105 2011-10-13 Andreas Schwab <schwab@redhat.com>
42107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42108 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42111 * sysdeps/x86_64/memrchr.S: Check for zero size.
42113 * string/stratcliff.c: Add memrchr tests.
42115 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42118 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42119 rawmemchr-sse2 rawmemchr-sse2-bsf.
42120 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42121 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42122 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42123 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42124 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42125 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42126 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42127 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42128 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42129 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42130 * string/memrchr.c (MEMRCHR): New macro.
42132 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42134 Add integration with gcc's -ffinite-math-only and optimize wrapper
42136 * Versions.def: Define GLIBC_2.15 version for libm.
42137 * math/Makefile (headers): Add bits/math-finite.h.
42138 * math/bits/math-finite.h: New file.
42139 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42140 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42141 * math/e_acoshl.c: Add __*_finite alias.
42142 * math/e_acosl.c: Likewise.
42143 * math/e_asinl.c: Likewise.
42144 * math/e_atan2l.c: Likewise.
42145 * math/e_atanhl.c: Likewise.
42146 * math/e_coshl.c: Likewise.
42147 * math/e_exp10.c: Likewise.
42148 * math/e_exp10f.c: Likewise.
42149 * math/e_exp10l.c: Likewise.
42150 * math/e_exp2l.c: Likewise.
42151 * math/e_fmodl.c: Likewise.
42152 * math/e_gammal_r.c: Likewise.
42153 * math/e_hypotl.c: Likewise.
42154 * math/e_j0l.c: Likewise.
42155 * math/e_j1l.c: Likewise.
42156 * math/e_jnl.c: Likewise.
42157 * math/e_lgammal_r.c: Likewise.
42158 * math/e_log10l.c: Likewise.
42159 * math/e_log2l.c: Likewise.
42160 * math/e_logl.c: Likewise.
42161 * math/e_powl.c: Likewise.
42162 * math/e_sinhl.c: Likewise.
42163 * math/e_sqrtl.c: Likewise.
42164 * math/e_scalb.c: Completely rewritten and optimized.
42165 * math/e_scalbf.c: Likewise.
42166 * math/e_scalbl.c: Likewise.
42167 * math/w_acos.c: Likewise.
42168 * math/w_acosf.c: Likewise.
42169 * math/w_acosl.c: Likewise.
42170 * math/w_acosh.c: Likewise.
42171 * math/w_acoshf.c: Likewise.
42172 * math/w_acoshl.c: Likewise.
42173 * math/w_asin.c: Likewise.
42174 * math/w_asinf.c: Likewise.
42175 * math/w_asinl.c: Likewise.
42176 * math/w_atan2.c: Likewise.
42177 * math/w_atan2f.c: Likewise.
42178 * math/w_atan2l.c: Likewise.
42179 * math/w_atanh.c: Likewise.
42180 * math/w_atanhf.c: Likewise.
42181 * math/w_atanhl.c: Likewise.
42182 * math/w_exp10.c: Likewise.
42183 * math/w_exp10f.c: Likewise.
42184 * math/w_exp10l.c: Likewise.
42185 * math/w_fmod.c: Likewise.
42186 * math/w_fmodf.c: Likewise.
42187 * math/w_fmodl.c: Likewise.
42188 * math/w_j0.c: Likewise.
42189 * math/w_j0f.c: Likewise.
42190 * math/w_j0l.c: Likewise.
42191 * math/w_j1.c: Likewise.
42192 * math/w_j1f.c: Likewise.
42193 * math/w_j1l.c: Likewise.
42194 * math/w_jn.c: Likewise.
42195 * math/w_jnf.c: Likewise.
42196 * math/w_log.c: Likewise.
42197 * math/w_logf.c: Likewise.
42198 * math/w_logl.c: Likewise.
42199 * math/w_log10.c: Likewise.
42200 * math/w_log10f.c: Likewise.
42201 * math/w_log10l.c: Likewise.
42202 * math/w_log2.c: Likewise.
42203 * math/w_log2f.c: Likewise.
42204 * math/w_log2l.c: Likewise.
42205 * math/w_pow.c: Likewise.
42206 * math/w_powf.c: Likewise.
42207 * math/w_powl.c: Likewise.
42208 * math/w_remainder.c: Likewise.
42209 * math/w_remainderf.c: Likewise.
42210 * math/w_remainderl.c: Likewise.
42211 * math/w_scalb.c: Likewise.
42212 * math/w_scalbf.c: Likewise.
42213 * math/w_scalbl.c: Likewise.
42214 * math/w_sqrt.c: Likewise.
42215 * math/w_sqrtf.c: Likewise.
42216 * math/w_sqrtl.c: Likewise.
42217 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42218 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42220 * math/math_private.h: Declare __kernel_standard_f.
42221 * math/w_cosh.c: Remove cruft and optimize a bit.
42222 * math/w_coshf.c: Likewise.
42223 * math/w_coshl.c: Likewise.
42224 * math/w_exp2.c: Likewise.
42225 * math/w_exp2f.c: Likewise.
42226 * math/w_exp2l.c: Likewise.
42227 * math/w_hypot.c: Likewise.
42228 * math/w_hypotf.c: Likewise.
42229 * math/w_hypotl.c: Likewise.
42230 * math/w_lgamma.c: Likewise.
42231 * math/w_lgamma_r.c: Likewise.
42232 * math/w_lgammaf.c: Likewise.
42233 * math/w_lgammaf_r.c: Likewise.
42234 * math/w_lgammal.c: Likewise.
42235 * math/w_lgammal_r.c: Likewise.
42236 * math/w_sinh.c: Likewise.
42237 * math/w_sinhf.c: Likewise.
42238 * math/w_sinhl.c: Likewise.
42239 * math/w_tgamma.c: Likewise.
42240 * math/w_tgammaf.c: Likewise.
42241 * math/w_tgammal.c: Likewise.
42242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42244 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42245 Minor optimizations. Pretty printing. Remove cruft.
42246 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42247 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42248 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42249 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42250 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42251 * sysdeps/i386/fpu/e_asin.S: Likewise.
42252 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42253 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42254 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42255 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42256 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42257 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42259 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42260 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42261 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42262 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42263 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42264 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42265 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42266 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42267 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42268 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42269 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42270 * sysdeps/i386/fpu/e_log.S: Likewise.
42271 * sysdeps/i386/fpu/e_log10.S: Likewise.
42272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42273 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42274 * sysdeps/i386/fpu/e_log2.S: Likewise.
42275 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42276 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42277 * sysdeps/i386/fpu/e_logf.S: Likewise.
42278 * sysdeps/i386/fpu/e_logl.S: Likewise.
42279 * sysdeps/i386/fpu/e_pow.S: Likewise.
42280 * sysdeps/i386/fpu/e_powf.S: Likewise.
42281 * sysdeps/i386/fpu/e_powl.S: Likewise.
42282 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42283 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42284 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42285 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42286 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42287 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42288 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42289 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42290 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42297 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42298 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42302 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42304 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42305 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42308 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42311 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42312 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42316 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42317 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42318 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42319 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42320 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42322 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42323 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42325 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42326 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42327 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42328 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42329 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42330 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42331 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42332 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42374 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42376 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42384 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42388 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42389 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42390 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42391 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42392 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42393 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42394 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42395 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42396 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42399 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42401 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42402 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42403 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42404 (__isnanf): Likewise.
42405 (__isinf_ns): Likewise.
42406 (__isinf_nsf): Likewise.
42407 (__finite): Likewise.
42408 (__finitef): Likewise.
42409 (__ieee754_sqrt): Define as macro.
42410 (__ieee754_sqrtf): Define as macro.
42411 (__ieee754_sqrtl): Define as macro.
42412 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42414 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42415 __FINITE_MATH_ONLY__ consistent.
42416 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42418 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42420 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42423 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42425 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42427 * po/ja.po: Update from translation team.
42429 2011-10-08 Roland McGrath <roland@hack.frob.com>
42431 * locale/programs/locarchive.c (prepare_address_space): New function.
42432 (create_archive, enlarge_archive, open_archive): Use it.
42434 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42435 inside [SHARED], where it is used.
42437 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42439 * nss/getent.c (netgroup_keys): Remove unused variable.
42440 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42442 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42444 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42445 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42448 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42449 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42450 * math/Makefile (libm-calls): Add s_isinf_ns.
42451 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42452 * math/multc3.c: Likewise.
42453 * math/s_casin.c: Likewise.
42454 * math/s_casinf.c: Likewise.
42455 * math/s_casinl.c: Likewise.
42456 * math/s_ccos.c: Likewise.
42457 * math/s_ccosf.c: Likewise.
42458 * math/s_ccosl.c: Likewise.
42459 * math/s_ctan.c: Likewise.
42460 * math/s_ctanf.c: Likewise.
42461 * math/s_ctanh.c: Likewise.
42462 * math/s_ctanhf.c: Likewise.
42463 * math/s_ctanhl.c: Likewise.
42464 * math/s_ctanl.c: Likewise.
42465 * math/w_fmod.c: Likewise.
42466 * math/w_fmodf.c: Likewise.
42467 * math/w_fmodl.c: Likewise.
42468 * math/w_remainder.c: Likewise.
42469 * math/w_remainderf.c: Likewise.
42470 * math/w_remainderl.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42472 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42475 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42476 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42477 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42478 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42480 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42482 * stdio-common/printf_fphex.c: Likewise.
42483 * stdio-common/printf_size.c: Likewise.
42485 * math/e_exp10.c: Include math_private.h using <...> not "...".
42486 * math/e_exp10f.c: Likewise.
42487 * math/e_exp10l.c: Likewise.
42488 * math/e_exp2l.c: Likewise.
42489 * math/e_j0l.c: Likewise.
42490 * math/e_j1l.c: Likewise.
42491 * math/e_jnl.c: Likewise.
42492 * math/e_lgammal_r.c: Likewise.
42493 * math/e_rem_pio2l.c: Likewise.
42494 * math/e_scalb.c: Likewise.
42495 * math/e_scalbf.c: Likewise.
42496 * math/e_scalbl.c: Likewise.
42497 * math/k_cosl.c: Likewise.
42498 * math/k_sinl.c: Likewise.
42499 * math/k_tanl.c: Likewise.
42500 * math/s_cacoshf.c: Likewise.
42501 * math/s_catan.c: Likewise.
42502 * math/s_catanf.c: Likewise.
42503 * math/s_catanh.c: Likewise.
42504 * math/s_catanhf.c: Likewise.
42505 * math/s_catanhl.c: Likewise.
42506 * math/s_catanl.c: Likewise.
42507 * math/s_ccosh.c: Likewise.
42508 * math/s_ccoshf.c: Likewise.
42509 * math/s_ccoshl.c: Likewise.
42510 * math/s_cexp.c: Likewise.
42511 * math/s_cexpf.c: Likewise.
42512 * math/s_cexpl.c: Likewise.
42513 * math/s_clog.c: Likewise.
42514 * math/s_clog10.c: Likewise.
42515 * math/s_clog10f.c: Likewise.
42516 * math/s_clog10l.c: Likewise.
42517 * math/s_clogf.c: Likewise.
42518 * math/s_clogl.c: Likewise.
42519 * math/s_csin.c: Likewise.
42520 * math/s_csinf.c: Likewise.
42521 * math/s_csinh.c: Likewise.
42522 * math/s_csinhf.c: Likewise.
42523 * math/s_csinhl.c: Likewise.
42524 * math/s_csinl.c: Likewise.
42525 * math/s_csqrt.c: Likewise.
42526 * math/s_csqrtf.c: Likewise.
42527 * math/s_csqrtl.c: Likewise.
42528 * math/s_ctan.c: Likewise.
42529 * math/s_ctanf.c: Likewise.
42530 * math/s_ctanh.c: Likewise.
42531 * math/s_ctanhf.c: Likewise.
42532 * math/s_ctanhl.c: Likewise.
42533 * math/s_ctanl.c: Likewise.
42534 * math/s_ldexp.c: Likewise.
42535 * math/s_ldexpf.c: Likewise.
42536 * math/s_ldexpl.c: Likewise.
42537 * math/s_significand.c: Likewise.
42538 * math/s_significandf.c: Likewise.
42539 * math/s_significandl.c: Likewise.
42540 * math/w_acos.c: Likewise.
42541 * math/w_acosf.c: Likewise.
42542 * math/w_acosh.c: Likewise.
42543 * math/w_acoshf.c: Likewise.
42544 * math/w_acoshl.c: Likewise.
42545 * math/w_acosl.c: Likewise.
42546 * math/w_asin.c: Likewise.
42547 * math/w_asinf.c: Likewise.
42548 * math/w_asinl.c: Likewise.
42549 * math/w_atan2.c: Likewise.
42550 * math/w_atan2f.c: Likewise.
42551 * math/w_atan2l.c: Likewise.
42552 * math/w_atanh.c: Likewise.
42553 * math/w_atanhf.c: Likewise.
42554 * math/w_atanhl.c: Likewise.
42555 * math/w_cosh.c: Likewise.
42556 * math/w_coshf.c: Likewise.
42557 * math/w_coshl.c: Likewise.
42558 * math/w_dremf.c: Likewise.
42559 * math/w_exp10.c: Likewise.
42560 * math/w_exp10f.c: Likewise.
42561 * math/w_exp10l.c: Likewise.
42562 * math/w_exp2.c: Likewise.
42563 * math/w_exp2f.c: Likewise.
42564 * math/w_fmod.c: Likewise.
42565 * math/w_fmodf.c: Likewise.
42566 * math/w_fmodl.c: Likewise.
42567 * math/w_hypot.c: Likewise.
42568 * math/w_hypotf.c: Likewise.
42569 * math/w_hypotl.c: Likewise.
42570 * math/w_j0.c: Likewise.
42571 * math/w_j0f.c: Likewise.
42572 * math/w_j0l.c: Likewise.
42573 * math/w_j1.c: Likewise.
42574 * math/w_j1f.c: Likewise.
42575 * math/w_j1l.c: Likewise.
42576 * math/w_jn.c: Likewise.
42577 * math/w_jnf.c: Likewise.
42578 * math/w_jnl.c: Likewise.
42579 * math/w_lgamma.c: Likewise.
42580 * math/w_lgamma_r.c: Likewise.
42581 * math/w_lgammaf.c: Likewise.
42582 * math/w_lgammaf_r.c: Likewise.
42583 * math/w_lgammal.c: Likewise.
42584 * math/w_lgammal_r.c: Likewise.
42585 * math/w_log.c: Likewise.
42586 * math/w_log10.c: Likewise.
42587 * math/w_log10f.c: Likewise.
42588 * math/w_log10l.c: Likewise.
42589 * math/w_log2.c: Likewise.
42590 * math/w_log2f.c: Likewise.
42591 * math/w_log2l.c: Likewise.
42592 * math/w_logf.c: Likewise.
42593 * math/w_logl.c: Likewise.
42594 * math/w_pow.c: Likewise.
42595 * math/w_powf.c: Likewise.
42596 * math/w_powl.c: Likewise.
42597 * math/w_remainder.c: Likewise.
42598 * math/w_remainderf.c: Likewise.
42599 * math/w_remainderl.c: Likewise.
42600 * math/w_scalb.c: Likewise.
42601 * math/w_scalbf.c: Likewise.
42602 * math/w_scalbl.c: Likewise.
42603 * math/w_sinh.c: Likewise.
42604 * math/w_sinhf.c: Likewise.
42605 * math/w_sinhl.c: Likewise.
42606 * math/w_sqrt.c: Likewise.
42607 * math/w_sqrtf.c: Likewise.
42608 * math/w_sqrtl.c: Likewise.
42609 * math/w_tgamma.c: Likewise.
42610 * math/w_tgammaf.c: Likewise.
42611 * math/w_tgammal.c: Likewise.
42613 * po/ja.po: Update from translation team.
42615 2011-09-29 Andreas Jaeger <aj@suse.de>
42618 * sunrpc/netname.c (netname2host): Fix logic.
42622 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42624 * math/w_remainder.c (__remainder): Likewise.
42625 * math/w_remainderf.c (__remainderf): Likewise.
42626 * math/libm-test.inc (remainder_test): Add test cases.
42628 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42630 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42633 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42635 * string/test-memcmp.c: Avoid unncessary #defines.
42636 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42638 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42640 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42641 Use new sse2 version for core i3 - i7 as it's faster
42642 than sse42 version.
42643 (bit_Prefer_PMINUB_for_stringop): New.
42644 * sysdeps/x86_64/rawmemchr.S: Update.
42645 Replace with faster SSE2 version.
42646 * sysdeps/x86_64/memrchr.S: New file.
42647 * sysdeps/x86_64/memchr.S: Update.
42648 Replace with faster SSE2 version.
42650 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42652 * elf/dl-load.c (lose): Add cast to avoid warning.
42654 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42656 * po/ca.po: Update from translation team.
42658 * inet/getnetgrent_r.c: Hook up nscd.
42659 * nscd/Makefile (routines): Add nscd_netgroup.
42660 (nscd-modules): Add netgroupcache.
42661 (CFLAGS-netgroupcache.c): Define.
42662 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42663 (cache_search): Add const to second parameter.
42664 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42666 (dbs): Add netgrdb entry.
42667 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42668 (verify_persistent_db): Handle netgrdb.
42669 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42670 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42672 (netgroup_response_header): Define.
42673 (innetgroup_response_header): Define.
42674 (datahead): Add netgroup_response_header and innetgroup_response_header
42676 * nscd/nscd.conf: Add entries for netgroup cache.
42677 * nscd/nscd.h (dbtype): Add netgrdb.
42678 (_PATH_NSCD_NETGROUP_DB): Define.
42679 (netgroup_iov_disabled): Declare.
42680 (xmalloc, xcalloc, xrealloc): Move declarations here.
42681 (cache_search): Adjust prototype.
42682 Add netgroup-related prototypes.
42683 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42684 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42685 (__nscd_innetgr): Declare.
42686 * nscd/selinux.c (perms): Use access_vector_t as element type and
42687 add netgroup-related initializers.
42688 * nscd/netgroupcache.c: New file.
42689 * nscd/nscd_netgroup.c: New file.
42690 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42691 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42692 For four parameters use innetgr.
42693 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42694 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42695 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42696 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42698 * nscd/connections.c (register_traced_file): Don't register file
42699 for disabled databases.
42701 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42703 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42705 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42706 from tree and freeing node.
42708 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42710 * nss/nsswitch.c (__nss_database_lookup): Handle
42711 nss_parse_service_list out of memory case.
42713 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42715 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42716 out of memory case.
42718 2011-10-04 Andreas Schwab <schwab@redhat.com>
42720 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42721 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42723 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42724 elf_machine_rela, elf_machine_lazy_rel.
42725 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42726 (ELF_DYNAMIC_DO_REL): Likewise.
42727 (ELF_DYNAMIC_DO_RELA): Likewise.
42728 (ELF_DYNAMIC_RELOCATE): Likewise.
42729 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42730 to ELF_DYNAMIC_DO_REL.
42731 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42732 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42733 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42736 skip_ifunc, don't call ifunc function if non-zero.
42737 (elf_machine_rela): Likewise.
42738 (elf_machine_lazy_rel): Likewise.
42739 (elf_machine_lazy_rela): Likewise.
42740 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42741 (elf_machine_lazy_rel): Likewise.
42742 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42744 (elf_machine_lazy_rel): Likewise.
42745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42747 (elf_machine_lazy_rel): Likewise.
42748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42749 (elf_machine_lazy_rel): Likewise.
42750 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42751 (elf_machine_lazy_rel): Likewise.
42752 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42753 (elf_machine_lazy_rel): Likewise.
42754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42755 (elf_machine_lazy_rel): Likewise.
42756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42757 (elf_machine_lazy_rel): Likewise.
42758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42759 (elf_machine_lazy_rel): Likewise.
42761 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42763 * nss/nss_files/files-init.c (_nss_files_init): Use static
42764 initialization for all the *_traced_file variables.
42766 2011-09-28 Andreas Schwab <schwab@redhat.com>
42768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42770 2011-09-27 Roland McGrath <roland@hack.frob.com>
42773 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42775 2011-09-27 Andreas Schwab <schwab@redhat.com>
42777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42778 Reread the line before reparsing it.
42780 2011-09-26 Andreas Schwab <schwab@redhat.com>
42782 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42784 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42785 Maxim Kuvyrkov <maxim@codesourcery.com>
42786 Joseph Myers <joseph@codesourcery.com>
42788 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42789 if needed for __stack_chk_guard.
42791 2011-09-19 Roland McGrath <roland@hack.frob.com>
42793 * sysdeps/posix/spawni.c (script_execute): Always define it.
42794 It will be optimized away if unused.
42795 (maybe_script_execute): New function.
42796 (__spawni): Call it.
42798 * Makerules: Don't include tls.make.
42799 (config-tls): Always set to thread.
42800 * tls.make.c: File removed.
42802 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42804 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42805 * config.make.in (CPPFLAGS-config): New substituted variable.
42807 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42812 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42813 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42815 2011-09-15 Roland McGrath <roland@hack.frob.com>
42817 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42818 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42820 (CALL_FAIL): Likewise.
42821 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42822 (CALL_FAIL): Macro removed.
42823 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42825 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42827 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42828 for __FINITE_MATH_ONLY__ == 1.
42830 2011-09-15 Andreas Schwab <schwab@redhat.com>
42832 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42833 __ieee754_sqrt instead of sqrt.
42834 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42835 __ieee754_sqrtf instead of sqrtf.
42836 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42837 __floorf instead of floorf.
42838 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42839 __floorf, __truncf instead of floorf, truncf.
42841 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42843 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42845 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42846 __extern_always_inline.
42847 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42850 2011-09-14 Andreas Schwab <schwab@redhat.com>
42852 * elf/rtld.c (dl_main): Also relocate in dependency order when
42853 doing symbol dependency testing.
42855 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42857 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42858 Always define `refsym'.
42860 2011-09-13 Andreas Schwab <schwab@redhat.com>
42862 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42863 (__FD_ELT): Renamed from __FDELT.
42864 * misc/bits/select2.h (__FD_ELT): Likewise.
42865 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42866 __FD_MASK instead of __FDELT, __FDMASK.
42867 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42869 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42872 * elf/Makefile (gen-ldd): Fix pattern.
42874 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42875 (init_tls): Likewise.
42877 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42881 2011-09-12 Andreas Schwab <schwab@redhat.com>
42883 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42884 `struct cmsghdr *' instead of `void *'.
42885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42888 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42890 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42892 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42893 ldd_rewrite_script.
42895 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42897 * configure.in: Remove --with-tls option.
42898 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42899 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42900 out in case it is missing.
42901 * sysdeps/ia64/elf/configure.in: Likewise.
42902 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42903 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42904 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42905 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42906 * sysdeps/sh/elf/configure.in: Likewise.
42907 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42908 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42909 * sysdeps/x86_64/elf/configure.in: Likewise.
42910 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42911 * sysdeps/mach/hurd/tls.h: Likewise.
42914 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42917 * configure.in: Fix use of AC_INIT.
42919 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42921 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42923 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42925 * malloc/hooks.c: Likewise.
42928 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42929 variables statically.
42930 (narenas): Initialize.
42931 (list_lock): Initialize.
42932 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42933 initializtion of main_arena and list_lock. Small cleanups.
42934 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42935 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42936 Add initializers to main_arena and mp_.
42937 (malloc_state): Remove pagesize member. Change all users to use
42940 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42941 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42942 is always initialized.
42944 * malloc/malloc.c: Removed unused configurations and dead code.
42945 * malloc/arena.c: Likewise.
42946 * malloc/hooks.c: Likewise.
42947 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42949 * include/tls.h: Removed. USE___THREAD must always be defined.
42950 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42951 * elf/dl-libc.c: Likewise.
42952 * elf/dl-tsd.c: Likewise.
42953 * include/errno.h: Likewise.
42954 * include/netdb.h: Likewise.
42955 * include/resolv.h: Likewise.
42956 * inet/herrno-loc.c: Likewise.
42957 * inet/herrno.c: Likewise.
42958 * malloc/arena.c: Likewise.
42959 * malloc/hooks.c: Likewise.
42960 * malloc/malloc.c: Likewise.
42961 * resolv/res-state.c: Likewise.
42962 * resolv/res_libc.c: Likewise.
42963 * sysdeps/i386/dl-machine.h: Likewise.
42964 * sysdeps/ia64/dl-machine.h: Likewise.
42965 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42966 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42967 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42968 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42969 * sysdeps/sh/dl-machine.h: Likewise.
42970 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42971 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42972 * sysdeps/unix/i386/sysdep.S: Likewise.
42973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42974 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42977 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42979 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42984 * sysdeps/x86_64/dl-machine.h: Likewise.
42985 * tls.make.c: Likewise.
42987 * configure.in: Remove --with-__thread option. Make tests for
42988 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42989 tls_model attribute fail if no support is available. Remove
42991 * Makeconfig: Adjust for dropped configure option. All features are
42993 * Makerules: Likewise.
42994 * Versions.def: Likewise.
42995 * argp/argp-fmtstream.c: Likewise.
42996 * argp/argp-fmtstream.h: Likewise.
42997 * argp/argp-help.c: Likewise.
42998 * assert/assert.c: Likewise.
42999 * config.h.in: Likewise.
43000 * config.make.in: Likewise.
43001 * configure: Likewise.
43002 * configure.in: Likewise.
43003 * csu/Versions: Likewise.
43004 * csu/init.c: Likewise.
43005 * elf/tst-audit2.c: Likewise.
43006 * elf/tst-tls10.c: Likewise.
43007 * elf/tst-tls10.h: Likewise.
43008 * elf/tst-tls11.c: Likewise.
43009 * elf/tst-tls12.c: Likewise.
43010 * elf/tst-tls14.c: Likewise.
43011 * elf/tst-tlsmod11.c: Likewise.
43012 * elf/tst-tlsmod12.c: Likewise.
43013 * elf/tst-tlsmod13.c: Likewise.
43014 * elf/tst-tlsmod13a.c: Likewise.
43015 * elf/tst-tlsmod14a.c: Likewise.
43016 * elf/tst-tlsmod15b.c: Likewise.
43017 * elf/tst-tlsmod16a.c: Likewise.
43018 * elf/tst-tlsmod16b.c: Likewise.
43019 * elf/tst-tlsmod7.c: Likewise.
43020 * elf/tst-tlsmod8.c: Likewise.
43021 * elf/tst-tlsmod9.c: Likewise.
43022 * gmon/gmon.c: Likewise.
43023 * grp/fgetgrent_r.c: Likewise.
43024 * grp/putgrent.c: Likewise.
43025 * hurd/fopenport.c: Likewise.
43026 * include/libc-symbols.h: Likewise.
43027 * include/tls.h: Likewise.
43028 * intl/gettextP.h: Likewise.
43029 * intl/loadinfo.h: Likewise.
43030 * locale/global-locale.c: Likewise.
43031 * locale/localeinfo.h: Likewise.
43032 * mach/devstream.c: Likewise.
43033 * malloc/arena.c: Likewise.
43034 * malloc/set-freeres.c: Likewise.
43035 * misc/err.c: Likewise.
43036 * misc/getttyent.c: Likewise.
43037 * misc/mntent_r.c: Likewise.
43038 * posix/getopt.c: Likewise.
43039 * posix/wordexp.c: Likewise.
43040 * pwd/fgetpwent_r.c: Likewise.
43041 * resolv/Versions: Likewise.
43042 * resolv/res_hconf.c: Likewise.
43043 * shadow/fgetspent_r.c: Likewise.
43044 * shadow/putspent.c: Likewise.
43045 * stdio-common/printf_fphex.c: Likewise.
43046 * stdio-common/tmpfile.c: Likewise.
43047 * stdlib/abort.c: Likewise.
43048 * stdlib/fmtmsg.c: Likewise.
43049 * sunrpc/auth_unix.c: Likewise.
43050 * sunrpc/clnt_perr.c: Likewise.
43051 * sunrpc/clnt_tcp.c: Likewise.
43052 * sunrpc/clnt_udp.c: Likewise.
43053 * sunrpc/clnt_unix.c: Likewise.
43054 * sunrpc/openchild.c: Likewise.
43055 * sunrpc/svc_simple.c: Likewise.
43056 * sunrpc/svc_tcp.c: Likewise.
43057 * sunrpc/svc_udp.c: Likewise.
43058 * sunrpc/svc_unix.c: Likewise.
43059 * sunrpc/xdr.c: Likewise.
43060 * sunrpc/xdr_array.c: Likewise.
43061 * sunrpc/xdr_rec.c: Likewise.
43062 * sunrpc/xdr_ref.c: Likewise.
43063 * sunrpc/xdr_stdio.c: Likewise.
43065 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43067 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43069 2011-07-03 Andreas Jaeger <aj@suse.de>
43071 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43072 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43073 regenerate with gen-libm-tests.pl.
43075 2010-05-12 Petr Baudis <pasky@suse.cz>
43078 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43079 around j0() zero points by switching to j1().
43080 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43085 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43092 Patch in part by Pavel Roskin <proski@gnu.org>.
43095 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43097 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43098 Free memory block if necessary.
43101 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43102 be NULL. Don't lock in this case.
43104 2011-09-09 Roland McGrath <roland@hack.frob.com>
43106 * elf/elf.h (ELFOSABI_GNU): New macro.
43107 (ELFOSABI_LINUX): Define to that.
43109 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43111 * string/strncat.c (strncat): Undef the symbol in case it has been
43112 defined in bits/string.h.
43114 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43116 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43118 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43121 2011-08-17 Andreas Jaeger <aj@suse.de>
43123 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43125 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43126 Ian Lance Taylor <iant@google.com>
43128 * math/libm-test.inc (lround_test): New testcase.
43129 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43131 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43133 * Makefile: Remove support for automatic cvs check-ins.
43134 * Makerules: Likewise.
43135 * config.make.in: Likewise.
43136 * configure.in: Likewise.
43137 * intl/Makefile: Likewise.
43138 * locale/Makefile: Likewise.
43139 * po/Makefile: Likewise.
43140 * posix/Makefile: Likewise.
43141 * sysdeps/gnu/Makefile: Likewise.
43142 * sysdeps/mach/hurd/Makefile: Likewise.
43143 * sysdeps/sparc/sparc32/Makefile: Likewise.
43146 * posix/Makefile (bug-regex32-ENV): Define.
43147 Patch by John Stanley <jpsinthemix@verizon.net>.
43149 * misc/Makefile (headers): Add bits/select2.h.
43150 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43151 * misc/bits/select2.h: New file.
43152 * include/bits/select2.h: New file.
43153 * debug/Makefile (routines): Add fdelt_chk.
43154 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43155 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43157 * debug/fdelt_chk.c: New file.
43159 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43160 * wcsmbs/test-wmemcmp.c: Likewise.
43161 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43162 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43164 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43166 * string/Makefile (strop-tests): Add memcmp.
43167 * string/test-wmemcmp.c: New file.
43168 * string/test-memcmp.c: Add wmemcmp support.
43170 2011-09-08 Roland McGrath <roland@hack.frob.com>
43173 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43176 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43177 garbage value in a __mach_port_mod_refs call in the cases of the
43178 task-self and thread-self ports.
43180 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43182 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43184 2011-09-08 Andreas Schwab <schwab@redhat.com>
43186 * elf/dl-load.c (lose): Check for non-null L.
43188 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43190 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43192 * elf/dl-libc.c (dlerror_run): Pass back error code from
43196 * elf/dl-load.c (lose): Free l_origin if it is valid.
43198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43202 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43205 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43207 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43209 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43210 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43211 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43212 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43213 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43214 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43215 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43216 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43217 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43218 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43220 2011-08-15 Alan Modra <amodra@gmail.com>
43223 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43224 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43225 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43226 ppc_mcount to static-only-routines.
43227 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43229 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43230 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43232 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43235 for finite and infinity parameters.
43237 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43240 and add nop instructions for throughput optimization.
43241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43243 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43246 aligned copy for power7 with vector-scalar instructions.
43247 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43249 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43254 2011-09-07 Andreas Schwab <schwab@redhat.com>
43257 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43260 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43262 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43263 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43264 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43265 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43268 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43270 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43271 Forgot to demangle the pointer.
43273 * sysdeps/i386/sysdep.h: Define atom_text_section.
43274 * sysdeps/x86_64/sysdep.h: Likewise.
43275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43276 section with atom_text_section.
43277 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43278 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43279 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43280 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43281 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43283 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43284 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43285 already be defined. Change to take two parameters and don't assign
43286 result to variable. Adjust all users.
43287 Define INTERNAL_GETTIME if not already defined.
43288 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43291 HAVE_CLOCK_GETTIME_VSYSCALL.
43292 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43295 gettimeofday vsyscall, just use time.
43297 2011-09-06 Andreas Schwab <schwab@redhat.com>
43299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43302 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43304 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43308 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43309 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43310 syscall if possible.
43312 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43314 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43315 e_ident. Don't pass to find_mapsXX.
43316 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43318 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43321 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43322 * sysdeps/x86_64/multiarch/strchr.S: Update.
43323 Check bit_slow_BSF bit.
43324 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43325 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43328 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43331 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43333 (tryshell): Define.
43334 (__spawni): Change last parameter to be flag. Test
43335 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43336 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43337 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43338 * posix/spawni.c: Likewise.
43339 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43340 * posix/spawnp.c: Likewise. Change normal version to use
43341 SPAWN_XFLAGS_USE_PATH.
43342 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43343 SPAWN_XFLAGS_TRY_SHELL.
43346 * posix/glob.h: Remove gcc 1.x support.
43349 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43351 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43354 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43356 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43357 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43358 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43360 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43361 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43363 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43365 * sysdeps/x86_64/wcscmp.S: New file.
43367 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43368 wcscmp-c wcscmp-sse2
43369 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43370 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43371 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43372 * wcsmbs/wcscmp.c: Allow renaming.
43374 2011-09-05 David S. Miller <davem@davemloft.net>
43376 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43377 stack slot, rather than the struct return pointer slot.
43378 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43379 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43381 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43383 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43385 * po/ja.po: Update from translation team.
43388 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43389 kernel in 64-bit binaries.
43391 2011-09-01 David S. Miller <davem@davemloft.net>
43393 * elf/elf.h (HWCAP_SPARC_*): Move to..
43394 * sysdeps/sparc/sysdep.h: this new file and add new values.
43395 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43396 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43397 _DL_HWCAP_COUNT to 24.
43398 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43400 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43401 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43402 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43404 instead of magic constants.
43405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43407 2011-08-31 David S. Miller <davem@davemloft.net>
43409 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43411 Reimplement to do errno handling inline.
43412 (SYSCALL_ERROR_HANDLER): New macro.
43413 (__SYSCALL_STRING): Do not do errno handling in asm.
43414 (__CLONE_SYSCALL_STRING): Delete.
43415 (__INTERNAL_SYSCALL_STRING): Delete.
43416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43417 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43418 (PSEUDO): Reimplement to do errno handling inline.
43419 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43420 (SYSCALL_ERROR_HANDLER): New macro.
43421 (__SYSCALL_STRING): Do not do errno handling in asm.
43422 (__CLONE_SYSCALL_STRING): Delete.
43423 (__INTERNAL_SYSCALL_STRING): Delete.
43424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43425 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43427 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43428 (inline_syscall*): Add 'err' argument.
43429 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43430 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43431 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43432 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43434 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43435 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43437 2011-08-30 Andreas Schwab <schwab@redhat.com>
43439 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43441 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43443 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43446 2011-08-24 David S. Miller <davem@davemloft.net>
43448 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43450 2011-08-24 Andreas Schwab <schwab@redhat.com>
43452 * elf/Makefile: Add rules to build and run unload8 test.
43453 * elf/unload8.c: New file.
43454 * elf/unload8mod1.c: New file.
43455 * elf/unload8mod1x.c: New file.
43456 * elf/unload8mod2.c: New file.
43457 * elf/unload8mod3.c: New file.
43459 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43462 2011-08-23 David S. Miller <davem@davemloft.net>
43464 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43465 subtract stack bias.
43466 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43467 %sp not %fp in calculations.
43468 (_JMPBUF_UNWINDS_ADJ): Likewise.
43470 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43471 (aio_suspend): Call it to force an exception region around the
43472 AIO_MISC_WAIT() invocation.
43474 2011-08-23 Andreas Schwab <schwab@redhat.com>
43476 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43479 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43481 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43483 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43484 and <dl-machine.h>.
43485 (Elf64_FuncDesc): Remove.
43487 2011-08-22 David S. Miller <davem@davemloft.net>
43489 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43490 sigaltstack check, add missing cfi directives.
43491 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43492 missing cfi directives, and sigaltstack handling.
43494 2011-08-16 Andreas Schwab <schwab@redhat.com>
43497 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43498 object is seen twice.
43499 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43501 * elf/Makefile (distribute): Add tst-initorder2.c.
43502 (tests): Add tst-initorder2.
43503 (modules-names): Add tst-initorder2a tst-initorder2b
43504 tst-initorder2c tst-initorder2d. Add rules to build them.
43505 ($(objpfx)tst-initorder2.out): New rule.
43506 * elf/tst-initorder2.c: New file.
43507 * elf/tst-initorder2.exp: New file.
43509 2011-08-22 Andreas Schwab <schwab@redhat.com>
43511 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43513 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43514 dependencies back to end of function.
43516 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43517 $(elfobjdir)/ld.so.
43519 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43522 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43524 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43525 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43526 of __vdso_gettimeofday.
43527 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43528 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43530 (_libc_vdso_platform_setup): Remove initialization of
43531 __vdso_gettimeofday and __vdso_time.
43533 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43535 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43536 and fgetc_unlocked.
43537 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43540 * elf/dl-open.c (add_to_global): Report additions to the global scope
43541 for LD_DEBUG=scopes.
43542 (dl_open_worker): Also print scope of newly loaded dependencies.
43543 (_dl_show_scope): Indicate if there is no scope.
43546 * stdio-common/Makefile (tests): Add bug24.
43547 * stdio-common/bug24.c: New file.
43549 2011-08-19 Andreas Jaeger <aj@suse.de>
43552 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43553 non-existant file when using close-on-exec mode.
43555 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43558 the very first instruction.
43560 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43561 the CFI state in the end.
43562 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43563 inclusion of dl-trampoline.h.
43564 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43566 2011-08-19 Andreas Schwab <schwab@redhat.com>
43568 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43569 expectations for long double.
43571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43572 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43574 2011-08-14 David S. Miller <davem@davemloft.net>
43576 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43577 artificual limit depends upon the system page size.
43579 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43581 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43582 * resolv/Makefile: Define CFLAGS-libresolv.
43584 2011-08-17 Andreas Schwab <schwab@redhat.com>
43586 * nss/makedb.c (compute_tables): Make variables used in nested
43589 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43591 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43592 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43593 if buffer was too small.
43595 * elf/pldd.c (main): Attach to all threads in the process.
43596 Rewrite /proc handling to use *at functions.
43598 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43600 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43601 specifies first scope to show.
43602 (dl_open_worker): Update callers. Move printing scope of new
43603 object to before the relocation.
43604 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43605 * sysdeps/generic/ldsodefs.h: Update declaration.
43607 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43608 string for the scope number.
43610 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43612 * nscd/servicescache.c (cache_addserv): Make sure written is always
43615 2011-08-14 Roland McGrath <roland@hack.frob.com>
43617 * sysdeps/i386/i486/bits/atomic.h
43618 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43619 statement expression, so as to suppress "set but not used" warning.
43620 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43622 * string/strncat.c (STRNCAT): Use prototype definition.
43624 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43625 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43627 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43628 (localedef-modules): Add localedef.
43629 (locale-modules): Add locale.
43631 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43632 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43633 to avoid a warning.
43635 2011-08-14 David S. Miller <davem@davemloft.net>
43637 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43638 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43640 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43642 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43643 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43644 * elf/rtld.c (dl_main): Set l_name of vDSO.
43645 Call _dl_show_scope when DL_DEBUG_SCOPES.
43646 (process_dl_debug): Recognize scopes flag and also set it for all.
43647 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43648 Declare _dl_show_scope.
43650 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43651 (do_dlopen): Pass caller_dlopen to dl_open.
43652 (__libc_dlopen_mode): Initialize caller_dlopen.
43654 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43655 of libc. Make tolower call locale-independent. Optimize a bit by
43656 using isdigit instead of isalnum.
43657 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43659 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43661 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43662 was a dependency or dynamically loaded.
43664 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43666 * intl/l10nflist.c: Allow architecture-specific pop function.
43667 * sysdeps/x86_64/l10nflist.c: New file.
43669 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43672 2011-08-10 Andreas Schwab <schwab@redhat.com>
43674 * include/dirent.h: Add libc_hidden_proto for scandirat and
43675 scandirat64. Don't declare __scandirat64.
43676 * dirent/scandirat.c: Add libc_hidden_def.
43677 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43678 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43680 2011-08-10 David S. Miller <davem@davemloft.net>
43682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43688 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43690 * Versions.def [libc]: Add GLIBC_2.15.
43691 * dirent/Makefile (routines): Add scandirat and scandirat64.
43692 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43694 * dirent/dirent.h: Declare scandirat and scandirat64.
43695 * dirent/scandirat.c: New file.
43696 * dirent/scandirat64.c: New file.
43697 * sysdeps/wordsize-64/scandirat.c: New file.
43698 * sysdeps/wordsize-64/scandirat64.c: New file.
43699 * dirent/opendir.c: Define opendirat.
43700 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43702 * dirent/scandir64.c: Adjust for scandir.c change.
43703 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43704 __scandirat64, and __scandir_cancel_handler.
43705 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43706 additional parameter and use openat instead of open (outside of ld.so).
43707 Add new __opendir as wrapper around __opendirat.
43708 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43709 here without requiring old scandirat implementation.
43711 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43713 * dirent/scandir.c (cancel_handler): Renamed to
43714 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43715 defined. Adjust users.
43716 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43719 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43721 * string/test-string.h (IMPL): Use __STRING to expand name and then
43724 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43727 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43729 * string/Makefile: Update.
43730 (strop-tests): Append strncat.
43731 * string/test-wcscmp.c: New file.
43732 New comprehensive test for wcscmp.
43733 * string/test-strcmp.c: Update.
43734 (WIDE): New define.
43736 2011-07-22 Andreas Schwab <schwab@redhat.com>
43738 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43741 2011-07-26 Andreas Schwab <schwab@redhat.com>
43743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43744 encoding to ACE if AI_IDN.
43746 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43749 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43751 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43753 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43754 Fix overflow bug in strncat.
43755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43757 * string/test-strncat.c: Update.
43758 Add new tests for checking overflow bugs.
43760 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43763 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43764 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43765 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43766 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43767 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43768 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43769 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43770 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43772 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43773 (USE_AS_STRCAT): Define.
43774 Add strcat and strncat support.
43775 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43777 2011-07-25 Andreas Schwab <schwab@redhat.com>
43779 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43780 __n bigger than INT_MAX+1.
43781 (__strncmp_g): Likewise.
43783 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43785 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43786 * libio/stido.h: Likewise.
43788 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43793 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43796 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43800 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43803 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43805 (_dl_x86_64_save_sse): Likewise.
43807 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43811 (_dl_x86_64_save_sse): Likewise.
43813 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43815 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43817 2011-07-21 Andreas Schwab <schwab@redhat.com>
43819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43821 (_dl_x86_64_save_sse): Use correct AVX check.
43823 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43825 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43826 bug in strncpy/strncat.
43827 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43829 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43831 * string/tester.c (test_strcat): Add tests for different alignments
43832 of source and destination.
43833 (test_strncat): Likewise.
43835 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43838 * posix/glob.c (glob): Check passed in values before using them in
43839 expressions to avoid some overflows.
43840 (glob_in_dir): Likewise.
43843 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43844 check for AVX enablement so that we don't crash with old kernels and
43846 * elf/tst-audit4.c: Add same checks here.
43847 * elf/tst-audit6.c: Likewise.
43849 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43851 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43853 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43855 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43857 * po/cs.po: Update from translation team.
43858 * po/bg.po: Likewise.
43860 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43862 * misc/sys/cdefs.h: Add support for const attribute.
43863 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43864 to gnu_dev_{major,minor,makedev} functions.
43866 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43868 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43870 2011-07-20 Andreas Schwab <schwab@redhat.com>
43872 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43875 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43878 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43879 register in order to avoid conflicts with the soft frame pointer
43880 being held in r11 when necessary.
43881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43882 (INTERNAL_VSYSCALL_NCS): Likewise.
43884 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43886 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43887 * elf/dl-fini.c (_dl_fini): Adjust caller.
43888 * elf/dl-close.c (_dl_close_worker): Likewise.
43889 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43891 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43893 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43894 "aux_cache->nlibs < 0".
43896 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43897 in the reload-count case.
43899 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43902 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43903 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43904 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43905 * sysdeps/x86_64/multiarch/strcat.S: New file.
43906 * sysdeps/x86_64/multiarch/strncat.S: New file.
43907 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43908 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43909 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43910 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43912 (USE_AS_STRCAT): Define.
43913 Add strcat and strncat support.
43914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43915 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43916 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43917 * string/strncat.c: Update.
43918 (USE_AS_STRNCAT): Define.
43919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43920 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43922 * sysdeps/x86_64/multiarch/init-arch.h
43923 (bit_Prefer_PMINUB_for_stringop): New.
43924 (index_Prefer_PMINUB_for_stringop): Likewise.
43925 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43926 bit_Prefer_PMINUB_for_stringop.
43928 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43930 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43932 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43933 of casting of buffer.
43934 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43935 buffer32 and buffer64.
43936 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43937 writes instead of casting of buffer.
43938 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43940 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43943 2011-07-19 Andreas Schwab <schwab@redhat.com>
43945 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43947 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43949 * nscd/nscd.c (termination_handler): Don't do anything for a database
43950 if it has not yet been initialized.
43952 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43954 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43956 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43958 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43960 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43962 * po/nl.po: Update from translation team.
43963 * po/sv.po: Likewise.
43965 2011-07-16 Roland McGrath <roland@hack.frob.com>
43967 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43968 now disallowed by GCC.
43970 * configure.in (use-default-link): Default to yes if a test -shared
43971 link meets our qualifications.
43972 * configure: Regenerated.
43974 * config.make.in (output-format): New variable.
43975 * configure.in: Check for ld --print-output-format support.
43976 * configure: Regenerated.
43977 * Makerules ($(common-objpfx)format.lds)
43978 [$(output-format) != unknown]: Just use $(output-format),
43979 instead of the linker-script munging.
43981 2011-07-14 Roland McGrath <roland@hack.frob.com>
43983 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43984 of $(common-objpfx)shlib.lds.
43985 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43987 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43988 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43990 * configure.in (-z relro check): Adjust test code to add a large
43991 writable data section after it.
43992 * configure: Regenerated.
43994 2011-07-11 Roland McGrath <roland@hack.frob.com>
43996 * configure.in (-z relro check): Fix test code to make the variable
43998 * configure: Regenerated.
44000 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44002 * nscd/nscd.h (struct traced_file): Define.
44003 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44004 elements. Add traced_files.
44005 (inotify_fd): Declare.
44006 (register_traced_file): Declare.
44007 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44008 (inotify_fd): Export.
44009 (resolv_conf_descr): Remove.
44010 (nscd_init): Move inotify descriptor creation to main.
44011 Don't register files for notification here.
44012 (register_traced_file): New function.
44013 (invalidate_cache): Don't use reset_res to determine whether to call
44014 res_init, go through the list of registered files.
44015 (main_loop_poll): The inotify descriptors are now stored in the
44016 structures for the traced files.
44017 (main_loop_epoll): Likewise
44018 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44019 to __nss_disable_nscd.
44020 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44021 for a database anymore. Check the records for all the registered
44023 * nss/Makefile (libnss_files-routines): Add files-init.
44024 (libnss_db-routines): Add db-init.
44025 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44026 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44027 * nss/nss_db/db-init.c: New file.
44028 * nss/nss_files/files-init.c: New file.
44029 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44030 __nss_lookup_function.
44031 (__nss_lookup_function): Call nss_load_library.
44032 (nss_load_all_libraries): New function.
44033 (__nss_disable_nscd): Take parameter with callback function for files
44034 to register. Set is_nscd. Load all the DSOs for the NSS modules
44035 used for the cached services.
44036 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44037 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44038 options for features to all the files in nscd.
44040 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44042 2011-07-10 Roland McGrath <roland@hack.frob.com>
44044 * csu/elf-init.c (__libc_csu_init): Comment typo.
44046 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44048 * po/pl.po: Update from translation team.
44049 * po/ja.po: Likewise.
44050 * po/ru.po: Likewise.
44051 * po/ko.po: Likewise.
44052 * po/fr.po: Likewise.
44054 2011-07-09 Roland McGrath <roland@hack.frob.com>
44056 * configure.in (.ctors/.dtors header and trailer check):
44057 Use an empirical test on a built program.
44058 * configure: Regenerated.
44060 * configure.in (-z relro check): Use an empirical test on a built DSO.
44061 Detect, but do not require, on ia64.
44062 * configure: Regenerated.
44064 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44065 Update tests that use readelf to use $READELF instead.
44066 * configure: Regenerated.
44068 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44070 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44071 if the result is not used.
44073 2011-07-05 Andreas Jaeger <aj@suse.de>
44076 * stdlib/tst-strtod.c: Add testcase.
44078 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44080 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44081 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44082 The latter has a higher limit. Take additional parameter to pass to
44084 (__pathconf): Pass file to __statfs_link_max.
44085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44087 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44091 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44094 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44095 (__statfs_filesize_max): Likewise.
44096 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44098 2011-07-05 Andreas Jaeger <aj@suse.de>
44100 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44102 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44104 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44106 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44109 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44111 * Makefile (strop-tests): Add strncat.
44112 * string/test-strncat.c: New file.
44114 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44116 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44118 2011-06-21 Andreas Jaeger <aj@suse.de>
44120 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44121 Copy rule from iconvdata/Makefile.
44123 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44126 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44127 but no long options are defined, just return 'W'.
44129 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44132 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44134 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44136 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44138 (innetgr): Likewise.
44140 2011-07-05 Roland McGrath <roland@hack.frob.com>
44142 * config.make.in (install_root): Default to $(DESTDIR).
44144 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44146 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44148 2011-07-02 Roland McGrath <roland@hack.frob.com>
44150 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44152 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44153 containing directory rather than embedding absolute directory names.
44155 * scripts/check-local-headers.sh: Rewritten using awk.
44156 Match by word, not by line. Print error messages for matches.
44157 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44159 * Makerules [shlib-lds-flags empty]:
44160 ($(common-objpfx)libc_pic.opts): New target.
44161 ($(common-objpfx)libc_pic.os.clean): New target.
44162 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44164 * config.make.in (OBJCOPY): New variable.
44165 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44166 * configure: Regenerated.
44168 * config.make.in (use-default-link): New variable.
44169 * configure.in (use_default_link): Grok --with-default-link to set it.
44170 * configure: Regenerated.
44171 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44172 (shlib-lds, shlib-lds-flags): Define to empty.
44174 * Makerules (shlib-lds): New variable.
44175 (shlib-lds-flags): New variable.
44176 (build-shlib, build-moduile, build-module-asneeded): Use it.
44177 ($(common-objpfx)libc.so): Use $(shlib-lds).
44178 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44179 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44181 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44182 DT_FLAGS/DT_FLAGS_1 with zero flags.
44184 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44185 linker script munging.
44187 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44189 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44191 * crypt/sha512.c (sha512_process_block): Perform total addition using
44192 128-bit if possible.
44193 (__sha512_finish_ctx): Likewise.
44194 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44196 * crypt/sha256.c (SWAP64): Define.
44197 (sha256_process_block): Perform total addition using 64-bit if
44199 (__sha256_finish_ctx): Likewise.
44201 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44203 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44204 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44205 * nscd/hstcache.c (cache_addhst): Likewise.
44206 * nscd/grpcache.c (cache_addgr): Likewise.
44207 * nscd/aicache.c (addhstaiX): Likewise
44208 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44210 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44212 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44214 * nscd/hstcache.c (cache_addhst): Likewise.
44215 * nscd/grpcache.c (cache_addgr): Likewise.
44216 * nscd/aicache.c (addhstaiX): Likewise
44218 2011-07-01 Andreas Schwab <schwab@redhat.com>
44220 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44221 domain only when needed.
44223 2011-06-30 Andreas Schwab <schwab@redhat.com>
44225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44226 is always restored.
44228 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44230 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44231 are re-adding the entry.
44232 * nscd/servicescache.c (cache_addserv): Likewise.
44234 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44236 * sysdeps/generic/dl-irel.h: fix protection against multiple
44238 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44240 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44243 * malloc/memusage.sh: Fix quoting in message.
44244 * debug/xtrace.sh: Likewise.
44246 * configure.in: Remove support for --experimental-malloc option, make
44248 * config.make.in: Likewise.
44249 * malloc/Makefile: Likewise.
44251 2011-06-27 Andreas Schwab <schwab@redhat.com>
44253 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44254 two-byte characters.
44256 2011-06-27 Roland McGrath <roland@hack.frob.com>
44258 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44259 AC_CACHE_CHECK invocation.
44260 * configure: Regenerated.
44262 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44264 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44267 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44268 bit from old_res_options.
44270 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44272 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44273 value type for setfct.
44275 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44278 __gettimeofday instead of gettimeofday.
44280 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44282 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44284 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44291 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44294 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44295 strcpy-sse2-unaligned strncpy-sse2-unaligned
44296 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44297 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44298 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44299 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44300 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44303 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44304 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44305 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44306 (STRCPY): Support SSE2 and SSSE3 versions.
44308 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44312 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44313 kernels which artificially limit size of requests.
44315 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44318 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44319 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44320 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44321 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44322 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44323 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44324 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44325 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44327 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44328 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44329 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44330 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44331 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44333 Enable unaligned load optimization for Intel Core i3, i5 and i7
44335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44337 (index_Fast_Unaligned_Load): Define.
44338 (HAS_FAST_UNALIGNED_LOAD): Define.
44340 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44342 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44344 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44348 until it is clear that the information is realy needed.
44349 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44351 2011-06-22 Andreas Schwab <schwab@redhat.com>
44353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44355 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44358 /sys/devices/system/cpu/online if it is usable.
44360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44361 reading the information from the /proc filesystem to once a second.
44363 2011-06-21 Andreas Jaeger <aj@suse.de>
44365 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44366 NULL after inclusion of kernel headers.
44368 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44370 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44371 calls to internal_setent.
44374 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44375 addresses using gethostbyname4_r ignore IPv4 addresses.
44377 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44378 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44380 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44382 2011-06-20 David S. Miller <davem@davemloft.net>
44384 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44386 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44388 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44389 (elf_irel): Use it.
44390 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44391 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44392 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44393 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44394 * sysdeps/x86_64/dl-irel.h: Likewise.
44396 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44397 * elf/dl-sym.c: Likewise.
44399 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44401 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44402 need to dereference resplen2.
44404 2011-06-14 Andreas Schwab <schwab@redhat.com>
44406 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44408 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44410 * Makeconfig: Define vardbdir and inst_vardbdir.
44411 * nss/Makefile: Add rules to install db-Makefile.
44413 * nss/nss_db/db-XXX.c: Cleanup.
44415 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44416 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44418 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44419 * nss/makedb.c: Implement -g option to specify that value strings
44420 are generated and should not be added to table iterated over for
44422 * nss/nss_db/db-initgroups.c: New file.
44424 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44427 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44428 (internal_getgrouplist): Adjust to name change.
44429 Update use_initgroups_entry if this is not the first call.
44430 * nss/databases.def: Add initgroups entry.
44432 * nss/makedb.c (compute_tables): Check result of multiple hash table
44433 sizes to minimize maximum chain length.
44435 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44437 * Versions.def: Add entry for libnss_db.
44438 * shlib-versions: Likewise.
44439 * nss/Makefile: Add rules to build libnss_db.
44440 * nss/Versions: Add libnss_db information. Organize libnss_files
44442 * nss/db-Makefile: Add gshadow support. Change rules for the new
44443 makedb progra. Some minor improvements to generate smaller files.
44444 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44446 * nss/makedb.c: ...here.
44447 Improve database format to be smaller and require less memory at
44449 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44451 * nss/nss_db/db-netgrp.c: Likewise.
44452 * nss/nss_db/db-open.c: Likewise.
44453 * nss/nss_files/flies-XXX.x: Adjust comments.
44454 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44455 * nss/nss_files/files-grp.c: Likewise.
44456 * nss/nss_files/files-hosts.c: Likewise.
44457 * nss/nss_files/files-network.c: Likewise.
44458 * nss/nss_files/files-proto.c: Likewise.
44459 * nss/nss_files/files-pwd.c: Likewise.
44460 * nss/nss_files/files-rpc.c: Likewise.
44461 * nss/nss_files/files-service.c: Likewise.
44462 * nss/nss_files/files-sgrp.c: Likewise.
44463 * nss/nss_files/files-spwd.c: Likewise.
44464 * nss/nss_db/db-alias.c: Removed.
44465 * nss/nss_db/dummy-db.h: Removed.
44467 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44469 * nss/makedb.c: Rewritten to not use database library.
44470 * nss/Makefile: Update to build new makedb program.
44472 2011-06-14 Andreas Jaeger <aj@suse.de>
44474 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44475 memset declaration.
44477 2011-06-10 Andreas Schwab <schwab@redhat.com>
44479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44482 2011-06-10 Roland McGrath <roland@hack.frob.com>
44484 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44485 * elf/Makefile ($(objpfx)ld.so): Likewise.
44487 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44488 Don't list ld.so twice in dependencies.
44490 * posix/bug-regex31.c: Include <stdlib.h>.
44492 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44494 * nis/nss_compat/compat-spwd.c
44495 (getspent_next_nss_netgr): Remove unused variable.
44496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44498 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44499 nonmembers" output to use the right array.
44501 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44503 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44505 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44506 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44507 * catgets/gencat.c (read_input_file): Likewise.
44508 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44510 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44511 variable definition inside #if's controlling its use.
44513 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44515 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44517 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44519 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44522 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44524 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44525 * configure: Regenerated.
44527 * Makerules: Revert last change.
44528 * elf/Makefile: Likewise.
44530 2011-06-09 Roland McGrath <roland@hack.frob.com>
44532 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44533 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44534 (reloc-link): Likewise.
44536 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44538 * elf/Makefile: Add rules to build pldd.
44539 * elf/pldd.c: New file.
44540 * elf/pldd-xx.c: New file.
44542 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44544 * version.h: Update for 2.15 development version.
44546 2011-06-07 David S. Miller <davem@davemloft.net>
44548 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44551 elf_machine_lazy_rel): Likewise.
44552 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44554 elf_machine_lazy_rel): Likewise.
44555 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44556 dl_hwcap via passed in argument.
44557 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44560 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44562 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44564 2011-06-06 Roland McGrath <roland@hack.frob.com>
44567 * manual/fdl-1.1.texi: New file, verbatim from:
44568 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44569 * manual/lgpl-2.1.texi: New file, verbatim from:
44570 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44571 * manual/Makefile (licenses): New variable, list those new file names.
44573 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44575 * manual/fdl.texi: File removed.
44576 * manual/lesser.texi: File removed.
44577 * manual/libc.texinfo (Copying, Documentation License):
44578 Use new @include file names, put @appendix directive before @include.
44580 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44583 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44584 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44585 (mq_open): Add __NTH.
44587 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44590 Assume Intel Core i3/i5/i7 processor if AVX is available.
44592 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44597 2011-05-31 Andreas Schwab <schwab@redhat.com>
44599 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44600 memory. Use alloca_account. Fix memory leak when retrying.
44602 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44604 * version.h (RELEASE): Bump for 2.14 release.
44605 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44607 * config.make.in (RANLIB): Remove entry.
44609 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44611 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44612 (libc.pot): Work around missing support for .ksh extension in xgettext.
44615 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44616 if both request failed.
44617 (send_dg): In case of server errors clear resplen or *resplen2.
44620 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44621 when there are multiple maps.
44622 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44623 (_dl_fini): Remove test here.
44625 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44627 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44630 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44631 bit from old_res_options.
44632 (gaih_inet): Likewise.
44635 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44638 * resolv/res_init.c (res_setoptions): Make the code more compact.
44641 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44645 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44647 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44650 * malloc/malloc.h: Declare malloc hook variables as volatile.
44652 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44656 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44657 raise in the comment.
44658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44660 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44662 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44665 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44666 grow the buffers more if it already has to be sufficient.
44667 (build_wcs_upper_buffer): Likewise.
44668 * posix/regexec.c (check_matching): Likewise.
44669 (clean_state_log_if_needed): Likewise.
44670 (extend_buffers): Don't enlarge buffers beyond size of the input
44672 Patches mostly by Emil Wojak <emil@wojak.eu>.
44673 * posix/bug-regex32.c: New file.
44674 * posix/Makefile (tests): Add bug-regex32.
44676 * locale/findlocale.c (_nl_find_locale): Return right away if
44677 _nl_explode_name failed.
44678 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44680 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44682 * debug/xtrace.sh: Unify messages.
44683 * malloc/memusage.sh: Likewise.
44686 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44687 time symbol from vDSO. Substitute with vsyscall if not available.
44688 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44691 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44692 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44693 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44694 Add sendmmsg and internal_sendmmsg.
44695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44696 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44697 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44699 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44700 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44703 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44706 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44707 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44713 * iconvdata/Makefile (tests): Add bug-iconv9.
44714 * iconvdata/bug-iconv9.c: New file.
44716 2011-05-27 Andreas Schwab <schwab@redhat.com>
44719 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44721 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44723 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44724 (struct user_regs_struct): Change intcs field back to cs.
44726 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44728 * po/ja.po: Update from translation team.
44730 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44733 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44734 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44736 2011-05-20 Andreas Schwab <schwab@redhat.com>
44738 * stdlib/longlong.h: Update from GCC.
44740 2011-05-23 Andreas Schwab <schwab@redhat.com>
44742 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44744 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44745 Add parameter name.
44746 (__sysconf): Pass it down.
44748 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44751 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44753 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44754 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44755 add in in __libc_use_alloca calls. Adjust callers.
44756 (glob): Use malloc in some situations.
44758 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44759 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44762 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44764 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44765 and CLOCK_BOOTTIME_ALARM.
44768 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44771 * string/_strerror.c (__strerror_r): Print negative errors as signed
44775 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44776 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44777 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44779 * configure.in: Fix typo in redirection and correct removal of test
44780 files in two cases.
44783 * locale/setlocale.c (new_composite_name): Fix test to check for
44784 identical name of all categories.
44787 * libio/filedoalloc.c (local_isatty): New function.
44788 (_IO_file_doallocate): Use local_isatty.
44789 * stdio-common/perror.c (perror): In case a new stream is used
44790 forward the stream error.
44791 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44794 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44799 * include/alloca.h (extend_alloca_account): Define.
44802 * posix/regex.h: Fix comments with documentation of user-accessible
44803 fields after compilation and describe correct free'ing of pattern
44804 after re_compile_pattern.
44805 Patch by Reuben Thomas <rrt@sc3d.org>.
44807 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44809 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44810 and -mno-altivec to prevent the compiler from using Altivec and/or
44811 VSX instructions when the corresponding registers are not available.
44813 2011-05-19 Andreas Schwab <schwab@redhat.com>
44815 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44817 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44819 * libio/freopen.c (freopen): Use __dup2, not dup2.
44820 * libio/freopen64.c (freopen64): Likewise.
44822 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44825 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44826 * math/Makefile (tests): Add test-powl.
44827 (CFLAGS-test-powl.c): Define.
44828 * math/test-powl.c: New file.
44830 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44832 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44834 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44837 * iconvdata/gb18030.c: Update to GB18020-2005.
44839 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44841 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44842 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44843 Patch by Aharon Robbins <arnold@skeeve.com>.
44846 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44850 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44851 through underflows.
44854 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44855 point to strings before performing equality test for error_one_per_line
44859 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44863 (struct user_fpregs_struct): Avoid __uint*_t types.
44866 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44867 symbol info. Use it instead of calling _dl_addr locally.
44868 (lock_and_info): New function.
44869 (tr_freehook): Call lock_and_info and pass symbol info as additional
44870 parameter to tr_where.
44871 (tr_mallochook): Likewise.
44872 (tr_reallochook): Likewise.
44873 (tr_memalignhook): Likewise.
44875 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44876 used and couldn't be at all thread-safe.
44878 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44880 * libio/freopen.c (freopen): Don't close old file descriptor
44881 before the new one is opened. Instead dup the new file descriptor
44882 to the old one after the new stream is created.
44883 * libio/freopen64.c (freopen64): Likewise.
44884 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44885 * libio/fileops.c (_IO_new_file_close_it): Handle new
44886 _IO_FLAGS2_NOCLOSE flag.
44887 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44888 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44889 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44890 _IO_FLAGS2_NOCLOSE flag.
44891 * include/unistd.h: Add hidden_proto for dup3.
44892 Define __have_dup3.
44893 * io/dup3.c: Define hidden symbol.
44894 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44897 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44898 when an incomplete long option is used.
44899 * posix/tst-getopt_long1.c: New file.
44900 * posix/Makefile (tests): Add tst-getopt_long1.
44903 * scripts/config.guess: Update from autoconf-2.68.
44904 * scripts/config.sub: Likewise.
44907 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44909 (has_cpuclock): ...this. New function.
44910 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44911 macro here based on has_cpuclock code.
44914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44915 First byte (not low byte) is now always NUL.
44916 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44919 Use non-cancelable interfaces.
44922 * locale/iso-639.def: Add entry for Sorani.
44925 * include/stdlib.h: Move include protection to the right place.
44926 Define abort_msg_s. Declare __abort_msg with it.
44927 * stdlib/abort.c (__abort_msg): Adjust type.
44928 * assert/assert.c (__assert_fail_base): New function. Majority
44929 of code from __assert_fail. Allocate memory for __abort_msg with
44931 (__assert_fail): Now call __assert_fail_base.
44932 * assert/assert-perr.c: Remove bulk of implementation. Use
44933 __assert_fail_base.
44934 * include/assert.hL Declare __assert_fail_base.
44935 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44937 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44939 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44943 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44944 until all modules are registered in the DTV.
44945 * elf/Makefile: Add rules to build and run tst-tls19.
44946 * elf/tst-tls19.c: New file.
44947 * elf/tst-tls19mod1.c: New file.
44948 * elf/tst-tls19mod2.c: New file.
44949 * elf/tst-tls19mod3.c: New file.
44950 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44953 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44957 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44958 two-byte sequence errors.
44959 * iconvdata/Makefile (tests): Add bug-iconv8.
44960 * iconvdata/bug-iconv8.c: New file.
44963 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44966 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44969 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44970 (dummy_getcfa): New function.
44971 (init): Get _Unwind_GetCFA address, use dummy if not found.
44972 (backtrace_helper): In recursion check, also check whether CFA changes.
44973 (__backtrace): Completely initialize arg.
44975 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44976 storing incomplete byte sequence in state object. Avoid testing for
44977 guaranteed too small input if we know there is enough data available.
44979 2011-05-11 Andreas Schwab <schwab@redhat.com>
44981 * Makeconfig (+link-pie): Indent.
44982 * Rules (binaries-pie): Define if $(have-fpie) and
44984 (binaries-shared): Also filter out $(binaries-pie).
44985 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44986 * nscd/Makefile (others-pie): Add nscd.
44987 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44988 ($(objpfx)nscd): Remove command override.
44989 * login/Makefile (others-pie): Add pt_chown.
44990 ($(objpfx)pt_chown): Remove command override.
44991 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44992 remove command overrides.
44994 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44996 * libio/tst_putwc.c: Fix error messages.
44999 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45000 currently writing and seek to current position when not.
45001 * libio/Makefile (tests): Add bug-fclose1.
45002 * libio/bug-fclose1.c: New file.
45004 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45007 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45008 don't set DF_1_NODELETE here.
45009 (do_lookup_x): When entering new entry test for copy relocation
45010 and if necessary set DF_1_NODELETE flag.
45011 * elf/tst-unique4.cc: New file.
45012 * elf/tst-unique4.h: New file.
45013 * elf/tst-unique4lib.cc: New file.
45014 * elf/Makefile: Add rules to build and run tst-unique4.
45015 Patch by Piotr Bury <pbury@goahead.com>.
45017 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45020 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45023 * misc/mntent_r.c (addmntent): Flush the stream after the output
45026 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45027 (is_trusted_path_normalize): Skip initial colon. Append slash
45028 to empty buffer. Duplicate is_trusted_path code but allow
45029 constructed patch to be prefix.
45030 (is_dst): Allow $ORIGIN followed by /.
45031 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45032 Correct testing of result of is_trusted_path_normalize
45033 (decompose_rpath): Fix warning.
45035 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45038 * grp/initgroups.c (internal_getgrouplist): When we found the service
45039 list through the initgroups entry in nsswitch.conf do not always
45040 continue on a successful lookup. Don't always use the
45041 __nss_group_database value if it is set.
45042 * nss/nsswitch.conf (initgroups): Change action for successful db
45043 lookup to continue for compatibility.
45045 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45048 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45050 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45052 * iconvdata/tst-tables.sh: Likewise.
45053 * iconvdata/cp770.c: New file.
45054 * iconvdata/cp771.c: New file.
45055 * iconvdata/cp772.c: New file.
45056 * iconvdata/cp773.c: New file.
45057 * iconvdata/cp774.c: New file.
45058 * iconvdata/testdata/CP770: New file.
45059 * iconvdata/testdata/CP770..UTF8: New file.
45060 * iconvdata/testdata/CP771: New file.
45061 * iconvdata/testdata/CP771..UTF8: New file.
45062 * iconvdata/testdata/CP772: New file.
45063 * iconvdata/testdata/CP772..UTF8: New file.
45064 * iconvdata/testdata/CP773: New file.
45065 * iconvdata/testdata/CP773..UTF8: New file.
45066 * iconvdata/testdata/CP774: New file.
45067 * iconvdata/testdata/CP774..UTF8: New file.
45069 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45071 * iconvdata/gen-8bit-gap.sh: Likewise.
45072 * iconvdata/gen-8bit.sh: Likewise.
45074 * locale/iso-639.def: Add ary entry.
45077 * locale/C-translit.h.in: Add U20A1 transliteration.
45080 * locale/iso-639.def: Add wae entry.
45081 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45084 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45088 * locale/C-translit.h.in: Add entry for U20B9.
45089 Patch by pravin.d.s@gmail.com.
45091 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45094 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45095 ENAMETOOLONG use generic getcwd.
45096 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45097 in rtld. Use *stat64.
45098 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45099 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45100 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45101 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45102 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45103 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45104 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45105 __fstatat64 macros.
45106 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45107 * dirent/rewinddir.c: Add libc_hidden_def.
45108 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45109 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45111 * include/dirent.h (__alloc_dir): Add flags parameter.
45112 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45113 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45115 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45116 from fdopendir if O_CLOEXEC is already set.
45118 2011-03-15 Alan Modra <amodra@gmail.com>
45120 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45121 l_tls_firstbyte_offset non-zero. Save padding offset in
45122 l_tls_firstbyte_offset for later use.
45123 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45124 freeing static tls block.
45126 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45128 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45129 where #ifdef was intended. The intent is to prevent ARG_MAX from
45130 being defined by the kernel headers.
45132 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45135 * resolv/resolv.h: Define RES_NOTLDQUERY.
45136 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45137 no-tld-query and set RES_NOTLDQUERY.
45138 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45139 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45140 modern BIND to search name as TLD unless forbidden.
45142 2011-05-07 Petr Baudis <pasky@suse.cz>
45143 Ulrich Drepper <drepper@gmail.com>
45146 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45147 (is_trusted_path): ...to here.
45148 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45149 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45150 using is_trusted_path_normalize() in setuid scripts.
45152 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45155 __BEGIN/__END_DECLS.
45157 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45160 NSS_STATUS_NOTFOUND if no record was found.
45162 2011-05-05 Andreas Schwab <schwab@redhat.com>
45164 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45165 (headers-not-in-tirpc): Remove rpc/netdb.h
45166 * resolv/netdb.h: Revert last change.
45168 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45170 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45171 circular dependency between libgcc.a and libc.a.
45173 2011-05-05 Andreas Schwab <schwab@redhat.com>
45175 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45176 * nis/Makefile: Don't install rpcsvc/*.
45177 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45178 instead of <rpc/types.h>.
45179 (MAXHOSTNAMELEN): Define.
45181 2011-05-03 Andreas Schwab <schwab@redhat.com>
45183 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45185 2011-04-28 Maciej Babinski <mbabinski@google.com>
45188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45189 gethostbyname4_r when IPv6 results are possible.
45191 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45194 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45195 _PC_PIPE_BUF handling.
45197 2011-04-30 Bruno Haible <bruno@clisp.org>
45200 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45201 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45203 * inet/getnameinfo.c (getnameinfo): Likewise.
45205 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45207 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45208 to groups setting in database lookup.
45209 * nss/nsswitch.conf: Add initgroups entry.
45211 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45214 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45216 Patch by Eric Blake <eblake@redhat.com>.
45218 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45220 * sunrpc/Makefile (need-export-routines): Add svc_run.
45221 (routines): Remove svc_run.
45222 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45223 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45224 * sunrpc/svc_run.c (svc_run): Likewise.
45225 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45227 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45230 problem in reallocation in last patch.
45232 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45234 * sunrpc/Makefile: Move inclusion of Rules.
45236 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45238 * nss/nss_files/files-initgroups.c: New file.
45239 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45240 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45241 _nss_files_initgroups_dyn.
45243 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45245 * elf/elf.h (R_ARM_IRELATIVE): Define.
45247 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45249 * po/ru.po: Update from translation team.
45251 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45253 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45256 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45259 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45260 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45265 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45269 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45270 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45271 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45273 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45276 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45278 * stdlib/bug-getcontext.c: New file.
45279 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45281 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45283 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45284 instructions into .machine "z9-109".
45285 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45286 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45288 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45290 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45291 between environment variables and auxiliary vector.
45293 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45295 * Makefile: Add rules to build linkobj/libc.so.
45296 * include/libc-symbols.h: Define libc_hidden_nolink.
45297 * include/rpc/auth.h: Mark functions which are to be hidden.
45298 * include/rpc/auth_des.h: Likewise.
45299 * include/rpc/auth_unix.h: Likewise.
45300 * include/rpc/clnt.h: Likewise.
45301 * include/rpc/des_crypt.h: Likewise.
45302 * include/rpc/key_prot.h: Likewise.
45303 * include/rpc/pmap_clnt.h: Likewise.
45304 * include/rpc/pmap_prot.h: Likewise.
45305 * include/rpc/pmap_rmt.h: Likewise.
45306 * include/rpc/rpc_msg.h: Likewise.
45307 * include/rpc/svc.h: Likewise.
45308 * include/rpc/svc_auth.h: Likewise.
45309 * include/rpc/xdr.h: Likewise.
45310 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45311 * nss/Makefile: Likewise.
45312 * sunrpc/Makefile: Don't install headers. Build library with normal
45313 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45314 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45315 for the compat linking library. Remove use of INTDEF/INTUSE.
45316 * sunrpc/auth_none.c: Likewise.
45317 * sunrpc/auth_unix.c: Likewise.
45318 * sunrpc/authdes_prot.c: Likewise.
45319 * sunrpc/authuxprot.c: Likewise.
45320 * sunrpc/clnt_gen.c: Likewise.
45321 * sunrpc/clnt_perr.c: Likewise.
45322 * sunrpc/clnt_raw.c: Likewise.
45323 * sunrpc/clnt_simp.c: Likewise.
45324 * sunrpc/clnt_tcp.c: Likewise.
45325 * sunrpc/clnt_udp.c: Likewise.
45326 * sunrpc/clnt_unix.c: Likewise.
45327 * sunrpc/des_crypt.c: Likewise.
45328 * sunrpc/des_soft.c: Likewise.
45329 * sunrpc/get_myaddr.c: Likewise.
45330 * sunrpc/key_call.c: Likewise.
45331 * sunrpc/key_prot.c: Likewise.
45332 * sunrpc/netname.c: Likewise.
45333 * sunrpc/pm_getmaps.c: Likewise.
45334 * sunrpc/pm_getport.c: Likewise.
45335 * sunrpc/pmap_clnt.c: Likewise.
45336 * sunrpc/pmap_prot.c: Likewise.
45337 * sunrpc/pmap_prot2.c: Likewise.
45338 * sunrpc/pmap_rmt.c: Likewise.
45339 * sunrpc/publickey.c: Likewise.
45340 * sunrpc/rpc_cmsg.c: Likewise.
45341 * sunrpc/rpc_common.c: Likewise.
45342 * sunrpc/rpc_dtable.c: Likewise.
45343 * sunrpc/rpc_prot.c: Likewise.
45344 * sunrpc/rpc_thread.c: Likewise.
45345 * sunrpc/rtime.c: Likewise.
45346 * sunrpc/svc.c: Likewise.
45347 * sunrpc/svc_auth.c: Likewise.
45348 * sunrpc/svc_authux.c: Likewise.
45349 * sunrpc/svc_raw.c: Likewise.
45350 * sunrpc/svc_run.c: Likewise.
45351 * sunrpc/svc_simple.c: Likewise.
45352 * sunrpc/svc_tcp.c: Likewise.
45353 * sunrpc/svc_udp.c: Likewise.
45354 * sunrpc/svc_unix.c: Likewise.
45355 * sunrpc/svcauth_des.c: Likewise.
45356 * sunrpc/xcrypt.c: Likewise.
45357 * sunrpc/xdr.c: Likewise.
45358 * sunrpc/xdr_array.c: Likewise.
45359 * sunrpc/xdr_float.c: Likewise.
45360 * sunrpc/xdr_intXX_t.c: Likewise.
45361 * sunrpc/xdr_mem.c: Likewise.
45362 * sunrpc/xdr_rec.c: Likewise.
45363 * sunrpc/xdr_ref.c: Likewise.
45364 * sunrpc/xdr_sizeof.c: Likewise.
45365 * sunrpc/xdr_stdio.c: Likewise.
45367 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45370 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45371 * sysdeps/ia64/dl-tls.h: Likewise.
45372 * sysdeps/powerpc/dl-tls.h: Likewise.
45373 * sysdeps/s390/dl-tls.h: Likewise.
45374 * sysdeps/sh/dl-tls.h: Likewise.
45375 * sysdeps/sparc/dl-tls.h: Likewise.
45376 * sysdeps/x86_64/dl-tls.h: Likewise.
45377 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45379 2011-03-14 Andreas Schwab <schwab@redhat.com>
45381 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45382 rpath element also skip the following colon.
45383 (expand_dynamic_string_token): Add is_path parameter and pass
45384 down to DL_DST_REQUIRED and _dl_dst_substitute.
45385 (decompose_rpath): Call expand_dynamic_string_token with
45386 non-zero is_path. Ignore empty rpaths.
45387 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45390 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45395 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45398 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45399 Patch by Filipe David Manana <fdmanana@apache.org>.
45401 2011-04-07 Andreas Schwab <schwab@redhat.com>
45403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45404 Maintain aligned stack.
45405 (CHECK_RSP): Remove unused macro.
45407 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45409 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45412 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45414 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45416 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45418 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45421 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45422 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45423 * sysdeps/x86_64/memmove.c: New file.
45424 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45425 (memcpy): Renamed to ...
45426 (__new_memcpy): This.
45427 (memcpy): Provide GLIBC_2_14 memcpy.
45428 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45429 (memcpy): Provide GLIBC_2_2_5 memcpy.
45431 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45434 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45436 2011-03-30 Andreas Schwab <schwab@redhat.com>
45438 * misc/syncfs.c: New file.
45439 * misc/Makefile (routines): Add syncfs.
45440 * posix/unistd.h: Declare syncfs.
45441 * sysdeps/unix/syscalls.list: Add syncfs.
45443 2011-04-01 Andreas Schwab <schwab@redhat.com>
45445 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45452 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45455 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45459 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45465 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45466 sync_file_range.c with -fexceptions.
45467 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45468 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45469 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45470 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45471 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45472 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45474 sync_file_range as cancellation point
45475 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45476 now a wrapper around __call_sync_file_range with cancellation handling.
45477 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45478 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45479 function name to __call_sync_file_range.
45480 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45481 Add call_sync_file_range.
45483 2011-04-01 Andreas Schwab <schwab@redhat.com>
45485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45488 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45490 * iconv/iconv.h: Fix typo in comment.
45491 * io/fcntl.h: Likewise.
45492 * libio/stdio.h: Likewise.
45493 * posix/spawn.h: Likewise.
45494 * posix/unistd.h: Likewise.
45495 * stdlib/stdlib.h: Likewise.
45496 * time/time.h: Likewise.
45497 * wcsmbs/wchar.h: Likewise.
45499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45500 open_by_handle): Add.
45501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45502 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45503 Augment a few comments.
45504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45508 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45509 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45512 * io/fcntl.h (AT_EMPTY_PATH): Define.
45514 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45516 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45517 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45518 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45520 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45521 * Versions.def: Add GLIBC_2.14.
45522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45525 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45529 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45531 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45534 * string/test-strncmp.c (do_page_test): New function.
45535 (check2): Likewise.
45536 (test_main): Call check2.
45537 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45539 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45543 Handle cache information in CPU leaf 4.
45544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45546 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45549 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45550 character representation.
45551 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45553 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45555 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45556 END(__isnan) to END(__isnanf) to match function entry point/label
45557 EALIGN(__isnanf,...).
45559 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45561 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45563 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45566 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45567 copy from the symbol referenced in the relocation to initialize the
45569 Patch by Piotr Bury <pbury@goahead.com>.
45570 * elf/Makefile: Add rules to build and tst-unique3.
45571 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45572 * elf/tst-unique3.cc: New file.
45573 * elf/tst-unique3.h: New file.
45574 * elf/tst-unique3lib.cc: New file.
45575 * elf/tst-unique3lib2.cc: New file.
45577 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45579 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45581 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45582 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45585 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45587 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45588 to-be-loaded object along a path to loader is ld.so.
45590 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45591 Ulrich Drepper <drepper@gmail.com>
45593 * sysdeps/x86_64/memset.S: After aligning destination, code
45594 branches to different locations depending on the value of
45595 misalignment, when multiarch is enabled. Fix this.
45597 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45599 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45600 Set _x86_64_preferred_memory_instruction for AMD processsors.
45601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45602 Set bit_Prefer_SSE_for_memop for AMD processors.
45604 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45606 * libio/fmemopen.c (fmemopen): Optimize a bit.
45608 2011-03-03 Andreas Schwab <schwab@redhat.com>
45610 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45612 2011-03-03 Roland McGrath <roland@redhat.com>
45614 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45616 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45618 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45619 __bzero_ultra1 instead of __memset_ultra1.
45621 2011-02-23 Andreas Schwab <schwab@redhat.com>
45622 Ulrich Drepper <drepper@gmail.com>
45625 * include/link.h (struct link_map): Add l_orig_initfini.
45626 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45627 returning unsuccessfully.
45628 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45629 close of a file loaded at startup, restore the original l_initfini
45631 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45632 list, store the pointer.
45633 * elf/Makefile ($(objpfx)noload-mem): New rule.
45634 (noload-ENV): Define.
45635 (tests): Add $(objpfx)noload-mem.
45636 * elf/noload.c: Include <memcheck.h>.
45637 (main): Call mtrace. Close all opened handles.
45639 2011-02-17 Andreas Schwab <schwab@redhat.com>
45642 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45643 dependencies are missing.
45645 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45647 Fix __if_freereq crash: Unlike the generic version which uses free,
45649 * sysdeps/mach/hurd/ifreq.h: New file.
45651 2011-01-27 Petr Baudis <pasky@suse.cz>
45652 Ulrich Drepper <drepper@gmail.com>
45655 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45656 to extend_alloca().
45657 * stdio-common/bug23.c: New file.
45658 * stdio-common/Makefile (tests): Add bug23.
45660 2010-09-28 Andreas Schwab <schwab@redhat.com>
45661 Ulrich Drepper <drepper@gmail.com>
45664 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45665 before performing relro protection. At old place add assertion
45666 to make sure nothing changed.
45668 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45669 Glauber de Oliveira Costa <glommer@gmail.com>
45671 * elf/elf.h: Add new ARM TLS relocs.
45673 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45676 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45678 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45680 * sysdeps/wordsize-64/tst-writev.c: New file.
45682 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45684 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45685 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45686 insns in _dl_start to prevent a TOC reference before relocs are
45689 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45692 * Makeconfig: Remove RANLIB definition.
45693 * Makerules: Don't use RANLIB.
45694 * aclocal.m4: Remove ranlib test.
45695 * configure.in: No need to check for ranlib.
45696 * elf/rtld-Rules: Don't use RANLIB.
45698 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45700 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45702 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45703 inclusion protection macro.
45705 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45706 SIGRTMIN and SIGRTMAX and print information in that case only when
45707 SIGRTMIN is defined.
45709 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45711 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45712 arginfo fn returning -1.
45714 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45715 and thousands string is zero terminated.
45717 2011-02-03 Andreas Schwab <schwab@redhat.com>
45719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45720 sysdeps/unix/sysv/linux/bits/socket.h.
45722 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45724 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45725 (__CPU_COUNT): Remove old macros.
45726 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45727 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45728 (__CPU_ALLOC, __CPU_FREE): Add macros.
45729 (__sched_cpualloc, __sched_cpufree): Add declarations.
45731 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45733 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45734 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45735 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45736 (readdhstai): Return value of addhstaiX call.
45737 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45738 (addgrbyX): Return value returned by cache_addgr.
45739 (readdgrbyname): Return value returned by addgrbyX.
45740 (readdgrbygid): Likewise.
45741 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45742 (addpwbyX): Return value returned by cache_addpw.
45743 (readdpwbyname): Return value returned by addhstbyX.
45744 (readdpwbyuid): Likewise.
45745 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45746 (addservbyX): Return value returned by cache_addserv.
45747 (readdservbyname): Return value returned by addservbyX:
45748 (readdservbyport): Likewise.
45749 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45750 (addhstbyX): Return value returned by cache_addhst.
45751 (readdhstbyname): Return value returned by addhstbyX.
45752 (readdhstbyaddr): Likewise.
45753 (readdhstbynamev6): Likewise.
45754 (readdhstbyaddrv6): Likewise.
45755 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45756 (readdinitgroups): Return value returned by addinitgroupsX.
45757 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45758 (prune_cache): Keep track of timeout value of re-added entries.
45759 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45760 * nscd/nscd.h: Adjust prototypes of readd* functions.
45762 2011-02-04 Roland McGrath <roland@redhat.com>
45764 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45765 (nis_stats): Likewise.
45766 * nis/nis_modify.c (nis_modify): Likewise.
45767 * nis/nis_remove.c (nis_remove): Likewise.
45768 * nis/nis_add.c (nis_add): Likewise.
45770 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45772 * posix/fnmatch_loop.c: Add some consts.
45774 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45776 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45779 * config.make.in (config-cflags-novzeroupper): Define.
45780 * configure.in: Substitute libc_cv_cc_novzeroupper.
45781 * elf/Makefile (AVX-CFLAGS): Define.
45782 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45783 (CFLAGS-tst-auditmod4a.c): Likewise.
45784 (CFLAGS-tst-auditmod4b.c): Likewise.
45785 (CFLAGS-tst-auditmod6b.c): Likewise.
45786 (CFLAGS-tst-auditmod6c.c): Likewise.
45787 (CFLAGS-tst-auditmod7b.c): Likewise.
45788 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45790 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45792 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45793 function to the callback.
45794 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45796 2011-02-02 Andreas Schwab <schwab@redhat.com>
45798 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45801 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45804 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45806 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45808 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45811 * elf/Makefile: Add rules to build and run new test.
45812 * elf/tst-initorder.c: New file.
45813 * elf/tst-initorder.exp: New file.
45814 * elf/tst-initordera1.c: New file.
45815 * elf/tst-initordera2.c: New file.
45816 * elf/tst-initordera3.c: New file.
45817 * elf/tst-initordera4.c: New file.
45818 * elf/tst-initorderb1.c: New file.
45819 * elf/tst-initorderb2.c: New file.
45820 * elf/tst-order-a1.c: New file.
45821 * elf/tst-order-a2.c: New file.
45822 * elf/tst-order-a3.c: New file.
45823 * elf/tst-order-a4.c: New file.
45824 * elf/tst-order-b1.c: New file.
45825 * elf/tst-order-b2.c: New file.
45826 * elf/tst-order-main.c: New file.
45827 New test case by George Gensure <werkt0@gmail.com>.
45829 2010-10-01 Andreas Schwab <schwab@redhat.com>
45831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45832 decoding ACE if AI_CANONIDN.
45834 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45836 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45838 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45840 * version.h (RELEASE): Bump for 2.13 release.
45841 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45843 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45845 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45847 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45849 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45850 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45854 * posix/getconf.c: Update copyright year.
45855 * catgets/gencat.c: Likewise.
45856 * csu/version.c: Likewise.
45857 * debug/catchsegv.sh: Likewise.
45858 * debug/xtrace.sh: Likewise.
45859 * elf/ldconfig.c: Likewise.
45860 * elf/ldd.bash.in: Likewise.
45861 * elf/sprof.c (print_version): Likewise.
45862 * iconv/iconv_prog.c: Likewise.
45863 * iconv/iconvconfig.c: Likewise.
45864 * locale/programs/locale.c: Likewise.
45865 * locale/programs/localedef.c: Likewise.
45866 * malloc/memusage.sh: Likewise.
45867 * malloc/mtrace.pl: Likewise.
45868 * nscd/nscd.c (print_version): Likewise.
45869 * nss/getent.c: Likewise.
45871 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45872 PF_CAIF, and PF_ALG.
45873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45875 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45877 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45878 (modules-names): Use them.
45879 (ifunc-test-modules, ifunc-pie-tests): Define.
45880 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45881 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45882 (test-extras): Likewise.
45883 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45884 $(compile-command.c).
45885 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45886 (all-built-dso): Define.
45887 (check-textrel.out, check-execstack.out): Depend on it.
45889 * configure.in: Don't override --enable-multi-arch.
45891 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45894 * nscd/hstcache.c (tryagain): Define.
45895 (cache_addhst): Return tryagain not notfound for temporary errors.
45896 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45899 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45902 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45903 to make the syscall.
45904 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45907 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45908 and fall back to matching as normal character if the string ends before
45909 the matching ']' is found. This is what POSIX requires.
45910 * posix/testfnm.c: Adjust test result.
45911 * posix/globtest.sh: Adjust test result. Add new test.
45912 * posix/tst-fnmatch.input: Likewise.
45913 * posix/tst-fnmatch2.c: Add new test.
45915 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45917 * elf/Makefile (check-execstack): Revert last change. Depend on
45919 (check-execstack.h): New target.
45920 (generated): Add check-execstack.h.
45921 * elf/check-execstack.c: Include "check-execstack.h".
45922 (main): Revert last change.
45923 (handle_file): Return zero if GNU_STACK is absent and
45924 DEFAULT_STACK_PERMS doesn't include PF_X.
45926 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45928 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45929 in child fails because the descriptor is already closed.
45930 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45931 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45932 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45935 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45939 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45940 temporary buffer used to handle multi lookups locally.
45941 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45943 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45945 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45948 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45950 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45951 alignment for SSE2.
45953 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45956 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45957 characters. When rounding increased number of integer digits recompute
45959 * stdio-common/tst-grouping.c: New file.
45960 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45962 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45964 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45965 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45967 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45969 * bits/select.h: Likewise.
45971 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45973 * po/ja.po: Update from translation team.
45975 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45978 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45979 implementation just like for lxstat, fxstatat, et al.
45981 2010-12-27 Jim Meyering <meyering@redhat.com>
45984 * posix/regexec.c (build_trtable): Return failure indication upon
45985 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45987 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45990 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45991 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45992 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45993 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45996 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45999 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46000 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46002 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46004 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46005 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46006 script has SORT_BY_INIT_PRIORITY.
46007 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46008 NO_CTORS_DTORS_SECTIONS is defined.
46009 * elf/soinit.c: Likewise.
46010 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46011 NO_CTORS_DTORS_SECTIONS is defined.
46012 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46013 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46014 * sysdeps/sh/init-first.c: Likewise.
46015 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46017 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46019 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46020 always use the slow path.
46022 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46024 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46025 similar rule which adds the sysdep directories to the header search in
46026 order to pick up the correct platform stackinfo.h.
46027 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46028 perform test if it is, otherwise return successfully without testing.
46029 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46030 DEFAULT_STACK_PERMS define in stackinfo.h.
46031 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46032 defined in stackinfo.h.
46033 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46034 DEFAULT_STACK_PERMS defined in stackinfo.h.
46035 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46036 * sysdeps/ia64/stackinfo.h: Likewise.
46037 * sysdeps/s390/stackinfo.h: Likewise.
46038 * sysdeps/sh/stackinfo.h: Likewise.
46039 * sysdeps/sparc/stackinfo.h: Likewise.
46040 * sysdeps/x86_64/stackinfo.h: Likewise.
46041 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46042 PF_X for powerpc64. Retain PF_X for powerpc32.
46044 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46046 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46048 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46049 GETDENTS_64BIT_ALIGNED.
46051 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46053 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46055 2010-12-10 Andreas Schwab <schwab@redhat.com>
46057 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46060 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46061 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46063 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46064 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46066 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46069 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46072 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46074 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46076 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46078 * po/it.po: Update from translation team.
46080 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46085 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46087 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46089 2010-11-24 Andreas Schwab <schwab@redhat.com>
46091 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46093 (gaih_getanswer_slice): Likewise.
46095 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46099 2010-05-31 Petr Baudis <pasky@suse.cz>
46102 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46103 silently even in the chroot mode.
46105 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46107 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46108 last patch a bit. Pretty printing
46110 2010-05-31 Petr Baudis <pasky@suse.cz>
46113 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46114 initialization of skip_initgroups_dyn.
46116 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46121 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46123 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46125 2010-11-11 Andreas Schwab <schwab@redhat.com>
46127 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46128 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46129 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46130 ($(objpfx)tst-fnmatch-mem): New rule.
46131 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46132 * posix/tst-fnmatch.c (main): Call mtrace.
46134 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46137 Support Intel processor model 6 and model 0x2c.
46139 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46141 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46144 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46147 * string/test-strncasecmp.c (check_result): New function.
46148 (do_one_test): Use it.
46149 (check1): New function.
46150 (test_main): Use it.
46151 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46152 Support strcasecmp and strncasecmp.
46154 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46157 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46158 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46160 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46162 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46166 * sysdeps/x86_64/multiarch/bzero.S: New file.
46167 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46168 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46169 * sysdeps/x86_64/multiarch/memset.S: New file.
46170 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46172 Set bit_Prefer_SSE_for_memop for Intel processors.
46173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46175 (index_Prefer_SSE_for_memop): Define.
46176 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46178 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46180 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46181 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46183 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46186 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46187 (__x86_64_raw_data_cache_size_half): Likewise.
46188 (__x86_64_raw_shared_cache_size): Likewise.
46189 (__x86_64_raw_shared_cache_size_half): Likewise.
46191 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46192 (__x86_64_raw_data_cache_size_half): Likewise.
46193 (__x86_64_raw_shared_cache_size): Likewise.
46194 (__x86_64_raw_shared_cache_size_half): Likewise.
46195 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46196 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46197 and __x86_64_raw_shared_cache_size_half. Round
46198 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46199 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46200 to multiple of 256 bytes.
46202 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46206 of inacessible symlinks. Verify result of symlink before returning it.
46207 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46208 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46210 2010-10-28 Erich Ritz <erichritz@gmail.com>
46212 * math/math.h (isinf): Fix typo in comment.
46214 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46216 * po/da.po: Update from translation team.
46218 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46220 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46221 is added to the list.
46223 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46224 Ulrich Drepper <drepper@gmail.com>
46226 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46227 the global list here. Move code to...
46228 (_dl_add_to_namespace_list): ...here. New function.
46229 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46230 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46231 * elf/dl-load.c (lose): Don't remove the element from the list.
46232 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46233 (_dl_map_object): Likewise.
46235 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46238 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46239 into all bytes of SSE register.
46240 Patch by Richard Li <richardpku@gmail.com>.
46242 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46245 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46248 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46250 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46251 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46252 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46258 2010-10-22 Andreas Schwab <schwab@redhat.com>
46260 * include/dlfcn.h (__RTLD_SECURE): Define.
46261 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46262 mode & __RTLD_SECURE instead.
46263 (open_path): Rename preloaded parameter to secure.
46264 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46265 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46266 * elf/dl-deps.c (openaux): Likewise.
46267 * elf/rtld.c (struct map_args): Remove is_preloaded.
46268 (map_doit): Don't use it.
46269 (dl_main): Likewise.
46270 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46271 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46273 2010-09-09 Andreas Schwab <schwab@redhat.com>
46275 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46276 (sysd-rules-targets): Remove duplicates.
46277 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46278 rtld-%.$o dependency.
46280 2010-10-18 Andreas Schwab <schwab@redhat.com>
46282 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46283 _dl_map_object do it.
46285 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46287 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46288 fast fma builtins, define the macros in the C99 standard.
46289 (FP_FAST_FMAF): Likewise.
46290 (FP_FAST_FMAL): Likewise.
46291 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46293 * bits/mathdef.h: Update copyright year.
46294 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46296 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46298 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46299 builtins, define the macros in the C99 standard.
46300 (FP_FAST_FMAF): Likewise.
46301 (FP_FAST_FMAL): Likewise.
46302 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46304 (FP_FAST_FMAF): Likewise.
46306 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46309 * math/libm-test.inc (fma_test): Some new testcases.
46310 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46312 y and infinite z. Do multiplication by C already in long double.
46313 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46315 y and infinite z. Do bitwise or of inexact bit into u.d.
46316 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46317 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46318 * sysdeps/i386/fpu/s_fma.S: Removed.
46319 * sysdeps/i386/fpu/s_fmal.S: Removed.
46321 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46324 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46326 computation is not scheduled after fetestexcept. Fix value
46327 of minimum denormal long double.
46329 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46332 * math/libm-test.inc (fma_test): Add some more tests.
46333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46336 2010-10-15 Andreas Schwab <schwab@redhat.com>
46338 * scripts/data/localplt-s390-linux-gnu.data: New file.
46339 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46341 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46344 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46345 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46347 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46349 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46351 if one of x and y is very large and the other is subnormal.
46352 * sysdeps/s390/fpu/s_fmaf.c: New file.
46353 * sysdeps/s390/fpu/s_fma.c: New file.
46354 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46355 * sysdeps/powerpc/fpu/s_fma.S: New file.
46356 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46357 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46358 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46360 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46363 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46366 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46367 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46368 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46369 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46370 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46371 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46373 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46376 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46377 * posix/bug-regex31.input: Add test case.
46379 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46381 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46382 * posix/bug-regex31.input: New file.
46385 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46386 (parse_sub_exp): Fix last change, use postorder.
46388 * posix/bug-regex31.c: New file.
46389 * posix/Makefile: Add rules to build and run bug-regex31.
46391 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46394 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46397 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46398 to have entries in sys_siglist.
46401 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46404 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46407 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46408 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46409 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46410 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46411 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46412 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46413 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46414 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46415 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46416 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46417 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46418 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46419 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46420 * math/ftestexcept.c (fetestexcept): Likewise.
46421 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46422 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46423 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46424 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46425 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46426 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46427 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46429 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46432 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46435 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46437 * string/bug-strstr1.c: New file.
46438 * string/Makefile: Add rules to build and run bug-strstr1.
46440 2010-10-05 Eric Blake <eblake@redhat.com>
46443 * string/str-two-way.h (two_way_long_needle): Always clear memory
46444 when skipping input due to the shift table.
46446 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46449 * malloc/mcheck.c: Handle large requests.
46452 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46453 for strncmp and strncasecmp.
46454 * string/stratcliff.c: Add tests for strcmp and strncmp.
46455 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46457 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46459 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46462 2010-09-30 Andreas Jaeger <aj@suse.de>
46464 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46465 (CGROUP_SUPER_MAGIC): Define.
46466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46467 Handle btrfs and cgroup file systems.
46468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46471 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46473 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46474 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46476 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46479 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46480 trying to locate the ELF header.
46482 2010-09-27 Andreas Schwab <schwab@redhat.com>
46485 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46486 Mask out sign-bit copies when constructing f_fsid.
46488 2010-09-24 Petr Baudis <pasky@suse.cz>
46490 * debug/stack_chk_fail_local.c: Add missing licence exception.
46491 * debug/warning-nop.c: Likewise.
46493 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46495 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46496 implementing getdents64 using getdents syscall, set d_type if
46497 __ASSUME_GETDENTS32_D_TYPE.
46499 2010-09-16 Andreas Schwab <schwab@redhat.com>
46501 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46502 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46504 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46507 * posix/unistd.h: Undo change of feature selection for ftruncate from
46510 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46512 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46515 2010-09-20 Andreas Schwab <schwab@redhat.com>
46517 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46519 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46521 2010-09-14 Andreas Schwab <schwab@redhat.com>
46523 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46524 variables after CHECK_SP call.
46525 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46527 2010-09-13 Andreas Schwab <schwab@redhat.com>
46528 Ulrich Drepper <drepper@redhat.com>
46530 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46531 re-relocationg ld.so.
46532 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46533 _dl_init_paths call.
46534 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46537 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46539 * resolv/res_init.c (__res_vinit): Count the default server we added.
46541 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46542 Ulrich Drepper <drepper@redhat.com>
46545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46546 (____longjmp_chk): Use %ebx for saving value across system call.
46549 2010-09-06 Andreas Schwab <schwab@redhat.com>
46551 * manual/Makefile: Don't mix pattern rules with normal rules.
46553 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46555 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46557 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46558 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46559 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46560 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46564 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46567 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46568 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46570 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46572 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46573 * sysdeps/x86_64/addmul_1.S: Likewise.
46574 * sysdeps/x86_64/lshift.S: Likewise.
46575 * sysdeps/x86_64/mul_1.S: Likewise.
46576 * sysdeps/x86_64/rshift.S: Likewise.
46577 * sysdeps/x86_64/sub_n.S: Likewise.
46578 * sysdeps/x86_64/submul_1.S: Likewise.
46580 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46582 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46583 Define __sched_param instead of SCHED_* and sched_param when
46584 <bits/sched.h> is included with __need_schedparam defined.
46585 * bits/sched.h [__need_schedparam]
46586 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46587 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46588 (__defined_schedparam): Define to 1.
46589 (__sched_param): New structure, identical to sched_param.
46590 (__need_schedparam): Undefine.
46592 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46595 (epoll_create1): Declare.
46597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46599 2010-08-31 Andreas Schwab <schwab@redhat.com>
46602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46603 shifting retval into place.
46605 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46607 * nis/rpcsvc/nis.h: Update copyright notice.
46608 * nis/rpcsvc/nis.x: Likewise.
46609 * nis/rpcsvc/nis_callback.h: Likewise.
46610 * nis/rpcsvc/nis_callback.x: Likewise.
46611 * nis/rpcsvc/nis_object.x: Likewise.
46612 * nis/rpcsvc/nis_tags.h: Likewise.
46613 * nis/rpcsvc/yp.h: Likewise.
46614 * nis/rpcsvc/yp.x: Likewise.
46615 * nis/rpcsvc/ypupd.h: Likewise.
46616 * nis/yp_xdr.c: Likewise.
46617 * nis/ypupdate_xdr.c: Likewise.
46619 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46620 mainly the body of pmap_getport. Add parameters to specify timeouts.
46621 (pmap_getport): Use __libc_rpc_getport.
46622 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46623 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46624 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46626 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46631 2010-08-27 Roland McGrath <roland@redhat.com>
46633 * sysdeps/i386/i686/multiarch/Makefile
46634 (CFLAGS-varshift.c): New variable.
46636 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46638 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46639 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46643 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46645 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46647 * sysdeps/x86_64/strlen.S: Unroll the loop.
46648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46649 strlen-sse2 strlen-sse2-bsf.
46650 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46651 __strlen_no_bsf if bit_Slow_BSF is set.
46652 (__strlen_sse42): Removed.
46653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46654 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46656 2010-08-25 Roland McGrath <roland@redhat.com>
46658 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46659 * sysdeps/x86_64/multiarch/varshift.c: New file.
46660 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46661 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46662 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46663 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46665 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46668 strlen-sse2 strlen-sse2-bsf.
46669 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46670 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46671 (__strlen_sse2): Removed.
46672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46675 bit_Slow_BSF for Atom.
46676 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46677 (index_Slow_BSF): Define.
46678 (HAS_SLOW_BSF): Define.
46680 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46683 * resolv/res_init.c (__res_vinit): When no server address at all
46684 is given default to loopback.
46686 2010-08-24 Roland McGrath <roland@redhat.com>
46688 * configure.in: Remove config-name.h generation.
46689 * configure: Regenerated.
46690 * config-name.in: File removed.
46691 * scripts/config-uname.sh: New file.
46692 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46693 ($(objdir)config-name.h): New target.
46695 * sunrpc/rpc_parse.h: Avoid nested comment.
46697 2010-08-24 Richard Henderson <rth@redhat.com>
46698 Ulrich Drepper <drepper@redhat.com>
46699 H.J. Lu <hongjiu.lu@intel.com>
46701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46703 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46704 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46705 _mm_alignr_epi8 with _mm_loadu_si128.
46706 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46707 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46708 (__m128i_shift_right): Removed.
46709 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46710 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46711 * sysdeps/x86_64/multiarch/varshift.h: New file.
46712 * sysdeps/x86_64/multiarch/varshift.S: New file.
46714 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46716 * configure.in: Move assembler checks to before sysdep dir checking.
46718 2010-08-20 Petr Baudis <pasky@suse.cz>
46720 * LICENSES: Sync the sunrpc license.
46722 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46724 * sunrpc/auth_des.c: Update copyright notice once again.
46725 * sunrpc/auth_none.c: Likewise.
46726 * sunrpc/auth_unix.c: Likewise.
46727 * sunrpc/authdes_prot.c: Likewise.
46728 * sunrpc/authuxprot.c: Likewise.
46729 * sunrpc/bindrsvprt.c: Likewise.
46730 * sunrpc/clnt_gen.c: Likewise.
46731 * sunrpc/clnt_perr.c: Likewise.
46732 * sunrpc/clnt_raw.c: Likewise.
46733 * sunrpc/clnt_simp.c: Likewise.
46734 * sunrpc/clnt_tcp.c: Likewise.
46735 * sunrpc/clnt_udp.c: Likewise.
46736 * sunrpc/clnt_unix.c: Likewise.
46737 * sunrpc/des_crypt.c: Likewise.
46738 * sunrpc/des_soft.c: Likewise.
46739 * sunrpc/get_myaddr.c: Likewise.
46740 * sunrpc/getrpcport.c: Likewise.
46741 * sunrpc/key_call.c: Likewise.
46742 * sunrpc/key_prot.c: Likewise.
46743 * sunrpc/openchild.c: Likewise.
46744 * sunrpc/pm_getmaps.c: Likewise.
46745 * sunrpc/pm_getport.c: Likewise.
46746 * sunrpc/pmap_clnt.c: Likewise.
46747 * sunrpc/pmap_prot.c: Likewise.
46748 * sunrpc/pmap_prot2.c: Likewise.
46749 * sunrpc/pmap_rmt.c: Likewise.
46750 * sunrpc/rpc/auth.h: Likewise.
46751 * sunrpc/rpc/auth_unix.h: Likewise.
46752 * sunrpc/rpc/clnt.h: Likewise.
46753 * sunrpc/rpc/des_crypt.h: Likewise.
46754 * sunrpc/rpc/key_prot.h: Likewise.
46755 * sunrpc/rpc/netdb.h: Likewise.
46756 * sunrpc/rpc/pmap_clnt.h: Likewise.
46757 * sunrpc/rpc/pmap_prot.h: Likewise.
46758 * sunrpc/rpc/pmap_rmt.h: Likewise.
46759 * sunrpc/rpc/rpc.h: Likewise.
46760 * sunrpc/rpc/rpc_des.h: Likewise.
46761 * sunrpc/rpc/rpc_msg.h: Likewise.
46762 * sunrpc/rpc/svc.h: Likewise.
46763 * sunrpc/rpc/svc_auth.h: Likewise.
46764 * sunrpc/rpc/types.h: Likewise.
46765 * sunrpc/rpc/xdr.h: Likewise.
46766 * sunrpc/rpc_clntout.c: Likewise.
46767 * sunrpc/rpc_cmsg.c: Likewise.
46768 * sunrpc/rpc_common.c: Likewise.
46769 * sunrpc/rpc_cout.c: Likewise.
46770 * sunrpc/rpc_dtable.c: Likewise.
46771 * sunrpc/rpc_hout.c: Likewise.
46772 * sunrpc/rpc_main.c: Likewise.
46773 * sunrpc/rpc_parse.c: Likewise.
46774 * sunrpc/rpc_parse.h: Likewise.
46775 * sunrpc/rpc_prot.c: Likewise.
46776 * sunrpc/rpc_sample.c: Likewise.
46777 * sunrpc/rpc_scan.c: Likewise.
46778 * sunrpc/rpc_scan.h: Likewise.
46779 * sunrpc/rpc_svcout.c: Likewise.
46780 * sunrpc/rpc_tblout.c: Likewise.
46781 * sunrpc/rpc_util.c: Likewise.
46782 * sunrpc/rpc_util.h: Likewise.
46783 * sunrpc/rpcinfo.c: Likewise.
46784 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46785 * sunrpc/rpcsvc/key_prot.x: Likewise.
46786 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46787 * sunrpc/rpcsvc/mount.x: Likewise.
46788 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46789 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46790 * sunrpc/rpcsvc/rex.x: Likewise.
46791 * sunrpc/rpcsvc/rstat.x: Likewise.
46792 * sunrpc/rpcsvc/rusers.x: Likewise.
46793 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46794 * sunrpc/rpcsvc/spray.x: Likewise.
46795 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46796 * sunrpc/rtime.c: Likewise.
46797 * sunrpc/svc.c: Likewise.
46798 * sunrpc/svc_auth.c: Likewise.
46799 * sunrpc/svc_authux.c: Likewise.
46800 * sunrpc/svc_raw.c: Likewise.
46801 * sunrpc/svc_run.c: Likewise.
46802 * sunrpc/svc_simple.c: Likewise.
46803 * sunrpc/svc_tcp.c: Likewise.
46804 * sunrpc/svc_udp.c: Likewise.
46805 * sunrpc/svc_unix.c: Likewise.
46806 * sunrpc/svcauth_des.c: Likewise.
46807 * sunrpc/xcrypt.c: Likewise.
46808 * sunrpc/xdr.c: Likewise.
46809 * sunrpc/xdr_array.c: Likewise.
46810 * sunrpc/xdr_float.c: Likewise.
46811 * sunrpc/xdr_mem.c: Likewise.
46812 * sunrpc/xdr_rec.c: Likewise.
46813 * sunrpc/xdr_ref.c: Likewise.
46814 * sunrpc/xdr_sizeof.c: Likewise.
46815 * sunrpc/xdr_stdio.c: Likewise.
46817 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46820 2010-08-19 Andreas Schwab <schwab@redhat.com>
46822 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46824 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46826 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46827 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46828 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46829 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46830 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46831 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46832 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46833 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46835 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46836 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46838 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46839 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46841 2010-07-26 Anton Blanchard <anton@samba.org>
46843 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46844 * malloc/arena.c (heap_trim): Likewise.
46846 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46848 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46851 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46853 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46855 * sysdeps/i386/elf/Makefile: New file.
46857 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46859 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46860 from fanotify_init.
46861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46864 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46866 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46868 * sysdeps/multiarch/strcmp.S: Likewise.
46870 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46872 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46873 strncase_l-nonascii.
46874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46875 Add strncase_l-ssse3.
46876 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46877 * sysdeps/x86_64/strcmp.S: Likewise.
46878 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46879 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46880 * sysdeps/x86_64/strncase.S: New file.
46881 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46882 * sysdeps/x86_64/strncase_l.S: New file.
46883 * string/Makefile (strop-tests): Add strncasecmp.
46884 * string/test-strncasecmp.c: New file.
46886 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46889 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46890 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46892 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46894 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46896 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46898 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46899 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46902 2010-05-01 Alan Modra <amodra@gmail.com>
46904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46905 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46906 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46907 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46908 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46909 tidying. Don't tail-call __sigjmp_save for static lib.
46910 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46912 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46913 (CALL_MCOUNT): Add eh info, and nop after bl.
46914 (TAIL_CALL_SYSCALL_ERROR): New macro.
46915 (PSEUDO_RET): Use it.
46916 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46917 Correct save location of integer regs and cr.
46918 (_dl_profile_resolve): Correct cr save location. Delete nops
46919 after bl when SHARED. Reduce cfi size a little by better
46920 placement of cfi directives.
46921 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46922 make a stack frame. Instead use parm save area as a temp.
46923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46924 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46926 Don't make a stack frame for parent, use parm save area.
46927 Increase child stack frame to 112 bytes. Don't save unused reg,
46928 and adjust reg usage. Set up cfi on error recovery and
46929 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46931 (__makecontext): Add dummy nop after jump to exit.
46932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46933 Use correct parm save area and cr save, reduce stack frame.
46934 Correct cfi for possible PSEUDO_RET frame setup.
46935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46936 Branch to local label emitted by PSEUDO_RET rather than
46939 2010-08-12 Andreas Schwab <schwab@redhat.com>
46942 * locale/programs/locale.c (print_assignment): New function.
46943 (show_locale_vars): Use it.
46945 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46947 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46949 (struct statfs64): Likewise.
46950 (_STATFS_F_FLAGS): Define.
46951 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46953 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46954 (ST_VALID): Define locally.
46955 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46956 __statvfs_getflags, use the provided value.
46957 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46958 __ASSUME_STATFS_F_FLAGS.
46960 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46962 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46963 Add sys/fanotify.h.
46964 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46965 fanotify_mask for GLIBC_2.13.
46966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46967 fanotify_init and fanotify_mark.
46968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46969 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46971 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46973 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46974 prlimit64 for GLIBC_2.13.
46975 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46981 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46982 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46985 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46988 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46989 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46991 * nss/Makefile: Add rules to build and run tst-nss-test1.
46992 * shlib-versions: Add entry for libnss_test1.
46993 * nss/nss_test1.c: New file.
46994 * nss/tst-nss-test1.c: New file.
46996 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46997 (__nss_configure_lookup): Set appropriate entry in
46998 __nss_configure_lookup to true.
46999 * nss/nsswitch.h: Define enum with indeces of databases in
47000 databases and __nss_database_custom arrays. Declare
47001 __nss_database_custom.
47002 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47003 to avoid using nscd when custom rules are installed.
47004 * nss/getXXbyYY_r.c: Likewise.
47005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47007 * nss/nss_files/files-parse.c: Whitespace fixes.
47009 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47012 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47013 * posix/fnmatch_loop.c: Likewise.
47015 2010-07-17 Andi Kleen <ak@linux.intel.com>
47017 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47018 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47019 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47020 * Versions.def [GLIBC_2.13]: Add.
47022 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47025 Also fail if tpwd after pwuid call is NULL.
47027 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47029 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47030 when converting to ms.
47032 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47034 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47035 EOPNOTSUPP errors with ENOTTY.
47036 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47037 EOPNOTSUPP errors with ENOTTY.
47039 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47041 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47042 Add strcasecmp_l-ssse3.
47043 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47045 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47046 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47047 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47049 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47051 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47053 * string/Makefile (strop-tests): Add strcasecmp.
47054 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47055 strcasecmp_l-nonascii.
47056 (gen-as-const-headers): Add locale-defines.sym.
47057 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47058 * sysdeps/x86_64/strcasecmp.S: New file.
47059 * sysdeps/x86_64/strcasecmp_l.S: New file.
47060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47061 * sysdeps/x86_64/locale-defines.sym: New file.
47062 * string/test-strcasecmp.c: New file.
47064 * string/test-strcasestr.c: Test both ends of the range of characters.
47065 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47067 2010-07-29 Roland McGrath <roland@redhat.com>
47070 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47072 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47074 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47077 2010-07-27 Andreas Schwab <schwab@redhat.com>
47079 * manual/memory.texi (Malloc Tunable Parameters): Document
47082 2010-07-26 Roland McGrath <roland@redhat.com>
47085 * configure.in (-fgnu89-inline check): Set and substitute
47086 gnu89_inline, not libc_cv_gnu89_inline.
47087 * configure: Regenerated.
47088 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47090 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47092 * string/test-strnlen.c: New file.
47093 * string/Makefile (strop-tests): Add strnlen.
47094 * string/tester.c (test_strnlen): Add a few more test cases.
47095 * string/tst-strlen.c: Better error reporting.
47097 * sysdeps/x86_64/strnlen.S: New file.
47099 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47102 lower-latency instructions.
47104 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47106 * string/test-strcasestr.c: New file.
47107 * string/test-strstr.c: New file.
47108 * string/Makefile (strop-tests): Add strstr and strcasestr.
47109 * string/str-two-way.h: Don't undefine MAX.
47110 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47112 2010-07-21 Andreas Schwab <schwab@redhat.com>
47114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47115 strcasestr-nonascii.
47116 (CFLAGS-strcasestr-nonascii.c): Define.
47117 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47119 Remove unused attribute.
47121 2010-07-20 Roland McGrath <roland@redhat.com>
47123 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47124 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47125 ld.so.cache was broken. With it, there is no way to disable dsocaps
47126 like LD_HWCAP_MASK can disable hwcaps.
47128 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47130 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47132 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47134 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47135 call in strcasestr.
47136 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47137 __strcasestr_sse42_nonascii.
47138 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47139 strcasestr-nonascii.c.
47140 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47142 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47146 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47149 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47154 2010-07-06 Andreas Schwab <schwab@redhat.com>
47157 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47160 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47163 _PC_PIPE_BUF using F_GETPIPE_SZ.
47165 2010-07-05 Roland McGrath <roland@redhat.com>
47167 * manual/arith.texi (Rounding Functions): Fix rint description
47168 implicit in round description.
47170 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47172 * elf/Makefile: Fix linking for a few tests to make recent linker
47175 2010-06-30 Andreas Schwab <schwab@redhat.com>
47177 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47178 $(common-objpfx)libc_nonshared.a.
47180 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47182 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47183 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47184 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47185 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47186 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47187 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47188 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47189 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47204 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47205 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47206 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47207 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47208 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47209 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47210 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47211 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47212 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47213 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47214 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47215 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47231 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47233 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47234 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47235 * string/memmove.c (memmove): Renamed to ...
47236 (MEMMOVE): ...this. Default to memmove.
47237 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47238 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47241 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47242 mempcpy-ssse3-back memmove-ssse3-back.
47243 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47246 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47247 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47248 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47249 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47250 * sysdeps/x86_64/multiarch/memmove.c: New file.
47251 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47252 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47253 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47254 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47255 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47256 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47258 (index_Fast_Copy_Backward): Define.
47259 (HAS_ARCH_FEATURE): Define.
47260 (HAS_FAST_REP_STRING): Define.
47261 (HAS_FAST_COPY_BACKWARD): Define.
47263 2010-06-21 Andreas Schwab <schwab@redhat.com>
47265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47266 Restore proper fallback handling.
47268 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47271 * posix/group_member.c (__group_member): Correct checking loop.
47273 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47274 OOM in getpwuid_r correctly. Return error number when the caller
47275 should return, otherwise -1.
47276 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47277 call returning > 0 value.
47278 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47280 2010-06-07 Andreas Schwab <schwab@redhat.com>
47282 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47283 libc_nonshared.a from targets in modules-names.
47285 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47287 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47290 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47293 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47294 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47297 2010-06-02 Andreas Schwab <schwab@redhat.com>
47299 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47301 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47312 2010-06-14 Roland McGrath <roland@redhat.com>
47314 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47316 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47318 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47319 __REDIRECT followed by __THROW.
47320 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47321 * posix/getopt.h (getopt): Likewise.
47323 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47325 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47326 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47327 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47329 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47330 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47332 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47336 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47340 Properly check family and model.
47342 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47344 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47346 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47348 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47350 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47352 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47355 2010-05-19 Andreas Schwab <schwab@redhat.com>
47357 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47360 2010-05-21 Andreas Schwab <schwab@redhat.com>
47362 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47363 and internal_recvmmsg.
47364 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47365 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47367 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47369 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47370 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47371 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47373 2010-05-20 Andreas Schwab <schwab@redhat.com>
47375 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47377 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47379 POWER7 optimizations.
47380 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47381 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47383 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47385 * version.h: Update for 2.13 development version.
47387 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47389 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47390 exceptions. Return 0.
47392 2010-05-07 Roland McGrath <roland@redhat.com>
47394 * elf/ldconfig.c (main): Add a const.
47396 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47398 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47399 (args_options): Add no-idn option.
47400 (ahosts_keys_int): Add idn_flags to ai_flags.
47401 (parse_option): Handle 'i' option to clear idn_flags.
47403 * malloc/malloc.c (_int_free): Possible race in the most recently
47404 added check. Only act on the data if no current modification
47407 See ChangeLog.17 for earlier changes.